Commit Graph

64 Commits

Author SHA1 Message Date
Will 6afadafa1e Start to abstract model 2013-12-05 16:17:41 +01:00
Mark Vejvoda ab64b9343f - updated to support building with clang compiler (And cleaned up clang warnings from initial compile). Edit build-mg.sh and read the clang section as to how to build. 2013-11-19 21:57:28 +00:00
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 3fb957a13e more vc++ compiler warning cleanup 2013-11-02 22:58:00 +00:00
Mark Vejvoda d2ba7b163b a little refactoring of function names in language class 2013-10-29 06:13:38 +00:00
Mark Vejvoda ad0fb1d6f7 cleaned up code based on feedback from cppcheck 2013-10-25 05:45:54 +00:00
Mark Vejvoda 9bc6d33f1d - bug fixes to stabilize the windows build 2013-02-09 06:57:05 +00:00
Mark Vejvoda df51816eb5 - remove unused code as debian flagged it as a warning 2012-11-12 04:32:01 +00:00
Mark Vejvoda 847f97a048 - try to force focus on main window at startup 2012-11-11 05:31:11 +00:00
Mark Vejvoda 5c15a0e9f4 - cast to unsigned int for all calls to srand 2012-10-30 17:12:04 +00:00
Mark Vejvoda 69b5f9b39c - added guard for intro randomization to avoid forever loop 2012-10-30 17:07:29 +00:00
Mark Vejvoda fc07549761 - allow connected client to see extraction process 2012-10-15 08:09:28 +00:00
Mark Vejvoda 5e42c6dc03 - loads of code cleanup based on verbose output from the latest git version of cppcheck 2012-10-06 07:06:40 +00:00
Mark Vejvoda 97ba1a27e2 - cleaned up some warnings from VC++ compiler 2012-10-06 02:40:24 +00:00
Mark Vejvoda 4e195e10af - updated random seed generation to be more random 2012-09-27 06:42:57 +00:00
Mark Vejvoda c33c1826ae - proper implementation of video repeat (looping) 2012-09-27 01:17:57 +00:00
Mark Vejvoda 61256fe999 - play intro music as soon as possible 2012-07-27 19:22:57 +00:00
Mark Vejvoda 8d6cdfb5db - tomreyn broken the intro text centering but adding empty intro text properties, so i commented the properties out
- added more info / safer logic to center text
2012-07-26 06:47:59 +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 0fac755a5e - video player now displays 'please wait' while loading the video 2012-05-23 19:59:52 +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 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 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 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 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 1ac9aa6d3f - fixed xml loading via rapidxml for some scenarios that had embeddex xml comments in lua
- added automation abilities for automated testing with automated saved games
2012-03-17 08:20:17 +00:00
Mark Vejvoda 3eba87727c - bugfixes for headless mode, map selection logic was broken for admin user
- during in game, if admin user disconnects, server re-assigns a new admin user so paused game can be unpaused by a new administrator
2012-03-03 04:33:39 +00:00
Mark Vejvoda 835c886705 - few tweaks to get things compiling under mingw 2011-12-25 03:09:39 +00:00
Mark Vejvoda 8a5d4463a6 - fixed bug in sdl where it doesn't always give the correct key modifiers.
- can now press alt-enter on intro screen
2011-12-03 04:58:36 +00:00
Mark Vejvoda 8bdf863636 - cleanup of masterserver global flag
- attempt to cut down on resources required for masterserver mode to minimize RAM
2011-12-02 22:04:02 +00:00
Mark Vejvoda 66f44ff7c4 - more cleanup from cppcheck (using eclipse plugin now) 2011-12-02 17:46:02 +00:00
Mark Vejvoda d33e1174a5 - bugfixes related to cppcheck report
- bugfixes found using valgrind (memory leaks)
2011-12-02 16:07:59 +00:00
Mark Vejvoda 1658306b59 - fixed debug output font position --> just for you james! 2011-11-28 05:54:31 +00:00
Mark Vejvoda d381f69a0e - bugfix for intro pictures to show
- updated czech language text (thanks Uncle)
2011-11-25 05:59:55 +00:00
Mark Vejvoda 115ef63f57 - hardened code for standalone mods 2011-11-23 19:12:06 +00:00
Mark Vejvoda 0dacf7b439 - bugfix for keydown event in intro and battle end screens (missed htis when converted to SDL keys) 2011-11-21 19:00:20 +00:00
Mark Vejvoda 0b18d22700 fix for wrong path used to load overridden intro data 2011-11-03 14:23:21 +00:00
Mark Vejvoda 30e1f45cc7 - intro is now fully translatable and configurable (see english.lng file at the bottom for intro strings)
- added game loading text strings to language file
- ONLY load the font type we are using
2011-11-02 17:17:28 +00:00
Mark Vejvoda 927a0db45e try new intro song (edited so timing is better). Also added debug timer on intro screen, add the following to ini: ShowIntroTiming=true 2011-10-22 08:40:31 +00:00
Mark Vejvoda 9135b6155d fix legacyfont on intro and changed linux default legacy font to arial since helvetica is not working on ubuntu 2011-10-22 03:13:23 +00:00
Mark Vejvoda e64bd1bf6e updated intro to add extra text and proper centering of text 2011-10-22 03:01:22 +00:00
Mark Vejvoda c40ca18966 - added commented out code for loading md5 models (and obj format models) on intro page 2011-10-18 07:10:19 +00:00
Mark Vejvoda 3b382c67e9 - added 3rd possible intro song (not active in xml), moved intro models animation speed into menu xml 2011-10-12 05:37:54 +00:00
Mark Vejvoda 50ce6eb1ea - updated intro with better timing and multiple models. Updated menu background model as well and about screen to show megapack units. 2011-10-12 05:24:30 +00:00
Mark Vejvoda df22657b54 - updated regular settings for original intro so timing is correct 2011-10-07 20:53:36 +00:00
Mark Vejvoda e090df259d - bugfix for font height calc
- updated intro
2011-10-07 19:53:07 +00:00