Commit Graph

268 Commits

Author SHA1 Message Date
Mark Vejvoda 402ae16657 - added support for specifying data and log paths in the standard glest.ini and glestuser.ini
DataPath=x
LogPath=x
2011-05-02 18:28:57 +00:00
Mark Vejvoda 4486b4d5c3 - hide observers from battle end screen stats 2011-05-01 07:35:10 +00:00
Mark Vejvoda 700e768b0f - changed default command display text to be same as 3.4 but with support to override and show queued commands up to a max of: MaxQueuedCommandDisplayCount=x where x is max queued text to show
- added ini support on linux so it by default looks for glest.ini and glestkeys.ini in /usr/share/megaglest and /usr/local/share/megaglest first
2011-05-01 03:12:36 +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 47ef05ceed - attempt to improve pathfinder performance and lengthen max nodes to 900 2011-04-26 21:51:18 +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 6e8157b9de - added console object to base menustate and added a way to disable console output when taking a screenshot (on be default). To Disable:
DisableScreenshotConsoleText=true
2011-04-15 01:05:36 +00:00
Mark Vejvoda ea90bd0715 - added verticle synch option, to enable use:
EnableVSynch=true
2011-04-14 05:02:32 +00:00
Mark Vejvoda 5a6418ac60 - removed some debug statements to see if it will improve debug logging performance 2011-04-11 00:11:52 +00:00
Titus Tscharntke 36ebfcf95e end game stats with better PlayingTime, tomreyns endgame color problem (maybe) fixed ,updated german lang file 2011-04-09 23:25:18 +00:00
Mark Vejvoda 51ae014124 - added feature to use mod CRC values if they are entered on the server, clients will fetch their own CRC value and if different allow users to replace current mod with server version, currently ONLY techtree is implemented for testing (munchy techtree is setup) 2011-04-09 21:46:13 +00:00
Mark Vejvoda 9b91bf5c68 - modified lua method addConsoleText to look in scenario language file for text
- added new commandline options to display CRC values for various items (like maps, tilesets etc)
2011-04-09 06:20:43 +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
Titus Tscharntke 556b190d3a mod menu can display descriptions now, endgame stat with gold instead of green, minimap has smaller border and is a tiny bit less transparent 2011-04-07 00:09:57 +00:00
Mark Vejvoda cd3451b1f4 - make colour coding in battle end optional via ini (for tomreyn)
DisableBattleEndColorCoding=true
2011-04-06 19:12:41 +00:00
Mark Vejvoda 896cf7231d - added new commandline option for inital code to validate a scenario. 2011-04-06 18:58:48 +00:00
Mark Vejvoda d8c337ae7b - bugfix for resource usage checking
- added new techtree validation in validation report to tell if a techtress has resources that are ununsed by the techtree
2011-04-06 17:50:20 +00:00
Mark Vejvoda 9cb1cd7bc8 - bugfixes related to multi-language text messaging 2011-04-05 20:19:25 +00:00
Mark Vejvoda 5b119d1378 - added the word 'victory' to show in green also when player is on victories team 2011-04-05 14:33:31 +00:00
Mark Vejvoda 0f52b630d7 - on battle end stats screen we show each item in green that the player had a best score. (ties are allowed) 2011-04-05 14:28:40 +00:00
Mark Vejvoda f694c745f7 - winner has a small crown under their name now :) 2011-04-05 13:34:54 +00:00
Mark Vejvoda 0fce64897e - added a few more things to end game stats as requested by ultifd
(now we can tell the difference between killed units and killed enemy units and final score is based on killed enemy units not all killed units)
2011-04-05 06:32:23 +00:00
Titus Tscharntke 5cd4824c94 default techtree and map ( if available ) , jpg default for screenshots 2011-04-04 23:11:59 +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 755378b0b1 - we now rename duplicate tilesets and techtrees also at program startup (with a warning message) 2011-04-03 04:15:25 +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 d0b71d0eb2 - added a new commandline parameter to disable sound without having to edit the ini file 2011-03-29 19:30: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 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
Mark Vejvoda a3c290240c - removed sleep when waitinf for exit of crc thread 2011-03-26 00:38:26 +00:00
Mark Vejvoda 884b46da60 - more thread cleanup 2011-03-25 22:50:30 +00:00
Mark Vejvoda 2a93d22183 - commented out unused class instance as it caused trouble 2011-03-22 19:28:47 +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 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
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 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 f88836203a - another keyboard bugfix (pressing esc properly cancels chat mode), Thanks ultifd 2011-03-12 03:10:07 +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 3758a4ba92 - bugfix for missing userdtaa folder, needs to be created right away if missing (thanks KroArtem) 2011-03-10 18:54:40 +00:00