Commit Graph

3269 Commits

Author SHA1 Message Date
Mark Vejvoda 7f5d35ef0f - do not validate null fire particle 2013-11-12 01:00:03 +00:00
Mark Vejvoda feedde5f61 - streamlining fog of war unit cache 2013-11-11 22:11:13 +00:00
Mark Vejvoda 6705a346ef attempt to squeeze a bit more performance 2013-11-11 19:33:25 +00:00
Mark Vejvoda 07ac33ec99 bugfix for performance enhancement 2013-11-11 18:34:51 +00:00
Mark Vejvoda c98a09b905 attempt to squeeze a bit more performance 2013-11-11 18:09:00 +00:00
Mark Vejvoda 9625bd77a4 - attempt ot get fine details of performance bottlenecks
- attempt to improve performance a bit
2013-11-11 08:28:15 +00:00
Mark Vejvoda f1abe148ea - bugfix for background crc thread shutdown
- more performance monitoring and better output of only warnings
2013-11-11 04:46:49 +00:00
Mark Vejvoda 8a7f686e33 updated to warn on console when performance is showing poor 2013-11-11 04:08:10 +00:00
Mark Vejvoda d2494605e9 made performance info viewable by toggle key 2013-11-11 03:34:42 +00:00
Mark Vejvoda ed94e9578c added performance info for various game sections using: ShowInGamePerformance=true 2013-11-11 01:42:27 +00:00
Mark Vejvoda d32de80491 bugfix for precache crc thread unpause on game end 2013-11-10 21:55:22 +00:00
Mark Vejvoda e712f307c3 attempt to see if removing this mutex is stable and improves performance 2013-11-10 19:49:02 +00:00
Mark Vejvoda 8ea6235495 ensure pre cache crc thread does not interfere with running game 2013-11-10 19:47:04 +00:00
Mark Vejvoda 2d4cf315f6 attempt to fix performance issue with pathfinder and mutexes 2013-11-10 07:25:52 +00:00
Mark Vejvoda 597feb452f fix warnings from vc++ 2013-11-10 05:27:59 +00:00
Mark Vejvoda ebaa8ced1a - ensure mutexes are properly protecting shared data in pathfinder 2013-11-10 05:23:59 +00:00
Mark Vejvoda c6368b221e - added optional display of a frame count to help debug 2013-11-10 04:42:24 +00:00
Mark Vejvoda 856e6fd88e when using team switch, AI player will now always answers YES if he already lost the game 2013-11-10 04:26:20 +00:00
Mark Vejvoda fd2cc5f66b updating pathfinder mutexes to ensure safety of shared access to precache buffers 2013-11-09 21:22:51 +00:00
Mark Vejvoda 273abcde75 try to see if this improves pathfidner performance 2013-11-09 20:44:37 +00:00
Mark Vejvoda bb2e2d0f64 removed more unused code for last path cache which was already removed 2013-11-09 19:14:53 +00:00
Mark Vejvoda 095351c1a0 removed unused code 2013-11-09 16:51:00 +00:00
Mark Vejvoda 23cab07fe8 code cleanup from cpp check 2013-11-09 03:16:41 +00:00
Mark Vejvoda f6e5a6a3a0 code cleanup from cpp check (And removed commented and useless code) 2013-11-09 01:26:29 +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 e8a94eacfc tracking for nig's issue 2013-11-08 19:00:47 +00:00
Mark Vejvoda 0f5f4c0792 bugfix for nig's issue 2013-11-08 17:01:32 +00:00
Mark Vejvoda 22b230a5b3 bugfix for nig's issue 2013-11-08 16:26:36 +00:00
Mark Vejvoda 96d2723646 tracking down nigs bug 2013-11-08 15:30:53 +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 2baab89bab more cpp check fixes 2013-11-08 01:03:24 +00:00
Mark Vejvoda 382cb120ee bugfix to init all variables for client connection 2013-11-08 00:48:05 +00:00
Mark Vejvoda 6fe733468d some cpp check cleanup 2013-11-07 20:07:03 +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 b7a7d3bc4a ensure load saved games checks if new attribute exists 2013-11-07 05:20:02 +00:00
Mark Vejvoda 4a70fd09e2 added lua method to be able to allow or disallow speed change toggle
void disableSpeedChange();
	void enableSpeedChange();
	bool getSpeedChangeEnabled();
2013-11-07 05:18:21 +00:00
Mark Vejvoda f7002a36ef attempt to fix menu disconnect timeout issues 2013-11-07 03:33:04 +00:00
Mark Vejvoda 73bf27d76e attempt to fix menu disconnect timeout issues 2013-11-07 02:30:23 +00:00
Mark Vejvoda f0546df518 added more debug tracking info if win64 crashes 2013-11-07 01:55:02 +00:00
Mark Vejvoda 3f611a1d17 refactor core data code to move features into smaller chunks 2013-11-06 07:52:05 +00:00
Mark Vejvoda 493981e8b3 - reverted win64 to sse2
- added some debug info for win64 testing
2013-11-06 02:14:49 +00:00
Mark Vejvoda eb6466889f do not crash and exit game when core data textures are not found 2013-11-06 02:02:00 +00:00
Mark Vejvoda 70421d1b3d added a check for data and user data paths being the same 2013-11-06 00:31:36 +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 5ab99d2469 cppcheck cleanup 2013-11-05 20:59:28 +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
Mark Vejvoda 345907fc18 attempt to make win64 faster by using avx (as opposed to sse2) 2013-11-05 06:31:48 +00:00
Mark Vejvoda b190968e6b - bugfix for save / restore game (spelling mistake)
- vc++ warning fixes
2013-11-04 19:16:28 +00:00
Mark Vejvoda c6b42e4bf6 bugfixes in win64 for exception handling 2013-11-04 17:42:48 +00:00
Mark Vejvoda 1134ad399d - added a more graceful way to handle more serious errors during data validation commands in order to offer more detailed error analysis 2013-11-04 07:21:04 +00:00
Titus Tscharntke 7c4c7a142b code cleanup ( too many formatStrings() ...) 2013-11-03 21:55:50 +00:00
Titus Tscharntke d3d8623a2d default values for faction names and techtrees should be "formatted" to avoid confusion in menus 2013-11-03 21:38:39 +00:00
Mark Vejvoda 8b5e681ae5 updated for vc++ 2012 x64 compile 2013-11-03 01:51:20 +00:00
Mark Vejvoda 3fb957a13e more vc++ compiler warning cleanup 2013-11-02 22:58:00 +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 6f5d641476 comment out http request output 2013-11-02 19:07:00 +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 a061289c1c added null check in case typedef foudn a bug 2013-11-01 21:47:14 +00:00
Mark Vejvoda e3a8ee6d2f add playerid to game stats so we canprovide historical stats for unique players 2013-11-01 21:31:55 +00:00
Mark Vejvoda a716e692c7 bugfixes for resource multiplier 2013-11-01 19:48:04 +00:00
Mark Vejvoda d24da2f7b5 updated masterserver stats so we DO NOT update slot counts after game is won 2013-11-01 14:38:28 +00:00
Mark Vejvoda 2612774078 a few small performance improvements based on perf tool 2013-11-01 06:42:57 +00:00
Mark Vejvoda e7fb242716 small code cleanup from cppcheck 2013-11-01 05:43:01 +00:00
Mark Vejvoda 9ef8076429 bugfix to ensure we set headless mode at game start so it can be saved on masterserver 2013-11-01 05:31:15 +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 ed4444a6da check if this fixes techtree name bug 2013-10-31 20:12:49 +00:00
Mark Vejvoda 5c71ebcf0e check if this fixes techtree name bug 2013-10-31 19:45:03 +00:00
Mark Vejvoda e008754581 check if this fixes techtree name bug 2013-10-31 18:32:26 +00:00
Mark Vejvoda b71ec8447e see if this helps titi with tech names 2013-10-31 14:09:27 +00:00
Mark Vejvoda 77b9cbfb1d updated to set game stats before exit game check 2013-10-31 04:43:25 +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 af135e6ad5 code cleanup 2013-10-29 21:35:04 +00:00
Mark Vejvoda 7011d49868 popup language menu now shows native and english version of language name 2013-10-29 21:32:19 +00:00
Mark Vejvoda c04a73017c allow language toggle to switch faction names in menus 2013-10-29 21:13:44 +00:00
Mark Vejvoda 958872cacf bugfix for translations for techtree 2013-10-29 20:24:23 +00:00
Titus Tscharntke dea351095c no more crashes for hotkey based selections in listboxes without translation. 2013-10-29 19:11:36 +00:00
Mark Vejvoda 0c00b49995 more lang class code cleanup and better caching of techtree strings 2013-10-29 17:28:29 +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
Mark Vejvoda 957fe2d09b cleanup of show message code for headless mode 2013-10-28 18:58:15 +00:00
Mark Vejvoda 8bbcdfbdb3 attempt to have mg shutdown cleanly when opengl version is too low 2013-10-28 18:27:51 +00:00
Mark Vejvoda cc4f4aaa37 - attempt to improve performance when crc logging is disabled 2013-10-28 04:57:55 +00:00
Titus Tscharntke 35b8251bef changed version number to avoid beta1 people joining svn test games 2013-10-27 16:17:20 +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
Mark Vejvoda 539df3a854 -- attempt to fix another oos issue detected 2013-10-26 07:02:32 +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
Titus Tscharntke 49451e1184 listboxes are rendered with dark background.
listboxes can be "leftControlled"
2013-10-23 23:11:18 +00:00
Titus Tscharntke ea92fce58d little bugfix for last checkin 2013-10-23 20:33:00 +00:00
Titus Tscharntke 5c419a2713 Extended console is rendered with dark background 2013-10-23 20:23:21 +00:00
Mark Vejvoda d2f2b26739 bugfix for slow crc issue detected, was not clearing a buffer, but network crc should play fine now. 2013-10-21 06:30:25 +00:00
Mark Vejvoda a17068165f try to see if this makes disabled network crc checking more performance freindly 2013-10-20 20:06:19 +00:00
Mark Vejvoda a4a32fc4fe - added more crc checking info to track oos 2013-10-19 21:12:08 +00:00
Mark Vejvoda 5f97f0cb57 - updated arm based network protocol to include new network crc in game values 2013-10-19 03:11:25 +00:00
Mark Vejvoda 5f8ccd5115 tracking down oos 2013-10-18 18:16:09 +00:00
Mark Vejvoda 9224a7e242 - attempt to fix crc file bug 2013-10-18 15:47:17 +00:00
Mark Vejvoda 23552eb1a7 - bugfix for particles CRC calculation for oos 2013-10-18 04:55:29 +00:00
Mark Vejvoda 83055456d2 - added more crc capture data to track down oos 2013-10-17 06:36:28 +00:00
Mark Vejvoda 23963e537d - do not print out crc log info if disabled 2013-10-17 03:30:18 +00:00
Mark Vejvoda a830fa168a - bugfix for cliffs 2013-10-17 03:11:39 +00:00
Mark Vejvoda fb276d1dd7 - added more crc logging to detect oos location 2013-10-17 02:49:25 +00:00
Mark Vejvoda 37a53c114a - attempt to detect oos by adding more crc and log info 2013-10-14 02:35:42 +00:00
Mark Vejvoda e31192db9f - added support for morph command type to use:
<replace-storage value="true" />
2013-10-11 02:15:49 +00:00
Mark Vejvoda 8e2da49b84 - added another item to crc check to try to track out of synch 2013-10-10 04:06:49 +00:00
Mark Vejvoda 42912e0b74 - applied patch to allow tilesets to not force random object placement 2013-10-08 04:36:21 +00:00
Mark Vejvoda c1305bdd1b - add more crc log info for oos 2013-10-06 06:59:15 +00:00
Mark Vejvoda ebcbaafc0d re-enable some hitpoint tracking for crc checks 2013-10-03 20:04:55 +00:00
Mark Vejvoda ada8810666 added support for properly named attack-strength tag (and keep support for old name) 2013-10-03 14:51:26 +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 9e60723296 revert most doubles back to float and truncate at 6 decimals 2013-10-03 00:17:51 +00:00
Titus Tscharntke b38e7cb054 and one more "int" which should be "float" ( at the moment ) 2013-10-02 22:31:04 +00:00
Titus Tscharntke a83eb9baba size and sizeNoEnergy were int instead of float. Thats why there were no more particles anymore in some cases. 2013-10-02 22:19:17 +00:00
Mark Vejvoda dc503d6340 - attempt to see if this makes stability better 2013-10-02 20:22:10 +00:00
Mark Vejvoda ee6eadb0d8 print warning if techtree is missing factions 2013-09-30 22:12:35 +00:00
Mark Vejvoda de8b083329 - attempt to fix additional oos issues 2013-09-30 17:38:26 +00:00
Mark Vejvoda dc944b2a79 - attempt to fix additional oos issues 2013-09-28 16:54:32 +00:00
Mark Vejvoda 8b8267400a - attempt to fix additional oos issues 2013-09-28 16:53:20 +00:00
Mark Vejvoda 939e88ce38 - attempt to fix additional oos issues 2013-09-28 07:10:25 +00:00
Mark Vejvoda 111523f60b - corrected game shutdown to do quit logic only once 2013-09-28 06:40:26 +00:00
Mark Vejvoda 9967df316c - attempt to fix additional oos issues 2013-09-28 05:06:04 +00:00
Mark Vejvoda 91b7803270 - attempt to fix additional oos issues 2013-09-28 03:10:37 +00:00
Mark Vejvoda 6b59cb0bcc - attempt to fix additional oos issues 2013-09-27 04:45:53 +00:00
Mark Vejvoda 63ed244de2 - attempt to fix additional oos issues 2013-09-27 00:14:54 +00:00
Mark Vejvoda a73cf8470b attempt to fix attack particle calculation for oos issue 2013-09-26 19:36:24 +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 525e0da652 - change a bunch of floats to double and remove path from particle texture 2013-09-25 00:17:11 +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
Mark Vejvoda c9b3284aeb bugfix for particle cleanup 2013-09-24 04:29:53 +00:00
Mark Vejvoda 875eb95790 bugfix for particle cleanup 2013-09-24 03:44:15 +00:00
Mark Vejvoda f66a0834c9 try to cleanup possible memory issue 2013-09-23 22:25:38 +00:00
Mark Vejvoda 3a6544a257 attempt for big cleanup of out of synch issues, please test! 2013-09-23 17:16:34 +00:00
Titus Tscharntke 440ec7dd7e shadow intensity with better performance 2013-09-22 13:55:20 +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 836e61d5d6 loggging fixes for language specific info (use english always) 2013-09-21 20:50:58 +00:00
Mark Vejvoda 1633a80b69 - additional cleanup of crc logging (remove highlight value)
- add a bit more info to crc related to upgrades
2013-09-21 06:06:48 +00:00
Mark Vejvoda fd1e5f893a try to use double instead of float for timed unit particles 2013-09-21 00:32:17 +00:00
Mark Vejvoda 123a329baf separate problematic code to see where the segfault happens 2013-09-21 00:11:34 +00:00
Mark Vejvoda 30913d9ae1 - see if this regular game crc checking every 20th frame is ok for performance 2013-09-21 00:02:36 +00:00
Mark Vejvoda 3126a10966 - added code to be able to properly render attack particles when unit is not visible (turned off for now due to questions) 2013-09-19 20:03:36 +00:00
Mark Vejvoda b83e7dae90 added null checks 2013-09-19 17:32:36 +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 970de758e4 - bugfix for network CRC comparison so we don't lose frames 2013-09-19 01:35:08 +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
Mark Vejvoda 3a5c99bca5 small code cleanup to see if this corrects any memory issues 2013-09-18 22:44:04 +00:00
Mark Vejvoda 8a50dbd671 - on reload game check ini setting for crc network checks 2013-09-18 21:43:25 +00:00
Mark Vejvoda 60028086e2 see if this fixes crc bug 2013-09-18 18:49:57 +00:00
Mark Vejvoda 538a676006 - attempt bugfix for floating point issue causing oos 2013-09-18 00:46:30 +00:00
Mark Vejvoda 013ed35c8b added more debug info to unit crc logs 2013-09-17 23:52:27 +00:00
Mark Vejvoda b716cea3e7 update server crc log count 2013-09-17 16:36:05 +00:00
Mark Vejvoda 1d16d57c74 lowered the log max size limit for crc logging 2013-09-17 03:06:01 +00:00
Mark Vejvoda fefb9b6148 - hide the removing crc log print to console 2013-09-17 03:03:16 +00:00
Mark Vejvoda d7abf70920 - updated crc log for units to exclude floating point rotation info 2013-09-17 01:32:25 +00:00
Mark Vejvoda d22c10ccda - added crc logging when crc mismatch detected 2013-09-17 00:43:14 +00:00
Titus Tscharntke 3f7d608955 version set to dev again ( data does not fit anymore ) 2013-09-15 21:39:22 +00:00
Titus Tscharntke a5834ddf57 I hope it solves a timing problem with rendering and resetting the gui. https://forum.megaglest.org/index.php?topic=9163.0 2013-09-14 23:56:26 +00:00
Mark Vejvoda b5e26070b1 - updated to beta2 and added primitive CRC checking for network games, requies the Host user to set the following ini to enable CRC's:
EnableNetworkGameSynchChecks=true
2013-09-12 03:33:43 +00:00
Titus Tscharntke 6f85a6aa4a old air behaviour for resource production. new one is reachable via ini switch NewResourceBehaviour=true 2013-08-29 22:30:09 +00:00
Mark Vejvoda f617866237 - attempt to see if this handles resource associated units better 2013-08-10 06:53:16 +00:00
Mark Vejvoda 97b8979a6c added AI logging for resource unit type logic 2013-08-02 21:46:55 +00:00
Mark Vejvoda 1247f1e965 a little refactoring and try to fix some of the AI logic for food producers 2013-08-02 00:08:16 +00:00
Mark Vejvoda f9c991edda add a guard for null texture and warning on console 2013-08-01 22:22:21 +00:00
Tom Reynolds 65b93aa8c2 Support build dependencies on Linux Mint 15: https://forum.megaglest.org/index.php?topic=9149.0
Resize "Next hint" button on loading screen: https://forum.megaglest.org/index.php?topic=9141.0
Localization updates from Transifex
2013-07-12 10:28:59 +00:00
Mark Vejvoda 0c26460f34 - updated version to 3.8.0.-beta1 in preparation for beta1 2013-06-26 04:57:17 +00:00
Titus Tscharntke 5747a36394 smaller button with clicksound for "next hint" 2013-06-25 22:44:57 +00:00
Titus Tscharntke 5a25c094db unblock button always visible ( if a network game ) 2013-06-25 20:39:15 +00:00
Mark Vejvoda a689dd58a4 force crc refresh for both client and server when mismatched 2013-06-24 23:36:03 +00:00
Mark Vejvoda 88ed55ca8e remove uuid from debug view 2013-06-24 00:29:32 +00:00
Mark Vejvoda 15582c046f allow headless admin to change techtree translation setting 2013-06-23 05:37:47 +00:00
Mark Vejvoda c88c631010 bugfix to force server to refresh CRC if client has different CRC 2013-06-23 05:23:02 +00:00
Mark Vejvoda d46479df95 - bugfix to allow headless server to load a texture for new tilesets where they must read it to determine parts.
- converted asserts to exceptions
2013-06-23 04:17:25 +00:00
Mark Vejvoda 4684779186 removed commented code 2013-06-22 18:09:29 +00:00
Mark Vejvoda 17da18978a init variables 2013-06-22 07:39:12 +00:00
Mark Vejvoda 67bf5ebc1b bugfix for vc++ compiling 2013-06-22 04:32:22 +00:00
Mark Vejvoda af91eb8b4e update to proper data type 2013-06-22 03:49:51 +00:00
Mark Vejvoda 76ee030e93 bugfix for shutdown of threads and garbage collection. 2013-06-21 22:59:22 +00:00
Mark Vejvoda 5524cd6a0e - updated exit game menu text vs leaving the application as requested.
- updates from transifex
2013-06-21 06:01:43 +00:00
Mark Vejvoda 4848e957e7 code cleanup from cppcheck 2013-06-20 22:51:28 +00:00
Titus Tscharntke 511ba5134f default selection is colorpicking now 2013-06-20 21:42:01 +00:00
Mark Vejvoda 8d36c07a61 make AI smarter when needing more resources, prefer units that 'give back' resources over producers 2013-06-20 20:04:19 +00:00
Mark Vejvoda 3696c3b9d4 bugfix for error when changing resource multiplier lower than 0.5 2013-06-20 19:18:29 +00:00
Mark Vejvoda d7eaeaead5 updated next hint to a button and added english label 2013-06-19 16:12:00 +00:00
Mark Vejvoda 06c3186466 client can now see if techtree translated setting shows 2013-06-19 01:03:51 +00:00
Mark Vejvoda aceb9aec0a re-fix titi's morph when no space available 2013-06-19 00:19:29 +00:00
Mark Vejvoda c9c5d9aa8f more frequent checking for client lag 2013-06-19 00:01:29 +00:00
Mark Vejvoda ceb17ce56d bugfix - proper client shutdown on sudden disconnect during game play 2013-06-18 23:41:14 +00:00
Titus Tscharntke d13242287c client slowdown/wait/speedup messages in verbose mode only 2013-06-16 18:21:33 +00:00
Mark Vejvoda 075293de09 fixed names showing in lobby menu to be properly formatted 2013-06-16 01:14:04 +00:00
Mark Vejvoda 54a28b6fb5 see if this makes the AI produce more food quickly when needed 2013-06-15 07:29:59 +00:00
Mark Vejvoda 1b3ee1503b code cleanup from cppcheck 2013-06-15 01:43:44 +00:00
Mark Vejvoda c646d0371c updated to throw exception (not assert) when item missing from listbox 2013-06-15 00:31:51 +00:00
Titus Tscharntke ee20fbd37b VCC does not like float constants ... 2013-06-13 21:29:03 +00:00
Mark Vejvoda 7a6b59ddb1 added translatable factions to custom menu 2013-06-13 21:20:55 +00:00
Mark Vejvoda ba1852aa63 a few missed areas of translated techtrees 2013-06-13 20:22:04 +00:00
Titus Tscharntke dc716702c4 In loading screen you can click to show the next hint ( patch made by titi_son ) 2013-06-13 20:08:50 +00:00
Mark Vejvoda c9aab227e5 allow pausing network games when not joining an in progress game 2013-06-13 19:57:19 +00:00
Mark Vejvoda 0ead6a36dc full support for translated techtrees 2013-06-13 08:55:48 +00:00
Titus Tscharntke 1f96dae8c7 tilesets can set default air unit heights 2013-06-13 07:34:32 +00:00
Mark Vejvoda a8662c8b31 updated menus to display translated tech name 2013-06-13 01:37:15 +00:00
Mark Vejvoda 1eb17e3bb2 - added support for translated techtrees. To produce a default techtree lng file in the proper techtree folder run:
megaglest --translate-techtrees=megapack

where megapack is the name of the techtree
2013-06-12 22:49:47 +00:00
Mark Vejvoda adce76d68f more mad attempts to squeeze better performance 2013-06-12 17:49:12 +00:00
Mark Vejvoda 1e1676a34a more render improvements 2013-06-12 06:14:55 +00:00
Mark Vejvoda 836172f87c more render improvements 2013-06-12 01:24:10 +00:00
Mark Vejvoda a516b0eb0d more render improvements 2013-06-12 01:07:53 +00:00
Mark Vejvoda 929381e3ee see if this fixes the black flicker we sometimes see 2013-06-12 00:53:52 +00:00
Mark Vejvoda 55653c10b5 try to see if this affects performance? 2013-06-12 00:25:43 +00:00
Mark Vejvoda 668b34db8e more mad attempts to squeeze better performance 2013-06-11 06:44:26 +00:00
Mark Vejvoda 473e79c356 add lag pause when client lag reaches warning level 2013-06-11 00:07:28 +00:00
Mark Vejvoda aa63d07497 disable joining in progress games for release (controlled by optional setting EnableJoinInProgressGame=true) 2013-06-10 20:08:03 +00:00
Mark Vejvoda ab437c2590 better formatting for upgrade type data 2013-06-08 17:53:25 +00:00
Mark Vejvoda 8066502f9b fix a few areas that vc++ 2012 pointed to as potential bugs 2013-06-08 03:40:04 +00:00
Mark Vejvoda 8d2e812dc8 remove unused reference to image and image-cancel for upgrade types 2013-06-07 23:33:35 +00:00
Mark Vejvoda 4499308888 fix a few areas that vc++ 2012 pointed to as potential bugs 2013-06-07 23:17:27 +00:00
Mark Vejvoda 9a7fba2842 bugfix for custom about screen texture 2013-06-07 22:27:09 +00:00
Mark Vejvoda 58ebee280d added custom credits ability for Ishmaru 2013-06-07 20:36:07 +00:00
Mark Vejvoda 7aca6c73c7 bugfix to allow changing of texture compression 2013-06-07 18:34:55 +00:00
Mark Vejvoda e44420f9c9 joining player can only click play now once 2013-06-07 00:29:29 +00:00
Mark Vejvoda 7a40e78b6a allow player status message in game lobby 2013-06-07 00:23:30 +00:00
Mark Vejvoda 462524bcae attempt to fix titi's segfault when reloading and exiting custom menu 2013-06-06 23:57:21 +00:00
Mark Vejvoda ed00d9ad8b hide player status when joining in progress game 2013-06-06 14:38:55 +00:00
Mark Vejvoda 6e38d9b187 do not require lng file to have a new key 2013-06-06 05:51:32 +00:00
Mark Vejvoda 4533da71bd bugfixes for attack boost did not properly rollback boost value sometimes for multiplier style boosts 2013-06-06 04:10:49 +00:00
Mark Vejvoda 4da10fc7fa save player uuid in last game settings 2013-06-05 20:31:54 +00:00
Mark Vejvoda 09b6c1c1b1 bugfix to change title when joining in progress game 2013-06-05 20:25:14 +00:00
Mark Vejvoda 8a3cf2f956 when clients connect to a lobby or game see if the player was previously in a slot and if so give them this slot 2013-06-05 20:04:03 +00:00
Mark Vejvoda 6d349b839c avoid mutex use for client slot thread on server to improve performance 2013-06-05 18:05:21 +00:00
Mark Vejvoda 4ca6c232cf allow game to be paused before player joins game and retain pause state 2013-06-05 17:17:03 +00:00
Mark Vejvoda 173075d962 allow each language to specify special keys allowed for that language (bugfix for polish) 2013-06-05 05:53:59 +00:00
Mark Vejvoda c54251c12c try to improve performance 2013-06-04 22:32:47 +00:00
Mark Vejvoda 5fd46478c6 try to improve performance 2013-06-04 21:55:16 +00:00
Mark Vejvoda ac24630573 bugfix to properly shutdown masterserver thread 2013-06-04 18:40:37 +00:00
Mark Vejvoda 0af3e349d8 bugfixes to allow joining in progress game and also ensure disconnect list is correct. 2013-06-04 08:01:33 +00:00
Mark Vejvoda b6780d2af7 code cleanup 2013-06-04 04:36:00 +00:00
Mark Vejvoda aab72b863c enforce that no network commands are sent when game is paused for player who is joining except pause / unpause and disconnect 2013-06-04 04:26:37 +00:00
Mark Vejvoda 03862948e2 bugfix to cleanup closing client connections quickly 2013-06-04 03:47:04 +00:00
Mark Vejvoda 8cd2383a78 bugfix for minimap for joining in progress games 2013-06-04 02:21:56 +00:00
Mark Vejvoda 56774bc087 make server slots continuously read data on sockets during game 2013-06-04 00:31:41 +00:00
Titus Tscharntke 819622f40e I hope this fixes the black flickering when selecting units you sometimes see (this was very obvious with selectbuffer , but visible in colorpicking too ) 2013-06-03 23:09:02 +00:00
Mark Vejvoda 2e2f16e3bc bugfix for missing data to not show console error on server 2013-06-03 19:55:34 +00:00
Mark Vejvoda 50ade6b471 bugfix for both progress and animation smoothness 2013-06-03 14:50:50 +00:00
Mark Vejvoda 25450ebb85 bugfix for both progress and animation smoothness 2013-06-03 14:30:52 +00:00
Mark Vejvoda 1097938c2e bugfix for loading saved games which do not have playeruuid 2013-06-03 05:33:07 +00:00
Mark Vejvoda 8d8c9ab20c bugfix for join in progress game (clear path for each unit) 2013-06-03 05:29:01 +00:00
Mark Vejvoda 335eb3ac4a bugfix for smoother animation sequences and fix progress bound animations 2013-06-03 04:28:53 +00:00
Titus Tscharntke 01e7c28992 screenshots for savegames without annoying menu in screenshot. ( I render the scene again before taking a screenshot ). 2013-06-02 21:41:09 +00:00
Titus Tscharntke 27e46dd10a selected units are sorted by type(id) now. this gives less jumping selection with colorpicking and a sorted selection display in the GUI. 2013-06-02 20:30:22 +00:00
Mark Vejvoda ee271467d0 attempt to fix join game out of synch (and added more logging to track further if needed) 2013-06-02 05:57:51 +00:00
Mark Vejvoda 9c4b469d09 bugfix for segfault on client disconnect (regression introduced a few checkins ago) 2013-06-02 05:08:40 +00:00
Mark Vejvoda 6e6a70aab0 fix progress bar for downloading saved games 2013-06-02 05:01:28 +00:00
Mark Vejvoda a7269de8f6 fix the filename shown when downloading saved game for join in progress 2013-06-01 23:55:21 +00:00
Mark Vejvoda 2cd6325806 attempt to fix message which used servers version of the text always 2013-06-01 23:45:19 +00:00
Mark Vejvoda ae458f9b4b cleanup compile warnings 2013-06-01 23:31:17 +00:00
Mark Vejvoda 78d9a01638 bugfix for attackboost where it sometimes did not properly remove the boost 2013-06-01 22:21:04 +00:00
Mark Vejvoda d4568f1bdd fixed connection segfault on i386 platform 2013-06-01 18:07:06 +00:00
Mark Vejvoda 68456111b4 tracking down bug on i386 platform 2013-06-01 17:56:38 +00:00
Mark Vejvoda 92bc5c6e12 tracking down bug on i386 platform 2013-06-01 17:51:42 +00:00
Mark Vejvoda 0df2e19e10 tracking down bug on i386 platform 2013-06-01 17:40:34 +00:00
Mark Vejvoda e809080d0f tracking down bug on i386 platform
- comment titi's model debug output
2013-06-01 17:23:51 +00:00
Mark Vejvoda 22eb5cc4d4 attempt to fix a thread bug when starting a game 2013-06-01 06:28:03 +00:00
Mark Vejvoda 7f88d866c1 attempt to fix a thread bug when starting a game 2013-06-01 06:07:14 +00:00
Mark Vejvoda 4daef05777 bugfix for animation progress 2013-06-01 03:24:06 +00:00
Mark Vejvoda 4af65d1e19 added unique playerid for every client 2013-06-01 02:31:12 +00:00
Mark Vejvoda 27c0141b34 fixed headless admin button for player status changes 2013-05-31 19:32:20 +00:00
Mark Vejvoda 761fc44f14 reprompt to download missing data after 7 seconds if the user is still misisng game data 2013-05-31 19:05:34 +00:00
Mark Vejvoda 4efc2f9cea try to make world synch logging not use translated unit names 2013-05-31 15:33:01 +00:00
Mark Vejvoda 6cc8f6ac75 attempt to fix the model render not properly timed 2013-05-31 07:09:25 +00:00
Mark Vejvoda a0506e3486 bugfix for join game segfault posted by atze 2013-05-30 06:28:09 +00:00
Mark Vejvoda 79c3c1eed5 bugfix player # in disconnect message 2013-05-29 06:13:21 +00:00
Mark Vejvoda 7191fe092d safer and faster shutdown of disconnected client socket 2013-05-29 06:06:43 +00:00
Mark Vejvoda 831bbda6c9 better error handling for game / scenario loading problems (like bad xml) 2013-05-28 15:42:54 +00:00
Mark Vejvoda 995617e91e bugfix to allow admin to kick player in same slot multiple times 2013-05-28 07:10:13 +00:00
Mark Vejvoda 7acd500c08 bugfix for a number of legacy divide by 0 conditions discovered by Tiger. 2013-05-28 06:07:35 +00:00
Mark Vejvoda 43d533aec3 added ability to reference sound and videos in lua using variables: {TECHTREEPATH}, {SCENARIOPATH}, {TUTORIALPATH} example:
playStreamingSound('{SCENARIOPATH}/music/myambient.ogg')
2013-05-28 03:08:51 +00:00
Mark Vejvoda 72480bc576 added ability to reference sound and videos in lua using variables: {TECHTREEPATH}, {SCENARIOPATH}, {TUTORIALPATH} example:
playStreamingSound('{SCENARIOPATH}/music/myambient.ogg')
2013-05-28 02:54:23 +00:00
Mark Vejvoda 7ee5d2b300 added a bunch of new lua methods for Tigers new scenario to montior changes to a unit 2013-05-28 00:59:44 +00:00
Mark Vejvoda 93caf14362 attempt to fix out of synch of join in progress game 2013-05-27 08:26:01 +00:00
Mark Vejvoda f4a29d98b8 bugfix to correct out of synch, titi tried to fix this a while ago but the code was not complete, we hit this when testing today 2013-05-27 04:56:07 +00:00
Mark Vejvoda f79dd4be83 admin can now kick player joining in progress game while he is in the lobby 2013-05-26 06:45:56 +00:00
Mark Vejvoda 2c1b181bc7 a bunch more code cleanup from cppcheck 2013-05-26 06:03:32 +00:00
Mark Vejvoda c1ca53f50d allow admin to kick player multiple times 2013-05-26 04:01:01 +00:00
Mark Vejvoda f84cf5c216 attempt to fix resume game 2013-05-26 03:35:31 +00:00
Mark Vejvoda c932965d9e correct click sound for a bunch of menu buttons 2013-05-26 02:44:36 +00:00
Mark Vejvoda d901670c15 attempt to fix weird morph bug found by Elimnator 2013-05-26 00:27:50 +00:00
Mark Vejvoda cef0ce9978 attempt to fix weird morph bug found by Elimnator 2013-05-26 00:11:07 +00:00
Mark Vejvoda 7c98c35d67 init new variable to null 2013-05-25 22:46:01 +00:00
Mark Vejvoda fd9ce54063 attempt to fix morph out of synch 2013-05-25 22:44:39 +00:00
Titus Tscharntke 60a7ea172d client slowdown/catchup reenabled again 2013-05-25 22:30:31 +00:00
Mark Vejvoda aa69a5818b added some new lua methods to determine day or night and new event 2013-05-25 20:46:36 +00:00
Mark Vejvoda de68fc759d comment out some world synch logging 2013-05-25 18:22:36 +00:00
Mark Vejvoda 7cd6dfbdca bugfixes for loading saved games with bad data or wrong game version 2013-05-25 08:02:07 +00:00
Mark Vejvoda fe151abcc5 ensure dead units clean up 2013-05-25 07:36:21 +00:00