This also removes the git revision number stamping from cmake, support
for which was removed from the source code months ago.
This is to help prepare to fix#110 but doesn't fix it.
@Jammyjamjamman suspects the AI patch from commit
464860aa02 (diff-d96c21449fc203a306589b5bd1f8aaa1)
may be causing extra lag when playing mp with Windows clients.
This patch reverts most of that commit. Max expansions I set to 5, the
MG setting was 2.
If this fixes the lag, then we can consider looking at making these
changes again, but one at a time, making sure lag isn't a result before
making more changes.
Anyone can review this to learn some of the code, but I'd like to hear
feedback from Jammy before finally merging.
This allows the host of a custom game to switch himself to a slot >
mapInfo.hardMaxPlayers for the purpose of being an observer. The 10th
slot is enabled and editable (listBoxControls).
The 8 lines removed from menu_state_custom_game.cpp was some code I
tried last month and forgot to remove.
With enhanced observer mode, When a map is changed from 8 players to 4,
this switches factions 5-8 from Observer to British (used faction "0"
for the default, which translates to British in this situation) and
allows teams to be changed.
This adds a function to play a different sound when a server becomes
available.
The sound hasn't changed, but now the separate function has been added,
the sound can be changed very easily.
The ticket to create the new sound is at
https://github.com/ZetaGlest/zetaglest-data/issues/44
Can be customized by adding the variable to
$HOME/.zetaglest/glestuser.ini
closes#63
Fixes the travis build
```
/home/travis/build/ZetaGlest/zetaglest-source/source/g3d_viewer/../glest_game/global/core_data.h:132:40:
error: ‘>>’ should be ‘> >’ within a nested template argument list
FontChangedCallbackInterface *
>>registeredFontChangedCallbacks;```
This allows users to set their own sound effects using glestuser.ini
Any values from glest.ini can be used in glestuser.ini, and when in
glestuser.ini, they override the values in glest.ini.
Not yet documented.
This adds only 2 sfx, and shows how to do it.
This will change how #63 is done
This disables slots >= mapInfo.hardMaxPlayers from headless admin
control.
I forgot to check how the menu looked when connecting to a headless
server when I "completed" #13.