Commit Graph

681 Commits

Author SHA1 Message Date
Mark Vejvoda
b9ebb5aabe - bugfix for handling unexpected small strings in string compare 2011-04-26 19:35:53 +00:00
Mark Vejvoda
a77aa5e4be - attempt to correct possible openal issues 2011-04-24 15:34:53 +00:00
Mark Vejvoda
1f3d97dbe1 - fixed strange messagebox display (was caused by map preview renderer setting glLineWidth to 14 and never resetting afterwards) 2011-04-24 05:39:13 +00:00
Mark Vejvoda
ac83b1a898 - attempt to fix socket bug where we incorrectly polled for data using ioctl / ioctlsocket. While we stilkl do some peeks, the bulk of the socket work is now done properly by simply doing recv and thus should prove more stable and reliable as well as perform better. 2011-04-24 04:22:19 +00:00
Mark Vejvoda
5174e33b92 - attempt a better video recovery when selected mode and colour bits fail 2011-04-19 04:03:52 +00:00
Mark Vejvoda
c8a6404ecf - screen resolutions sorted now in options menu 2011-04-18 23:31:33 +00:00
Mark Vejvoda
3866cf286f - update for video fallback if current resolution fails 2011-04-18 22:46:28 +00:00
Mark Vejvoda
8325463c71 - ALT-F4 auto quits the game in win32 2011-04-18 22:09:55 +00:00
Mark Vejvoda
c2eca9bb05 - added better way to show some common resolutions in the options menu
- if video mode selected fails, first we now try to revert to 800x600 then 640x480
2011-04-18 22:05:41 +00:00
Mark Vejvoda
c4d32ae0d2 - bugfix for users toggling back from Linux tty session 2011-04-18 19:48:05 +00:00
Mark Vejvoda
8dbef7d7ea - fixed configurator to properly read / write mg ini files 2011-04-17 07:04:38 +00:00
Mark Vejvoda
cfd0e12dd7 -fix cmake script for mingw, just for completeness. 2011-04-15 01:15:46 +00:00
Mark Vejvoda
d14b13e285 - added a new cancel button for connected menu to cancel all current and queued file transfers 2011-04-15 00:09:38 +00:00
Mark Vejvoda
ea90bd0715 - added verticle synch option, to enable use:
EnableVSynch=true
2011-04-14 05:02:32 +00:00
Mark Vejvoda
88a81a6993 - removed useless items in debug view
- removed some noise from verbose output
2011-04-13 18:45:27 +00:00
Mark Vejvoda
540d91ed92 - bugfix for recent socket change on windows 2011-04-13 05:07:47 +00:00
Mark Vejvoda
1858240879 - inspired by brazil boy. added a temp block feature for server player to temp block players from the current game in the lobby 2011-04-13 04:04:08 +00:00
Mark Vejvoda
7bf40db4ce - updated crc check for techtrees to also store date last updated and force an immediate refresh if the techtree has different CRC with server and was older than 1 day 2011-04-13 01:51:15 +00:00
Mark Vejvoda
7a501a4e26 - added code to track mutex source for sockets 2011-04-13 01:20:40 +00:00
Mark Vejvoda
05a61ec619 - client connected menu now uses same rendering as custom game menu for map preview (resulting in better fps there) 2011-04-13 01:11:23 +00:00
Mark Vejvoda
1ffc7d99d4 - calculate megapack techtree CRC first if it exists in the users techtrees 2011-04-10 23:50:47 +00:00
Mark Vejvoda
3e3b774dd5 - removed hard coded reference to 7z, uses all ini file options 2011-04-10 20:25:36 +00:00
Mark Vejvoda
0a2ffde50f - fixed mod menu crash bug after doing a remove 2011-04-10 01:42:14 +00:00
Mark Vejvoda
42a6737960 - proper detection that user does not have 7z installed in their path 2011-04-09 22:20:10 +00:00
Mark Vejvoda
9b1893054f - renamed Linux binaries launch scripts start with start_megaglest_x and binaries start with megaglest_ 2011-04-09 19:13:10 +00:00
Mark Vejvoda
c71480739b - added a new check to faction validator to report on sound files with a bitrate > 200K 2011-04-09 03:14:05 +00:00
Mark Vejvoda
5d96e8f3ab - attempt to work around non power of two texture errors (tomreyn please try this rev and report back) 2011-04-09 01:42:20 +00:00
Mark Vejvoda
2bab37fdc0 - bugfix so that openal 1.13 works properly with megaglest
- added some code so we can show error messages when no menu item is active
2011-04-09 01:22:39 +00:00
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