Commit Graph

55 Commits

Author SHA1 Message Date
Mark Vejvoda 449e3f25c8 - updates to commondata handling. From now on commondata tag specified the commondata folder under a techtree making it easier to share data and portable since you just need to copy the techtree and its contents, this means no sharing data between techtrees (which is good since we don't want such dependencies) 2011-05-06 22:12:16 +00:00
Mark Vejvoda e34e70a0c8 - added code to merge duplicate sounds used in a techtree 2011-05-06 07:47:31 +00:00
Mark Vejvoda c258dc0822 - display which files contain the reference (the parents) to duplicate data in validation report 2011-05-05 20:18:38 +00:00
Mark Vejvoda 6492832c35 - added initial validation code to warn about duplicate data used in factions 2011-05-05 19:21:50 +00:00
Mark Vejvoda 102363f151 - added initial folder(s) and code to handle loading common data to save duplicated files space 2011-05-05 06:17:34 +00:00
Mark Vejvoda 9def99c8f5 - bugfix on new cellmap pos, need to check first if unit has a cellmap 2011-05-01 05:40:45 +00:00
Mark Vejvoda f71f83d2b8 - bugfix for AI repairing fixes a long standing legacy bug where the AI never repaired units with a cell map starting with a 0 at the first x,y in the cellmap (like magic faction). 2011-05-01 05:36:04 +00:00
Mark Vejvoda 89de9f4c8b - fixed to handle duplicate resources in unit requirement costs without crashing 2011-04-26 22:28:37 +00:00
Mark Vejvoda 5a6418ac60 - removed some debug statements to see if it will improve debug logging performance 2011-04-11 00:11:52 +00:00
Mark Vejvoda 3ed636aae2 - fixes for some threading shutdown bugs
- We now display when a screenshot is taken in game showing an ingame console message
- Updated AI to attack closest attackers
- Updated found enemy to be closest attacker
2011-03-28 21:04:47 +00:00
Mark Vejvoda 3b56aa4475 - performance changes... (problem found by titi) most debug calls line are skipped when the debug flag is disabled even BEFORE getting into the handledebug method.
This improves performance VERY MUCH.
2011-03-28 03:54:23 +00:00
Mark Vejvoda b81a0ffdb8 - consistent display order for unit and upgrade requirement resources as requested by tomreyn 2011-03-16 05:27:07 +00:00
Mark Vejvoda 7d38aec84a - new commandline options to discover and optional delete unused files in techtrees 2011-03-15 15:30:28 +00:00
Mark Vejvoda 39bf1b986e - added new commandline option to convert folders of g3d models to use specified texture format
- added new utility methods and changed code to use them (like adding trailing slash on paths)
2011-03-13 08:23:43 +00:00
Mark Vejvoda 66261ad662 - updated line endings to unix style characters to fix Bug #3085838 2011-01-20 15:56:30 +00:00
Mark Vejvoda c51eb0a3c4 - attempt to cleanup some debug logging to see if it helps restore normal performance 2011-01-17 16:31:25 +00:00
Mark Vejvoda a7ca23d18e - speed improvement for anti-hack checking 2011-01-15 04:13:15 +00:00
Mark Vejvoda 2ab82c9271 - added some basic protection against memory hacking tools 2011-01-14 23:51:15 +00:00
Mark Vejvoda 1c78fca0fb - Added tileset and map CRC check in the network lobby
- numerous bugfixes
2011-01-09 04:49:21 +00:00
Mark Vejvoda d89953ee96 - improved performance and bug fixes. 2010-11-09 09:06:52 +00:00
Mark Vejvoda ca9cbc6e75 - removed some debugging that created very large debug files and improved performance a little bit 2010-11-07 02:37:00 +00:00
Mark Vejvoda dfedf2259b - numerous bugfixes to building an d repairing units.
- added new unit cell property called allowEmpty to allow units to build other units with cellmaps that have all 0's (since you can produce these types of units anyways)
2010-10-30 08:54:00 +00:00
Mark Vejvoda de3a92081d - a bunch of in progress work related to texture compression and more timely texture memory management cleanup. For now to test texture compression use the following ini setting: EnableTextureCompression=true 2010-10-28 00:51:25 +00:00
Mark Vejvoda 0d050f62d4 - added code to now output all eerors to console (with option to save in log file)
- added more LUA debug info
2010-10-06 20:22:06 +00:00
Mark Vejvoda 02e0a1302f - more AI fixes.
#1: AI does not try to harvest resources that the unit cannot yet harvest (could be an upgrade required)

#2: AI no longer tries to expand near resources that they are not yet able to harvest. (found using RealtimeFreaks test mod and map). This makes for a more aggresive CPU in scenarios where there are additional resource types since they expand much more quickly.
2010-10-02 01:11:59 +00:00
Mark Vejvoda 958184e018 - more memory cleanup 2010-09-07 21:01:22 +00:00
Mark Vejvoda ab44c83168 - added leak_dumper header all over the place (not yet functional in linux)
- Bugfix for particle cleanup
2010-09-07 05:25:40 +00:00
Titus Tscharntke 04ba21f10c needed ressource display fixed 2010-08-23 17:11:07 +00:00
Titus Tscharntke 8e281e2faf new attribute MaxUnitCount in units and yellow select circle for allies 2010-08-22 21:09:35 +00:00
Mark Vejvoda 3b39c7d5b2 - cleanup of some compiler warnings 2010-07-17 06:59:18 +00:00
Mark Vejvoda 633cb9542d - cleanup of some compiler warnings 2010-07-17 06:57:57 +00:00
Mark Vejvoda e9e1a317e4 - cleanup of some compiler warnings 2010-07-17 06:54:04 +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 a81286cbba - added support for showing projectile particles in the g3d viewer 2010-06-24 10:52:58 +00:00
Mark Vejvoda 4fd75e5d7d - fixed two nasty AI bugs which would cause out of synch and memory corruption problems
- added new glest.ini setting to log commands for each client
2010-06-08 07:40:32 +00:00
Titus Tscharntke 50fe71a651 The worker bug ( found and fixed by silnarm )
http://glest.org/glest_board/index.php?topic=5508.0
2010-05-29 00:14:00 +00:00
Mark Vejvoda 4b6e017241 - Added particle support to g3d viewer 2010-05-25 18:06:42 +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 0f6605fc4a made a few performance improvements for file scanning logic 2010-05-14 07:02:17 +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 7b9036345b streflop updates 2010-05-01 21:07:17 +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 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 c1ec8f97df new switch <rotationAllowed value="false" /> for buildings
new switch <relativeDirection value="false" /> for UnitParticleSystems
2010-03-27 03:09:11 +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 edd3af5243 Bugfixes so that win32 code will work with latest user data changes 2010-03-20 11:16:07 +00:00
Mark Vejvoda 965a7ac2ba Updated debug logic to use a debug class to better control debug logging and centralize the control of it. 2010-03-19 23:26:00 +00:00
Mark Vejvoda f838293632 Added code for the following:
a) Complete Unit Rotation for multi-player
b) Added support for user defined data folders
2010-03-18 21:26:40 +00:00
Mark Vejvoda e9847750c1 Disabled in progress code related to unit rotation feature (will re-enabled after current release) 2010-03-12 07:42:55 +00:00