1
0
forked from mirrors/0ad

Commit Graph

  • b17b43b525 don't complain if attempting to open non-zip files (happens when scanning mount point directory) janwas 2006-02-07 07:16:02 +00:00
  • 7397615b5b Reenabled shadows (it was misspelled as shadow=true instead of shadows=true). Matei 2006-02-05 06:50:24 +00:00
  • ad4fe4ae96 Queue binding pyrolink 2006-02-05 03:45:23 +00:00
  • 2e92baf497 fix: no longer crashes when attempting to remove node from empty track pyrolink 2006-02-05 03:43:21 +00:00
  • 54101c169f Queue binding pyrolink 2006-02-05 03:42:05 +00:00
  • 20c8dd4e37 Test track queue thing pyrolink 2006-02-05 02:51:02 +00:00
  • 195affefee Queue hotkey-watch the test cinematic...looks good on my test map, ask if you want me to send the map to you (it actually orbits around some units on that map). pyrolink 2006-02-05 02:49:33 +00:00
  • 920795fd85 file_cache: add refcounting to ExtantBufMgr (required for correctness) janwas 2006-02-04 23:32:01 +00:00
  • 92fb5450bc CVFSInputSource clean-up, added headers to adts.{h,cpp} olsner 2006-02-04 22:44:52 +00:00
  • 7bf48e95c4 add FILE_LONG_LIVED flag when opening XML file in the process of building XMB (avoids warning) janwas 2006-02-04 22:31:25 +00:00
  • 67f8087b6f Don't hack around low RAND_MAX values when RAND_MAX is high. prefect 2006-02-04 19:12:09 +00:00
  • 13897010d5 Premake workspace: use native wchar_t type in VC7.1/8 Ykkrosh 2006-02-03 22:29:53 +00:00
  • 2f438a6889 cache_allocator bugfix: do not attempt to coalesce allocations that are at start/end of committed region. fixes self-test failure. janwas 2006-02-03 21:44:09 +00:00
  • debd047638 proper definition of wchar_t (if needed; currently not) janwas 2006-02-03 20:45:36 +00:00
  • 987a6b7d4e fixed wchar_t issues; now correctly separates utf16, CStrW and jschar. janwas 2006-02-03 20:36:15 +00:00
  • 41f08eecb8 Seems we didn't have just a "plain white" terrain... so I made one. Mythos_Ruler 2006-02-03 07:00:28 +00:00
  • 1227cb2f6d adts: add RingBuf self-test. RingBuf: make entry#0 the 'head' and pop_front a no-op if empty. janwas 2006-02-03 04:02:53 +00:00
  • 3e2017147d Snazzier resizing resource counters and some miscellaneous fixes. Acumen 2006-02-03 03:15:49 +00:00
  • 8ed6965d18 fix crash that happened after editing file while game is running. vfs_tree's tree_root object was being destroyed but not recreated when rebuilding the VFs tree. fixed that as well as correctly freeing all TNode memory upon rebuild. janwas 2006-02-02 05:20:33 +00:00
  • 7862e79e84 adts: optimize landlord algorithm at advisor's request (only relevant if we have tons of files in cache) trace: make note of IO size janwas 2006-02-02 04:11:07 +00:00
  • 22be4ee0d6 temp ships with props Wijitmaker 2006-02-01 10:53:10 +00:00
  • 792d1d5f80 gcc implicitly makes inline functions static, so don't make those functions inline (since they have to be linked, they cannot be inlined anyway) prefect 2006-02-01 01:33:59 +00:00
  • efc45aac23 This was SVN commit r3453. Mythos_Ruler 2006-02-01 00:58:17 +00:00
  • 79767e2e1b This was SVN commit r3452. Mythos_Ruler 2006-02-01 00:57:44 +00:00
  • f5dec3e4ab This was SVN commit r3451. Mythos_Ruler 2006-02-01 00:57:19 +00:00
  • d11fcc8257 file_cache: bugfix in CacheAllocator hook up file_stats; implemented stats_dump (gives somewhat detailed report at exit) janwas 2006-01-31 07:48:32 +00:00
  • 06412a7751 allocators: bugfix (wasn't setting freelist to 0) archive: afile_read bugfix (wasn't returning byte count) byte_order: add to_leXX, implement read_leXX in terms of that, add write_leXX (and also big-endian versions) compression: support 0 length buffers + minor fixes file: no longer support passing fn_len (that didn't work anyway due to DynHashTbl find(const char*) interface); add FILE_DONT_SET_FN optimization that prevents cluttering name cache. file_cache: add logic to verify load/free/load/free sequence; add FILE_LONG_LIVED flag to specify exceptions (e.g. XMB files that don't free their buffer immediately) vfs_mount/vfs_tree: bugfix (was mixing up portable and VFS paths) vfs_optimizer: small fixes; creating Zip files now works vfs_tree: add PathName that stores pointer to path and name component for efficiency + convenience zip: bugfixes (wasn't endian safe; incorrect handling of cmethod; forgot to initialize ZipArchive members) janwas 2006-01-31 03:47:52 +00:00
  • 6eb9bfa730 Reenabled shadows in system.cfg. Matei 2006-01-29 23:54:29 +00:00
  • cff5dfae07 Preliminary version of player selection for Atlas. You can press any key 0-8 while the place object tool is active to place an object for that player, though the preview object will always be shown in white (Gaia) until I can figure out how to cleanly update its colour. Matei 2006-01-29 23:38:19 +00:00
  • bbbb9e12af -hotkey for cinematic interface (not working) pyrolink 2006-01-29 23:27:16 +00:00
  • 6af039def8 -CinemaTrack-refined GameView- commented out test track in constructor, and commented out hotkey interface NUSpline-added bounds checking and corrections Hotkey-added cinematic hotkey (doesn't work though (see above) ) pyrolink 2006-01-29 23:25:04 +00:00
  • 7c6bac667c Apparently, there's a conflict between setjmp.h and libpng in some cases. prefect 2006-01-29 19:46:31 +00:00
  • 30284fc7c5 minor warning fixes: struct vs. class forward decl; size_t vs uint janwas 2006-01-29 18:38:40 +00:00
  • fcfa746244 Linux compat changes, fix for (really old) bug in VertexBufferManager shutdown, GUI header reorganization for gcc 4.0 olsner 2006-01-29 18:23:47 +00:00
  • 90bf4ae0a7 - add CBound::Render() - fix CBound::Transform() math - beginnings of new shadow bound calculations prefect 2006-01-29 17:34:45 +00:00
  • 6699dc11c7 This was SVN commit r3435. Aeros 2006-01-29 03:59:32 +00:00
  • a3f4424e35 Fixed bug in documentation of confusing feature, unless the fix is wrong too Ykkrosh 2006-01-29 02:58:19 +00:00
  • ecbcc59fba bugfix: no longer make freed buffers readonly because we need to write boundary tags into them for coalescing janwas 2006-01-28 23:02:26 +00:00
  • d0066d32f0 another free() janwas 2006-01-28 22:41:22 +00:00
  • cda1e4c177 bitten by free() redirector macro again.. fixed janwas 2006-01-28 22:30:28 +00:00
  • 0fa0bfcb28 ConfigDB.cpp: fix vfs_load return value check baseentity, entity: remove multiple property adds (source of scriptablecomplex memory leak) scriptablecomplex: add code to check for leak regression and prevent them; add suballocator for properties, since 60k are allocated in a short while (!) - saves time and memory janwas 2006-01-28 22:21:54 +00:00
  • e07622b56a Cache: implement meat of landlord algorithm and add remove() allocators: add freelist capability to Bucket; add provision for variable XOR fixed size allocs archive: re-tag file buffers if reading uncompressed from archive; improve LFH fixup logic file_cache: add cache line invalidation; lock down pages (readonly) when IO finished file_io: cleanup+docs; properly cut off at EOF without breaking alignment. file_stats: add seek accounting (WIP) vfs_optimizer: also record file_buf_free in the trace. initial implementation of archive builder (WIP) zip: lfh_fixup now more efficient (does not involve buffer manager - instead it grabs LFH from temp blocks) tex: plug FileIOBuf leak. avoid writing to tex.hm because that is a read-only file_buf. janwas 2006-01-28 22:19:42 +00:00
  • 3b4295a177 Linux build fixes prefect 2006-01-28 22:04:09 +00:00
  • afe37d9fe2 fix vc8 errors reported by andrew: (thanks!) - made file_io_wait buffer non-const (less const_casting around - buffers are really non-const. besides which, inadvertent use will be caught via MMU) - zip: disambiguate abs() param janwas 2006-01-25 07:37:20 +00:00
  • 1ea2d25373 forgot this one.. janwas 2006-01-25 07:23:53 +00:00
  • 4a508c6b87 all lib/res/file headers included in file_internal.h split stats into separate file; different call mechanism; add lots of stats (WIP) janwas 2006-01-25 07:21:45 +00:00
  • 83ccd72798 Tiny fix to the "unit AI" in the damage event handler to make ranged units fight back when attacked. Matei 2006-01-24 11:08:53 +00:00
  • 7838627cd2 - vfs_load now returns error code and takes FileIOBuf; that must be freed via file_buf_free. if Handle is needed, use mem_wrap. janwas 2006-01-24 08:16:29 +00:00
  • 36cbf23c8e v2 of file/res code for thesis: janwas 2006-01-23 20:05:09 +00:00
  • 72cc581c2e Renamed Decay to Corpse for all actor animations, and added extra animations to Basic Celt Infantry Spearman and Javelinist for testing purposes. Acumen 2006-01-23 16:16:59 +00:00
  • c29c222936 Fixed a JS error message when corpses were attacked (because they had no armour). Matei 2006-01-23 10:36:18 +00:00
  • 4dbeb2ed6c Fixed a compile error (on gcc-3.3 at least): the code in adts.h used Traits.something where Traits is a typename instead of using tr.something where tr is an instance of Traits. Matei 2006-01-23 10:35:24 +00:00
  • f8b9114b17 wdbg: fix FOURCC usage (fixes exception locus reporting) others: fix various minor warnings janwas 2006-01-23 08:02:08 +00:00
  • f06f0c8240 adts.cpp: remove DynArray, which was an array of pages. (obsoleted by DynArray/Pool allocators) adts.h: add Cache (landlord algorithm), move DynHashTbl here from vfs_tree; expand RingBuf and fix its iterator allocators: minor tweaks+bugfixes; add SingleAllocator C++ wrapper config, types: avoid stupid ICC warnings lib: add round_down, u32_from_u16, SAFE_FREE janwas 2006-01-23 07:59:20 +00:00
  • c4aea4eb62 Health regen fix for ranged attack. Matei 2006-01-23 03:56:48 +00:00
  • 1c541db46b Health regen fix for ranged attack. Matei 2006-01-23 03:55:35 +00:00
  • cdd432ba46 updating the tips file to some latin Wijitmaker 2006-01-23 03:38:45 +00:00
  • 16341dd834 Fixed someone else's "fix"... The Celts don't get a wall tower, they get a wall turret, which is not the Scout Tower, which someone made it into. :) Sooooooo, I changed the actor in the entity back from the scout_tower to the wall_turret. Mythos_Ruler 2006-01-23 03:20:28 +00:00
  • 199550457d to entities that I'm adding to fix errors Wijitmaker 2006-01-23 02:34:38 +00:00
  • f25de48559 - Seperate ViewCamera (eye position) and CullCamera (model culling, shadow calculations) internally. Use ?gameView.lockCullCamera = true in the console to move around while the CullCamera stays in place - add CCamera::Render to visualize a camera's frustum - use ?renderer.debugFrustum = true in the console to visualize the frustum of the CullCamera prefect 2006-01-22 19:12:30 +00:00
  • d5a4c87dcc Fixes to the melee/ranged attack split. Matei 2006-01-22 11:55:47 +00:00
  • a0936ede65 Fixes to the melee/ranged attack split. Matei 2006-01-22 11:55:16 +00:00
  • c03cdd6a23 This was SVN commit r3402. pyrolink 2006-01-22 11:09:13 +00:00
  • 8be78ad51c This was SVN commit r3401. pyrolink 2006-01-22 11:08:46 +00:00
  • b1537950e2 fixes pyrolink 2006-01-22 11:08:27 +00:00
  • 22d15cba2a Made console history slightly smarter: if you type something and then press up or down, it will show you only those strings in history that begin with the text you typed. Matei 2006-01-22 09:56:12 +00:00
  • c6620bb358 Range and melee attack split up. pyrolink 2006-01-22 08:53:35 +00:00
  • 0e861e5ab1 Thank Stuart for the new attack properties (split into ranged and melee). Also, if running, the unit will use crush damage instead of melee. pyrolink 2006-01-22 08:51:34 +00:00
  • 84285b42d1 Fixed terrain texture orientation so shadows fall as expected. Matei 2006-01-22 08:17:33 +00:00
  • 111b5cf42d This was SVN commit r3393. Aeros 2006-01-22 08:07:23 +00:00
  • c3b289ec0b new demetrius entity to test animations Mythos_Ruler 2006-01-22 06:39:55 +00:00
  • 5c5c6cd469 New actors to play with new animations Mythos_Ruler 2006-01-22 06:37:51 +00:00
  • b32a8361e5 AI stance properties and extended animal templates. Acumen 2006-01-22 05:28:41 +00:00
  • 1290c3dcfd Fixed bug with pathfinding during a contact action on Linux. Matei 2006-01-22 01:17:58 +00:00
  • 5ac92a3302 Advance water in sync with simulation and unit animations (so it stops when the game is paused). Ykkrosh 2006-01-21 23:27:42 +00:00
  • f953258a9d Fix Linux build, don't EVER #include <windows.h> again! prefect 2006-01-21 20:01:17 +00:00
  • 5d4ec7f4bb Health regen, run bugfix pyrolink 2006-01-21 11:17:15 +00:00
  • 230b7a896c Right click/double click support in main GUI handler, minimap updates-drag and order issuing pyrolink 2006-01-21 11:07:25 +00:00
  • bda61f8030 2 handed spear animations Wijitmaker 2006-01-21 10:53:03 +00:00
  • 3555c4b931 Order dispatcher ignores if mouse over minimap (minimap handles seperately) pyrolink 2006-01-21 11:04:09 +00:00
  • b86ae011c9 Some loading stuff pyrolink 2006-01-21 11:02:35 +00:00
  • 5383104a4f Added health regen/decay with time delay, corrected continual run bug (once running, disregards reorders to walk until destination reached). pyrolink 2006-01-21 11:01:08 +00:00
  • c2c5e87c61 Removed references to the old attack, gather, heal and damage events (that were no longer used). Matei 2006-01-20 21:38:58 +00:00
  • c85551a8b0 Renamed processAttack, entityEventAttack, entityDamage, etc to avoid confusion since several people didn't like the functions having different names than the properties of the entity object. Now the generic action handlers are called performAttack, performGather, etc and the damage function is simply called damage. Matei 2006-01-20 21:37:45 +00:00
  • 2ee40734e1 Removed file/folder livingaftermidnight 2006-01-19 11:36:17 +00:00
  • fe8f7dd1fc Removed file/folder livingaftermidnight 2006-01-19 11:36:03 +00:00
  • 5dd1dba521 This was SVN commit r3370. livingaftermidnight 2006-01-19 11:32:09 +00:00
  • aef0a42780 This is the new particle engine. It's in and it compiles, but it's not implemented fully yet. Will get to that soon. livingaftermidnight 2006-01-19 11:19:55 +00:00
  • 30b83db67b Moved Run up to affect other units. Also added an Iberian house, which for some reason went AWOL during the entity revision. Acumen 2006-01-18 03:31:21 +00:00
  • cadbd77bc7 A temp Themistocles to test Wijit's cool new animations. Mythos_Ruler 2006-01-17 08:12:10 +00:00
  • d6ec773887 Two-sworded Themistocles to test out Wijit's new "wild and crazy" animations. Mythos_Ruler 2006-01-17 08:10:56 +00:00
  • 1175b5cdba Stamina bars, run order pyrolink 2006-01-16 10:56:47 +00:00
  • a917ffa711 Run order, secondary order support --still needs secondary cursor. pyrolink 2006-01-16 10:56:12 +00:00
  • 01ff2fdf3b Secondary order script support; run order addition pyrolink 2006-01-16 10:55:01 +00:00
  • 2cc7221166 dual sword attack animations Wijitmaker 2006-01-16 09:58:03 +00:00
  • 98496f2434 Added Matei's instructions to add a new generic order to the entity script. Not much of a contribution, but every little helps, eh? :) Acumen 2006-01-16 02:01:24 +00:00
  • dafc496b6f Some sword attack animations and a few new deaths Wijitmaker 2006-01-15 11:49:29 +00:00
  • 052e08717e Updated Video Menu, Fixed Audio Menu, Started Game Options Menu thedrunkyak 2006-01-14 13:54:49 +00:00
  • cf224a6267 This was SVN commit r3357. NoMonkey 2006-01-13 05:00:55 +00:00
  • 740d4ab616 Slight adjustments to options screen (fixed invalid style pgBorder, moved exit buttons to corners now that there's a Cancel, added floating tooltips). Looking good, though, Dan! (y) Acumen 2006-01-12 15:17:35 +00:00