Commit Graph

968 Commits

Author SHA1 Message Date
Mark Vejvoda
94684c66a4 - code cleanup based on additional gcc warnings 2013-11-19 06:56:09 +00:00
Mark Vejvoda
9268aaf279 - a few minor bug fixes related to code warnings
- code cleanup based on additional gcc warnings
- enabled additional gcc compiler warnings
2013-11-19 06:14:06 +00:00
Mark Vejvoda
1dd1b8febb some minor bugfixes (proper variable init, added validation error message) 2013-11-16 18:36:54 +00:00
Mark Vejvoda
aa1efb5d3a added a check for missing data in menu 2013-11-16 10:02:32 +00:00
Mark Vejvoda
77fba5a65e bugfix for clients that have no data, no need to crash 2013-11-16 03:33:13 +00:00
Mark Vejvoda
5db18c76f4 bugfix for load games when xml is bad 2013-11-14 04:13:40 +00:00
Mark Vejvoda
85799eddc2 more user friendly handling of loading corrupt saved game files 2013-11-14 03:33:15 +00:00
Mark Vejvoda
ccd6e19683 bug fix for font handling of newlines and added unit test 2013-11-14 00:23:01 +00:00
Mark Vejvoda
0bc9ed082f attempt bugfix for bad screenshots on saved games 2013-11-13 23:37:12 +00:00
Mark Vejvoda
5249ecc45d some code cleanup for xml parsing and loading saved games 2013-11-13 22:28:05 +00:00
Mark Vejvoda
4e1c9be664 some memory leak cleanup 2013-11-13 21:22:56 +00:00
Mark Vejvoda
0557a1195e - added console output for socket errors (lets see if we get this on windows when they slow down)
- fixed missing reload ui items in menu
2013-11-12 15:01:37 +00:00
Mark Vejvoda
8ea6235495 ensure pre cache crc thread does not interfere with running game 2013-11-10 19:47:04 +00:00
Titus Tscharntke
907a95ff8b add "(.7z)"-String to error messages to give people at least an idea why tileset/techtree download is blocked 2013-11-09 01:14:32 +00:00
Mark Vejvoda
2c452d3587 attempt to use per faction mutexes for safer pathfinding 2013-11-08 22:41:17 +00:00
Mark Vejvoda
e75a88b42c updated status textures and alinged the texture position in menus as they were off by 2 pixels 2013-11-08 02:50:59 +00:00
Mark Vejvoda
9b097fd911 decouple masterserver from network host game settings into two seperate threads 2013-11-07 18:39:08 +00:00
Mark Vejvoda
73bf27d76e attempt to fix menu disconnect timeout issues 2013-11-07 02:30:23 +00:00
Titus Tscharntke
e689ac8bff "Observer" and "Random" moved to main lang file instead of techtree based translation 2013-11-05 23:35:11 +00:00
Titus Tscharntke
7224f134c7 hotkey support for scenario list boxes 2013-11-05 21:25:51 +00:00
Mark Vejvoda
282feba074 bugfix for holding control to set all slots to same control type 2013-11-05 19:40:27 +00:00
Titus Tscharntke
7c4c7a142b code cleanup ( too many formatStrings() ...) 2013-11-03 21:55:50 +00:00
Mark Vejvoda
f74198129b cleanup the resource multiplier code to be consistent in the menus 2013-11-02 22:30:16 +00:00
Mark Vejvoda
9798668789 - added player platform to game stats 2013-11-02 19:05:59 +00:00
Mark Vejvoda
1d3859ff32 - windows x64 updates to get things compiling on vc2012 x64 2013-11-02 11:04:52 +00:00
Mark Vejvoda
a716e692c7 bugfixes for resource multiplier 2013-11-01 19:48:04 +00:00
Mark Vejvoda
e7fb242716 small code cleanup from cppcheck 2013-11-01 05:43:01 +00:00
Mark Vejvoda
b05c6c1136 - handle it more gracefully when user has no techtrees 2013-11-01 05:25:55 +00:00
Mark Vejvoda
9128efcfbb bugfix for wrong resource mutliplier in menu 2013-11-01 00:23:43 +00:00
Mark Vejvoda
7ad30f92bf - added game statistics gathering and saving on masterserver.
see Table glestserver now has the field: gameUUID
Table glestgamestats has game header stats
Table glestgameplayerstats has game player stats
2013-10-31 00:57:36 +00:00
Titus Tscharntke
c0a2265f7e ensure that upcase/downcase does not cause unneeded translation beeing displayed in faction listboxes 2013-10-29 21:41:45 +00:00
Mark Vejvoda
c04a73017c allow language toggle to switch faction names in menus 2013-10-29 21:13:44 +00:00
Mark Vejvoda
d2ba7b163b a little refactoring of function names in language class 2013-10-29 06:13:38 +00:00
Mark Vejvoda
dda2f99e01 changed network CRC settings to FALSE by default and do NO network CRC checking unless explicity enabled:
For Verbose logging: EnableNetworkGameSynchChecks
For Default Logging: EnableNetworkGameSynchMonitor
2013-10-29 01:56:57 +00:00
Titus Tscharntke
0b2d58f03b new icons for network player state
labels can have a texture now
no more player coloring accroding to network state
2013-10-27 16:13:27 +00:00
Titus Tscharntke
7f97d94983 connect menu should work too now. Lets hope all works ;-) 2013-10-25 22:09:19 +00:00
Titus Tscharntke
cc480e6bbd more menu changes ( still work in progress ) 2013-10-25 19:35:10 +00:00
Mark Vejvoda
ad0fb1d6f7 cleaned up code based on feedback from cppcheck 2013-10-25 05:45:54 +00:00
Titus Tscharntke
524c0ef2d9 new arranged custom menu to get space for translated and untranslated faction names.
( this is work in progress and will be continued the next days.
2013-10-24 00:02:08 +00:00
Titus Tscharntke
c4b6bee52b new scenario menu layout
displays folder and translated names of scenarios.
2013-10-23 23:20:13 +00:00
Mark Vejvoda
53a557d8d1 - fixed mod center image previews in cases where userdata folder was non default
- removed commented out old code
2013-10-03 05:44:50 +00:00
Mark Vejvoda
dc503d6340 - attempt to see if this makes stability better 2013-10-02 20:22:10 +00:00
Mark Vejvoda
63ed244de2 - attempt to fix additional oos issues 2013-09-27 00:14:54 +00:00
Mark Vejvoda
37c2ace11a - rollback last commit 2013-09-26 16:37:32 +00:00
Mark Vejvoda
7349a1f126 - attempt to convert use of more floats to double 2013-09-25 15:40:19 +00:00
Mark Vejvoda
11471243ea - implement ability to toggle off verbose and normal network crc mode via ini entries:
EnableNetworkGameSynchChecks
EnableNetworkGameSynchMonitor
2013-09-24 19:35:35 +00:00
Titus Tscharntke
416ccaae4b Shadow intensity can be set in video options.
Tilesets can set their own default shadow intensity with <shadow-intensity value="0.3"/>.
ShadowAlpha is beeing removed form ini files
2013-09-22 00:51:47 +00:00
Mark Vejvoda
f344aac3f8 - load-scenarios now alsways takes physical folder name of the scenario 2013-09-19 06:56:50 +00:00
Mark Vejvoda
ab413f1d0c small code cleanup from cppcheck 2013-09-19 06:32:47 +00:00
Mark Vejvoda
d4a6645a4d - more code cleanup and game lobby force refresh bugfix when data changes 2013-09-19 01:19:36 +00:00