60dbb779eb
Texture converter source, plus modified DevIL.
...
This was SVN commit r1851.
2005-01-28 19:05:33 +00:00
f25f6a2d70
wdbg: fix crash when exiting abnormally (alt+f4) - was erasing elements from container while iterating through it
...
win internal files: slight changes while looking through
This was SVN commit r1850.
2005-01-28 18:16:51 +00:00
39389b7bb2
Proper blending for player-colours
...
This was SVN commit r1847.
2005-01-28 15:38:49 +00:00
b48ede5438
Accept DDS files with mipmaps
...
This was SVN commit r1846.
2005-01-28 15:37:01 +00:00
b704c7b0e4
endian.h renamed (conflict with linux system header)
...
This was SVN commit r1844.
2005-01-27 20:00:47 +00:00
38d6f81d71
add/update win-specific code+header file comment
...
This was SVN commit r1841.
2005-01-27 16:18:22 +00:00
f55107c114
sysdep: inline vsprintf2 definition (no need for printf.h)
...
win.cpp: remove hWnd (not needed for clipboard code) and TSC reference
(a temporary hack)
This was SVN commit r1840.
2005-01-27 15:50:11 +00:00
09985eaa7e
split thread/mutex/sem defs out of wposix to wpthread (reduce default dependencies)
...
waio: add include guard; include from waio.cpp
This was SVN commit r1839.
2005-01-27 15:46:02 +00:00
f3a61e4f69
wsdl: add prototypes for VC endian swap routines (avoid warning)
...
endian.*: split out of lib.* to reduce default dependencies
tex,zip: now include endian.h
This was SVN commit r1838.
2005-01-27 15:40:23 +00:00
faff797cd6
include SDL or lib/input.h where needed (since lib.h no longer pulls it in)
...
input.h now includes SDL (no more macro hackery to avoid the dependency)
This was SVN commit r1837.
2005-01-27 15:31:06 +00:00
f6c95b259d
include exception handler code only if EXCEPTION_HACK_0AD is required. (since some PS-specific code leaked into wdbg.cpp, have to disable that until i get around to cleaning it up)
...
This was SVN commit r1836.
2005-01-27 15:22:47 +00:00
NoMonkey
d7b3d6b0c7
Added a new material, "player_trans.xml" which will give a model player color. So now if you want a player to be colored, just add this material!
...
This was SVN commit r1830.
2005-01-27 02:52:26 +00:00
969ed22f97
- provide for 1-byte ints (debug info is weird; dunno why it's stored as such, but they exist)
...
- if tag != SymTagDataType, don't dump the symbol (to be safe). this is
unexpected, but Philip reports it triggered.
- assert dialog is resizeable (grr, have to do that manually)
This was SVN commit r1828.
2005-01-26 16:25:56 +00:00
bc1c05b7db
wrap operator new call site in nommgr.h / mmgr.h
...
This was SVN commit r1827.
2005-01-26 16:22:08 +00:00
c756aff9c5
wposix: AllocConsole wrapper is now a standard function call (before, a direct jump saved a few bytes but was unsafe - not smart)
...
This was SVN commit r1825.
2005-01-26 01:06:48 +00:00
3e82535375
wdll: fixed operator_new (discussed at meeting) issue - turns out that was a bad idea. unless mmgr.h is included, operator_new isn't defined, so it's taken to be a function => it was never getting called in wdll
...
defining operator_new in a global file is a bad idea- if we forget
that, hard-to-track errors result
so, no more operator new; instead, #include "nommgr.h" before local
operator new definitions and #include "mmgr.h" again afterwards
This was SVN commit r1824.
2005-01-26 01:05:22 +00:00
2d1ba66dc8
mmgr.cpp: uses assert2 when something fails (so you get a pretty stack trace
...
mmgr.h: remove everything if !defined(USE_MMGR); move dox to end of file
debug.h: fix stupid n00b bug in assert2 (expr wasn't in "()" )
This was SVN commit r1822.
2005-01-26 00:33:45 +00:00
NoMonkey
ed27392768
Made the minimap display the player colors and represent their positions correctly.
...
This was SVN commit r1821.
2005-01-26 00:19:17 +00:00
e7dcbfd19e
further cleanup; stack trace + dialog part done for now; will clean up exception part later (discussed with philip)
...
This was SVN commit r1820.
2005-01-25 23:55:49 +00:00
c12c6a0e4d
main: remove __try (non-portable). wdbg exception handler will cover it. if that needs to be debugged, add __try in win.cpp around call to main()
...
This was SVN commit r1817.
2005-01-25 18:56:43 +00:00
711bff0d3a
lib.h: moved assert2 to sysdep/debug.h
...
mmgr: remove wdbg calls (was prototype); use sysdep/debug interface
wdbg: no longer call it dbghelp63.h; should be installed normally in
compiler dir
win_internal.h: fix inevitable MS screwups in new dbghelp.h (*sigh*)
This was SVN commit r1816.
2005-01-25 18:54:48 +00:00
0d80a05aec
wdbg: much improved dbghelp stack dump, thanks to availability of new dox. should succeed with user-defined types - voodoo programming no more. benefits are reaped when using assert2 in code (recommended!) or an exception is raised.
...
also made "program error" dialog a bit nicer - it's now attached to
desktop and resizeable.
This was SVN commit r1814.
2005-01-25 18:42:42 +00:00
cb74250a51
- moved assert2 to sysdep/debug.h
...
- sysdep/debug.h includes platform-specific version, so they can define
debug_break
- no longer a debug_break wrapper that calls to specific versions (so
that the debugger breaks in the target function directly)
- unix-specific stuff is only debug ATM; call it udbg instead of unix.*
This was SVN commit r1813.
2005-01-25 18:27:00 +00:00
c73a3fe2c4
platform-specific debug header (included from sysdep/debug) is responsible for defining debug_break, or mapping it to the implementation function (result: if can be defined as a macro (e.g. on win32 or ia32), debugger breaks directly at the target location, instead of one function lower)
...
This was SVN commit r1812.
2005-01-25 17:58:15 +00:00
NoMonkey
8192c5b1c5
This was SVN commit r1810.
2005-01-25 03:27:38 +00:00
NoMonkey
f96b676fc9
This was SVN commit r1809.
2005-01-25 03:12:04 +00:00
NoMonkey
12bbe9cda1
This was SVN commit r1808.
2005-01-25 00:25:13 +00:00
36c5db05cd
Added includes for non-pch build
...
This was SVN commit r1807.
2005-01-24 23:08:30 +00:00
NoMonkey
b2e50cfea9
This was SVN commit r1805.
2005-01-24 08:28:03 +00:00
NoMonkey
bdafae6453
This was SVN commit r1804.
2005-01-24 06:33:20 +00:00
NoMonkey
761dfde0c5
This was SVN commit r1803.
2005-01-24 06:14:13 +00:00
NoMonkey
85ed304a25
This was SVN commit r1798.
2005-01-23 23:04:00 +00:00
13bcff918e
Let Testing/Release builds be built
...
This was SVN commit r1797.
2005-01-23 22:42:37 +00:00
NoMonkey
ce63d90bd7
This was SVN commit r1796.
2005-01-23 22:40:30 +00:00
NoMonkey
3851e7b9d9
This was SVN commit r1795.
2005-01-23 22:38:13 +00:00
41a924665b
Added CEntity::SetPlayer (from John)
...
This was SVN commit r1794.
2005-01-23 22:32:10 +00:00
NoMonkey
02cc4d9c8e
This was SVN commit r1793.
2005-01-23 22:21:37 +00:00
225446d648
Alternative player-colour rendering, which probably works with lights
...
This was SVN commit r1792.
2005-01-23 22:02:36 +00:00
NoMonkey
6fa79e0247
This was SVN commit r1791.
2005-01-23 21:58:06 +00:00
NoMonkey
19fd48b1d5
This was SVN commit r1790.
2005-01-23 21:56:47 +00:00
NoMonkey
2af3b77d7e
This was SVN commit r1789.
2005-01-23 21:56:00 +00:00
6ca71568f5
vfs, ps/game.cpp: lint
...
dbghelp_funcs: no longer needed, since we load dbghelp statically
This was SVN commit r1788.
2005-01-23 19:49:45 +00:00
699b38e350
config: remove HAVE_DEBUGALLOC
...
Xeromyces.cpp,xmlutils,XercesErrorHandler.cpp: use nommgr.h
This was SVN commit r1787.
2005-01-23 18:25:28 +00:00
8c7df579bc
precompiled: hook up mmgr (needs to be included in all files)
...
tex: lint fixes
unifont: split out glvprintf
This was SVN commit r1786.
2005-01-23 18:23:29 +00:00
4d25441c2a
split out of wposix (less dependencies)
...
SDL_*: $id string
This was SVN commit r1785.
2005-01-23 18:21:20 +00:00
cca00f9555
memory tracker work-in-progress. detects memory leaks, overruns, and all sorts of goodies.
...
This was SVN commit r1784.
2005-01-23 18:19:28 +00:00
e4bcd210d3
win_internal: move VC debug heaps here to avoid conflicts with mmgr
...
vfs: lint fixes
mem: remove h_add_ref from mem_get_ptr (was a hack, breaks some code)
This was SVN commit r1783.
2005-01-23 18:17:46 +00:00
4facc59833
new init seg
...
This was SVN commit r1782.
2005-01-23 18:09:55 +00:00
9cadcd875d
lint fixes; no longer dynamically load dbghelp (can always distribute required version)
...
work in progress: cleaning up debug info, add functions for mmgr to
query caller
This was SVN commit r1781.
2005-01-23 18:07:34 +00:00
4e454b31f0
lint fixes; more armor-plating for SDL_SetVideoMode
...
This was SVN commit r1780.
2005-01-23 18:05:33 +00:00
9e3ae3bdf2
further lint fixes
...
new init seg, group "C" called before libc init
better critsec impl, doesn't break if called after shutdown
This was SVN commit r1779.
2005-01-23 18:04:34 +00:00
468fb35ab5
waio.h: moved some signal handler defs here from wposix
...
This was SVN commit r1778.
2005-01-23 18:04:02 +00:00
9b7af0ce08
safer mutex impl; split some parts out into waio (signal defs, only used in aiocb) and wposix_types
...
This was SVN commit r1777.
2005-01-23 17:57:52 +00:00
bc52269989
lint fixes; changed wtime init order
...
This was SVN commit r1776.
2005-01-23 17:56:00 +00:00
85fd8a0f0e
stomped various lint warnings:
...
- /* */ -> //
- clarified expressions
- add casts
- func() -> func(void)
- signed/unsigned
also KB -> KiB, MB -> MiB
This was SVN commit r1775.
2005-01-23 17:54:20 +00:00
44ffb32169
fix include path (relative to lib)
...
This was SVN commit r1774.
2005-01-23 17:50:07 +00:00
e332d876f8
stomped various lint warnings:
...
- /* */ -> //
- clarified expressions
- add casts
- func() -> func(void)
- signed/unsigned
This was SVN commit r1773.
2005-01-23 17:48:32 +00:00
a43205148b
stomped various lint warnings:
...
- /* */ -> //
- clarified expressions
- add casts
- func() -> func(void)
- signed/unsigned
This was SVN commit r1772.
2005-01-23 17:45:25 +00:00
4360c501d8
mouse_x/y => g_mouse_x/y
...
This was SVN commit r1771.
2005-01-23 17:42:28 +00:00
fbc212ea5d
mouse_x/y => g_mouse_x/y
...
This was SVN commit r1770.
2005-01-23 17:41:01 +00:00
d7bf0b7fbe
use of new made suitable for mmgr's macro
...
This was SVN commit r1769.
2005-01-23 17:37:45 +00:00
ad16ecfb36
fix bug: was assigning char to pointer, instead of writing to *pointer
...
This was SVN commit r1768.
2005-01-23 17:36:57 +00:00
d29833e4ed
mouse_x/y => g_mouse_x/y
...
This was SVN commit r1767.
2005-01-23 17:35:36 +00:00
e8121ca394
Also allow access to the last player ;-)
...
This was SVN commit r1765.
2005-01-23 12:54:14 +00:00
NoMonkey
0df00e5b16
This was SVN commit r1761.
2005-01-23 08:28:56 +00:00
NoMonkey
d9f1a06b34
This was SVN commit r1760.
2005-01-23 08:22:52 +00:00
NoMonkey
674433a51a
This was SVN commit r1759.
2005-01-23 07:54:17 +00:00
6dcac374e7
Oops, forgot to add the PS_MAX_PLAYERS constant
...
This was SVN commit r1757.
2005-01-23 04:14:49 +00:00
bcf89936c1
Fixed a few memory leaks as well as the CPlayer/SColour crash-on-exit bug
...
This was SVN commit r1756.
2005-01-23 01:36:47 +00:00
113d89e148
Possible texture environment code for single-pass player-colour rendering
...
This was SVN commit r1754.
2005-01-22 21:25:27 +00:00
71e3b4e289
Allow clipboard pasting into input boxes (with the same hotkeys as the console - insert or ctrl+v)
...
This was SVN commit r1752.
2005-01-22 18:46:03 +00:00
e717aaf997
Fixed warnings
...
This was SVN commit r1751.
2005-01-22 18:38:58 +00:00
ae38aee3d2
Revamped CNetClient/CNetServer JS Interface and new CGameAttributes
...
implementation (moving towards a merger of CGameAttribs into CGame).
This was SVN commit r1746.
2005-01-19 22:32:25 +00:00
a410c2852c
Updated ScEd's handling of players (though in a rather nasty way, since it doesn't actually have a CGame, and so it has no CPlayers, and so there are loads of HACK comments everywhere)
...
This was SVN commit r1740.
2005-01-18 12:45:56 +00:00
MarkT
9a2979edec
This was SVN commit r1738.
2005-01-18 10:57:17 +00:00
MarkT
1b961ec163
This was SVN commit r1737.
2005-01-18 10:52:22 +00:00
MarkT
60afb0ee2d
This was SVN commit r1736.
2005-01-18 10:49:32 +00:00
MarkT
20ce33094f
This was SVN commit r1735.
2005-01-18 10:49:06 +00:00
MarkT
6b64327a19
This was SVN commit r1734.
2005-01-18 10:48:51 +00:00
MarkT
25fdbfd931
Fixes for two pathfinding bugs (neither of which were actually pathfinding bugs), added player objects (details in TM)
...
This was SVN commit r1733.
2005-01-18 00:46:18 +00:00
4b5aff926d
Fixed compilation errors
...
This was SVN commit r1731.
2005-01-17 10:20:47 +00:00
2077698156
New JavaScript interface for the network client, plus some linux/gcc/misc fixes
...
This was SVN commit r1730.
2005-01-17 04:52:02 +00:00
1c044ac229
Primitive entity player-selection in ScEd
...
This was SVN commit r1727.
2005-01-16 23:09:41 +00:00
551bef482a
Prevented crash when loading non-existent maps
...
This was SVN commit r1721.
2005-01-15 17:20:51 +00:00
38b30e5eb4
Corrected ICC errors and some warnings. Removed some unnecessarily verbose logging. Did minor things.
...
This was SVN commit r1718.
2005-01-13 00:17:31 +00:00
4720a00f98
Made ScEd output entities into an XML file.
...
Added CStrW::utf8() (used by XMLWriter).
This was SVN commit r1716.
2005-01-12 14:31:47 +00:00
fc4a34d768
Nicer XML-writing system
...
This was SVN commit r1711.
2005-01-11 20:15:39 +00:00
15fcf8f054
Neatened some debug messages. Changed main.cpp so ScEd can use it. Fixed minor inconsistencies and warnings.
...
This was SVN commit r1708.
2005-01-11 16:58:16 +00:00
16a3ee4a4b
Fixed fix, to correct precedence (as warned about by the friendly compiler ;-) )
...
This was SVN commit r1707.
2005-01-11 16:40:01 +00:00
629e5999e0
vfs: fixed an apparently untested "quick change" to an assert that was triggering. boo!
...
This was SVN commit r1704.
2005-01-10 22:51:08 +00:00
a571688b1d
Minor auto-builder fix
...
This was SVN commit r1702.
2005-01-10 22:21:56 +00:00
75c714b8df
Made ScEd compile more pleasantly
...
This was SVN commit r1700.
2005-01-10 22:13:18 +00:00
2ad77b16db
Optimised a couple of functions to save ~1.5 secs when loading ScEd
...
This was SVN commit r1699.
2005-01-10 22:05:38 +00:00
3ae57e7b0d
Inverted my accidental inversion of logic
...
This was SVN commit r1697.
2005-01-10 21:07:24 +00:00
fba99c3414
vfs: fix mounting archive contents - now relative to mount point as it should.
...
added flags to vfs_mount that enable looking for archives and mounting
subdirectories (previously always done, but slow)
main: uses above flags when mounting
This was SVN commit r1695.
2005-01-10 18:44:41 +00:00
e632c0ff1d
zip: fix overrun when reading uncompressed data: truncate to output buffer size
...
vfs: fix archive file add routine: wasn't starting at mount point,
didn't handle files in archive root dir correctly
tex: add tex_is_known_fmt
lib: add ERR_TIMED_OUT
This was SVN commit r1693.
2005-01-10 13:42:10 +00:00
56949e6fc4
lib: add big endian readers; add VC intrinsic bswap routines
...
tex: improve flip / bgr convert (now generalized "transforms"); add
support for transforming image before encoding
wsdl: add SDL_ShowCursor, minimize when tasking out
main: WriteScreenshot improved, fixes flipped screenshots
This was SVN commit r1689.
2005-01-09 14:23:59 +00:00
d56ae48aa1
Made the archive builder guess its location more correctly
...
This was SVN commit r1674.
2005-01-08 18:32:21 +00:00
37d2d83a9d
Adjusted things to work with the new top-down orientation
...
This was SVN commit r1668.
2005-01-07 14:10:14 +00:00
8633123520
default orientation is now top-down to match Photoshop DDS plugin (thanks, Philip!)
...
This was SVN commit r1667.
2005-01-07 13:48:49 +00:00