1
0
forked from mirrors/0ad

Commit Graph

  • da1622ca06 reloading is optimized and armor-plated. eliminated an evil race condition. janwas 2005-03-02 12:06:40 +00:00
  • 2b33ba8ade security push: checked every strcpy / strncpy. converted most to strcpy_s; some are flagged as "safe" (e.g. if copying literal that's obviously OK) janwas 2005-03-01 20:13:00 +00:00
  • 4034a58437 *persian building fixes - posts, player color, bad actor file *'fixed' bobbo's prop errors for his roman buildings, eliminating all the loading errors Wijitmaker 2005-03-01 04:14:11 +00:00
  • 1ca489e0fc incorporate changes suggested by philip: replace goto, comment out self-test, move #if janwas 2005-03-01 01:40:19 +00:00
  • 08792355a6 Extra happiness on VC2005 Ykkrosh 2005-02-28 18:20:53 +00:00
  • 35540e806e This was SVN commit r1955. janwas 2005-02-28 15:50:35 +00:00
  • ed887b4eda wposix: add SIZE_MAX add header for string_s janwas 2005-02-28 15:36:19 +00:00
  • 8e16010d3e implementation of secure CRT string functions janwas 2005-02-28 15:27:04 +00:00
  • f8f2245846 Persian building stuff, and a few temporary palm trees Wijitmaker 2005-02-28 04:50:17 +00:00
  • da5816e971 Re-enabled VC's memory debugging by default (when not using USE_MMGR). Hopefully fixed the resulting memory leaks. Also fixed incompatibilities with VC2005. Ykkrosh 2005-02-27 22:11:26 +00:00
  • 540a76e88b clean up reload code; add cache invalidate call when reloading (make sure file contents are actually loaded) janwas 2005-02-27 19:11:39 +00:00
  • 621f710724 much more efficient: watches entire subtrees instead of single directories (=> mount time and memory usage significantly reduced). buffer size smaller. janwas 2005-02-27 14:37:06 +00:00
  • a8ef1b911e make reload ignore logic more clear janwas 2005-02-27 14:35:38 +00:00
  • 8e7b800521 remove atexit, minor improvements janwas 2005-02-27 14:34:46 +00:00
  • ab67b4f3fa move VFS::is_subpath to file::file_is_subpath janwas 2005-02-27 14:33:59 +00:00
  • f70703bc78 set sound master gain from config file (sound.mastergain) janwas 2005-02-26 21:44:21 +00:00
  • 16ad78abae add sound master gain and additionally bind console to F10 for non-us keyboard layouts (where backquote is a dead key) janwas 2005-02-26 21:43:52 +00:00
  • efe5e3cdcc marked a few of my completed tasks as such janwas 2005-02-26 15:38:41 +00:00
  • 2250434263 renamed to udbg for consistency janwas 2005-02-26 15:15:52 +00:00
  • 157f77887c types.h => lib/types.h (avoid name collision) janwas 2005-02-26 15:15:36 +00:00
  • 91d330d040 MinGW fixes janwas 2005-02-26 15:14:55 +00:00
  • e6c8cef293 types.h => lib/types.h (avoid name collision) janwas 2005-02-26 15:13:15 +00:00
  • 3eb6d152d6 add high level dox to snd.h; improve comments; slight improvements to GCC-compat fixes janwas 2005-02-26 14:52:57 +00:00
  • ed3c740fa8 Doesn't look like I'll be able to finish off the session coordinate adjustment this weekend, so committing one more shared file so it doesn't conflict with someone else's work. Acumen 2005-02-25 17:25:42 +00:00
  • 71701ba244 Not finished with session yet, so committing just the shared bits I've modified (ie anything without *session*.* in the title) so that Malte can do his network GUI now that Simon's committed his changes. *nudge* *nudge* Acumen 2005-02-23 21:13:36 +00:00
  • 85a95e3e41 Fixed warnings. Made invalid-player-ID complaint less annoying. Ykkrosh 2005-02-21 19:49:20 +00:00
  • 7bcc12373b - Created JSMap - Changed player colour JS interface: setColour(...) instead of a colour property - Introduced a network log and replaced most network LOG() calls with NET_LOG() - Moved to a slot-based system for Pre-Game and extended a lot of the JS APIs to networking stuff - A bit of cleanup in the low-level network code (Unix parts) - Clients now keep track of all other connected clients on the server (And exposes this info to JS) - Split out GameAttributes to its own file - Removed unused class AttributeMap - Changed CJSObject to use T* pointers in JS_SetPrivate (needed to make ToScript work with multiple inheritance) olsner 2005-02-21 17:13:31 +00:00
  • 642e107242 Made a few changes on udbg to make it work with two different libbfd versions as well as made a few mmgr assertions more verbose olsner 2005-02-21 17:08:51 +00:00
  • 3776f91aeb Stopped crash when restarting a game Ykkrosh 2005-02-20 23:55:07 +00:00
  • a52d392f4f Changed the global test texture... toned down the shadows and increased the rez Wijitmaker 2005-02-18 19:25:36 +00:00
  • 14c5dcb1f0 The global goods from my little demo! Wijitmaker 2005-02-18 06:33:40 +00:00
  • 96aeec3547 Taking out 2 old horse actors that are pointing to animations that have one less tail bone and causing an error Wijitmaker 2005-02-13 23:44:04 +00:00
  • 75ee00792a Removed unnecessary crashlog exception-catching from ScEd, to let non-Debug versions compile Ykkrosh 2005-02-11 15:03:10 +00:00
  • 03a6b6e804 Stopped ScEd crashing when loading maps. Avoided crashes from invalid animations. Moved game-specific code out of XMLWriter. Ykkrosh 2005-02-11 12:57:19 +00:00
  • 414015ca57 Deleted redundant required-libraries.txt Ykkrosh 2005-02-09 23:36:05 +00:00
  • 3b1395d80b Optimised game-loading, by not reading terrain textures or calculating bounding boxes when not necessary; maps load about twenty seconds faster (at least in Debug mode). Also fixed possible minor bug (FLT_MIN vs -FLT_MAX) and other trivial things. Ykkrosh 2005-02-09 23:19:48 +00:00
  • 614e523c89 mmgr.h: slightly better comments / spacing wdbg: fixed root cause of assert noted during 2005-02-05 meeting (now skip UDT child symbols that don't have an offset, i.e. uninteresting stuff like BaseClass symbols) janwas 2005-02-08 21:08:00 +00:00
  • ce27068bac Fixed some Atlas coordinates to fit in with improved input box, and some optimisations. Acumen 2005-02-08 19:11:02 +00:00
  • ebf76cf517 Carthaginian update for their structures. Unwrapped, skinned, and textured (complete with player color). No props yet, so they look a little bit plain, but they look better than yellow textures with carthaginian plastered all over them ;) Wijitmaker 2005-02-06 07:15:24 +00:00
  • afbf08ab1d Avoid infinite recursion in debug_warn/assert2 Ykkrosh 2005-02-05 19:14:56 +00:00
  • c710b84b88 Alright, I've taken all the input controls in the atlas, and removed their sprite parameter and their hidden parameter, and changed their style to "atlas_input". This is the beauty of styles and it should be utilized. A standard control should only need size/name/style (let's call it, Gee's trinity :P). Anyway, I've also adjusted the size of the input control's sprite, I have explained why in the file. Finally, hidden="false" was removed (on all input controls, but it can be removed for the others too) because it's implicit, it'll always be the standard value, so it can be omitted whenever not 'true', trust me, it'll be much neater code. Gee 2005-02-05 18:38:54 +00:00
  • 7134b17949 Fixed warnings, and made some minor changes for consistency with other code (wchar_t(' ') => L' ', and stack-allocated CFonts) Ykkrosh 2005-02-05 14:53:06 +00:00
  • 008f62b026 Removed temporary log output Gee 2005-02-05 07:32:06 +00:00
  • 5c8ed144ed handlers section slightly updated. Gee 2005-02-05 07:25:41 +00:00
  • 4113aa0a36 GUI Update. Mostly with Input Control Beta :) Gee 2005-02-05 07:25:16 +00:00
  • 6af0d7cfd3 This was SVN commit r1903. Gee 2005-02-05 07:24:09 +00:00
  • a1ff815784 Settings added. Gee 2005-02-05 07:23:22 +00:00
  • 878630d0b0 Moved to the edge. Gee 2005-02-05 07:22:58 +00:00
  • 880634b598 Small changes to ScEd, to remove some hacky bits and to make it not crash with player-colours Ykkrosh 2005-02-04 23:16:42 +00:00
  • 4ddc8b1c1d Changed the startGame() command on the server side and added some chatting stuff. Fire Giant 2005-02-03 18:20:14 +00:00
  • aca9ce6c3c MiniMap GCC and crash bug fix as well as some miscellany olsner 2005-02-02 17:03:37 +00:00
  • 28602d600d mmgr ported to linux olsner 2005-02-02 17:01:33 +00:00
  • 5d9fe41fec NetServer onChat event and NetClient onDisconnect event added olsner 2005-02-02 16:57:15 +00:00
  • a6668c1b22 Some animations Wijitmaker 2005-02-02 08:36:59 +00:00
  • 11904b70b3 symbol->descriptive_string cache - avoids redundant debug_resolve_symbol calls. janwas 2005-02-02 03:35:25 +00:00
  • 3f71d8f6f3 mmgr: further cleanup; reduced size of struct Alloc; use caching symbol resolver in debug.cpp lib.h: move debug_warn to debug.h; use assert2 instead of assert wdbg: better explanation of "get current CONTEXT"; remove "tag == SymTagData" assert (triggered when dumping UDT) janwas 2005-02-02 03:32:11 +00:00
  • 79c7ca4cf6 fix for file_rel_chdir: check if n_path is valid, instead of argv0 (since argv0 is 0 when running sced) janwas 2005-02-02 03:27:40 +00:00
  • 12232b03d2 win_internal: winnt version=0x0501 for HeapSetInformation (to enable LFH) win.cpp: enable low-fragmentation heap (if available) janwas 2005-02-02 03:26:38 +00:00
  • 9695f7245b Quick change of Roman fortress name. Acumen 2005-01-31 18:58:15 +00:00
  • 7cb28a242c win_internal: removed contents of crtdbg and malloc.h (no longer needed, since precompiled.h now correctly includes the mem trackers and all memory-related system headers) janwas 2005-01-30 23:09:51 +00:00
  • bc4351b1c8 _control87 is now ia32_control87 and overrides _control87 via macro. after adding float.h to precompiled.h, compiler was thinking _control87 was dllexport and creating an .exp file (confusing) janwas 2005-01-30 23:07:55 +00:00
  • 6d807d1c9f add win_alloc, used by wpthread to allocate memory for critical sections (safe allocator that may be called at any time, even before _cinit and during static dtors) janwas 2005-01-30 17:40:24 +00:00
  • be3be6cede log only flushes to disk if option MMGR_FLUSH_ALL is set. janwas 2005-01-30 17:31:20 +00:00
  • f1d322d5af - add simplify_stl_func, so STL functions are stripped of crap like std::less<int> and std::allocator<*> - hook strdup and getcwd, since they allocate memory internally - better reporting of owner in case only partial information is available (don't give up and report "unknown") janwas 2005-01-30 16:23:12 +00:00
  • d34780fb79 win_internal: add _getcwd prototype, made all extern file: correct getcwd return value janwas 2005-01-30 16:13:15 +00:00
  • a17998b91a debug_resolve_symbol now tries to return information even if one step fails; output params are zeroed. janwas 2005-01-30 16:08:14 +00:00
  • 3760b15b51 Updated the MP screen, connecting and chatting now work. Starting a game doesn't work, due to startGame() somehow being non-functional in MP mode. Fire Giant 2005-01-30 14:40:25 +00:00
  • 462369a244 Sixty helmets Wijitmaker 2005-01-30 06:46:08 +00:00
  • 9ff6768af9 Did some more player color on shields, just did the mask on the oval ones, cause I'm not sure how they will look. Waiting to do more till I have the player color tester in my grubby little hands. Wijitmaker 2005-01-30 06:44:27 +00:00
  • 983ddb2283 Just submitting a few optimizations to the player renderer and the executables for all the non-programmers :) NoMonkey 2005-01-30 06:49:51 +00:00
  • 0b903415dd Player models now render shadows. NoMonkey 2005-01-30 06:27:07 +00:00
  • d92996027a Fixed Atlas tooltips that weren't working before. Acumen 2005-01-29 23:52:22 +00:00
  • 7c3993d284 just a little bit more color added Wijitmaker 2005-01-29 22:22:02 +00:00
  • 1ca0941853 reducing the super bright player color effect Wijitmaker 2005-01-29 22:07:42 +00:00
  • fd5597f974 greyed out textures player color shield textures Wijitmaker 2005-01-29 20:20:41 +00:00
  • ccbe6e44a1 test map for shields and player color Wijitmaker 2005-01-29 18:35:55 +00:00
  • 6731faa246 sheild player color test actors Wijitmaker 2005-01-29 18:33:09 +00:00
  • 704907db97 Player colors now recognize gaia as player 0 and allow for 8 regular player colors. NoMonkey 2005-01-29 18:20:16 +00:00
  • 985c4dbaf9 recommitting player color test shields Wijitmaker 2005-01-29 18:11:08 +00:00
  • 8e9f0a8202 Disabled RTTI on Windows Ykkrosh 2005-01-29 17:44:57 +00:00
  • f093b53459 Fixed problems in texture converter's DDS output, and in the game's DDS input. Ykkrosh 2005-01-29 17:18:14 +00:00
  • 4ed4a7e16d Fix for the crash when a client connects, as well as some minor additions to client/server code olsner 2005-01-29 16:51:13 +00:00
  • 41e2f48daf add reference to required .lib files to fix linker errors reported by stu janwas 2005-01-29 16:43:46 +00:00
  • 2722cc6640 Fixed the Atlas coords so it all works. It's not finding the tooltip object (which must be a script bug, since other pages have working tooltips), but here's what I've got so far. Acumen 2005-01-29 16:11:55 +00:00
  • 60ee5acd2b Made invalid-attempt-to-get-player errors less subtle. Word-wrapping in assert2 dialog box. Ykkrosh 2005-01-29 00:11:50 +00:00
  • bafdbe7f98 Finally fixed the nasty misplaced main menu buttons. Fire Giant 2005-01-28 23:01:25 +00:00
  • e372bd3f5a Fixed probable mistyping. Removed apparently-unnecessary ScEd code. Ykkrosh 2005-01-28 22:19:09 +00:00
  • 10e1ce7511 Texture converter executable (plus some others to launch it with specific settings) Ykkrosh 2005-01-28 22:16:50 +00:00
  • 4c6713b582 again hooked up 0ad exception handler (pending cleanup of the exception code) janwas 2005-01-28 19:11:30 +00:00
  • 60dbb779eb Texture converter source, plus modified DevIL. Ykkrosh 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 janwas 2005-01-28 18:16:51 +00:00
  • f2758699d6 Some fixes for the unix parts of premake.lua olsner 2005-01-28 17:37:21 +00:00
  • 39389b7bb2 Proper blending for player-colours Ykkrosh 2005-01-28 15:38:49 +00:00
  • b48ede5438 Accept DDS files with mipmaps Ykkrosh 2005-01-28 15:37:01 +00:00
  • b704c7b0e4 endian.h renamed (conflict with linux system header) olsner 2005-01-27 20:00:47 +00:00
  • 9b7007e546 Reverted map change (since it was broken) Ykkrosh 2005-01-27 18:51:37 +00:00
  • 38d6f81d71 add/update win-specific code+header file comment janwas 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) janwas 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 janwas 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 janwas 2005-01-27 15:40:23 +00:00