- don't render anything
- disable sounds in headless mode
(still need to add code to see if we can avoid loading models and graphics to make memory usage much smaller)
The first client that connects to the server is the administrator and is able to change most settings and launch the game. Still lots of work to do but this is a start.
- 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
- workaround for a bug in freetype in some cases
- better handling on different resolutions
- new commandline option to override screen resolution settings
- 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
- 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 ..)