Commit Graph

318 Commits

Author SHA1 Message Date
Mark Vejvoda bda831861a Stuff from pabs (debian games) round #1
- remove +x bit on many files that should not have it
- added gplv3 svg logo for completeness in svn
2011-05-03 07:58:59 +00:00
Mark Vejvoda 15489b066f - added new ini setting to see if this helps fix non power of two texture loading for some ATI video cards, user needs to set this in the ini:
EnableATIHacks=true
2011-04-28 07:48:19 +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 c8a6404ecf - screen resolutions sorted now in options menu 2011-04-18 23:31:33 +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 ea90bd0715 - added verticle synch option, to enable use:
EnableVSynch=true
2011-04-14 05:02:32 +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 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 42a6737960 - proper detection that user does not have 7z installed in their path 2011-04-09 22:20: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 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 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 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 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 d9bc605974 - added scenarios to mod menu 2011-03-26 18:37: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 9681e7f1bc - initial code for managing mod content (downloads and removal of user data) 2011-03-25 10:11:16 +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 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 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 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
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 d0a95b1ff5 - added another option when converting model textures (keepsmallest) 2011-03-13 09:57:04 +00:00
Mark Vejvoda 39bf1b986e - added new commandline option to convert folders of g3d models to use specified texture format
- added new utility methods and changed code to use them (like adding trailing slash on paths)
2011-03-13 08:23:43 +00:00
Mark Vejvoda f35e920d47 - added logic to delete old texture after doing a model texture conversion 2011-03-12 22:11:09 +00:00
Mark Vejvoda c67d7d48c2 - some initial work to allow saving models in the current v4 g3d format (new commandline option to test it also) and also convert textures into png 2011-03-12 21:29:37 +00:00
Mark Vejvoda 9eb1f60048 - added option to disable file transfers for tileset and/or techtrees for published (internet) games 2011-03-11 12:14:24 +00:00
Mark Vejvoda e070cf2cbb - added player status for network based games so players can indicate if they are ready to play or not 2011-03-11 11:11:46 +00:00
Mark Vejvoda 330caf7f8a - added a CRC file cache to improve performance of CRC operations for large lists of files 2011-03-10 21:38:43 +00:00
Mark Vejvoda ae97a1306c - added another special variable (application path) that can be used for variable substituion in ini file values 2011-03-10 19:19:14 +00:00
Mark Vejvoda 2101a83a5d - added support for special tags in ini file strings in preparation for storing userdata in ~/.megaglest 2011-03-10 01:23:34 +00:00
Mark Vejvoda 63da3d7af2 - added techtrees for file xfer and CRC checking (might need to turn off etc later but lets test for now) 2011-03-09 23:09:32 +00:00
Mark Vejvoda 817d8cfea8 - added logic for ftp file transfers to look for 7z archives for tilesets and download and extract on the client side if the 7z archive exists on the server 2011-03-09 18:35:19 +00:00
Mark Vejvoda d3feaaddec - a little more keyboard fixes to try to bring some consistency to unicode style keyboard events 2011-03-03 19:33:31 +00:00
Titus Tscharntke 922df8e025 up to 36 units selectable; maps can set camera heigth now ( be careful with this for performance reasons! ) 2011-02-25 00:31:42 +00:00
Mark Vejvoda a0cfe3fa08 - a few changes and now seems to compile in VC++ 2010 (still need to checkin project files) 2011-02-15 23:53:48 +00:00
Mark Vejvoda 8ec58868dc - attempt to improve network performance (use separate mutexes for read / write operations) 2011-02-15 07:49:40 +00:00
Mark Vejvoda 7dcb12ff60 - some more memory cleanup 2011-02-12 09:08:50 +00:00
Mark Vejvoda c1ee5df801 - attempt to shutdown sdl in a more controlled way 2011-02-12 08:05:18 +00:00
Mark Vejvoda cc973f3427 - bugfixes, some related to things pointed out by valgrind, some from opengl research and some for more stable operation 2011-02-12 07:34:32 +00:00
Titus Tscharntke e20162a3c4 cleaned up the cliff coding; hopefully really no more flickering now 2011-02-08 20:59:34 +00:00