1
0
forked from 0ad/0ad
Commit Graph

1758 Commits

Author SHA1 Message Date
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
c056d9a545 This was SVN commit r1835. 2005-01-27 11:41:05 +00:00
59227899dc Initial work on GUI coordinate revision (implemented for Manual and Editor, anyway), though Editor currently has a strange infinite loop on startup I'm too tired to squash right now. Broke Editor script so game'll work in the meantime; will fix ASAP.
This was SVN commit r1834.
2005-01-27 11:33:27 +00:00
ef6358b187 updated xml files to use the test player color shields
This was SVN commit r1833.
2005-01-27 04:40:04 +00:00
1085250de6 sheilds that have been 'player colorized'
This was SVN commit r1831.
2005-01-27 03:55:12 +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
228f225e8d Made the compiler find dbghelp.(lib|h)
This was SVN commit r1823.
2005-01-26 00:37:03 +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
dd7f2c53cf Revised online manual. Added placeholder rollovers to all units. Improved coordinate system.
This was SVN commit r1819.
2005-01-25 22:43:07 +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
c71c360993 This was SVN commit r1806. 2005-01-24 14:06:15 +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
0e39146eb4 Fixing a actor mixup I made with the Hellenes
This was SVN commit r1802.
2005-01-24 02:03:40 +00:00
1de3d80f98 Update because png flipping problem was resolved, fixed the persian and roman profiles from some DD changes.
This was SVN commit r1801.
2005-01-24 01:27:16 +00:00
032346a3a9 Changing from dds to png for the civ sheets
This was SVN commit r1800.
2005-01-24 00:46:39 +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