1
0
forked from mirrors/0ad

Commit Graph

  • 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) janwas 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) janwas 2005-01-27 15:22:47 +00:00
  • c056d9a545 This was SVN commit r1835. Acumen 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. Acumen 2005-01-27 11:33:27 +00:00
  • ef6358b187 updated xml files to use the test player color shields Wijitmaker 2005-01-27 04:40:04 +00:00
  • 1085250de6 sheilds that have been 'player colorized' Wijitmaker 2005-01-27 03:55:12 +00:00
  • 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! NoMonkey 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) janwas 2005-01-26 16:25:56 +00:00
  • bc1c05b7db wrap operator new call site in nommgr.h / mmgr.h janwas 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) janwas 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 janwas 2005-01-26 01:05:22 +00:00
  • 228f225e8d Made the compiler find dbghelp.(lib|h) Ykkrosh 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 "()" ) janwas 2005-01-26 00:33:45 +00:00
  • ed27392768 Made the minimap display the player colors and represent their positions correctly. NoMonkey 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) janwas 2005-01-25 23:55:49 +00:00
  • dd7f2c53cf Revised online manual. Added placeholder rollovers to all units. Improved coordinate system. Acumen 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() janwas 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*) janwas 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. janwas 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.* janwas 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) janwas 2005-01-25 17:58:15 +00:00
  • 8192c5b1c5 This was SVN commit r1810. NoMonkey 2005-01-25 03:27:38 +00:00
  • f96b676fc9 This was SVN commit r1809. NoMonkey 2005-01-25 03:12:04 +00:00
  • 12bbe9cda1 This was SVN commit r1808. NoMonkey 2005-01-25 00:25:13 +00:00
  • 36c5db05cd Added includes for non-pch build olsner 2005-01-24 23:08:30 +00:00
  • c71c360993 This was SVN commit r1806. NoMonkey 2005-01-24 14:06:15 +00:00
  • b2e50cfea9 This was SVN commit r1805. NoMonkey 2005-01-24 08:28:03 +00:00
  • bdafae6453 This was SVN commit r1804. NoMonkey 2005-01-24 06:33:20 +00:00
  • 761dfde0c5 This was SVN commit r1803. NoMonkey 2005-01-24 06:14:13 +00:00
  • 0e39146eb4 Fixing a actor mixup I made with the Hellenes Wijitmaker 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. Wijitmaker 2005-01-24 01:27:16 +00:00
  • 032346a3a9 Changing from dds to png for the civ sheets Wijitmaker 2005-01-24 00:46:39 +00:00
  • 85ed304a25 This was SVN commit r1798. NoMonkey 2005-01-23 23:04:00 +00:00
  • 13bcff918e Let Testing/Release builds be built Ykkrosh 2005-01-23 22:42:37 +00:00
  • ce63d90bd7 This was SVN commit r1796. NoMonkey 2005-01-23 22:40:30 +00:00
  • 3851e7b9d9 This was SVN commit r1795. NoMonkey 2005-01-23 22:38:13 +00:00
  • 41a924665b Added CEntity::SetPlayer (from John) Ykkrosh 2005-01-23 22:32:10 +00:00
  • 02cc4d9c8e This was SVN commit r1793. NoMonkey 2005-01-23 22:21:37 +00:00
  • 225446d648 Alternative player-colour rendering, which probably works with lights Ykkrosh 2005-01-23 22:02:36 +00:00
  • 6fa79e0247 This was SVN commit r1791. NoMonkey 2005-01-23 21:58:06 +00:00
  • 19fd48b1d5 This was SVN commit r1790. NoMonkey 2005-01-23 21:56:47 +00:00
  • 2af3b77d7e This was SVN commit r1789. NoMonkey 2005-01-23 21:56:00 +00:00
  • 6ca71568f5 vfs, ps/game.cpp: lint dbghelp_funcs: no longer needed, since we load dbghelp statically janwas 2005-01-23 19:49:45 +00:00
  • 699b38e350 config: remove HAVE_DEBUGALLOC Xeromyces.cpp,xmlutils,XercesErrorHandler.cpp: use nommgr.h janwas 2005-01-23 18:25:28 +00:00
  • 8c7df579bc precompiled: hook up mmgr (needs to be included in all files) janwas 2005-01-23 18:23:29 +00:00
  • 4d25441c2a split out of wposix (less dependencies) janwas 2005-01-23 18:21:20 +00:00
  • cca00f9555 memory tracker work-in-progress. detects memory leaks, overruns, and all sorts of goodies. janwas 2005-01-23 18:19:28 +00:00
  • e4bcd210d3 win_internal: move VC debug heaps here to avoid conflicts with mmgr vfs: lint fixes janwas 2005-01-23 18:17:46 +00:00
  • 4facc59833 new init seg janwas 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 janwas 2005-01-23 18:07:34 +00:00
  • 4e454b31f0 lint fixes; more armor-plating for SDL_SetVideoMode janwas 2005-01-23 18:05:33 +00:00
  • 9e3ae3bdf2 further lint fixes janwas 2005-01-23 18:04:34 +00:00
  • 468fb35ab5 waio.h: moved some signal handler defs here from wposix janwas 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 janwas 2005-01-23 17:57:52 +00:00
  • bc52269989 lint fixes; changed wtime init order janwas 2005-01-23 17:56:00 +00:00
  • 85fd8a0f0e stomped various lint warnings: janwas 2005-01-23 17:54:20 +00:00
  • 44ffb32169 fix include path (relative to lib) janwas 2005-01-23 17:50:07 +00:00
  • e332d876f8 stomped various lint warnings: janwas 2005-01-23 17:48:32 +00:00
  • a43205148b stomped various lint warnings: janwas 2005-01-23 17:45:25 +00:00
  • 4360c501d8 mouse_x/y => g_mouse_x/y janwas 2005-01-23 17:42:28 +00:00
  • fbc212ea5d mouse_x/y => g_mouse_x/y janwas 2005-01-23 17:41:01 +00:00
  • d7bf0b7fbe use of new made suitable for mmgr's macro janwas 2005-01-23 17:37:45 +00:00
  • ad16ecfb36 fix bug: was assigning char to pointer, instead of writing to *pointer janwas 2005-01-23 17:36:57 +00:00
  • d29833e4ed mouse_x/y => g_mouse_x/y janwas 2005-01-23 17:35:36 +00:00
  • e8121ca394 Also allow access to the last player ;-) olsner 2005-01-23 12:54:14 +00:00
  • 2c4b86e9ab Set default number of players for SP games to the max (9 including Gaia). Acumen 2005-01-23 12:37:46 +00:00
  • ebfa5f8d24 Changed resources over to a player object and did some reorganisation of the session start/end code. Acumen 2005-01-23 11:50:51 +00:00
  • fb69ed56b2 sheild stuff: Wijitmaker 2005-01-23 07:58:25 +00:00
  • 0df00e5b16 This was SVN commit r1761. NoMonkey 2005-01-23 08:28:56 +00:00
  • d9f1a06b34 This was SVN commit r1760. NoMonkey 2005-01-23 08:22:52 +00:00
  • 674433a51a This was SVN commit r1759. NoMonkey 2005-01-23 07:54:17 +00:00
  • 6dcac374e7 Oops, forgot to add the PS_MAX_PLAYERS constant olsner 2005-01-23 04:14:49 +00:00
  • bcf89936c1 Fixed a few memory leaks as well as the CPlayer/SColour crash-on-exit bug olsner 2005-01-23 01:36:47 +00:00
  • 113d89e148 Possible texture environment code for single-pass player-colour rendering Ykkrosh 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) Ykkrosh 2005-01-22 18:46:03 +00:00
  • e717aaf997 Fixed warnings Ykkrosh 2005-01-22 18:38:58 +00:00
  • 9581fbc1e5 Shield textures for the Greeks, Persians, and Romans Wijitmaker 2005-01-21 05:20:03 +00:00
  • d810bb88b1 Uploading 3 civ's sheild textures. (will be modified for player color later) Wijitmaker 2005-01-20 07:47:57 +00:00
  • d5b1e84e0d Place holder animations for all infantry put in place. Wijitmaker 2005-01-20 00:07:27 +00:00
  • c1ff5de88b Updated with new network JS Interfaces olsner 2005-01-19 22:34:29 +00:00
  • ae38aee3d2 Revamped CNetClient/CNetServer JS Interface and new CGameAttributes implementation (moving towards a merger of CGameAttribs into CGame). olsner 2005-01-19 22:32:25 +00:00
  • b391fb89ef * Javlin, Slinger, Archer attack animations * Modified sling mesh * Fixed Celt Infantry Javelinist actor Wijitmaker 2005-01-19 08:31:37 +00:00
  • 1e2cd629f3 Replaced unit histories with Paul's new descriptions. Acumen 2005-01-18 20:05:38 +00:00
  • e62258e47e Reorganised GUI scripts a bit. Acumen 2005-01-18 19:29:03 +00:00
  • 1eb9a7872b Integrated Player attributes with the status pane and manual, and created a really rough test map with different player civs. Acumen 2005-01-18 18:09:37 +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) Ykkrosh 2005-01-18 12:45:56 +00:00
  • 9a2979edec This was SVN commit r1738. MarkT 2005-01-18 10:57:17 +00:00
  • 1b961ec163 This was SVN commit r1737. MarkT 2005-01-18 10:52:22 +00:00
  • 60afb0ee2d This was SVN commit r1736. MarkT 2005-01-18 10:49:32 +00:00
  • 20ce33094f This was SVN commit r1735. MarkT 2005-01-18 10:49:06 +00:00
  • 6b64327a19 This was SVN commit r1734. MarkT 2005-01-18 10:48:51 +00:00
  • 25fdbfd931 Fixes for two pathfinding bugs (neither of which were actually pathfinding bugs), added player objects (details in TM) MarkT 2005-01-18 00:46:18 +00:00
  • 4b5aff926d Fixed compilation errors Ykkrosh 2005-01-17 10:20:47 +00:00
  • 2077698156 New JavaScript interface for the network client, plus some linux/gcc/misc fixes olsner 2005-01-17 04:52:02 +00:00
  • 1c044ac229 Primitive entity player-selection in ScEd Ykkrosh 2005-01-16 23:09:41 +00:00
  • 2e58a8fd21 Entities for the Celtic Advanced and Elite units (although they don't actually work; not sure why yet). Acumen 2005-01-16 14:16:03 +00:00
  • 986d62a2f5 Did first half of Object Editor. Added the Beautify buttons I missed yesterday. Acumen 2005-01-16 13:12:28 +00:00
  • d202e580b2 Committed some updates for: Wijitmaker 2005-01-16 06:01:51 +00:00
  • c84ea97601 Implemented first draft of Terrain Editor controls. Increased size of toolbar arrows on Philip's behalf. :) Acumen 2005-01-15 22:49:34 +00:00
  • 551bef482a Prevented crash when loading non-existent maps Ykkrosh 2005-01-15 17:20:51 +00:00