Commit Graph

91 Commits

Author SHA1 Message Date
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
Mark Vejvoda
f694c745f7 - winner has a small crown under their name now :) 2011-04-05 13:34:54 +00:00
Mark Vejvoda
3b56aa4475 - performance changes... (problem found by titi) most debug calls line are skipped when the debug flag is disabled even BEFORE getting into the handledebug method.
This improves performance VERY MUCH.
2011-03-28 03:54:23 +00:00
Mark Vejvoda
ab7dc1d007 - more code cleanup from things found in valgrind 2011-03-23 05:49:38 +00:00
Mark Vejvoda
d613e5da7b - bugfix for scenarios to be able to use local content in the scenario folder 2011-03-15 23:10:00 +00:00
Mark Vejvoda
39bf1b986e - added new commandline option to convert folders of g3d models to use specified texture format
- added new utility methods and changed code to use them (like adding trailing slash on paths)
2011-03-13 08:23:43 +00:00
Mark Vejvoda
be5ac6c9e4 - bugfix for g3d viewer to work with windows openwith 2011-03-11 23:48:16 +00:00
Mark Vejvoda
f46eaa159a - bugfix for bug reported by gonana (ascii hotkeys work properly once again) 2011-03-11 06:34:59 +00:00
Mark Vejvoda
4757bd3bb8 - bugfix for user ini files whne missing, we auto-create them and set proper flags (thanks Muwum) 2011-03-11 01:22:24 +00:00
Mark Vejvoda
ee773ef96b - bugfix in connected client menu (init variables for proper techtree file xfer) 2011-03-10 22:00:59 +00:00
Mark Vejvoda
a013d9300f - cleaned up some compiler warnings 2011-03-10 18:45:05 +00:00
Mark Vejvoda
242b02c001 - added support for better user data customization and default linux path will now be ~/.megaglest/ for user related ini's and data content 2011-03-10 07:26:43 +00:00
Mark Vejvoda
2101a83a5d - added support for special tags in ini file strings in preparation for storing userdata in ~/.megaglest 2011-03-10 01:23:34 +00:00
Mark Vejvoda
5b2a6bb45f - bugfix for esc key 2011-03-08 02:07:35 +00:00
Mark Vejvoda
f07b7a3603 - more keyboard bugfixes so some special keys above 255 work 2011-03-06 23:45:46 +00:00
Mark Vejvoda
935895c89f - configurable keys can be edited in keyboard menu now 2011-03-04 22:54:04 +00:00
Mark Vejvoda
0f57fe6b92 - additional work to allow for changing hotkeys in the keyboard options menu, currently changes are not saved to file, only on screen. 2011-03-04 20:26:47 +00:00
Mark Vejvoda
d10054f1c3 - moved sound system debug into a new debugSound property to lessen the impact of regular debug logging since sound processing is now threaded and therefore logging sound system items may slow down performance
- added texture caching for faction preview textures
2011-01-26 09:09:59 +00:00
Mark Vejvoda
f6b0bd3fd7 - some ftp file transfer bugfixes and moved many strings into language file 2011-01-14 17:57:37 +00:00
Mark Vejvoda
f7d2631879 - added a few more special keys for available use as hotkeys (vkPause and vkPrint) 2011-01-03 22:22:52 +00:00
Mark Vejvoda
4de585f5b8 - bugfix for merging ini properties (missed a line of code) 2011-01-03 22:03:41 +00:00
Mark Vejvoda
21c1da2e18 - added a new commandline parameter to display merged ini settings and also to filter on a specific ini setting 2011-01-03 20:59:18 +00:00
Titus Tscharntke
d09d29f520 new default settings for ultra/easy/mega ; dansk.lng up to date ; code cleanup 2011-01-02 12:18:14 +00:00
Titus Tscharntke
13c6fb49b3 chat highlighting, and more features related to chat 2011-01-01 20:31:25 +00:00
Mark Vejvoda
48ab8b7b32 - added more socket threaded protection and output curl version if ftp transfers fail 2011-01-01 10:16:25 +00:00
Mark Vejvoda
798c88e991 - removed unreferenced variables to cleanup warnings 2010-12-31 21:11:58 +00:00
Titus Tscharntke
36c4b4c5fa internet menu updated ( work in progress ) ; checkboxes ; lines 2010-12-27 00:59:57 +00:00
Mark Vejvoda
69e0130296 - added new --verbose commandline option 2010-12-22 00:31:30 +00:00
Mark Vejvoda
8f579e735f - bugfix for new CPU multiplier constants for VC++ compiler 2010-12-11 08:00:49 +00:00
Mark Vejvoda
045c2f95e8 - added new commandline options to tell the game where to look for data, ini's and where to write logs 2010-12-09 20:41:11 +00:00