Commit Graph

1240 Commits

Author SHA1 Message Date
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 453e5a12e6 - crc thread program exit cleanup, client download now using language string in connected menu 2011-03-27 16:39:19 +00:00
Mark Vejvoda 965ac7e00b - commented out unused curl method so now it should be able to compile on older libcurl 2011-03-27 16:18:16 +00:00
Mark Vejvoda 0f915ae6a6 - better handling of sound system reset when clicking ok in options menu 2011-03-27 15:55:55 +00:00
Titus Tscharntke df2df4bcfc some rearrangement in options, player names in chat with colors again 2011-03-26 21:38:26 +00:00
Mark Vejvoda d9bc605974 - added scenarios to mod menu 2011-03-26 18:37:38 +00:00
Titus Tscharntke 5ccfc59819 Masterserver messages are highlighted in yellow now; console lines now can have individual colors (if not in game)! 2011-03-26 17:17:34 +00:00
Mark Vejvoda 8f2613e216 - fixed changing username in the lobby 2011-03-26 16:51:26 +00:00
Titus Tscharntke 5648080095 Ready/not Ready/brb in colors; labels can have colors now 2011-03-26 13:40:22 +00:00
Mark Vejvoda 3c73464f5a - added a line to seperate mod lists from return button 2011-03-26 05:09:38 +00:00
Mark Vejvoda 6079e6de2b - better handling of mod menu threading when user has no internet connection 2011-03-26 05:03:38 +00:00
Mark Vejvoda a3c290240c - removed sleep when waitinf for exit of crc thread 2011-03-26 00:38:26 +00:00
Mark Vejvoda ff02c552ea - fixed incirrect language string 2011-03-25 23:52:36 +00:00
Mark Vejvoda 07391af2f6 - moved all mod menu strings into english language file 2011-03-25 23:33:04 +00:00
Mark Vejvoda 884b46da60 - more thread cleanup 2011-03-25 22:50:30 +00:00
Mark Vejvoda 53f57dad13 - moved http meta-data work into a background thread for mod menu 2011-03-25 22:40:14 +00:00
Mark Vejvoda 68f1ec06b5 - fix for harvesting workers to reset to original harvest location each time they deliver resources 2011-03-25 20:51:14 +00:00
Mark Vejvoda 0f6f5cfe21 - rolled back last change as it makes things worse 2011-03-25 20:17:14 +00:00
Mark Vejvoda 742cbaa1c7 - attempt to ignore resource cache for human players to see if this fixes harvesting location problems for human players 2011-03-25 20:07:27 +00:00
Mark Vejvoda fcb1681de9 - now all libcurl calls support http redirection 2011-03-25 19:19:59 +00:00
Mark Vejvoda 1a783b3bba - updates to mod menu for better user experience 2011-03-25 18:42:08 +00:00
Mark Vejvoda 51eca5610e - updated to point mod data lists to masterserver 2011-03-25 10:18:12 +00:00
Mark Vejvoda 9681e7f1bc - initial code for managing mod content (downloads and removal of user data) 2011-03-25 10:11:16 +00:00
Mark Vejvoda 90c12da33e - see if this removes the command delay when issuing commands on idle units 2011-03-25 01:50:35 +00:00
Mark Vejvoda 860777aaec - try to see if this stil lfixes performance without so much delay. 2011-03-25 01:08:34 +00:00
Mark Vejvoda 47a81f8b44 - performance improvements for units using the stop command when units are idle 2011-03-24 21:55:39 +00:00
Mark Vejvoda ab7dc1d007 - more code cleanup from things found in valgrind 2011-03-23 05:49:38 +00:00
Mark Vejvoda ffe957c9a6 - added a way to disable water sounds: DisableWaterSounds=true 2011-03-23 04:41:38 +00:00
Mark Vejvoda 6f523bb96a - small bit of code cleanup in unit_updater
- added alarmcount to debug view
2011-03-23 02:45:42 +00:00
Mark Vejvoda 41fc6f661e - rollback last change for testing 2011-03-23 01:17:38 +00:00
Mark Vejvoda 8a9505e1e8 - added conditional check to only issue a stop command to units if they are not already stopped
- memory cleanup on unit errors
- mutex for checksum class
2011-03-23 00:49:21 +00:00
Mark Vejvoda 2a93d22183 - commented out unused class instance as it caused trouble 2011-03-22 19:28:47 +00:00
Mark Vejvoda 6c9ba8bea4 - added more error details when some errors are generated 2011-03-22 17:55:11 +00:00
Mark Vejvoda 14bd71c250 - game ready status bugfix 2011-03-22 06:43:33 +00:00
Mark Vejvoda f7fdafbff4 - did some code refactoring, wanted to load some textures threaded but bailed out due to opengl's hideous problems related to multi-threads 2011-03-22 02:02:54 +00:00
Mark Vejvoda e3fd34c18c - attempt to make more randomized cell direction when harvesting using locations in the resource cache 2011-03-21 01:03:14 +00:00
Mark Vejvoda 18f2f531e3 - added map, tileset and techtree to debug view and also AI type 2011-03-20 23:41:46 +00:00
Mark Vejvoda ab9f88e4c7 - bugfix for map CRC checking after downloading a map 2011-03-20 06:23:19 +00:00
Mark Vejvoda 0379b7284d - removed requirement to have a newer libcurl, now most platform, should be able to build mg more easily (only require 7.16.4 or newer instead of 7.21.0) 2011-03-20 00:11:00 +00:00
Mark Vejvoda 04fe8b73f0 - segfault bugfix for client menu 2011-03-19 18:11:15 +00:00
Mark Vejvoda 513d3f1d3e - bugfix for faction crc checks 2011-03-19 18:05:13 +00:00
Mark Vejvoda 97017b2f1f - added a new lua method to add text on the console for Elimnator's scenario. 2011-03-19 12:19:22 +00:00
Mark Vejvoda bca617cf18 - bugfix for socket mutex locked when deleting socket
- added faction detail in lobby when CRC's do not match on techtree
2011-03-19 12:04:18 +00:00
Mark Vejvoda 83eaa67068 - bugfix for hideously aweful bug that made the lobby and lobby connection freeze for a long time 2011-03-19 05:11:36 +00:00
Mark Vejvoda d21eeeae07 - lessen pathfinder max nodes to see if this gives better performance 2011-03-19 01:31:49 +00:00
Mark Vejvoda 505abbd1ec - observers now hear sounds from units of all team units in visible quad 2011-03-18 21:23:34 +00:00
Mark Vejvoda 07f56669b7 - attempt to see if threaded pathfinding will work and if it improves performance 2011-03-18 03:53:06 +00:00
Titus Tscharntke 6b31149754 Revert last change because this is not done now and I accidently checked it in. 2011-03-17 00:43:46 +00:00
Mark Vejvoda a0bd1242b6 - improved performance of CRC precache thread, now uses up to 3 worker threads to batch process techtree's 2011-03-16 23:43:31 +00:00
Mark Vejvoda 27c183370f - some lobby cleanup and added some options to disable techtree CRC checks on server 2011-03-16 18:39:53 +00:00