Commit Graph

157 Commits

Author SHA1 Message Date
Titus Tscharntke 42ebe42155 new tileset fernland
removed annoying debug of resource multiplier
fixed resource multiplier display in connected menu
2010-12-01 21:18:29 +00:00
Mark Vejvoda b02da7d1e0 - finally found and fixed out of synch related to AI.
- added ability to log all unit activity to world synch logfiles so we can diff game info from different network clients
2010-11-30 23:32:39 +00:00
Mark Vejvoda ca2408073e - disabled more caching to determine if any of these caches cause out of synch 2010-11-28 03:35:44 +00:00
Mark Vejvoda ab966d7872 - added map cell checks back but output to error log only (and assert for debug mode) 2010-11-28 03:21:20 +00:00
Mark Vejvoda ee249b8878 - commented out another possibly bad assert /exception 2010-11-27 08:23:45 +00:00
Mark Vejvoda 4e36b4c30c - commented out what seems to be a bad assert / exception check 2010-11-27 07:11:54 +00:00
Titus Tscharntke ede8977aff switched resourcemultiplier to int (using the index now) and added some debug output for testing. 2010-11-25 22:45:08 +00:00
Titus Tscharntke c2c9cc0044 endgame stats screen shows multiplier now for CPU players
you cannot switch unvisible resource multiplier any more
2010-11-11 21:41:13 +00:00
Mark Vejvoda cc4f268988 - some additional AI caching for improved performance 2010-11-11 08:02:50 +00:00
Titus Tscharntke 99c70d301a resource multiplier only for cpu players.
new resource multiplier defaults for cpu player
resource multiplier only active in advaced options
scenarios can use a new attribute resource_multiplier to setup games
2010-11-11 01:24:48 +00:00
Titus Tscharntke c3b96ec722 mega/ultra cpu still used its old multiplier ... fixed 2010-11-09 22:51:19 +00:00
Mark Vejvoda d89953ee96 - improved performance and bug fixes. 2010-11-09 09:06:52 +00:00
Titus Tscharntke 2440d475b3 beginning of new resource multiplier. Still work in progress but hopefully ready to test some things. 2010-11-08 23:15:50 +00:00
Mark Vejvoda 9d9fa0deeb - improved performance for when the AI decides which resource is closest. 2010-11-07 03:27:06 +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 9e55d8e46b - added a small cache to improve pathfinding a bit
- added logic to IGNORE the following characters when doing CRC checks in XML files
 (space,tab,CR,LF)
2010-11-07 01:06:14 +00:00
Mark Vejvoda 6312c0ec60 - bigfix for last checkin 2010-11-03 21:53:49 +00:00
Mark Vejvoda d91bd593e8 - added more info related to ultifds error message to see what triggers the issue 2010-11-03 21:43:37 +00:00
Mark Vejvoda 9978cbeff5 - added some initial work to support FBO (frame buffer objects)
- added many NULL check guards throughout the code
- added a safe mutex around ptr access of background thread on custom menu
2010-11-01 16:44:05 +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 060a9d3fe6 - disallow air units to morph back to land if unwalkable objects or water terrain are below 2010-10-30 04:49:49 +00:00
Mark Vejvoda dec9dfe653 - added new attribute for tileset objects named "height". Air units will try to fly above the height of units and objects now (up to a max of terrain height + 15) 2010-10-30 04:05:48 +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 c47b6c676c - attempt to further improve pathfinder performance when MANY units are on the map 2010-10-26 06:43:42 +00:00
Mark Vejvoda 112bfd4445 - commented out debug code 2010-10-24 02:16:44 +00:00
Mark Vejvoda e53e6b49a9 - bugfix for multiple consumable resources applying incorrectly during the update interval. (thanks silnarm) 2010-10-22 22:52:37 +00:00
Mark Vejvoda b72124a89a - bugfix for segfault (using wrong index variables again). This time I understand what to change and what not to change :) 2010-10-22 17:29:23 +00:00
Mark Vejvoda c088889e7c - bugfix to retain proper team color based on actual slot position, regardless of how many closed slots there are. Yay, now team placement and color works properly 2010-10-22 08:10:56 +00:00
Mark Vejvoda b869552cad - a little bit of fine tuning the new unit harvesting logic, now units are more intelligent about how they harvest (both AI and Human players) 2010-10-22 04:48:24 +00:00
Mark Vejvoda 07fe6a2196 - added to the faction resource cache pool for even better AI discovery of resources 2010-10-21 20:31:09 +00:00
Mark Vejvoda ae367fb252 - updated to units harvesting so they try to harvest different resources when blocked if other resources are close by. 2010-10-21 19:26:14 +00:00
Mark Vejvoda 93e56df3d6 - fixed some misc code bugs (incorrect assignment) and cleaned up some compiler warnings 2010-10-21 01:07:11 +00:00
Mark Vejvoda bc7ba297fd - more tweaking for units harvesting, this hopefully cleans up segfaults and makes things more stable. 2010-10-20 20:40:29 +00:00
Mark Vejvoda 6104dedc76 - added a resource harvest success cache for stuck units to look at when they cannot harvest. 2010-10-20 07:28:27 +00:00
Mark Vejvoda ddb4c42bf5 - added some guard conditions to avoid segfault when resources are harvested quickly 2010-10-19 22:47:45 +00:00
Mark Vejvoda 913df7ec3b - added more cached information to help deal with units getting stuck while harvesting. Trying to keep them busy instead of standing around. 2010-10-19 22:26:49 +00:00
Mark Vejvoda dda594cf33 - a slight change in dealing with units getting stuck while harvesting. Trying to keep them busy instead of standing around. 2010-10-19 16:54:48 +00:00
Mark Vejvoda 182f2cd20d - bugfixes to AI where workers harvesting think they have arrived but really did not. 2010-10-19 04:38:55 +00:00
Mark Vejvoda 3d4ccb460c - added a little extra logic for units when pathfinding. We keep temporary lists of bad cells of harvest resources where a unit simply cannot get to. This is kept for small periods of time and then the bad cell list is purged when data gets old. This tremendously helps units to be more active when getting stuck in challenging places on maps. 2010-10-17 08:50:27 +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 5ecda82be0 - bugfix for allowing players to view map at game end for network games 2010-09-30 00:49:57 +00:00
Mark Vejvoda c300905d70 - a better attempt to fix the issue with multi-build where the repairers stop repairing 2010-09-28 19:52:31 +00:00
Mark Vejvoda c3fc45995c - an attempt to fix the issue with multi-build where the repairers stop repairing 2010-09-28 15:22:04 +00:00
Mark Vejvoda b836bf0039 - turned off staggered faction updates (can toggle via ini setting: StaggeredFactionUpdates)
- added more debug info for resource depletion
2010-09-17 04:00:48 +00:00
Mark Vejvoda 7e7c7216a5 - fixed screen flickering of fog of war texture when staggered updates is enabled. 2010-09-15 23:32:29 +00:00
Mark Vejvoda c295697aba - added map preview on custom game menu 2010-09-12 05:05:08 +00:00
Titus Tscharntke 729bd23f58 improved box selection ( much better regarding performance now and updates selection without moving the mouse ) 2010-09-10 12:15:21 +00:00
Mark Vejvoda 0783b23e12 - bugfixes for rendering (new ini setting toggles new quad cache and is called: UseQuadCache=true) 2010-09-10 08:51:32 +00:00
Mark Vejvoda 2c1b6b6304 - added a caching system for rendering game entities 2010-09-10 00:28:14 +00:00
Mark Vejvoda d806e7f9ff - a few more performance optimizations and logging changes 2010-09-09 05:42:19 +00:00