808 Commits

Author SHA1 Message Date
mathusummut
35b7b1f1a6 Fixed the god-awful indentation 2018-05-06 00:01:36 +02:00
Jammyjamjamman
cf3a2242a6
Removed unnecessary template usage. 2018-03-04 19:36:45 +00:00
Andy Alt
a8255e5c97
[closes #13] enhanced observer mode additions and cleanup (#45)
* additions and cleanup [skip ci]

* disallow observers to change their faction and team [skip ci]

* disable observer slots from admin control

* when checkboxObserversAllowed is toggled, update correctly

* Also adjusted the labels better

* when scenario is checked, observer mode is disabled and extra slots are
closed

* attempted to add a feature that would allow the admin to change to a
different slot (doesn't work yet)

* graphics still needs some adjustment

* host can not go to a slot > mapInfo.maxPlayers
2018-02-05 16:01:29 -06:00
SoftCoder
ab3b70f36a - fix windows build and better automation for building steam shim 2017-10-09 23:53:43 -07:00
SoftCoder
588ec21d8a - more cppcheck cleanup, AND some new inernal steam commandline parameters to reset stats and enable debugging 2017-10-09 23:09:52 -07:00
SoftCoder
865a665bf0 - round 2 of cppcheck code cleanup 2017-10-09 20:21:14 -07:00
SoftCoder
26581a77d2 - first round of cleanup from cppcheck report 2017-10-09 19:09:36 -07:00
SoftCoder
9b0a04f126 - try slightly different way to protect mutex list 2017-10-07 11:48:34 -07:00
SoftCoder
9274f2b5e2 - try to fix a memory leak 2017-10-07 11:14:26 -07:00
SoftCoder
a413fb5c31 - attempt to protect cache manager mutex creation behind a static mutex 2017-10-07 11:04:52 -07:00
SoftCoder
b34003b4a5 - enable using steam statistics to save players network based game end game stats to steam 2017-10-07 02:40:34 -07:00
SoftCoder
36bc6a4497 - initial work to integrate theam SDK with megaglest 2017-09-23 17:15:44 -07:00
SoftCoder
5d0f5013fd - allow using new cmake var for finding glest.ini called MG_CMAKE_INSTALL_PREFIX to solve issue #167 2017-09-22 23:21:40 -07:00
filux
ef1c26d931 improved formatting of '--help' output in a way to be more friendly for help2man 2017-04-01 14:53:34 +02:00
titiger
2133b8fd07 show megaglest version in irc WhoIS 2017-03-11 23:57:44 +01:00
andy5995
b158d0cbbb change "scenario" to "tileset"
Geany auto-removed some whitespace. The only code change
here is on L326.

The mention of "scenario" was already used for the
--validate-scenario option. It's duplicated under
the --validate-tileset option. This patch corrects that.
2017-02-25 00:59:37 -06:00
SoftCoder
8195121fca - Check for packaged streflop and use it before using embedded copy 2017-02-05 16:48:50 -08:00
titiger
f3c436b67f force playing important sounds
see issue #144
2017-02-02 02:54:29 +01:00
SoftCoder
6f350d6319 Fix issue #116 - when fonts deleted and reloaded signal back immediately to all registered controls to refresh their font 2017-01-30 11:20:01 -08:00
titiger
cc64196c6b alt+enter #138
Fast toggle on alt+enter and key repeat are different things.
This here should fix the alt+enter issue.
2016-11-09 23:25:59 +01:00
titiger
6c2f722f30 reverting some things related to alt+enter
real reason is false behaviour of static bool isUnprintableChar().
More tests needed.
2016-11-09 00:09:55 +01:00
titiger
4a85b17794 fiddling around with #138 2016-11-06 22:00:51 +01:00
titiger
0c3c636064 Trying to fix the fast fullscreen/windowed toggling 2016-11-06 18:24:11 +01:00
Monwarez
79e00dfcad Don't init force feedback if not used 2016-10-28 17:33:38 +02:00
SoftCoder
c3db863434 - attempt to see if this fixes issue# 111 2016-06-01 20:31:46 -07:00
SoftCoder
ad4314fb29 - move linux network interface names into ini file for easier management in the future 2016-06-01 20:16:34 -07:00
SoftCoder
56494f3cd2 - finally fixing issue #102 (bad cell visible handling when fog of war turned off) 2016-05-27 16:15:27 -07:00
SoftCoder
d6dbb187cc - fixed some bugs discovered by coverity scan 2016-01-20 21:34:23 -08:00
SoftCoder
1f8096ff81 - finally foudn and fixed color picking crash! 2016-01-18 23:25:31 -08:00
SoftCoder
472e8bbaf0 - try to fix auto_ptr proxy for msvc 2016-01-18 16:28:05 -08:00
SoftCoder
0d8377d6b4 - try to fix mac build 2016-01-18 15:29:16 -08:00
SoftCoder
b50fe04e0a - try to fix mac build 2016-01-18 14:36:51 -08:00
SoftCoder
d5f915f3aa - fix silly mac build 2016-01-18 14:10:48 -08:00
SoftCoder
86a59859b9 - atempt to cleanup use fo auto_ptr 2016-01-18 13:20:49 -08:00
SoftCoder
74da39e83e - attempt to avoid crash if color picking index is larger than buffer, increase it 2016-01-16 21:49:36 -08:00
titiger
8dd7cb21e8 Merge pull request #60 from titison/feature/mapPreviewWithSpecificTileset
Specific Tileset with preview-map option
2016-01-09 19:28:21 +01:00
SoftCoder
d1d5780ffd - cleanup warning missed return value default 2016-01-06 16:20:30 -08:00
SoftCoder
c25867b5d8 - try to fix mouse pointer for issue #94 2016-01-04 20:56:48 -08:00
SoftCoder
03f5455eb2 Merge branch 'develop' of github-softcoder-megaglest:MegaGlest/megaglest-source into develop 2016-01-04 17:33:04 -08:00
SoftCoder
e21b2506d6 - try to fix issue #104 2016-01-04 17:32:34 -08:00
titiger
f3e96a64c1 new parameter --server-title
see issue #95
2016-01-03 16:31:05 +01:00
SoftCoder
57f0b44ad3 - bugifx for static cached hostname, moved to higher scope to avoid sometimes random crashes 2015-12-31 16:48:55 -08:00
SoftCoder
eb15f8d701 - add compressed network messages for nmtLaunch and nmtBroadCastSetup (not backward compatible) 2015-12-31 13:12:26 -08:00
SoftCoder
16a11d6a6f - change sdl mutex name to new sdl2 name 2015-12-28 23:51:19 -08:00
SoftCoder
c1144ad9d7 - attempt to speed up mutex lock / unlock 2015-12-28 23:06:12 -08:00
SoftCoder
64139523d4 - attempt to inline some mutex funcrtiosn for beter performance 2015-12-28 21:17:09 -08:00
SoftCoder
15d5a9bbd6 - bug fixes for non C++x11 compilers for using chrono 2015-11-21 11:45:52 -08:00
SoftCoder
49ae35e7cf - thread safe localtime and hopefully back to good performance 2015-11-21 11:30:23 -08:00
SoftCoder
f97e8d5fc3 - clipboard working now for utf8 2015-11-11 21:52:22 -08:00
titiger
dbee447a9a eventSdlKeyDown
Give the real SDL_KEYDOWN to the Window/Program states.
This fixes issues with group keys and SDL2.
2015-10-30 01:04:01 +01:00