Commit Graph

142 Commits

Author SHA1 Message Date
Titus Tscharntke
69f4294950 playing a sound for quick highlight pointer(marker) 2012-07-15 21:01:56 +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
076a2a5218 - bugfix to check main game data folder for videos 2012-06-01 04:11:31 +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
aa2174a101 - support streaming videos from youtube etc 2012-05-21 18:32:53 +00:00
Mark Vejvoda
0d38e2eb5d - added support for main menu background video 2012-05-19 08:40:49 +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
0120c5211a - added a default translation file for techtrees, <techtreename>_default.lng 2012-05-03 14:43:28 +00:00
Mark Vejvoda
897346d1f5 - added the beginning work to support translatable techtrees 2012-05-02 20:46:47 +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
c8fdc9269f - fix win32 build
- cleanup a lot of win32 compiler warnings
2012-04-16 20:15:57 +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
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
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
Mark Vejvoda
3d386936dc - updated loading games to translate tutorials and scenario paths 2012-03-31 20:58:33 +00:00
Mark Vejvoda
f3df72bb14 - added a new function to correct some file paths when loading a saved game from another persons computer (may need more tweaking)
- added support for saving and loading tables from Lua
2012-03-29 18:14:25 +00:00
Mark Vejvoda
b481fbcbb5 - proper save and restore for particles 2012-03-19 21:35:54 +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
3eeb1ddea4 - added option to specify which game to load when loading a saved game.
- added a hotkey to save games any time during game play (F11). This saves files with a timestamp
- we now keep track of the last game the user saved and if commandline does not specify a game to load it uses the last saved game
2012-03-15 15:57:21 +00:00
Mark Vejvoda
c5331b7e8a - initial work to save game state to XML. Current only saves when out of synch or game end occurs and saves to same folder as log files and file is called: megaglest-saved.xml
(Currently we store way too much info but this is a starting point)
2012-03-10 03:27:25 +00:00
Mark Vejvoda
ff4c327261 - bugfix for custom data path macro usage to avoid compiler errors 2012-01-24 07:39:16 +00:00
Mark Vejvoda
f40c37f5e8 - ported bugfixes for 3.6.0.3 release:
- CMake build system fixes applied during debian testing (like checking for compiler SSE support etc)
 - Windows client fix for headless server operation
 - Crash for some systems when trying to use VBO's
 - Fixed AZERTY keyboard support
 - Enhanced support for screenshots in g3d viewer
 - Updated particle code from titi
 - Bugfix for custom data path override causing compiler error
 - Bugfix for fontconfig to properly find fonts on systems that support and have fontconfig installed (fixes numerous non debian based systems that reported null font errors)
 - Minor UI fix on battle end screen when playing 8 players (last player was sometimes chopped off)
2012-01-23 07:22:43 +00:00
Mark Vejvoda
9852325da6 - fixed Martiño Figueroa's name in all copyrights in source code
- added copyrights to files that were missing it
2011-12-14 07:40:48 +00:00
Mark Vejvoda
049b2952f2 - bugfix for invalid language setting in userini
- added debug info to track down tomreyn's issue
2011-12-05 00:02:32 +00:00
Mark Vejvoda
6c945a4aa6 - admin connected to a headless server can now restore auto saved game settings 2011-12-03 08:17:49 +00:00
Mark Vejvoda
46d68b8d50 -updated so all languages can take default values from the default language 2011-12-03 03:35:36 +00:00
Mark Vejvoda
3f69da1f62 - do NOT output missing language text messages in headless mode 2011-12-02 22:24:47 +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
8ccd238fcf - language order sorted by english filename 2011-12-01 00:20:14 +00:00
Mark Vejvoda
6937785f22 - now display native language name in options menu 2011-11-30 23:35:54 +00:00
Mark Vejvoda
115ef63f57 - hardened code for standalone mods 2011-11-23 19:12:06 +00:00
Mark Vejvoda
aefdfd98f8 - added new commandline option to support whole standalone mods: --load-mod=x 2011-11-23 18:02:00 +00:00
Mark Vejvoda
5bb270fe41 - all languages now define their sio639-1 code and the commandline option can take it now:
--use-language=en
2011-11-19 03:33:01 +00:00
Mark Vejvoda
043cd5789c - default to english is a selected language is missing 2011-11-15 18:38:13 +00:00
Mark Vejvoda
41ae17757b - just for you james! Fixed about screen text alignment
- re-enabled unit titles in special debug mode (requires special keys to toggle)
2011-11-15 04:48:57 +00:00
Mark Vejvoda
7c7c050d78 bugfix for intro 'still shots' were broken for beta1 2011-11-14 09:09:31 +00:00
Titus Tscharntke
cbdde66999 we dont need to be too picky with translations which are mainly meant for logfiles 2011-11-04 01:12:05 +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
Titus Tscharntke
5caf2ee82f new default multiplier .... AI is playing too good now 2011-11-02 00:34:59 +00:00
Mark Vejvoda
bb25e0ec79 fix for macosx 2011-11-01 21:47:34 +00:00
Mark Vejvoda
9848a6c529 - bugfix for windows compiling 2011-10-25 20:34:13 +00:00
Mark Vejvoda
50adfb3305 - added ability to switch languages from nearly anywhere (and new hotkeys to do so):
CTRL+L shows language popup selection, CTRL+SHIFT+L toggles to next language automatically
2011-10-25 18:39:11 +00:00
Mark Vejvoda
af2abb57b8 - added experimental new intro for Megaglest. Its easy to revert back to original but i think its time we had some new music and intro pics 2011-10-07 17:21:09 +00:00
Mark Vejvoda
e740775735 - bugfix for ini on windows (and added console output in verbose mode 2011-10-04 21:14:33 +00:00
Mark Vejvoda
f718cd25d0 - added the ability to have platform specific main ini files for windows and linux for easier standalone mod packaging 2011-10-04 20:41:33 +00:00
Mark Vejvoda
2a86cb4f7d - added support for proper quiting and console input/output in headless mode. Type: quit followed by return into the console to properly shutdown in headless mode. 2011-09-27 10:16:09 +00:00
Mark Vejvoda
c68aa74fcf - more updates for headless mode (try to avoid using opengl completely), server now runs at around 20 MB RAM at game start. 2011-09-27 05:29:57 +00:00
Mark Vejvoda
2e9ca4c0f5 - bugfix to support \n in scenario and tutorial lng files 2011-09-16 03:17:49 +00:00
Mark Vejvoda
34ae6bda1a - search in binary folder first for ini 2011-08-31 22:40:29 +00:00