Commit Graph

120 Commits

Author SHA1 Message Date
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
Titus Tscharntke 4269b23c02 Mod menu tells you a bit more about mod states. Never versions of Mods are NOT indicated yet. Hopefully this is the next step. 2011-08-31 21:51:46 +00:00
Titus Tscharntke 9ef8c82441 extra team color markers ( by default use * to toggle/switch on ) 2011-07-06 22:02:38 +00:00
Mark Vejvoda 50347b0a66 - cleanup of font work:
- removed uneeded code
  - set default scale font value to 0.8 to fit nicely on screen
  - added two new optional settings for ini or lng files to control scale and y centering:
  FONT_SCALE_SIZE=0.8
  FONT_SCALE_CENTERH_FACTOR=3.0
2011-07-02 01:56:06 +00:00
Mark Vejvoda 1b72bcafe8 - i think this fixes the y centering for all resolutions, after testing we can remove lots of unused properties and code 2011-07-01 01:18:47 +00:00
Titus Tscharntke baea45cae8 no fun with fonts 2011-06-29 23:48:48 +00:00
Mark Vejvoda ebd5bca7fe - attempt to fix 'blurry fonts' 2011-06-28 06:18:24 +00:00
Mark Vejvoda 945c2aa66b - some font bugfixes (use proper fonts in menus and also proper spacing in console) 2011-06-28 00:51:13 +00:00
Mark Vejvoda 4b6bc7a4a7 - loads of changes in order to prepare for better input (not using char but SDLKey instead) 2011-06-26 01:55:08 +00:00
Mark Vejvoda 752dd26bcd - some small font centering adjustments 2011-06-12 01:32:02 +00:00
Mark Vejvoda f1aa231e4b - bugfixes for font display:
- workaround for a bug in freetype in some cases
  - better handling on different resolutions
  - new commandline option to override screen resolution settings
2011-06-11 08:52:49 +00:00
Mark Vejvoda f65bfe8710 - added some bug fixes to check if lng files are utf-8 or not and deal with it appropriately 2011-06-08 07:18:06 +00:00
Mark Vejvoda c808a5661a - added freetype2 / FTGL support 2011-06-06 21:38:25 +00:00
Mark Vejvoda 879aaa7fe8 - added russian language (thanks Strannik)
- updated fonts to better handle non ascii languages (russian and ukraine display much better with more native fonts)
2011-05-25 19:03:22 +00:00
Mark Vejvoda e221011af2 - bugfixes so that the mingw compile builds 2011-05-24 22:51:45 +00:00
Mark Vejvoda 1f1c0f34a3 - do not show error type message when checking existence of language values 2011-05-24 03:44:54 +00:00
Mark Vejvoda 1085f24c6f - more updates to handle unicode (most of the focus was getting tools working in windows using non ascii file paths) 2011-05-23 19:23:00 +00:00
Mark Vejvoda 60b8093f5b - attempt to get non ascii file paths working in megaglest (Japanese etc...) 2011-05-18 21:49:11 +00:00
Mark Vejvoda 8c59da57cd - bugfixes to install related files to fix:
- missing glest.ini during make install (this file is handled by the data install)
 - properly handles destdir for all installed files
 - customizable paths for all installation destinations (the following can now be set):
   		MEGAGLEST_BIN_INSTALL_PATH   -  "bin/"  -  "The installation path for binaries (this is appended to the CMAKE_INSTALL_PREFIX)")
		MEGAGLEST_DATA_INSTALL_PATH  - "share/megaglest/"  -  "The installation path for data files (this is appended to the CMAKE_INSTALL_PREFIX)")
		MEGAGLEST_DESKTOP_INSTALL_PATH  - "share/applications/"  - "The installation path for desktop files (this is appended to the CMAKE_INSTALL_PREFIX)")
		MEGAGLEST_ICON_INSTALL_PATH  -  "share/pixmaps/"   - "The installation path for icon files (this is appended to the CMAKE_INSTALL_PREFIX)")
		CUSTOM_DATA_INSTALL_PATH  -  "'\\\"${CMAKE_INSTALL_PREFIX}/${MEGAGLEST_DATA_INSTALL_PATH}\\\"'"   -  "The FULL installation path for data files (this is build automatically by combining CMAKE_INSTALL_PREFIX and MEGAGLEST_DATA_INSTALL_PATH)")
- Fixed startup scripts for tools (remove bin folder)
- Fixed source and data tarball scripts to include required files (missed the proper main ini files)
- Debian can now easily package up megaglest and build deb files
2011-05-14 17:31:40 +00:00
Mark Vejvoda fab36598b1 - lots of updates including:
- cmake system changes (after doing a make you may go: sudo make install to install in standard linux paths)
- updates to various pathing in order to more robustly support lhs

*WARNING, Linux dev's should run cmake like the following to avoid pathing issues as the default now is lhs paths:
cmake -DCMAKE_INSTALL_PREFIX= ..    (notice the SPACE before the ..)
2011-05-03 23:34:25 +00:00
Mark Vejvoda 700e768b0f - changed default command display text to be same as 3.4 but with support to override and show queued commands up to a max of: MaxQueuedCommandDisplayCount=x where x is max queued text to show
- added ini support on linux so it by default looks for glest.ini and glestkeys.ini in /usr/share/megaglest and /usr/local/share/megaglest first
2011-05-01 03:12:36 +00:00
Mark Vejvoda 4d2422bb57 - added extra info in error text for language strings 2011-04-26 16:02:34 +00:00
Mark Vejvoda 4a27e75891 - initial work to support multi-language text messages 2011-04-05 18:39:47 +00:00