Commit Graph

90 Commits

Author SHA1 Message Date
Mark Vejvoda 5fb040c9f1 - Fixed bug related to particles not updating smoothly 2010-08-26 01:25:27 +00:00
Mark Vejvoda 5a796444b8 - added a cache for compute fog of war 2010-08-25 23:55:59 +00:00
Mark Vejvoda 014165de69 - explicitly clear the cache. 2010-08-25 16:01:24 +00:00
Mark Vejvoda 49978632c4 - removed one lookup key from new cache as it was not required 2010-08-25 15:55:17 +00:00
Mark Vejvoda 855443d98f - added a lookup cache for unit updater's frequently called unitOnRange logic 2010-08-25 07:29:35 +00:00
Mark Vejvoda c9ca56e91b - small optimization for moving units when source and destintation position are the same 2010-08-25 00:29:56 +00:00
Mark Vejvoda c781982e57 - increased explorecells cache size 2010-08-24 23:36:23 +00:00
Mark Vejvoda 4ee98e7155 - some changes to the explorecells cache for less memory and better performance.
- updated performance logging to more easily find things in the log
2010-08-24 23:15:33 +00:00
Mark Vejvoda 0e3c0a8d0e - disabled staggered unit updates 2010-08-24 02:49:55 +00:00
Mark Vejvoda 65cf1bfdac - attempt to lessen memory footprint of particles and speed up rendering 2010-08-24 01:21:34 +00:00
Mark Vejvoda 1daecc4145 - made staggered faction updates toggle flag 2010-08-23 19:49:00 +00:00
Mark Vejvoda 61a2340e14 - disable faction update staggering 2010-08-23 19:35:55 +00:00
Mark Vejvoda 70817a07d1 - some performance updates to fog of war computation 2010-08-23 15:10:37 +00:00
Mark Vejvoda 284371f206 - some performance updates to fog of war computation 2010-08-23 14:48:33 +00:00
Mark Vejvoda db47a14940 - attempt to spread out faction world ticks for better performance 2010-08-23 09:53:04 +00:00
Titus Tscharntke 401a39c3e1 harvesting units of size>1 should work better ( testing is still needed for this! ) 2010-08-22 22:30:17 +00:00
Mark Vejvoda cce338a2c6 - atempt to squeeze some extra rendering performance 2010-08-21 18:50:56 +00:00
Mark Vejvoda fe8d3b3130 - numerous bugfixes mostly centered around network lag, but also added more logging and protective code (like buffer overflow checks)
*NOTE: This version is NOT backwards compatible with other builds
2010-08-07 03:26:38 +00:00
Mark Vejvoda a7c86fb86b - a better attempt to safely end games and hopefully fix the delete cells bug once for all 2010-08-04 20:07:39 +00:00
Mark Vejvoda c63283ffac - another attempt to fix game end crash for ultifd 2010-08-04 16:56:24 +00:00
Mark Vejvoda 4336ae3e37 - added new commandline param --validate-techtrees which will be used to check for known problems in the techtrees for an installation 2010-07-30 07:51:39 +00:00
Mark Vejvoda 2605e1c4d7 - added proper constructor to init pointers to NULL in case or early game load problems to avoid a crash 2010-07-30 01:19:31 +00:00
Mark Vejvoda ff586afd0d - some final updates to get the new pathfinder working after adding multi-pathing support 2010-07-21 22:05:50 +00:00
Mark Vejvoda 77ee50b681 - some code cleanup related to supporting multiple path finders 2010-07-21 20:40:11 +00:00
Mark Vejvoda bca03b0c0c - initial changes to support multiple path finders 2010-07-21 18:21:40 +00:00
Mark Vejvoda ed67b16aba - added ability to completely disable explorecells caching if required 2010-07-17 06:33:40 +00:00
James McCulloch 8579dbb36e * fix for resource depletion updates to AnnotatedMap and Resource GoalMaps (cell to tile co-ord problem) 2010-07-17 05:13:34 +00:00
Mark Vejvoda 354d8b5408 - improvement for explorecells caching 2010-07-17 01:00:31 +00:00
Mark Vejvoda 432343572f - updated caching for explorecells to be smarter and also remove old items if the cache gets too large (hits a threshold) 2010-07-16 22:17:36 +00:00
Mark Vejvoda 3d62ba1089 - updated caching for explorecells to be smarter and also remove old items if the cache gets too large (hits a threshold) 2010-07-16 22:15:09 +00:00
Mark Vejvoda 206170bc76 - attempted some speed improvements for unit lookup as well as exploreCells 2010-07-14 06:59:55 +00:00
James McCulloch 5f16b486d7 * fix for build command (problems with some cellmaps)
* fix for repair command (problems if top-left cell of repairee is blocked)
2010-07-14 06:54:43 +00:00
James McCulloch f18061a7ee fix build-site and store adjacency maps for potential building rotation
fix potential annotated map update problem with morphing to a smaller UnitType
2010-07-13 11:05:35 +00:00
James McCulloch 8387ed29dc * wired up RoutePlanner/Cartographer
* added DebugRenderer (mostly dysfunctional)
 * add lots of OutputDebug calls for the path finder, as macro PF_TRACE
2010-07-13 05:33:43 +00:00
James McCulloch bdd4f306f4 * added GAE path finder (SearchEngine and friends)
* some small changes to Unit, UnitType, Vec2<> & Map needed for the new path finder
 * compiles, but not hooked up yet, old PathFinder still in use
2010-07-11 18:31:02 +00:00
Mark Vejvoda 39ad29ba3d - attempt to improve rendering speed by rolling back render code to be more like 3.3.4
- added new ini setting to adjust http timeout and set default timeout to 10 seconds now
2010-07-07 18:50:55 +00:00
Mark Vejvoda 64705aa786 - some optimizations for performance logging 2010-07-06 19:24:36 +00:00
Mark Vejvoda 8478ab80b3 - bugfixes for malformed debug statements
- updated version to 3.3.5.1
- added more null checks
- changes to try to fix crash when ending a game (delete cells bug)
2010-07-06 05:30:34 +00:00
Mark Vejvoda 1d4f47718c - added many new things and fixed a number of bugs (too tried to mention them all) 2010-06-24 01:23:18 +00:00
Mark Vejvoda 0a6c382750 - a few more optimizations for rendering and removal of junk
- updated version # to beta8
2010-06-22 04:09:23 +00:00
Mark Vejvoda eeda623b4f - removed the rotateunit flag (its now just part of MG)
- updated rendering to consider both visible and explored cells when rendering untis and objects
- added a warning message when a client is lagging and coming close to being kicked off
2010-06-17 00:08:27 +00:00
Mark Vejvoda cad295c912 - a few minor render updates to try to squeeze better performance out of the rendering (only render visible and explored unit and object cells) 2010-06-16 07:18:06 +00:00
Mark Vejvoda c7c9e69567 - added initial work to better manage rendering (but not yet enabled)
- added new commandline parameter: --version
- some thread cleanup to try adjusted timings when threads shutdown
2010-06-15 16:27:52 +00:00
Mark Vejvoda 1d0836f0ba -added another mutex release to fix a bug found from a segfault
-added a safer debug buffer output method
-added ability to specify precsion for floating point conversion
2010-06-05 15:48:50 +00:00
Mark Vejvoda 50ca413310 added more debug info related to time of day increment 2010-06-05 14:37:20 +00:00
Mark Vejvoda fc63460e07 - updated unitid offset for each faction so that we support up to 100,000 units per faction per game (which is larger than previously supported) 2010-05-31 09:45:54 +00:00
Mark Vejvoda 8ea52485cc - Attempt to fix unit id allocation issues 2010-05-31 09:24:44 +00:00
Mark Vejvoda 5c5b5a3283 - added more debug output 2010-05-29 09:38:00 +00:00
Mark Vejvoda badd795865 More debug code to find unit mismatch 2010-05-29 09:04:22 +00:00
Mark Vejvoda 0aade73335 - Did some refactoring to move connectionSlotThread into ConnectionSlot class 2010-05-27 23:46:38 +00:00