Commit Graph

2811 Commits

Author SHA1 Message Date
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