Commit Graph

490 Commits

Author SHA1 Message Date
Mark Vejvoda
4a27e75891 - initial work to support multi-language text messages 2011-04-05 18:39:47 +00:00
Mark Vejvoda
4fb33d34ce - moved a few more strings into the language file 2011-04-05 14:59:48 +00:00
Mark Vejvoda
ebbdf2d2c2 - by default route planner is disabled for release, need to add the following to the ini to get it to show up:
EnableRoutePlannerPathfinder=true
2011-04-05 05:49:04 +00:00
Mark Vejvoda
0ad84a6920 - stupid stupid stupid Microsoft, I CANNOT BELEIVE IT THIS TIME!!! They broke their STL implementation in VC++ 2010! This fixes a problem using the inserter class.
see: http://code.google.com/p/angel-engine/issues/detail?id=34
2011-04-05 05:43:30 +00:00
Mark Vejvoda
bdb4db9756 - fixed loss of username sometimes when changing slots in network game lobby 2011-04-05 05:32:35 +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
e9ef00a213 - added more error checking in mod menu when retrieving masterserver data 2011-04-04 17:03:07 +00:00
Mark Vejvoda
6a35db6031 - do not render player status for closed slots 2011-04-04 05:06:22 +00:00
Mark Vejvoda
d4d250f2b6 - more efficient handling of faction CRC calc in menus 2011-04-03 07:09:54 +00:00
Mark Vejvoda
a58d4bb360 - only save ini for join menu if server IP address is different from the value already stored. 2011-04-03 02:47:46 +00:00
Mark Vejvoda
6384c4c611 - bugfix for auto-loading scenarios, new timer for the scenario preview was being called when the menu was already destroyed sometimes. 2011-04-03 02:11:45 +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
acbb11b327 - bugfix for tileset crc calc (was cached and did not always update the cached value) 2011-03-31 23:26:32 +00:00
Mark Vejvoda
e56b6079c6 - added new menu option to be able to toggle texture compression
- scenario menu now does NOT cache textures
2011-03-31 01:34:01 +00:00
Titus Tscharntke
2a48f8e290 delayed loading of previews 2011-03-31 00:33:40 +00:00
Mark Vejvoda
a3029e6e25 - updated lua attribute to additionally accept:
<fog-of-war value="explored"/>
2011-03-30 23:48:27 +00:00
Mark Vejvoda
438bedd4fa - now show scenario logo files when user selects a scenario with a loading screen 2011-03-30 22:14:51 +00:00
Mark Vejvoda
8059c064a3 - more cleanup of debug logging in menus 2011-03-29 09:45:15 +00:00
Mark Vejvoda
82b6b02a89 - bugfixes for wrong item names sometimes for ftp file transfers 2011-03-29 08:45:56 +00:00
Titus Tscharntke
7560970590 snake basket has (more) splash ; menu_state_mods a bit modified (more work needed) 2011-03-28 23:38:06 +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
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
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
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
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
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
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
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
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
27c183370f - some lobby cleanup and added some options to disable techtree CRC checks on server 2011-03-16 18:39:53 +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
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
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
ee773ef96b - bugfix in connected client menu (init variables for proper techtree file xfer) 2011-03-10 22:00:59 +00:00
Mark Vejvoda
fe2854e3e0 - force crc refresh right after clearing the cache after file xfer 2011-03-10 21:50:43 +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
242b02c001 - added support for better user data customization and default linux path will now be ~/.megaglest/ for user related ini's and data content 2011-03-10 07:26:43 +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
ab706e1762 - some code cleanup related to vc++ posix naming warnings 2011-03-09 18:51:26 +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
b97687c772 - possible bugfix on windows for special key values 2011-03-09 06:15:09 +00:00
Mark Vejvoda
5b2a6bb45f - bugfix for esc key 2011-03-08 02:07:35 +00:00
Mark Vejvoda
f07b7a3603 - more keyboard bugfixes so some special keys above 255 work 2011-03-06 23:45:46 +00:00
Titus Tscharntke
273ab4c502 Option to switch on/off tileset particles 2011-03-06 13:11:22 +00:00
Mark Vejvoda
d75fbe51f6 - another attempt to fix keyboard menu for windows 2011-03-06 07:55:38 +00:00
Mark Vejvoda
d9e6b45052 - another attempt to fix keyboard menu for windows 2011-03-06 07:29:30 +00:00
Mark Vejvoda
9104141efe - added error handling for keyboard menu to see if we get this far in windows 2011-03-06 07:18:34 +00:00
Mark Vejvoda
935895c89f - configurable keys can be edited in keyboard menu now 2011-03-04 22:54:04 +00:00
Mark Vejvoda
0f57fe6b92 - additional work to allow for changing hotkeys in the keyboard options menu, currently changes are not saved to file, only on screen. 2011-03-04 20:26:47 +00:00
Mark Vejvoda
9de151d975 - added more things to try to improve pathfinding (especially for the AI)
AI players should now detect when units are blocked (surrounded by other units from same faction) and tell the other units to move out of the way
2011-02-25 16:32:27 +00:00
Titus Tscharntke
050a604390 hopefully the masterserver listing works now ... 2011-02-17 00:54:17 +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
Titus Tscharntke
01db66105e status of serverline display fix / ressources are no longer selectable via rectangle ( which was quite useless ) 2011-02-15 00:24:31 +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
Mark Vejvoda
5623866779 - better handling of map preview for different resolutions 2011-02-08 20:17:16 +00:00
Mark Vejvoda
86baa04a3b - added FBO's for map preview rendering, which improves fps in the custom menu for video cards that support Frame Buffer Objects 2011-02-08 05:54:05 +00:00
Titus Tscharntke
e03b029bea Cliffs work and some map cleanup; ( !!currently old maps are broken in editor!! ) 2011-02-08 03:50:59 +00:00
Mark Vejvoda
c58e893047 - attempt to improve issues in the custom menu related to freezing
- modified debug UI display to support multi levels of UI debug info
- added more validations to mutexes
- improved client sockets to properly be setup as non blocking
2011-02-06 07:01:54 +00:00
Titus Tscharntke
dc1033875a fix for status message not shown when inprogress 2011-02-05 00:32:31 +00:00
Mark Vejvoda
0b4eef10c5 - added a very useful way to track mutex usage and performance timings of mutex locking to discover thread lock issues 2011-01-31 23:01:39 +00:00
Titus Tscharntke
d7a65ed18e fix for updateAttackStopped and command queuing;
switching tilesets react with delay like switching maps; 
new/updated maps; 
reverted egypt mining slave model;
many loading screens for scenarios
2011-01-30 23:01:55 +00:00
Titus Tscharntke
7d09f24b9e 5 seconds delay to switch over maps you don't want to distribute ( maybe tilesets shoudl do the same? ) 2011-01-29 20:13:29 +00:00
Mark Vejvoda
1b6f9c324a - more user friendly messages for scenario errors 2011-01-28 20:16:45 +00:00
Mark Vejvoda
f0c6c1b0c5 - bugfix for privacy settings invalid value sent to server 2011-01-26 21:18:26 +00:00
Mark Vejvoda
d10054f1c3 - moved sound system debug into a new debugSound property to lessen the impact of regular debug logging since sound processing is now threaded and therefore logging sound system items may slow down performance
- added texture caching for faction preview textures
2011-01-26 09:09:59 +00:00
Mark Vejvoda
7c54e5e955 - added privacy option to options menu 2011-01-25 23:30:51 +00:00
Mark Vejvoda
909d36e457 - added privacy setting for country indicator. Add this to glestuser.ini to hide your country when hosting:
PrivacyPlease=true
2011-01-25 22:55:53 +00:00
Mark Vejvoda
52ffe988b7 - bugfix for masterserver new field had a newline on wrong field (added some verbose debug when enabled for masterserver data) 2011-01-25 22:03:04 +00:00
Titus Tscharntke
66471d8ef4 masterserver menu rearranged ( ip and tileset are not longer shown ) 2011-01-25 21:45:42 +00:00
Mark Vejvoda
fbdd3a0a8f - fixed country filename lookup to be lowercase 2011-01-25 19:04:52 +00:00
Mark Vejvoda
e06639c78d - updated Internet games to use 2 new fields, country and game status.
for now svn users can edit glestuser.ini and add the following entry (pointing to your folder of course) to see the country flags in game:
CountryTexturePath=/home/softcoder/Code/megaglest/trunk/source/masterserver/flags
2011-01-25 07:41:12 +00:00
Mark Vejvoda
ed90d620b3 - bugfix to disallow CPU players to be observers
- spelling mistake fix in error message
2011-01-25 00:42:09 +00:00
Mark Vejvoda
895dde0de6 - added an IRC connection status label to the masterserver menu 2011-01-20 21:11:39 +00:00
Mark Vejvoda
66261ad662 - updated line endings to unix style characters to fix Bug #3085838 2011-01-20 15:56:30 +00:00
Mark Vejvoda
6b0bc35e3c - working VBO code for static objects in game, currently disabled in code but to enabled edit model.h and uncomment #define ENABLE_VBO_CODE 2011-01-18 23:56:30 +00:00
Mark Vejvoda
c54e6dbf5d - a little bit of plumbing for VBO's for static models (currently disabled via # define)
- small small speed improvement when calculating interpolations
2011-01-18 07:52:06 +00:00
Mark Vejvoda
d16f6a93bc - sound system is now threaded by default (hopefully this fixes buffer underruns errors from openal)
- background music now plays when game is loading
2011-01-18 01:24:45 +00:00
Mark Vejvoda
9ba8668751 - win32 winsock bugfixes causing havok and grief for win32 users (corrupt winsock stack due to extra call to wsacleanup) 2011-01-17 23:45:09 +00:00
Mark Vejvoda
6d08797a14 - commented out another ftp console output 2011-01-16 06:41:48 +00:00
Mark Vejvoda
43f2677bad - disabled more console output for ftp 2011-01-16 04:15:18 +00:00
Mark Vejvoda
67e0c27b60 - ftp connect change in master menu 2011-01-15 19:22:59 +00:00
Mark Vejvoda
934b430f93 - added more logging to see what client FTP port # will be 2011-01-15 19:16:00 +00:00