1
0
forked from mirrors/0ad

Commit Graph

  • 2ef8a7b630 Sped up minimap rendering by having a separate LOS texture and recomputing only that per frame. To force a recompute of the terrain texture, set g_TerrainModified to true sometime before the render step of each frame (it is set back to false at the end of the frame). Matei 2005-10-19 03:02:51 +00:00
  • 9ac4ca16ba Fix ia32_control87 and some floating-point exception stuff. prefect 2005-10-19 01:53:38 +00:00
  • 7b4b44eee0 Got tired of waiting for the "monkeys" so I made the granite stone actors myself. - Mythos Mythos_Ruler 2005-10-18 03:40:22 +00:00
  • b350f54162 ogl_tex: centralize OpenGL caps detection; allow user override for broken card/driver combos - enable floating point exceptions (helps catch bugs) file.cpp: improved error checking in dir_open/dir_next_ent code vfs.h: expand docs; add note on patching + SCM main: use spf (1/fps) to derive TimeSinceLastFrame (makes for smoother updates) timer: rename SUM_TIMER to TIMER_ACCRUE. interface change allows unlimited number of timers (instead of static limit as before). documented everything janwas 2005-10-17 23:35:16 +00:00
  • f2b662d12d Build: generate Atlas project files (with "update-workspaces --atlas") (for VS2003 only). Ykkrosh 2005-10-17 01:11:12 +00:00
  • 953d2621dd timer: improved timer_add_client - no longer has fixed-size storage. btw, name will change here - not happy with SUM_TIMER. janwas 2005-10-16 23:16:08 +00:00
  • 62c5e311f2 All fixed to include new 3D meshes Mythos_Ruler 2005-10-16 21:35:27 +00:00
  • 8c0da64fe1 This was SVN commit r2952. Mythos_Ruler 2005-10-16 21:33:01 +00:00
  • 80434a8a12 Updated with new meshes Mythos_Ruler 2005-10-16 21:22:39 +00:00
  • bcca0722b4 New 3D meshes for large reeds and crops. Mythos_Ruler 2005-10-16 21:13:21 +00:00
  • 499c073873 This was SVN commit r2949. Mythos_Ruler 2005-10-16 21:12:37 +00:00
  • d5e292657c zoom limit: carry over value of 25 that andrew had tried to set in main.cpp janwas 2005-10-16 04:31:19 +00:00
  • af70f0136b GameView: made file-scope data static (prevents accidental/evil use from other files and name collisions) TextureEntry: add SUM_TIMER around base color calculation Zip: add SUM_TIMER around inflate/memcpy janwas 2005-10-15 21:15:33 +00:00
  • bf99370232 Lowered g_YMinOffset pyrolink 2005-10-15 19:38:04 +00:00
  • 0d5ce47915 Leonidas Hero Wijitmaker 2005-10-15 04:15:02 +00:00
  • d7996c104a CInput: swapped direction of mouse-wheel scrolling. Ykkrosh 2005-10-14 21:59:08 +00:00
  • 6ff0cf4cab workaround: wdetect needs to call dir_open with absolute paths. we therefore allow this (disabling the full path conversion thing), but it's a hack. janwas 2005-10-14 20:28:55 +00:00
  • e049e0a60d Fixed positioning of new LOS control (TODO: split into FoW and Reveal check boxes) Fire Giant 2005-10-14 02:06:51 +00:00
  • 39dbc65a19 Updated session setup screen and some minor changes in shell GUI layout. Fire Giant 2005-10-13 20:04:22 +00:00
  • b6dfb8174f fix 64bit bug: wsdl defined SDL_Event.user.code as intptr_t, but real SDL doesn't. brought that in line and fixed GUIHotkey code. janwas 2005-10-13 19:11:22 +00:00
  • 7b31f0372b GameView: move camera lock params here wsdl: add proper event queuing mechanism (no longer requires hacky polling for changes and avoids WM_USER) rename keys[] and mouse_buttons to g_keys and g_mouse_buttons fix flipped mouse wheel direction; wsdl now sends up AND down event (removed 'reset' hack in main.cpp) main: clean up event handler and kill_mainloop janwas 2005-10-13 18:05:55 +00:00
  • 991d6c438c Fix water renderer to fully specify its texture environment. prefect 2005-10-13 15:46:31 +00:00
  • a6225ffa21 added a randomized texture Mythos_Ruler 2005-10-13 09:10:43 +00:00
  • db4bb3a4d1 This was SVN commit r2930. Mythos_Ruler 2005-10-13 09:09:47 +00:00
  • e95f2f4de4 New grass tall texture to randomize the grass Mythos_Ruler 2005-10-13 08:53:09 +00:00
  • 141c39ab91 Modified grass_field_lush_tall.xml to randomize a bit. Mythos_Ruler 2005-10-13 08:52:31 +00:00
  • b950a98ffb pond-battle2.pmp and pond-battle2.xml are an update for the possible gamedev submission. This is for CheeZy to add his magic. Mythos_Ruler 2005-10-13 07:44:42 +00:00
  • 82a8126002 Updated hele_[a-h]1.dds. and first commit! :-) Dnas 2005-10-13 07:29:35 +00:00
  • c153fb5c62 This was SVN commit r2925. Mythos_Ruler 2005-10-13 07:25:37 +00:00
  • 2cd06a66ae Fixed the hellenes/super_unit_1.xml actor to use the correct tunic mesh. Mythos_Ruler 2005-10-13 01:56:53 +00:00
  • 46c84a8b99 This was SVN commit r2923. Mythos_Ruler 2005-10-13 01:44:05 +00:00
  • d30b9fdc23 This was SVN commit r2922. Mythos_Ruler 2005-10-13 01:31:16 +00:00
  • 2dae4ab373 This was SVN commit r2921. Mythos_Ruler 2005-10-13 01:06:07 +00:00
  • 0babbd8420 This was SVN commit r2920. Mythos_Ruler 2005-10-13 00:46:04 +00:00
  • 8435fb880c vfs_mount: bugfix: wasn't populating VFS from archive (cause of massive VFS slowdown recently). also fixed another overzealous validate check ogl_tex: bind() implementation much simplified; also fix bug that set TMU correctly when disabling texturing wsdl: fix stdout.txt redirect; now works regardless of current directory. also no longer disable file buffering except when in full debug mode (because it's so slow). also add minimize button to caption bar in windowed mode. janwas 2005-10-12 23:48:44 +00:00
  • 04654b4064 This was SVN commit r2918. Mythos_Ruler 2005-10-12 21:32:10 +00:00
  • a1cddc4ac3 gameview, renderer: LoadWaterTextures is now a coroutine because it takes friggin forever (3 seconds). VFS performance is down by a factor of ten! investigating is on todo. janwas 2005-10-12 17:19:07 +00:00
  • deaaf5236c Fix build for g++ prefect 2005-10-12 16:27:23 +00:00
  • 3c2d38502c dyn_array: added matrix allocator for convenience. renamed to "allocators.cpp" (now contains several of them) LOSMananager: uses matrix allocator; free them in dtor janwas 2005-10-12 15:51:26 +00:00
  • 4285883f3d wdetect: changed gfx_card detect to hopefully support multiple adapters (now returns the primary) file: add timer h_mgr bugfix: h_force_free wasn't clearing refcnt mem: add note on shutdown order snd: bugfixes: VSrc_validate was overzealous (al_src == 0 is allowed); sd->is_valid wasn't being set -> leaked AL buffers. wsdl: remove overzealous ReleaseDC check (false alarm) gamesetup: clarify (resource) shutdown order janwas 2005-10-12 15:09:32 +00:00
  • dff64f6b96 Fix some broken links to props in the persian house xml file Wijitmaker 2005-10-12 08:38:08 +00:00
  • 906d0f31fa update with Ken's map and fixes for some bad unit meshes Wijitmaker 2005-10-12 07:56:17 +00:00
  • c1ec44d751 ogl_tex: work around bug #69; greatly simplify upload implementation; add support for emulating s3tc tex: add support for generating mipmaps in software (simplifies ogl_tex_upload) all codecs: change interface, adding "restrict" keyword; rename util functions to tex_util tex_dds: support for decompressing images with mipmaps included janwas 2005-10-12 04:41:28 +00:00
  • b53e236a02 Greek Archers completed, Trader completed, Super Unit 2 is completed Wijitmaker 2005-10-12 04:33:02 +00:00
  • e9864faa97 all resource implementations: janwas 2005-10-12 04:35:01 +00:00
  • c498468fd0 wsdl(+main): add support for cleanly shutting down game if X clicked or Alt+F4 pressed. also cleanup; correctly declare SDL_Event dyn_array: add pool allocator - see comments. file(+gamesetup): add suballocator for aiocb (requires shutdown); revise validator; rename file_*_io to file_io_* janwas 2005-10-12 04:27:55 +00:00
  • ece006f43e sysdep: add restrict keyword (placebo if not supported) gfx: extern "C"-ed wtime, util, win, wdbg_sym: minor / commenting only wdetect: don't skip gfx_card detect if buffer already filled glext_funcs: remove obsolete defs janwas 2005-10-12 04:22:44 +00:00
  • 990e343ae6 renderer: load/unload water textures (similar to alpha maps); do that in delay load and avoid leaking them. janwas 2005-10-12 04:16:41 +00:00
  • de5361047a Player colour rendering fallback now looks exactly the same as the fast path again (using multi-pass). prefect 2005-10-12 01:07:01 +00:00
  • 7e7e0cd052 Demo map for Ken featuring all the completed art work so far of structures/units Wijitmaker 2005-10-12 00:37:05 +00:00
  • 30b80c032d Alexander Hero (hopefully I included everything) Wijitmaker 2005-10-11 11:59:26 +00:00
  • 8d37fba12f This was SVN commit r2899. Mythos_Ruler 2005-10-11 05:22:18 +00:00
  • e05ca36bc5 Changed water color/depth/alpha again Wijitmaker 2005-10-10 23:05:53 +00:00
  • 1b59f4c56e Keep renderer in sync with simulation when running too slowly for the sim to keep up Ykkrosh 2005-10-10 19:49:02 +00:00
  • f2ccab089c new cumulative timer as requested for entity slowdown investigation. janwas 2005-10-10 17:33:34 +00:00
  • 6efb1e1c00 Single pass player color rendering. prefect 2005-10-10 14:15:28 +00:00
  • 868649d491 This was SVN commit r2890. Mythos_Ruler 2005-10-10 08:17:17 +00:00
  • 57b8886f63 This was SVN commit r2889. Mythos_Ruler 2005-10-10 05:25:56 +00:00
  • faa6a78304 Added LOS setting to GameAttributes. Also fixed a small bug with LOS rendering (the patch's render data wasn't updated for LOS until the second frame after it became visible, displaying it in black for 1 frame). Matei 2005-10-10 03:35:32 +00:00
  • e294e30c51 Added LOS setting to game setup screen. Matei 2005-10-10 03:34:45 +00:00
  • 575500169d This was SVN commit r2885. Mythos_Ruler 2005-10-10 02:24:48 +00:00
  • 84d47305ea This was SVN commit r2884. Mythos_Ruler 2005-10-10 02:24:00 +00:00
  • 3414e847be Updated the temporary Bireme so it inherited from the ship template instead of the Female Citizen (which was fairly disturbing). Acumen 2005-10-09 14:22:55 +00:00
  • f2862de50e few xml error fixes Wijitmaker 2005-10-09 11:17:40 +00:00
  • c468eedbbb Sped up LOS rendering. Matei 2005-10-09 08:14:42 +00:00
  • 57cfc7c6ac Made LOS drawn using terrain vertex color (which requires some terrain render data to be rebuilt each frame, but is faster). Matei 2005-10-09 04:40:18 +00:00
  • aa1348b6a8 Atlas: Disable LOS when editing. Set up initial terrain data before starting CGame (since initialisation of LOS (and probably other things in the future) wants to know about the terrain). Ykkrosh 2005-10-09 04:29:58 +00:00
  • 0ed2815c8b Added initial version of LOS, and updated minimap to show both LOS and water. Matei 2005-10-09 03:43:03 +00:00
  • 7ebdefec4b Atlas: improved brushes Ykkrosh 2005-10-09 03:26:16 +00:00
  • 7fc8713794 Made the LOS properties slightly more realistic. Matei 2005-10-09 03:00:03 +00:00
  • d4663954f2 Replaced the temporary ship with a new and improved bireme, stuck some units on the prop points for a sense of scale. Wijitmaker 2005-10-09 01:21:31 +00:00
  • 5070ced96f Properties for LOS for Matei: traits.vision.los (structures, units), traits.vision.permanent (structures, gaia). Acumen 2005-10-08 23:00:39 +00:00
  • d3721d4491 This was SVN commit r2871. Aeros 2005-10-08 08:02:50 +00:00
  • c15f69cb85 This was SVN commit r2870. Aeros 2005-10-08 07:58:04 +00:00
  • 8bc8bcb740 Atlas: more flexible brushes Ykkrosh 2005-10-08 03:55:21 +00:00
  • 29d6f420fd GameView: removed unused ancient camera code. Ykkrosh 2005-10-07 21:09:29 +00:00
  • 04650efe7a Lots of gcc -Wall fixes. The common ones: prefect 2005-10-07 15:24:29 +00:00
  • 8529426fa8 Optimisation: Don't recalculate actor transform data for entities that haven't moved Ykkrosh 2005-10-07 02:44:54 +00:00
  • dbd58f4011 Remove CRenderer::Close(), which wasn't called anyway and the only reasonable calling site would have been just before the destructor. m_VertexShader is no longer leaked. prefect 2005-10-06 16:07:36 +00:00
  • 6b25cafe05 The const size_t GFX_DRV_VER_LEN was increased from 64 to 256 to accommodate extraneous drivers found in the windows registry. This was made to prevent an assertion in wdetect. greybeard 2005-10-06 03:45:33 +00:00
  • bc8eba1002 Work around a bug in ATI's Linux OpenGL driver. prefect 2005-10-06 03:29:26 +00:00
  • d2ee50031c Fix shlight.vs for ATI cards. prefect 2005-10-05 19:29:52 +00:00
  • 13697b8512 Stupid bug in VertexArrayIterator template - forgot a return *this. prefect 2005-10-05 16:54:10 +00:00
  • f1ee2cd66d Add the notion of render paths and an appropriate configuration option. prefect 2005-10-05 16:42:09 +00:00
  • 539460abd8 This was SVN commit r2852. Mythos_Ruler 2005-10-05 08:35:14 +00:00
  • 7e8ab14139 This was SVN commit r2851. Mythos_Ruler 2005-10-05 07:38:55 +00:00
  • 639a1ee8cb This was SVN commit r2850. Mythos_Ruler 2005-10-05 07:38:04 +00:00
  • 932cab0da1 This was SVN commit r2849. Mythos_Ruler 2005-10-05 07:37:34 +00:00
  • 6859ce1e52 ooops missing texture I shouldn't have renamed Wijitmaker 2005-10-05 05:23:17 +00:00
  • 72d71ae3a9 renamed some shoreline textures, painted the terrain on the 0ad map, and fixed a bad link in the roman barracks entity Wijitmaker 2005-10-05 05:03:21 +00:00
  • a4fc7105be Explicitly call VertexBufferManager cleanup code, since we can't rely on the order of destructors called for global instances. prefect 2005-10-04 20:54:47 +00:00
  • a181ef1fef This was SVN commit r2845. Mythos_Ruler 2005-10-04 07:03:07 +00:00
  • 57a9941176 This was SVN commit r2844. Mythos_Ruler 2005-10-04 07:02:33 +00:00
  • 721f6e4a1e Atlas: [very] primitive brushes Ykkrosh 2005-10-04 02:50:59 +00:00
  • 7abf24b6c6 Possible speed optimisation for gaia entities (don't inherit the usual events and the entity script). Acumen 2005-10-03 20:57:10 +00:00
  • 5e3b6fcbe3 goto crosses initialization (deja vu? ;)). prefect 2005-10-03 19:37:45 +00:00
  • b8c2f424e7 glDrawRangeElements -> glDrawRangeElementsEXT (fixes compilation error; EXT/ARB/etc extensions need to be used for everything not in GL1.1) Reinserted mu-like symbol. Fixed some minor warnings. Ykkrosh 2005-10-03 16:04:55 +00:00
  • d367014972 vfs_store: set return value to #bytes written fix 2 bugs in tex / ogl_tex reported by philip (related to caching) - thanks! tex: documented header and improved implementation. add tex_transform_to for convenience. change tex_write to require going through tex_wrap. janwas 2005-10-03 12:57:31 +00:00
  • c8b3be282d This was SVN commit r2836. Mythos_Ruler 2005-10-03 05:00:36 +00:00
  • f0542c9b45 This was SVN commit r2835. Mythos_Ruler 2005-10-03 04:59:48 +00:00