Commit Graph

66 Commits

Author SHA1 Message Date
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
Mark Vejvoda 5879e87297 - added game start debug output to console to show basic faction info 2010-05-20 20:19:34 +00:00
Mark Vejvoda b69d808a0b - added loads of debug potential. We can now output most objects as a string for logging purposes.
- when we get the command type id not found error we now dump the whole world to a textfile
- Pressing the | hotkey at any time during a game dumps the whole world to a textfile
2010-05-18 03:53:57 +00:00
Mark Vejvoda 8be87ee362 - bugfix for network game settings broadcast and game end fog of war fix 2010-05-17 16:02:47 +00:00
Titus Tscharntke 54bcbf4303 watereffects in right place for big units 2010-05-07 08:01:14 +00:00
Titus Tscharntke 0dd135fc12 windowed/fullscreen switch in options ( needed for windows )
watereffect improved for big unnits ( ElimiNator should test it )
2010-05-03 22:07:27 +00:00
Mark Vejvoda 1efc2dc0a6 - updates to Chinese font support so Linux will compile
- added more debugging and NULL guards
2010-05-03 06:25:54 +00:00
Mark Vejvoda 04bb6659ce Added more debugging and option to disable new streflop usage. 2010-05-01 20:14:25 +00:00
Mark Vejvoda 2417f37e21 added more debugging for error conditions 2010-05-01 10:46:56 +00:00
Mark Vejvoda 58386a72e8 Bugfix for cases where command cache was not yet initialized 2010-05-01 09:27:08 +00:00
Mark Vejvoda 4f147b2d89 Added more guards and debug info related to network play 2010-04-29 07:59:44 +00:00
Mark Vejvoda 5af308125b - Cleanup of logging code to properly manage multiple logs etc
- Cleaned up a bunch of compiler warnings (conversion from int to float and vice versa)
2010-04-27 20:38:34 +00:00
Mark Vejvoda f748874601 Ported streflop code to win32 2010-04-24 11:15:15 +00:00
Mark Vejvoda 2bfaa4d1d7 Added streflop (standalone reproducible floating point library) layer to mega-glest (initial checkin only) and changed a few areas to use the library in linux 2010-04-24 03:57:38 +00:00
Mark Vejvoda a50b89e9cc Ported 3.3.4.2 fixes to trunk 2010-04-23 04:29:11 +00:00
Mark Vejvoda a01c0adb78 Added a new lua script function called: unfogMap to allow scenarios and tutorials to turn off fog of war. 2010-04-23 02:48:56 +00:00
Mark Vejvoda d412cb5f79 Added a bunch of NULL pointer guards, changed undertake to cleanup dead units more safely and added more debug tracing 2010-04-20 02:19:37 +00:00
Titus Tscharntke e5d9631a9f watersounds playing all over the map is fixed.
'M' key shows faded console messages again (currently ingame only )
2010-04-14 20:49:14 +00:00
Mark Vejvoda d38a1f8877 Bugfix for cheating when the harvest command type has changed to a different command. Got this from Silnarm. 2010-04-06 03:28:20 +00:00
Mark Vejvoda a0c0be4d65 Some bug fixes related to file transfer code and user folders 2010-04-03 04:30:28 +00:00
James McCulloch a9026f8c20 * added missing #include "leak_dumper.h" to new cpp files
* fix for map names not being formatted (and replaced explicit loops to do the same to tileSet & techTree)
 * fix exploration state for fog-of-war off & multiplayer (note: also turns off for AI, diff. behaviour to before)
 * added fogOfWar to GameSettings and added to cutom game menu/menu_state_custom_game.cpp
2010-03-27 07:09:34 +00:00
James McCulloch 00dd0f490d * fix for map names (possible duplicate entries if mgm and gbm with same name) & alphabetically sorted now
* re-implemented building rotation (Note: requires particle systems that should be rotated with the building to be 'relative')
2010-03-25 12:15:10 +00:00
Mark Vejvoda c26e924e8c Bugfix for unit rotate (when a produced unit is built, the wrong id was used) 2010-03-22 23:10:16 +00:00
Mark Vejvoda d713349187 Changed unit rotation logic to attach to existing ccBuild command (placing rotateAmount into the targetId field which was always unused for this commandtype). Commented out the old network code that was used to do this for now. 2010-03-22 04:47:16 +00:00
Mark Vejvoda 9756217445 Added full support to have maps, tilesets and techs in a scenario or tutorial folder. 2010-03-21 05:33:13 +00:00