Commit Graph

653 Commits

Author SHA1 Message Date
Mark Vejvoda
93a92e9dee - removed hard coded enabled system and network debug (someone must have left this code in there)
- added verbose output in mod menu for content metadata output
- bugfix for masterserver php files not using proper variuable for imageurl output
2011-04-08 01:58:34 +00:00
Mark Vejvoda
788d81ba7e - added code to download and display image preview for mod selections if they exist 2011-04-07 23:51:22 +00:00
Mark Vejvoda
56bac6cd80 - removed duplicate code that did nothing 2011-04-05 21:30:25 +00:00
Mark Vejvoda
5ce6c17f7d - try to see if this fixes an opengl bug, by retrying texture loading using older opengl API if newer fails 2011-04-05 21:16:53 +00:00
Mark Vejvoda
c196e1ccfc - try to see if this fixes an opengl bug, by retrying texture loading using older opengl API if newer fails 2011-04-05 21:10:20 +00:00
Mark Vejvoda
5add2da254 - mingw compile fixes, now it seems to properly compile and runs under wine again :) 2011-04-05 12:57:52 +00:00
Mark Vejvoda
1f433d6339 - bugfixes for compiling on older wxwidgets and also for mingw 2011-04-05 07:08:29 +00:00
Mark Vejvoda
53642bc7c7 - updated vc++ 2008 project files to handle default path for map editor and g3d viewer 2011-04-05 05:23:28 +00:00
Mark Vejvoda
5fd59eb00f - added more debug info and error output to detect failures to write file data during file xfers 2011-04-04 17:56:47 +00:00
Mark Vejvoda
d610c0fbd2 - added individual factions to crc pre-processing for better performance 2011-04-03 07:23:15 +00:00
Mark Vejvoda
d4d250f2b6 - more efficient handling of faction CRC calc in menus 2011-04-03 07:09:54 +00:00
Mark Vejvoda
7b14d860c9 - attempt to log more info related to CRC processing
- better thread mutex tracking
2011-04-03 06:09:43 +00:00
Mark Vejvoda
cf706491e1 - added screenshot file format to options menu
- more cleanup from things discovered with valgrind.
- added an environment variable to use with openal so it is possible to specify which sound device to use if needed down the road
2011-04-02 21:17:17 +00:00
Mark Vejvoda
55f2bdc2d5 - when loading textures, if compressed texture call fails, try to revert to uncompressed before throwing an error 2011-03-30 19:23:27 +00:00
Mark Vejvoda
8059c064a3 - more cleanup of debug logging in menus 2011-03-29 09:45:15 +00:00
Mark Vejvoda
78b49f0a2e - bugfix for CRC cache that was not updated 2011-03-29 09:19:05 +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
8be4bafdcf - bugfix for segfault with new debug method needs to properly init debug system in a new area 2011-03-28 04:30:52 +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
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
472fc2989a - changed win32 to substitute $APPDATA for the current users app data folder instead of all users 2011-03-27 16:08:20 +00:00
Mark Vejvoda
5af6de5aec - win32 now looks/stores userdata in the default windows appdata folder: C:\Documents and Settings\All Users\Application Data\megaglest (all dev users should copy all contents of mydata into this new location).. NOT INCLUDING the mydata folder itself 2011-03-27 15:16:28 +00:00
Mark Vejvoda
d9bc605974 - added scenarios to mod menu 2011-03-26 18:37:38 +00:00
Mark Vejvoda
846dd4769b - better CRC worker thread distribution 2011-03-26 05:16:39 +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
15e00694bf - attempt to tighten up socket connection logic that detects disconnect 2011-03-26 02:00:41 +00:00
Mark Vejvoda
884b46da60 - more thread cleanup 2011-03-25 22:50:30 +00:00
Mark Vejvoda
7e35d4a050 - more efficient CRC updating in cache thread 2011-03-25 21:02:53 +00:00
Mark Vejvoda
fcb1681de9 - now all libcurl calls support http redirection 2011-03-25 19:19:59 +00:00
Mark Vejvoda
9096449919 - fixed vc++ project files for mods download menu 2011-03-25 11:15:21 +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
ab7dc1d007 - more code cleanup from things found in valgrind 2011-03-23 05:49: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
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
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
59fc55ffee - cleanup some compiler warnings 2011-03-19 17:19:37 +00:00
Mark Vejvoda
e2c4ae7c11 - cleanup some compiler warnings 2011-03-19 12:32:40 +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
e65f588045 - better randomization of CRC refresh 2011-03-17 16:44:55 +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
29a123e263 - cleanup a few compiler warnings 2011-03-16 05:55:11 +00:00
Mark Vejvoda
43bf94c644 - only show MG_ usernames in Internet IRC lobby (just for you tomreyn) 2011-03-16 05:03:30 +00:00
Mark Vejvoda
2c6fef4efc - added purge file stats and bugfix when showing help on commandline 2011-03-15 16:52:42 +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
6eab8f905e - simple bugfix for file xfer's
- added openal call to try to work around an openal bug on some platforms
2011-03-14 20:25:27 +00:00
Titus Tscharntke
c54174061f particles have more switches: day/night visibility , alternating value , radiusBasedStartenergy ( can be disabled now! ) 2011-03-13 23:16:07 +00:00
Mark Vejvoda
28f74a15f7 - we can now save jpg screenshots and can also convert model textures to jpg (WARNING jpg DOES NOT support alpha channel (for transparency) so use this wisely 2011-03-13 22:43:44 +00:00
Mark Vejvoda
b3951b3940 -bugfix for vc++ compile 2011-03-13 13:14:47 +00:00
Mark Vejvoda
d0a95b1ff5 - added another option when converting model textures (keepsmallest) 2011-03-13 09:57:04 +00:00