Commit Graph

293 Commits

Author SHA1 Message Date
SoftCoder 865a665bf0 - round 2 of cppcheck code cleanup 2017-10-09 20:21:14 -07:00
SoftCoder 26581a77d2 - first round of cleanup from cppcheck report 2017-10-09 19:09:36 -07:00
titiger a5e759fdd1 AI should not morph units currently busy with building something 2016-12-12 14:51:16 +01:00
titiger 97d4023d92 unit must be placed in center of faked size square 2016-12-10 21:10:38 +01:00
titiger cd8530f69e new tag <ai-build-size> 2016-12-10 16:01:26 +01:00
SoftCoder c5aff25a94 - comment one thread safety check as it was not required 2016-05-27 21:31:39 -07:00
SoftCoder 56494f3cd2 - finally fixing issue #102 (bad cell visible handling when fog of war turned off) 2016-05-27 16:15:27 -07:00
SoftCoder ed6f169d97 - attempt to see if this helps deal with oos when fog of war off 2016-05-23 09:51:50 -07:00
SoftCoder d6dbb187cc - fixed some bugs discovered by coverity scan 2016-01-20 21:34:23 -08:00
SoftCoder 7e0494bb28 - some bug fixes based on coverity scan 2015-11-25 21:16:29 -08:00
SoftCoder 8210485a42 - a few bugfixes related to coverity scan 2014-12-15 19:44:26 -08:00
titison 850a9a7dc0 -AI can't command non-commandable units anymore
-Removed non-selectable
2014-08-07 21:00:27 +02:00
titiger d56069488f Let's see how good Mega-AI plays with real random when trying to find the enemy.
( the server must use this version to see an effect )
2014-01-27 19:23:31 +01:00
SoftCoder 3111b733e2 - bugfix for chrono class calcs causing group camera recall to fail (And numerous other problems)
- added better tracking of mutexes by assigning them location info
2013-12-24 22:27:44 -08:00
SoftCoder f269273f07 - round #2 of coverity bug fixes 2013-12-14 22:37:15 -08:00
SoftCoder b9d6b38e8f - coverity based bug fixes - round #1 2013-12-13 23:04:12 -08:00
Mark Vejvoda 7d5b71b2cf - bugfix for compilation on windows 2013-11-19 22:47:22 +00:00
Mark Vejvoda 66761ba760 - code cleanup based on additional gcc warnings 2013-11-19 06:42:32 +00:00
Mark Vejvoda 9268aaf279 - a few minor bug fixes related to code warnings
- code cleanup based on additional gcc warnings
- enabled additional gcc compiler warnings
2013-11-19 06:14:06 +00:00
Mark Vejvoda 3671bd0617 - removed debug code 2013-11-14 13:17:58 +00:00
Mark Vejvoda e712f307c3 attempt to see if removing this mutex is stable and improves performance 2013-11-10 19:49:02 +00:00
Mark Vejvoda 2d4cf315f6 attempt to fix performance issue with pathfinder and mutexes 2013-11-10 07:25:52 +00:00
Mark Vejvoda 597feb452f fix warnings from vc++ 2013-11-10 05:27:59 +00:00
Mark Vejvoda ebaa8ced1a - ensure mutexes are properly protecting shared data in pathfinder 2013-11-10 05:23:59 +00:00
Mark Vejvoda 856e6fd88e when using team switch, AI player will now always answers YES if he already lost the game 2013-11-10 04:26:20 +00:00
Mark Vejvoda fd2cc5f66b updating pathfinder mutexes to ensure safety of shared access to precache buffers 2013-11-09 21:22:51 +00:00
Mark Vejvoda 273abcde75 try to see if this improves pathfidner performance 2013-11-09 20:44:37 +00:00
Mark Vejvoda bb2e2d0f64 removed more unused code for last path cache which was already removed 2013-11-09 19:14:53 +00:00
Mark Vejvoda 23cab07fe8 code cleanup from cpp check 2013-11-09 03:16:41 +00:00
Mark Vejvoda f6e5a6a3a0 code cleanup from cpp check (And removed commented and useless code) 2013-11-09 01:26:29 +00:00
Mark Vejvoda 2c452d3587 attempt to use per faction mutexes for safer pathfinding 2013-11-08 22:41:17 +00:00
Mark Vejvoda 0f5f4c0792 bugfix for nig's issue 2013-11-08 17:01:32 +00:00
Mark Vejvoda 22b230a5b3 bugfix for nig's issue 2013-11-08 16:26:36 +00:00
Mark Vejvoda 96d2723646 tracking down nigs bug 2013-11-08 15:30:53 +00:00
Mark Vejvoda 1d3859ff32 - windows x64 updates to get things compiling on vc2012 x64 2013-11-02 11:04:52 +00:00
Mark Vejvoda ad0fb1d6f7 cleaned up code based on feedback from cppcheck 2013-10-25 05:45:54 +00:00
Mark Vejvoda 9e60723296 revert most doubles back to float and truncate at 6 decimals 2013-10-03 00:17:51 +00:00
Mark Vejvoda dc503d6340 - attempt to see if this makes stability better 2013-10-02 20:22:10 +00:00
Mark Vejvoda de8b083329 - attempt to fix additional oos issues 2013-09-30 17:38:26 +00:00
Mark Vejvoda 9967df316c - attempt to fix additional oos issues 2013-09-28 05:06:04 +00:00
Mark Vejvoda 3a6544a257 attempt for big cleanup of out of synch issues, please test! 2013-09-23 17:16:34 +00:00
Mark Vejvoda 836e61d5d6 loggging fixes for language specific info (use english always) 2013-09-21 20:50:58 +00:00
Mark Vejvoda ab413f1d0c small code cleanup from cppcheck 2013-09-19 06:32:47 +00:00
Mark Vejvoda d4a6645a4d - more code cleanup and game lobby force refresh bugfix when data changes 2013-09-19 01:19:36 +00:00
Mark Vejvoda 3a5c99bca5 small code cleanup to see if this corrects any memory issues 2013-09-18 22:44:04 +00:00
Mark Vejvoda b5e26070b1 - updated to beta2 and added primitive CRC checking for network games, requies the Host user to set the following ini to enable CRC's:
EnableNetworkGameSynchChecks=true
2013-09-12 03:33:43 +00:00
Titus Tscharntke 6f85a6aa4a old air behaviour for resource production. new one is reachable via ini switch NewResourceBehaviour=true 2013-08-29 22:30:09 +00:00
Mark Vejvoda f617866237 - attempt to see if this handles resource associated units better 2013-08-10 06:53:16 +00:00
Mark Vejvoda 97b8979a6c added AI logging for resource unit type logic 2013-08-02 21:46:55 +00:00
Mark Vejvoda 1247f1e965 a little refactoring and try to fix some of the AI logic for food producers 2013-08-02 00:08:16 +00:00