Commit Graph

3027 Commits

Author SHA1 Message Date
Mark Vejvoda f3165b2548 - bugfix to stop human and network player from having the same slot 2012-07-24 19:29:15 +00:00
Mark Vejvoda f681b309a9 - turned off the interpolation cache which was taking too much memory. Please test this to see if performance is affected, this should REALLY help with memory usage. 2012-07-22 00:04:44 +00:00
Mark Vejvoda e1054d6e07 - fixed memory leaks in map editor, g3dviewer and the game 2012-07-21 20:21:27 +00:00
Mark Vejvoda 8d168bdb4c - add playername to console output when server waits for a client to catch up 2012-07-21 04:34:55 +00:00
Mark Vejvoda acb648904c - attempt to stop clients from lagging too much and output to console 2012-07-21 00:55:57 +00:00
Mark Vejvoda 159a273aa1 - bold change to see what this does for network play (CAUTION THIS is for testing only and may be reverted) 2012-07-21 00:23:27 +00:00
Mark Vejvoda 0b9ad4c457 - added support for throwing known errors and skipping stack traces (For friendlier error messages) 2012-07-20 23:51:10 +00:00
Mark Vejvoda ed9ae076c5 - attempt to fix pizza's crash
- safer use of random # in unit updater (not backward compatible with other builds)
2012-07-20 23:07:44 +00:00
Titus Tscharntke ed6961195f Disconnect time of early leavers is shown in end game stats. 2012-07-20 22:24:27 +00:00
Mark Vejvoda c42d44a53a - attempt to fix pizza's crash 2012-07-20 22:18:34 +00:00
Mark Vejvoda 2204e0577c - if hint text title is missing in language file, default to english 2012-07-20 22:04:46 +00:00
Mark Vejvoda 5cb761e5a6 - hint text now centered on screen when game is loading 2012-07-20 19:00:49 +00:00
Mark Vejvoda 366160fee7 - updated error message to be more clear and specify which techtree is involved 2012-07-20 15:31:56 +00:00
Mark Vejvoda bc794178aa - attempt to stabilize socket send a little better 2012-07-20 15:21:32 +00:00
Mark Vejvoda f3d7c5e5cb - attempt to allow special key (alt) as allowed for quick signal to team, requires user to add this to glestuserkeys.ini:
SetMarker=left alt
(does not work in latest ubuntu as alt key is used for Unity)
2012-07-20 14:38:28 +00:00
Mark Vejvoda 1c52f28185 - change team # in end game stats for team switching 2012-07-19 23:21:55 +00:00
Tom Reynolds fb2f643131 Make Linux system_report tool spell out the OS architecture 2012-07-19 11:08:29 +00:00
Titus Tscharntke d217777f85 player end stats should show only players as laevers who left while game was running. ( feature not finished yet ) 2012-07-18 23:52:44 +00:00
Mark Vejvoda bec8df9feb - made another debug statement only show in verbose mode 2012-07-18 16:01:19 +00:00
Mark Vejvoda 63fb9bd2cf - removed debug stacktrace in ObjectParticleSystemType 2012-07-18 14:31:56 +00:00
Mark Vejvoda 9583307022 - cleanup of debug code 2012-07-18 01:01:24 +00:00
Mark Vejvoda 32bda64045 - added more error checking in scenarios 2012-07-18 00:54:47 +00:00
Mark Vejvoda 6c211970e3 - added more error checking in scenarios 2012-07-18 00:50:14 +00:00
Mark Vejvoda 9fb1f06d5e - added more error checking in scenarios 2012-07-18 00:43:46 +00:00
Mark Vejvoda 2b0e9e40d3 - added more error checking in scenarios 2012-07-18 00:35:39 +00:00
Mark Vejvoda e4cec7319e - added more error checking in scenarios 2012-07-18 00:21:39 +00:00
Mark Vejvoda de2e889a4f - added more error checking in scenarios 2012-07-18 00:15:39 +00:00
Mark Vejvoda 9a54f30e86 - added more error checking in scenarios 2012-07-18 00:12:42 +00:00
Mark Vejvoda 4d97c80561 - added more error checking in scenarios 2012-07-18 00:04:24 +00:00
Mark Vejvoda a55397c5f6 - more safe way to accumulate stack trace and not run out of buffer space. 2012-07-17 23:36:00 +00:00
Mark Vejvoda 9f0546c008 - set correct exit codes (for tomreyn)
- fix loading when too many units on map (do not segfault)
- deprecate ThreadedNetworkClient setting
2012-07-17 23:04:30 +00:00
Titus Tscharntke 25a4b83b83 sonar ping only for teammates 2012-07-17 21:29:39 +00:00
Tom Reynolds 07c6fb2720 nerd work 2012-07-17 20:32:27 +00:00
Titus Tscharntke d382fa46fd fix for wrong CRCs in Mod menu 2012-07-16 23:03:56 +00:00
Titus Tscharntke 734e744727 new blender exporter from GAE for blender 2.63 and later 2012-07-16 21:43:35 +00:00
Tom Reynolds 3519725216 Change phpVersionParam to ?version=0.1 2012-07-16 00:08:41 +00:00
Titus Tscharntke 0cc9f0e115 fixing the CRCs on the masterserver ( work in progress ) 2012-07-15 23:01:48 +00:00
Titus Tscharntke 69f4294950 playing a sound for quick highlight pointer(marker) 2012-07-15 21:01:56 +00:00
Titus Tscharntke e311c439f6 sound is no more switched on when switching factions ( not a 100% fix but I think good enough ) 2012-07-15 19:45:55 +00:00
Tom Reynolds de0362e8d8 Linux support utility renamed and improved 2012-07-15 17:21:38 +00:00
Titus Tscharntke 46cc1f18aa no more camera (drag)move while giving commands via minimap. Only move camera if click started in minimap. 2012-07-15 09:50:44 +00:00
Titus Tscharntke d10d5fc770 hopefully working implementation of mpfNoSelect from this discussion: http://glest.org/glest_board/index.php?topic=8165.msg82932#msg82932 2012-07-14 21:29:15 +00:00
Titus Tscharntke 0043511e0a less alpha for building ghosts, 'X' key for highlighting, no camera move while highlighting 2012-07-13 23:19:53 +00:00
Titus Tscharntke 73919c860d New quick highlight pointer for minimap ( we need another key for this, at the moment its "shift" ) 2012-07-13 21:50:34 +00:00
Mark Vejvoda 1de23b6f1a - allow for left button click in minimap and move mouse will move the camera 2012-07-13 02:03:15 +00:00
Mark Vejvoda 109401b2e8 - always ensure headless server has an open slot in the lobby 2012-07-11 22:41:31 +00:00
Mark Vejvoda be61ed89da - bugfix to have consistent info sent to masterserver when in game or in lobby 2012-07-11 05:12:10 +00:00
Mark Vejvoda 703afaa5de - forget trying to render for now when in connection phase, Cold getting crashes 2012-07-10 20:39:21 +00:00
Mark Vejvoda 2c6cd02f32 - attempt a very simple fix for Cold's connection delay 2012-07-10 20:26:41 +00:00
Mark Vejvoda a97f8ead7e - added headless min player required message
- remove configurator from linux installer
- bugfix for headless stats connected player counts
2012-07-10 13:49:49 +00:00
Mark Vejvoda 6cfe9cadbb - attempt to fix corrupt connection stats sent to masterserver using a mutex in the lobby and when headless server reset counts to 0 when calculating 2012-07-10 02:43:54 +00:00
Mark Vejvoda 57a988ae56 - fixed out of synch on player disconnect 2012-07-10 02:12:07 +00:00
Titus Tscharntke 36ef593c56 \n after hint 2012-07-10 00:33:45 +00:00
Mark Vejvoda 5d129d7569 - force CRC's to be recalculated if on or before July 6 2012 2012-07-07 05:53:26 +00:00
Mark Vejvoda 490ba7e824 - headless admin cannot launch a game unless there are at least two players connected 2012-07-07 05:35:25 +00:00
Mark Vejvoda b5b2c623fe - working on crc bug 2012-07-07 03:42:53 +00:00
Mark Vejvoda 2e7897e5b9 - working on crc calc bug 2012-07-07 03:31:12 +00:00
Mark Vejvoda 4202989014 - attempt to switch CRC to use unsigned int everywhere 2012-07-07 02:46:57 +00:00
Mark Vejvoda bf0e76c5e7 - added some debugging to figure out CRC issue 2012-07-07 01:16:50 +00:00
Mark Vejvoda 330070a632 - more logging to track down cold's issue 2012-07-06 23:18:30 +00:00
Mark Vejvoda ada5f2cdce - more logging to track down cold's issue 2012-07-06 23:06:00 +00:00
Mark Vejvoda e8288e9c42 - more logging to track down cold's issue 2012-07-06 22:32:45 +00:00
Mark Vejvoda 973c38be8d - fix invalid check for log buffer count 2012-07-06 22:12:21 +00:00
Mark Vejvoda 91f608d800 - more logging to track down cold's issue 2012-07-06 21:58:21 +00:00
Mark Vejvoda eee0d0ab2e - more logging to track down cold's issue 2012-07-06 21:28:54 +00:00
Mark Vejvoda 2572fcf561 - more logging to track down cold's issue 2012-07-06 21:01:45 +00:00
Mark Vejvoda 6f9f2d8f01 - allow admin user to switch slots when they are in an unassigned slot 2012-07-06 18:57:19 +00:00
Mark Vejvoda 27b5d40bf8 - commandline override options now stored in a different buffer so that they will not be saved in ini files 2012-07-06 16:29:49 +00:00
Mark Vejvoda b898017da9 - bugfix for server network listening to port and allow forcing ip address to bind to:
ServerAdminBindAddress=127.0.0.1
is hard coded as the default
2012-07-06 14:41:23 +00:00
Titus Tscharntke 9875fa1dad missing clear() caused crash ... 2012-07-06 00:16:48 +00:00
Titus Tscharntke e302efcd4e hopefully better commanding of headless servers 2012-07-05 22:03:15 +00:00
Mark Vejvoda 2ad24dbe2a - bugfix for windows build and attempt to handle opengl fullscreen init better on windows 2012-07-04 01:23:04 +00:00
Mark Vejvoda d9e2a64bb3 *NOTE: This is not backwards compatible with previous builds
- disable the alpha fog of war cache as it takes too much RAM (not sure if it really improves performance that much)
- inline some common functions for speed
2012-07-03 19:31:52 +00:00
Mark Vejvoda 51d56926cc - return to previous menu when tutorials / scenarios are empty 2012-07-03 00:26:27 +00:00
Mark Vejvoda a8af70cee1 - when disabling backtrace ensure console output only shows direct errors without backtrace 2012-07-03 00:19:23 +00:00
Mark Vejvoda 3ec510fa17 - fixed admin mode in menu's so switching to a map with less slots than admin user keep the same admin user active 2012-06-30 19:31:52 +00:00
Mark Vejvoda 76606fbdbe - allow loading of scenarios and tutorials when there are none (show an error message) 2012-06-30 19:11:54 +00:00
Mark Vejvoda 04442af2e9 - more alpha on building ghosting 2012-06-24 02:09:13 +00:00
Mark Vejvoda b08e04fa70 - flash the remote admin player# in lobby to indicate they are the admin user 2012-06-22 14:30:48 +00:00
Mark Vejvoda 0f5cb29919 - build silhouette now uses team colour and you see all team players building placement
- improve performance when rending cell markers
2012-06-22 13:30:15 +00:00
Mark Vejvoda e94d7b2fef - bugfix for cell markers to avoid out of synch 2012-06-22 05:46:19 +00:00
Mark Vejvoda d10493edc0 - fixed the accuracy for cell markers 2012-06-22 05:40:23 +00:00
Mark Vejvoda acc2a5f9c9 - show light green with alpha silhouette of building when unit is moving to a location to build another unit 2012-06-22 04:58:44 +00:00
Mark Vejvoda 00d99eecd7 - bugfix for loading older saved games (I added a new network player status which may not exist in older saved games). This should fix Pizza's load game issue 2012-06-22 02:18:19 +00:00
Mark Vejvoda b32b4f1660 - bugfix to allow remote admin user to remain as admin when slot is networkunassigned 2012-06-22 01:57:59 +00:00
Mark Vejvoda 9209c5fdbc - bugfix for scenario validation to find standard techtrees 2012-06-22 01:48:31 +00:00
Titus Tscharntke 9ed9293a0d no more accidently clicked buttons when starting game or switching to next menu 2012-06-20 23:42:45 +00:00
Titus Tscharntke a9049ac887 hints while loading with language support and keycode replacement. 2012-06-19 00:32:39 +00:00
Titus Tscharntke dc99918cfe first working version of "game hints" displayed while loading. ( still missing language support and techtree specific hint support ) 2012-06-17 22:52:30 +00:00
Tom Reynolds 7974788b13 re-add now missing sysinfo.sh 2012-06-16 22:22:21 +00:00
Tom Reynolds 6b8487f6f5 Improved portuguese translation - thanks Victor J.!
Remove duplicate sysinfo.sh
Add hint on iavailable cmake options to build-mg.sh
2012-06-16 06:52:54 +00:00
Titus Tscharntke f89707f708 k-key to switch off sound while waiting for players in connected state too. Sound is automatically switched on if a new player connects, just like in custom menu. By this you can wait in headless servers without hearing music/missing players. 2012-06-13 23:01:10 +00:00
Mark Vejvoda 81cc68305c - added the ability to remove cell markers 2012-06-13 16:19:44 +00:00
Mark Vejvoda 943dcef9fe - first pass of VERY ROUGH crude implementation of 'cell markers'. Need to properly find icons, apply alpha to icon on the map and add support for notes when user hovers over the marker. 2012-06-12 20:37:00 +00:00
Mark Vejvoda c187d4d014 - changed disconnected playername to: *AI* - playername 2012-06-11 23:50:30 +00:00
Mark Vejvoda b965343496 - added ability to show a user is disconnected from the game 2012-06-09 15:21:18 +00:00
Mark Vejvoda cb7bd8ff04 - added menu option and commandline parameter to disable video playback 2012-06-09 05:02:01 +00:00
Mark Vejvoda 90b0d96b5d - disable main menu background video playback when showing faction preview video 2012-06-09 02:59:46 +00:00
Mark Vejvoda c629fae830 - cmake now dynamically detects some versions of miniupnpc 2012-06-05 22:29:43 +00:00
Mark Vejvoda f78f6bba9b - cmake now dynamically detects some versions of miniupnpc 2012-06-05 22:25:46 +00:00
Titus Tscharntke ca39f8c6b1 new try with changed fighting behaviour of ultra and mega;
fix for "*" in chat
2012-06-04 21:53:20 +00:00
Mark Vejvoda 771c6d5bd6 - fix file CRC calcs
- fix validation for techs to properly handle special file paths
2012-06-04 04:00:37 +00:00
Mark Vejvoda 6f48ec6330 - play no videos when running special commands like validations 2012-06-04 00:11:29 +00:00
Titus Tscharntke 6b27343145 In system and error messages player names are no longer highlighted in the console with a sound effect as it was very annoying. Just human written chat messages highlight the names. 2012-06-03 17:08:14 +00:00
Mark Vejvoda e96346ff28 - special text color override setting will only apply to non in-game text (useful when videos clash with menu text colors) 2012-06-01 19:14:55 +00:00
Mark Vejvoda dcc615d427 - allow overriding text colors 2012-06-01 05:26:01 +00:00
Mark Vejvoda 35b917106c videos properly resize on different resolutions 2012-06-01 04:59:53 +00:00
Mark Vejvoda 076a2a5218 - bugfix to check main game data folder for videos 2012-06-01 04:11:31 +00:00
Titus Tscharntke 3f604ae359 I give up on this :( . Softcoder must help me here I don't understand whats going on. We still see out of syncs if this is commented in. 2012-05-31 21:54:00 +00:00
Titus Tscharntke d6f04c66e0 ctNetworkCpuUltra was the problem ... 2012-05-31 20:59:04 +00:00
Titus Tscharntke 4a70d090a8 commented out all my last changes to hunt down out of sync 2012-05-30 23:17:17 +00:00
Titus Tscharntke 1595eb3043 Skill can be NULL .... 2012-05-30 22:26:55 +00:00
Titus Tscharntke b8401bf208 Making it a bit random if standing or runnning units are attacked by Ultra/Mega CPUs 2012-05-30 21:53:41 +00:00
Titus Tscharntke 00b1bea1ac CPU-Ultra and Mega attack standing units in attack range first now. Lets see if this is good ... 2012-05-30 20:35:27 +00:00
Tom Reynolds 1495ffe992 fix some compatibility issues + typo in masterserver SQL schema 2012-05-29 15:47:30 +00:00
Mark Vejvoda 4c016dfbdf - attempt to fix segfault from menu handling after playing a few games 2012-05-28 16:51:56 +00:00
Mark Vejvoda 19573a5f12 - attempt to fix build for users with libvlc version older than 1.1.13 2012-05-28 16:15:30 +00:00
Mark Vejvoda 68bfe9e455 - fixed rendering on battle end screen 2012-05-28 02:36:12 +00:00
Mark Vejvoda e014ecbd94 - allow streaming faction preview videos and fallback to local faction preview 2012-05-26 06:19:30 +00:00
Mark Vejvoda ead7c316e5 - added support for faction preview videos (take precedence over preview texture) 2012-05-25 23:00:36 +00:00
Mark Vejvoda 660d702e97 - add a fallback url for playing videos in case the user has no internet 2012-05-25 16:33:34 +00:00
Mark Vejvoda 827f4fb89d - cycle alpha channel on please wait text for video loading 2012-05-24 07:37:43 +00:00
Mark Vejvoda 599cae0235 - cycle alpha channel on please wait text for video loading 2012-05-24 07:15:15 +00:00
Mark Vejvoda 48b3a81cbd - bugfix for validation techtree (resources with particles caused crash on validate) 2012-05-24 07:08:31 +00:00
Mark Vejvoda b6a4e33e7d - replaced calls to glgenlists and family as these gl calls are deprecated in newer opengl (and really did not do anything for us) 2012-05-24 06:16:54 +00:00
Mark Vejvoda 0fac755a5e - video player now displays 'please wait' while loading the video 2012-05-23 19:59:52 +00:00
Mark Vejvoda e61a17972e - try to fix tomreyns bug 2012-05-22 23:32:23 +00:00
Mark Vejvoda d35c1b6703 - added a bit more debug info to find tomreyns bug 2012-05-22 23:21:47 +00:00
Mark Vejvoda 6dae391ad6 - added a bit more debug info to find tomreyns bug 2012-05-22 23:12:48 +00:00
Mark Vejvoda f72c1757d5 - added a bit more debug info to find tomreyns bug 2012-05-22 23:03:01 +00:00
Tom Reynolds 115f05f198 better server.ini; add page title to masterserver list 2012-05-22 20:28:33 +00:00
Mark Vejvoda 8fd436b612 - added new lua method to play video's in scenarios:
playStaticVideo
2012-05-22 06:17:56 +00:00
Mark Vejvoda 8ba7fd0fa0 - updated screen render size for videos for win32 2012-05-21 21:31:15 +00:00
Mark Vejvoda 6f78e11542 - fixed compiler warning 2012-05-21 20:42:26 +00:00
Mark Vejvoda 1652d9e810 - fix the build on windows 2012-05-21 20:40:28 +00:00
Mark Vejvoda 0f25276e6f - applied patch from MuwuM 2012-05-21 20:15:37 +00:00
Mark Vejvoda 29ed59de0b - release media list player if used 2012-05-21 20:11:27 +00:00
Mark Vejvoda 7f1a8693ac - properly detect when streaming video has completed. 2012-05-21 20:05:26 +00:00
Mark Vejvoda 42d7760501 - removed some invalid event attachments for libvlc 2012-05-21 18:49:09 +00:00
Mark Vejvoda aa2174a101 - support streaming videos from youtube etc 2012-05-21 18:32:53 +00:00
Mark Vejvoda b7ba6e52d5 - bugfixes for playing videos in main menu 2012-05-19 08:48:30 +00:00
Mark Vejvoda 0d38e2eb5d - added support for main menu background video 2012-05-19 08:40:49 +00:00
Mark Vejvoda 3187252936 - fixed libvlc on windows (timing problem when loading videos)
- commented out retarded environment variable code since we just ship the plugins folder now
2012-05-19 02:47:53 +00:00
Mark Vejvoda ed1e17aacd - allow any video format that vlc can handle for intro video 2012-05-18 22:39:36 +00:00
Mark Vejvoda 9fdde8c5f3 - when intro video stops playing continue to main menu 2012-05-18 19:53:01 +00:00
Mark Vejvoda 66af241154 - few updates to video player 2012-05-17 21:52:00 +00:00
Mark Vejvoda 895428a954 - fixed vc++ 2008 project file so it builds again (vc++ 2008 missing a C99 header file, requires re-download of win32 deps) 2012-05-16 22:14:50 +00:00
Mark Vejvoda dec1922060 - disable libvlc for ancient nix platforms (min version required 1.1) 2012-05-16 21:48:51 +00:00
Mark Vejvoda 040872748d - bugfix for loading videos 2012-05-16 15:38:35 +00:00
Mark Vejvoda b7cf90a09e - attempt to get static linking working for libvlc 2012-05-16 05:46:04 +00:00
Mark Vejvoda 32b4925f31 - attempt for better support for older versions of libvlc 2012-05-14 21:09:44 +00:00
Mark Vejvoda 5d5224b4a2 - attempt to allow support for older vlc 2012-05-14 15:57:50 +00:00
Mark Vejvoda 0a55a9b33d - commented out some useless code because of how bad windows handles environment vars 2012-05-14 07:38:21 +00:00
Mark Vejvoda b91f816f3e - a compromise for libvlc, only fallback to retarded env var code if plugins folder is missing. However we plan to ship that folder next install. 2012-05-14 07:28:34 +00:00
Mark Vejvoda 093d22ce8b - oh how I despise windows, another evil hack to get proper detection of vlc plugins 2012-05-14 03:36:43 +00:00
Mark Vejvoda e3c2719458 - fixed build on windows 2012-05-12 23:59:40 +00:00
Mark Vejvoda 69c1de284c - plugin fix on windows 2012-05-12 23:47:16 +00:00
Mark Vejvoda ec2a708603 - plugin fix on windows 2012-05-12 23:23:24 +00:00
Mark Vejvoda 7d8aee2f78 - fix the check for libvlc and better support for windows users 2012-05-12 23:05:34 +00:00
Mark Vejvoda af508a1a59 - added new ini setting to explicitly set the vlc plugins folder:
VideoPlayerPluginsPath=c:\program files\videolan\plugins
2012-05-12 22:48:29 +00:00
Mark Vejvoda ede0a63def - require libvlc version minimum 2.0.1 2012-05-12 22:36:44 +00:00
Mark Vejvoda 46395d1322 - added support for windows build for libvlc to play videos (requires updated deps) 2012-05-12 22:21:15 +00:00
Mark Vejvoda 7b3de2d109 - added support for intro videos using libvlc (if libvlc is installed for the developer, its optional) 2012-05-12 20:33:18 +00:00
Mark Vejvoda 345b2e670b - added local mg version label to custom game menu 2012-05-12 02:21:21 +00:00
Mark Vejvoda e38c9b5db0 - small changes to checksum file loading 2012-05-12 02:08:08 +00:00
Mark Vejvoda 5458f7abb4 - units now use a random # from 10-20 cells to determine how often they refresh their path 2012-05-12 01:06:55 +00:00
Mark Vejvoda dc270fbbaa - rollback the last pathfinder change its no good 2012-05-12 00:50:15 +00:00
Mark Vejvoda ef39f93457 - try to speed up water rendering a bit, but especially pathfinder 2012-05-12 00:01:05 +00:00
Mark Vejvoda e2844938b7 - updated to not segfault when loading a saved game and tileset is not found 2012-05-11 19:52:34 +00:00
Mark Vejvoda fff77031fc - bugfixes for g3d viewer to display only particles without a unit 2012-05-11 16:05:26 +00:00
Mark Vejvoda bf3e5a15bf - modders can now override land and air field names using lng specific files for a tileset (follows same principle as techtree lng files). Currently supported translatable strings:
FieldLandName=Land
FieldAirName=Air
2012-05-11 05:49:47 +00:00
Mark Vejvoda 394efbcbc0 - bugfixes for network scenarios, client cannot change team or faction but they rather get assigned to the team and faction of the slot they switch to 2012-05-11 05:11:46 +00:00
Titus Tscharntke 4aee3847e1 ShadowTextureSize selectable in ingame options 2012-05-10 22:32:38 +00:00
Titus Tscharntke b411c103df extra map preview for already installed maps 2012-05-10 21:45:24 +00:00
Mark Vejvoda 2d6cda1f6f - more pathfinder tweaks to try improve performance 2012-05-09 23:56:14 +00:00
Mark Vejvoda ee6eed20a2 - fixed the build on windows 2012-05-07 01:37:43 +00:00
Titus Tscharntke 2fddf85486 Bugfix: HUD is working for network clients too now. 2012-05-06 21:19:31 +00:00
Mark Vejvoda 1b2b1f9821 - improved the new pathfinder using hashmap 2012-05-05 06:23:09 +00:00
Mark Vejvoda f79222defa - more pathfinder in progress changes, nothing to test yet 2012-05-05 04:38:49 +00:00
Mark Vejvoda 3ff0796bec - some in progress pathfinder work 2012-05-04 21:03:52 +00:00
Mark Vejvoda 85f98e8f55 - added ini setting to enable new pathfinder (its off by defualt now).
EnableFastPathFinder=true
2012-05-04 16:48:14 +00:00
Mark Vejvoda 771ff91c1c - added a new pathfinder to test to see if it performs better than the old one 2012-05-04 14:57:59 +00:00
Mark Vejvoda 3b9f799d26 - it is now possible to explicitly specify which units should count towards victory conditions. In the unit's xml file add:
<?xml version="1.0" standalone="no"?>
<unit>
	<parameters>
               <!-- valid values are true or false for this optional parameter -->
		<count-in-victory-conditions value="false"/>
        </parameters>
</unit>
2012-05-03 20:25:35 +00:00
Mark Vejvoda 0120c5211a - added a default translation file for techtrees, <techtreename>_default.lng 2012-05-03 14:43:28 +00:00
Mark Vejvoda 2267011cbc - try to optimize debug flag checking 2012-05-03 01:25:34 +00:00
Mark Vejvoda b84c69a93b - translatable techtrees, currently supported resource names, unit names and upgrade names. For each techtree created a lang folder in the techtree main folder. Now create language specific files <techtree>_language.lng as we do for scenarios. In the file add:
ResourceTypeName_<name>=My new resource name
UnitTypeName_<name>=<name>=my new unit name
UpgradeTypeName_<name>=my new upgrade name
2012-05-02 21:00:57 +00:00
Mark Vejvoda 897346d1f5 - added the beginning work to support translatable techtrees 2012-05-02 20:46:47 +00:00
Mark Vejvoda 5c0db25c86 - added a few new lua methods to register cell 'areas' for unit or for factions for wciwow 2012-05-02 06:07:11 +00:00
Mark Vejvoda 35e9577d77 - does this fix the build on Arch Linux? 2012-05-01 20:22:18 +00:00
Mark Vejvoda 8d1300d9a1 - does this fix the build on Arch Linux? 2012-05-01 20:11:32 +00:00
Mark Vejvoda 20ffdbcf2d - fixed on windows platform 2012-05-01 15:21:09 +00:00
Mark Vejvoda a70b1a9881 - patch to compile on gcc 4.7 2012-05-01 14:55:06 +00:00
Mark Vejvoda 2c8b1739e5 - removed printf's as they slowed down pathfinding 2012-05-01 05:12:38 +00:00
Mark Vejvoda 624237ed47 - attempt to tweak the pathfinder a bit for performance when units are consistently having a hard time pathfinding we scale back their max cell count used in pathfinding until they have better success in pathfinding 2012-04-29 04:45:51 +00:00
Mark Vejvoda 1352f42854 - added support for checking if LuaJit library is installed and use that instead of normal Lua for increased lua performance (Currently only implemented in gcc builds) 2012-04-26 16:17:12 +00:00
Mark Vejvoda 2a1ee15a54 - applied patch for lua 5.2 2012-04-26 00:46:49 +00:00
Mark Vejvoda e5d1cada0e - fixed cmake build to work again with mingw 2012-04-24 03:52:06 +00:00
Mark Vejvoda b8fb60b325 - speed up the pathfinder a bit 2012-04-21 03:42:25 +00:00
Mark Vejvoda 81890b0077 - fixed build on linux 2012-04-20 02:11:15 +00:00
Mark Vejvoda dbb116f250 - load of changes to get things compiling under VC++ 2010 (with updated deps seperate for vc2010) 2012-04-20 01:04:05 +00:00
Mark Vejvoda 329bb58b04 - a few code cleanup items while doing some testing in VC++ 2010 2012-04-17 19:42:53 +00:00
Mark Vejvoda aa831dbb61 - inlined a few more functions 2012-04-17 15:25:31 +00:00
Mark Vejvoda 6e7d4aeec5 - speed up some heavily used functions 2012-04-17 07:51:45 +00:00
Mark Vejvoda 8488b9c2b4 - speed up leak checker
- fix a few bugs that were discovered
2012-04-17 07:12:07 +00:00
Mark Vejvoda c8fdc9269f - fix win32 build
- cleanup a lot of win32 compiler warnings
2012-04-16 20:15:57 +00:00
Mark Vejvoda 3b8dd289ac - updated cmake to check for support of backtraces in gcc compiler
- fixed numerous bugs / warnings from cppcheck
2012-04-16 19:29:37 +00:00
Mark Vejvoda ae91368a99 - memory leak checker fixed a few issues 2012-04-16 16:57:10 +00:00
Mark Vejvoda 1403a3fe44 - fixed a memory leak and fixed a segfault in a thread class 2012-04-16 15:46:22 +00:00
Mark Vejvoda a37dc8a7b3 - fix headless server crash due to new call to setgama in headless mode
- a few code optimizations to start to improve performance
2012-04-16 06:14:10 +00:00
Titus Tscharntke f612707849 "PleaseWait"-message while calculating all CRCs in mod menu. 2012-04-16 00:15:11 +00:00
Titus Tscharntke fe59fe8703 Bugfix: particles are also colored with daylight effect if they are created. ( if isDaylightAffected is set ) 2012-04-15 22:38:41 +00:00
Mark Vejvoda 5cfb7e85d5 - Added stack traces to win32 build when we detect an error 2012-04-14 22:48:49 +00:00
Mark Vejvoda 8c0bf75bf5 - got built in memory leak working. Just edit leak_dumper.h and uncomment:
//#define SL_LEAK_DUMP
- got better / more accurate stack dumps when we detect errors in game.
- Both of these need to be worked on in windows next, win32 may not compile for now until i fix it on that platform.
- BE VERY CAREFUL when working in leak_dumper.* it may cause GCC and your system to crash if you don't know what you are doing!
2012-04-14 21:21:09 +00:00
Titus Tscharntke ed201fa5d3 "save game" in ingame menu( I don't know how a quick "load last saved game" ould work from ingame menu :-/ ) 2012-04-13 23:13:02 +00:00
Mark Vejvoda 7f0b439d5d - some initial work for pathfinder changes (nothing enabled yet)
- added savegame info for network games to start thinking about how to allow players to reconnect to a network game.
2012-04-13 20:20:40 +00:00
Mark Vejvoda c83cfc6e03 - bugfix to save server ip's in join menu 2012-04-13 19:37:52 +00:00
Mark Vejvoda 9aca26a0f0 - bugfix for unit selection segfault on game exit
- added thread hardening to try to ensure we never try to delete a thread more than once.
2012-04-12 20:43:19 +00:00
Mark Vejvoda 76c3fa1949 - fixed segfault when a unit is selected and they die (this is a long standing bug and not related to savegame) 2012-04-12 15:38:53 +00:00
Mark Vejvoda 80e1e45ba8 - bugfix for over-riding irc channel and server 2012-04-12 06:03:21 +00:00
Titus Tscharntke f495a41a05 Extra option for menu rain effect ( needs update in language files german/english done ) 2012-04-11 22:19:50 +00:00
Mark Vejvoda cd5bce3b91 - removed configurator from cmake file
- applied libircclient patch from forums 'the Chakra project'
2012-04-11 18:58:38 +00:00
Mark Vejvoda 22f43f4267 - added new lua method for setting the direct position of a unit (can be used for teleporting):
setUnitPosition(int unitId, Vec2i pos)
2012-04-11 05:41:40 +00:00
Mark Vejvoda 7328875160 - bugfix for rain effect, now dynamically turns on/off when toggled in menu and hopefully fixes strange water splash bug 2012-04-11 05:18:00 +00:00
Mark Vejvoda ac015c8819 - fixed hp and ep regeneration so they can use negative values. 2012-04-11 04:48:36 +00:00
Mark Vejvoda a72fc4e341 - removed configurator from the build and installation, it is deprecated 2012-04-10 02:12:16 +00:00
Mark Vejvoda 2ab041813f - code cleanup based on cppcheck report 2012-04-05 03:53:59 +00:00
Mark Vejvoda 83d2474ded - bugfix animated particle model logic 2012-04-04 23:43:31 +00:00
Titus Tscharntke 4aae520da6 Highlighting rendering without cycling through all units each frame ... 2012-04-04 22:57:32 +00:00
Mark Vejvoda c1f617481e - bug fixes for load saved game (now fixes loading on windows) and corrects memory bug for loading saved games on all platforms. 2012-04-04 15:36:09 +00:00
Titus Tscharntke 6c12bfbec8 Improved resource object selection implementation which allows highlight effects now too.
Generally changed highlight effect to something more obvious
2012-04-04 00:30:16 +00:00
Mark Vejvoda 6e66963664 - added validate-tileset 2012-04-03 19:35:22 +00:00
Titus Tscharntke 1df365d697 I removed the automatic game pausing when message are shown because I don't like it ( sc does not like it at all so ... ). Still auto-pausing while showing menues ingame in singleplayer. 2012-04-03 00:32:52 +00:00
Titus Tscharntke 8c6dde365b mouse pointer shows multi click command state 2012-04-02 23:37:03 +00:00
Titus Tscharntke 42b289fe1e cursor work in progress ... ( for tomreyn and me to test ) 2012-04-02 22:17:10 +00:00
Mark Vejvoda a23a9396c2 - added new over-ridable minimum spacing between buildings for the AI player 2012-04-02 16:11:13 +00:00
Mark Vejvoda d16396db0a - more save / loadgame bugfixes 2012-04-02 15:17:31 +00:00
Mark Vejvoda 5b5d753341 - bugfixes for save / load game bugs reported 2012-04-02 15:02:44 +00:00
Mark Vejvoda f80e440713 - added a bunch of new commandline commands to display lists of different kinds of installed game data:
--list-maps
--list-techtrees
--list-scenarios
--list-tilesets
--list-tutorials
2012-04-02 06:07:32 +00:00
Mark Vejvoda 0254f8a507 - added ability for 'air' and 'land' to be internationalized in the lng files:
FieldAir=Air
FieldLand=Land
- next step is to make a way for tilesets to have lng files (like scenarios)
2012-04-02 02:07:32 +00:00
Mark Vejvoda fce4d55dd5 - better error handling, try to display proper error message and restore state as best as possible 2012-04-02 01:45:13 +00:00
Titus Tscharntke 7f0aaebf50 XML option to hide a resource from the HUD 2012-04-01 19:42:59 +00:00
Titus Tscharntke 874b1a5049 In non network games the game is paused automatically if a menu/message is raised. I am not sure if I should do this for scenario messages too? 2012-04-01 18:23:26 +00:00
Mark Vejvoda 3d386936dc - updated loading games to translate tutorials and scenario paths 2012-03-31 20:58:33 +00:00
Mark Vejvoda 74910ea0b2 - bugfix for loading saved scenario 2012-03-31 20:33:56 +00:00
Mark Vejvoda 152e83399d - added a new lua method isUnitAlive(unitId) 2012-03-31 20:17:19 +00:00
Titus Tscharntke 0c16882d0a fix for "The last wave"-problem in amazon(light) scenario 2012-03-31 20:02:49 +00:00
Mark Vejvoda 2f885406e0 - added logic to delay AI player from path finding more than 10 units per frame (we make him think he is blocked and he will retry another frame) 2012-03-31 19:50:45 +00:00
Titus Tscharntke 45ff24dbd7 new switch "count-kill-for-unit-upgrade" if a unit has set this switch to false , killing it does not count up the number of kills of the attacking unit. 2012-03-31 10:14:42 +00:00
Mark Vejvoda 31f0c18653 - better error handling in menus 2012-03-31 08:28:42 +00:00
Mark Vejvoda c73244ca92 - fixed bug for network scenarios where first slot is not human (closed network slots) 2012-03-31 06:05:20 +00:00