1
0
forked from mirrors/0ad

Commit Graph

  • 8d3df809bb fixed some broken animations with the greek javelinists (though I still can't get either the elite javelinists for the celts or greeks to work properly) Wijitmaker 2005-12-12 07:47:11 +00:00
  • 8cbf23f123 Fixed a bug with projectiles trying to hit non-extant entities. Matei 2005-12-11 23:28:50 +00:00
  • 2e5d310c56 Trees can no longer move. Matei 2005-12-11 23:28:08 +00:00
  • 1c1200a049 - massive overhaul of lib error code returning. int -> LibError everywhere. janwas 2005-12-11 22:23:55 +00:00
  • 78cc73481c This was SVN commit r3228. Aeros 2005-12-11 04:11:08 +00:00
  • bc23379066 Fixes to entity death and event handling, plus some updates to RmGen. Matei 2005-12-11 02:09:11 +00:00
  • a5f9789940 Fixes to entity death and event handling (buildings should no longer be able to move, all units should be able to die). Matei 2005-12-11 02:08:24 +00:00
  • 14ecaf2f08 oops wrong material type - fixed Wijitmaker 2005-12-11 02:04:09 +00:00
  • 5e12267025 Balrog for Philip (all in temporary/test folders to be removed prior to release) Wijitmaker 2005-12-11 00:08:30 +00:00
  • 4f6dafd82a Added heal pyrolink 2005-12-10 19:39:17 +00:00
  • 2358540305 Added heal pyrolink 2005-12-10 19:38:42 +00:00
  • bed6abeed5 Finally did the heal thing. pyrolink 2005-12-10 19:37:52 +00:00
  • 7e6d38314d allocators: fix OverrunProtector - avoid crash at exit if the object was never actually used lib: add display_msgw which is a wrapper around the sys_display_msgw impl and takes care of translating text lib_errors: codes are now an enum (this will allow a special return type and make documentation much more clear); codes are defined in the header, not from lib.h wsdl: resolve todo comment janwas 2005-12-10 07:04:31 +00:00
  • 724477a0d9 Atlas build, and new toolbar icons. Ykkrosh 2005-12-09 03:59:31 +00:00
  • 2eac4af3a4 Added unit IDs, so Atlas can store references to units without just using pointers and without crashing. Ykkrosh 2005-12-09 03:15:00 +00:00
  • bd2c1d73a3 Terrain, Interact, LOSManager, Atlas, etc: Fixed some off-by-one and off-by-FLT_EPSILON problems with objects near/off the edge of the map. Also changed some model.GetBounds().GetCentre() into model.GetTransform().GetTranslation() to fix off-by-centre-of-bounds-minus-position problems. Thus, you can no longer make units in Atlas disappear off the edge and never be seen or selected again. Also changed out-of-bounds LOS value to make them visible if they somehow escape anyway. Also fixed out-of-bounds access of terrain heightmap. Ykkrosh 2005-12-09 01:08:08 +00:00
  • 12b8dd2d9b Fixed warning when exiting from non-Atlas game Ykkrosh 2005-12-08 20:25:17 +00:00
  • c16227df06 slight tweak to asm code - improve alignment and remove temp R..R/W..W memcpy interleaving janwas 2005-12-08 17:26:08 +00:00
  • 895d717c06 This was SVN commit r3208. Ykkrosh 2005-12-08 03:33:14 +00:00
  • 5250814397 Atlas: Fixed entities-don't-move-when-terrain-is-altered. Unbroke and fixed entity memory management. Added flatten tool. Added object movement/rotation/deletion tool - but not yet finished, since 'redo' usually crashes (for known reasons). Ykkrosh 2005-12-08 02:50:55 +00:00
  • ce3bd33d76 grass clumps Aeros 2005-12-07 07:51:19 +00:00
  • b242eafd02 various small fixes; some changes as in previous rev (which was only the files in lib/) split a part of win.cpp up into wsysdep GameSetup: bugfix for incorrect window title text janwas 2005-12-07 03:44:17 +00:00
  • e2f25f4598 - self test: rename stuff to SELF_TEST*; add provision for delayed all-at-once self tests (allows for init before the test and makes measuring elapsed time easier) - config: add CONFIG_TRACE - display_error_impl->sys_display_error - cleaned up sysdep; add sys_ prefix everywhere and document everything - add to vfs_load dox - cursor: sys_cursor_load -> sys_cursor_create. sysdep code is no longer dependent on tex; instead of calling tex_load, the caller passes a BGRA texture in. memcpy: huge kick in the pants for accompanying paper; now even faster. - on_each_cpu -> sys_on_each_cpu (removed manager function also) - wsdl: explain PeekMessage CPU usage issue janwas 2005-12-07 03:38:39 +00:00
  • a5d1968a8c ProfileViewer: Fixed char* vs wchar_t*. Ykkrosh 2005-12-06 20:16:50 +00:00
  • 300ff4578b Added camera enhancements and cinematic suppport pyrolink 2005-12-06 06:58:30 +00:00
  • 8199091425 Incomplete cinematic functions. (Are committed to keep CGameView compatible, which uses an instance of CCinemaManager). Atlas components will be committed once Atlas is up and running. pyrolink 2005-12-06 06:52:24 +00:00
  • 483917fbc8 Quaternion subtraction. pyrolink 2005-12-06 06:49:55 +00:00
  • 609140b7b5 Hotkeys for camera enhancements. pyrolink 2005-12-06 06:47:17 +00:00
  • 1c656821bf Changes for camera enhancements (first person view and following a unit). pyrolink 2005-12-06 06:46:16 +00:00
  • f174796540 Added fresnel effect for water. pyrolink 2005-12-06 06:42:49 +00:00
  • 74f8d8c213 Bug correction for heal action. pyrolink 2005-12-06 06:41:47 +00:00
  • 9b1da42678 Atlas: Better toolbar. Ykkrosh 2005-12-05 20:17:10 +00:00
  • 15ce055695 This was SVN commit r3191. Aeros 2005-12-03 11:05:00 +00:00
  • 036a8d3246 Atlas: Toolbar. Ykkrosh 2005-12-03 06:35:31 +00:00
  • 48ef5c0a32 Greek Ships! Wijitmaker 2005-12-03 00:50:19 +00:00
  • 547293ee49 Atlas: Vaguely usable object placement code. Bug fixes. Ykkrosh 2005-12-02 21:08:10 +00:00
  • 0a252de08c Atlas: Incomplete object (entity+actor) placement code. +/- keys for zooming. Ykkrosh 2005-12-02 07:37:57 +00:00
  • 8f976e4b8a glext_funcs: Added gDEBugger-specific extension. Ykkrosh 2005-12-02 02:08:26 +00:00
  • e0aa4feb99 Fixed a few issues in Cantabrian Highlands. Matei 2005-11-27 01:27:44 +00:00
  • b4e50e24ba This was SVN commit r3180. Matei 2005-11-27 01:17:09 +00:00
  • e92c36bc36 Added new cantabrian_generated. Matei 2005-11-27 01:10:10 +00:00
  • 67e253544d Fixed ScEd loading/saving Ykkrosh 2005-11-26 23:12:32 +00:00
  • 78c835a590 Put opened drop-down lists on top of most other GUI controls (by increasing their z value) Ykkrosh 2005-11-26 22:42:51 +00:00
  • f942ea15e6 More DevIL library things Ykkrosh 2005-11-26 03:46:21 +00:00
  • 760b915d54 bobby - added large oaks and tweaked scale on normal oaks Aeros 2005-11-22 07:22:09 +00:00
  • fd7af9481a Siege wagons for the packed versions of the siege weapons Wijitmaker 2005-11-21 10:40:26 +00:00
  • 9be309d4c7 editordata: use tex_load to load the heightmap - don't need the ogl_tex functionality and this avoids the POT check (which would fail) ogl_tex: remove POT-check-avoidance hack janwas 2005-11-20 14:35:52 +00:00
  • b417951ef8 (Oops, committed inconsistent code) Ykkrosh 2005-11-20 00:52:41 +00:00
  • 41ae0f9a44 Various hacks to make ScEd work. Should be removed once ScEd is no longer needed. Ykkrosh 2005-11-20 00:41:45 +00:00
  • efbe061214 rename lib/errors.* to lib/lib_errors.* due to conflict with ps/errors.* also add sys_error_description_r backend for unix janwas 2005-11-19 22:59:16 +00:00
  • 0491a7980d ScEd: add mathutil header (seems to be required now, no longer included automatically); update to ogl_tex API (they have long been renamed in ps); fix issue with PS_CRect vs CRect janwas 2005-11-19 22:27:53 +00:00
  • 59f9e37930 lib error codes moved to errors.h and made X macros. this allows adding a corresponding text message, which is now output by debug_warn_err. janwas 2005-11-19 18:12:16 +00:00
  • 5c9501830c Fix some more warnings. prefect 2005-11-19 16:43:20 +00:00
  • 71f1d3ed68 Consistently declare CRendererInternals as a struct, not a class. prefect 2005-11-19 16:37:50 +00:00
  • 5087732fe3 Refactor ProfileViewer into a singleton that uses AbstractProfileTable as data model. Profile.cpp implements AbstractProfileTable so the original functionality of the profiling display remains. CRenderer also contains an AbstractProfileTable implementation that displays the rendering stats. Switch through different profile views using F11. prefect 2005-11-19 16:15:34 +00:00
  • 560e4d5077 Greek Siege Weapons Wijitmaker 2005-11-19 11:22:57 +00:00
  • 76c7f96833 add safety check to get_slot (this appears to be part of the error andrew is getting - possibly the victim of mem corruption) janwas 2005-11-19 04:13:37 +00:00
  • ae7303cce4 removal of the last of the .png files (except what is left over in your local screenshot folders) Wijitmaker 2005-11-18 22:50:37 +00:00
  • d5d6e4052e lib: only debug_warn in UNREACHABLE in paranoia builds - avoids lots of warnings in debug mode cursor: fix definition of ALLOW_SYS_CURSOR and use DDS instead of PNG ogl_tex: add ogl_tex_transform_to for convenience tex: fix issue with transform code (might not flip image if it was DDS) win: decompress cursor texture if it was DDS renderer: use DDS instead of PNG for alpha maps janwas 2005-11-18 16:23:39 +00:00
  • c2b3157b8d test objects for the renderer Wijitmaker 2005-11-18 12:57:31 +00:00
  • eee7fca2d3 move atomic_add and CAS_ into pure asm. janwas 2005-11-18 05:16:43 +00:00
  • 78af045795 Removing last remaining .png files Wijitmaker 2005-11-18 04:15:31 +00:00
  • bd7078161c Bobby - Forest Oak trees added and fixed the messed up poplar prop point that was giving people telephone poles. Moved the old oaks (since we already had an oak.xml) to oak_old.xml Aeros 2005-11-16 09:05:29 +00:00
  • f21b06e36a add DLLs from VC8 so that applications with manifests enabled run on systems without VC8 installed janwas 2005-11-15 16:22:15 +00:00
  • 96aea16461 This was SVN commit r3137. Aeros 2005-11-14 00:54:41 +00:00
  • 7e16caf791 This was SVN commit r3136. Aeros 2005-11-14 00:52:14 +00:00
  • a198cba9b7 This was SVN commit r3135. Aeros 2005-11-14 00:50:59 +00:00
  • 81eec3aa10 fix build breakage (baad!): janwas 2005-11-13 23:29:56 +00:00
  • c38352703e Greek horse cavalry stuff Wijitmaker 2005-11-13 11:38:29 +00:00
  • 139698ec1d Entity heal update. pyrolink 2005-11-13 06:43:04 +00:00
  • 2ddf20374c entity healing pyrolink 2005-11-13 06:42:33 +00:00
  • 9cf709ff5a Added entity heal capabilities/ pyrolink 2005-11-13 06:42:12 +00:00
  • f27cab84f8 Finishing of the last of the greek buildings for Milestone VII Wijitmaker 2005-11-09 09:53:50 +00:00
  • 9305db42a2 Bobby - Lumbardy Poplar asset added to test new tree implimentation system ingame and to show to an impacient Michael ;) Aeros 2005-11-09 09:18:05 +00:00
  • c3e70463d7 UNREACHABLE now generates warning if hit in debug mode (as per philip's request - good idea :) ) janwas 2005-11-09 04:11:13 +00:00
  • 64f98cccc0 remove /QIfist setting from premake (see previous commits). janwas 2005-11-09 01:20:33 +00:00
  • d51f4900d8 Don't crash when units are hanging over the edge of the map Ykkrosh 2005-11-08 22:52:55 +00:00
  • e6a4dd7f3f Fixed Release-mode crash on middle-mouse up Ykkrosh 2005-11-07 21:52:27 +00:00
  • 9476dc4ad0 ia32: remove _ceil, mark functions as being sysdep implementations; prefix fpucw constants with IA32 to avoid conflicts sysdep: remove round; document several functions; use ia32.h header instead of a hack that extern-declared sysdep functions that are implemented as macro-redirection wsdl: add SDL_EnableKeyRepeat stub; group related functions in header together; no longer need OS_WIN wrapper around that janwas 2005-11-07 02:45:25 +00:00
  • 14c62e721d ia32, sysdep: add float->int implementation and fallback version and self-test config: add macro that determines when it's used Terrain, wtime: use new float->int code detect: no longer change _MCW_RC janwas 2005-11-07 02:04:28 +00:00
  • 9d3be5713b Work around what is apparently an ATI driver bug in the GLSL implementation prefect 2005-11-06 22:47:26 +00:00
  • 8ead2e1e67 Enable key repeat on Linux. prefect 2005-11-06 18:13:01 +00:00
  • 78f9dbb6f1 Fix various warnings (both implicit conversions and real bugs). prefect 2005-11-06 17:58:47 +00:00
  • a450f59455 premake.lua changes: prefect 2005-11-06 17:38:57 +00:00
  • f160fe1469 instancing.xml doesn't need shlight.vs (thanks to Philip for pointing it out) prefect 2005-11-06 17:36:58 +00:00
  • 124f7171bd More reliable texture blending. Resource unloading. Minor fixes. Ykkrosh 2005-11-06 05:05:07 +00:00
  • d64561d18d minimap: fix issue where changes to terrain might not be noticed losmanager: only comment out timer_accrue janwas 2005-11-06 04:22:47 +00:00
  • db67607f62 Patch vertex buffers are marked as dynamic now, since they're changed every frame for LOD (in the long run, try splitting them into dynamic and non-dynamic parts). Also, using TIMER_ACCRUE in an inner loop isn't such a good idea ;) prefect 2005-11-06 04:16:19 +00:00
  • 1a0744c9db Do not mess with FPU rounding control on Linux. prefect 2005-11-06 03:54:58 +00:00
  • f439b81e1a add -ffast-math and comment on that and /QIfist janwas 2005-11-06 03:37:05 +00:00
  • 15cce8566f minimap: only update 10x/sec and if LOS state != ALL_VISIBLE; fix incorrect SAFE_DELETE fix use of LOS_EXPLORED; == implies explored but not visible janwas 2005-11-06 02:02:44 +00:00
  • 6668ad6e1c CTerrain, Brushes: made CalcFromPosition static and added float x,y overload minimap, PatchRData, renderer: fix ELOSState comparison vs & and use SAFE_DELETE ia32: add rounding control constants (for FISTP) premake: set /QIfist compiler setting which causes float->int casts to go through FISTP instruction instead of _ftol2() (much faster, but requires CPU state to have been set) LOSManager.cpp: cache m_TilesPerSize; use MIN/MAX; use CTerrain::CalcFromPosition; clean up GetUnitState a bit. now runs at 203ns, down from 222 janwas 2005-11-06 01:33:16 +00:00
  • 82bdda29ef GameView: revise usage of LOS_VISIBLE - must check bit, not equality ia32: removing misleading and outdated comment Player: add "LOS token" - speeds up LosManager by caching a temp result LOSMAnager: speed up by about 9%, more to come. combined 2 DWORDs into one u16; further optimization pending. old code remains (via #ifdef frankenstein) janwas 2005-11-06 00:07:01 +00:00
  • 0346ba1b18 Refactor model rendering to perform vertex setup in ModelVertexRenderer. prefect 2005-11-05 23:15:23 +00:00
  • 139c48e733 Removed TickAll of entities, for performance Ykkrosh 2005-11-05 23:10:54 +00:00
  • fb115d19b9 Fix compilation with g++ prefect 2005-11-05 23:03:55 +00:00
  • faaee7d1b5 Atlas: Terrain painting Ykkrosh 2005-11-05 04:59:54 +00:00
  • a679206ca1 Atlas: Use sem_msgwait_np Ykkrosh 2005-11-04 00:02:43 +00:00
  • 9e2ec6aa3e Wide to Multi-byte conversion needs some hinting. prefect 2005-11-03 22:51:14 +00:00
  • 5f5d19cac4 Compile fixes and cleanup prefect 2005-11-03 22:21:44 +00:00