Commit Graph

735 Commits

Author SHA1 Message Date
Titus Tscharntke 716849030e cleanup menu layout ... 2010-09-04 11:49:54 +00:00
Mark Vejvoda 90a60dce3e - implemented advanced features button 2010-09-04 01:50:36 +00:00
Mark Vejvoda 8f0894e0c9 - last minute bugfix for fog of war for observers 2010-09-04 01:32:50 +00:00
Mark Vejvoda fba29d3002 - added new menu option to toggle on / off observers 2010-09-04 01:24:17 +00:00
Titus Tscharntke 939bd9b5e3 language key changed 2010-09-04 00:44:53 +00:00
Mark Vejvoda e93ac6d756 - changed observer faction to use a special team # and fog of war is auto turned off for this special team #. 2010-09-04 00:32:56 +00:00
Titus Tscharntke 72711e2fde sound toggle key for masterserver menu language is missing 2010-09-03 23:54:11 +00:00
Titus Tscharntke f101d12da6 toggle of music in custom menu while waiting for players 2010-09-03 23:15:42 +00:00
Mark Vejvoda 89510fb656 - modified debug player in game stats to use player color and larger font 2010-09-03 07:49:28 +00:00
Mark Vejvoda b778600d11 - modified debug player info to use player color font 2010-09-03 07:35:16 +00:00
Mark Vejvoda 358d61aa38 - first attempt to add a special builtin Observer faction to allow people to observe games 2010-09-03 07:12:40 +00:00
Mark Vejvoda a1eebafac6 - attempt fix smooth the shadow off / on logic when rendering slows 2010-09-03 01:50:16 +00:00
Mark Vejvoda ada90b4e27 - attempt to improve network performance and log more info regarding menu and network performance 2010-09-02 22:34:25 +00:00
Mark Vejvoda 6c30b387ec - fixed timing debug perf stats in menu 2010-09-02 22:17:14 +00:00
Mark Vejvoda 534df002ba - added more perf timings to menus 2010-09-02 21:40:43 +00:00
Titus Tscharntke e4e8beb230 better layout ( with faction preview ) 2010-09-02 19:47:09 +00:00
Mark Vejvoda 571f2cfb3c - fixed timer perf stats 2010-09-02 19:18:11 +00:00
Mark Vejvoda f5711b0949 2010-09-02 13:53:23 +00:00
Mark Vejvoda 8ca44feffc - added perf timings to main program loop 2010-09-02 13:43:44 +00:00
Mark Vejvoda 8b681e1cb9 - more bugfixes for multi-build. Added extra check for repairer / builder swap so that old builder who became a repairer will not try to start building when another unit already took over. 2010-09-02 05:38:49 +00:00
Titus Tscharntke 57f7ffe555 cleand up the menu again and fixed a bug with map filter 2010-09-01 23:15:08 +00:00
Mark Vejvoda 08ace3ca21 - fixed help msg for commandline parameter 2010-09-01 06:24:27 +00:00
Mark Vejvoda ece3319aa8 - fixed invalid commandline error msg 2010-09-01 06:07:34 +00:00
Mark Vejvoda ab42ca7ace - added new commandline option to auto-load a scenario:
--load-scenario=x
- added support for a special faction preview texture when faction preview is enabled
2010-09-01 06:05:28 +00:00
Mark Vejvoda 21ded6679f - some code cleanup for multi-build debug 2010-09-01 04:42:10 +00:00
Mark Vejvoda d6d1fe2add - bugfixes for multi-build. Now the other units are checked that they can not only build but repair too. Also those who repair now try to approach from the best angle as well as the builder. 2010-09-01 04:19:20 +00:00
Titus Tscharntke f07cbb13ad just a small change so that "all" is not needed in the language file 2010-09-01 00:25:46 +00:00
Mark Vejvoda ca49e0ba68 - attempt to fix multi-build 2010-08-31 23:14:15 +00:00
Mark Vejvoda f727c383b2 - fixed bug with server unable to start a game (sorry everyone)
- made faction texture preview an ini option: FactionPreview=true
2010-08-31 20:31:20 +00:00
Mark Vejvoda 6ce69a1e0b - added new messagebox prompt on server when data synch check enabled and data is different we stop the server from launching the game.
- added faction preview texture when users change their faction selection
2010-08-31 06:38:27 +00:00
Mark Vejvoda 135a03e95a - added NULL pointer checks in surface atlas 2010-08-31 04:39:25 +00:00
Mark Vejvoda 6c9b8afc81 - bugfix for mapfilter when saved game does not have index 2010-08-30 21:06:43 +00:00
Mark Vejvoda e32eb9c162 - modified command object to support special states which flow through network play as well. This allows for better handling of multi-unit build and allows for better future expanding of command processing. 2010-08-30 20:45:12 +00:00
Titus Tscharntke 13173788da mapFilter 2010-08-30 20:02:58 +00:00
Mark Vejvoda f16bb3f28b - some bugfixes for new LUA features 2010-08-29 06:30:41 +00:00
Mark Vejvoda 5ae0430928 - added more LUA functions:
int registerCellTriggerEventForUnitToUnit(int sourceUnitId, int destUnitId);
int registerCellTriggerEventForUnitToLocation(int sourceUnitId, const Vec2i &pos);
int registerCellTriggerEventForFactionToUnit(int sourceFactionId, int destUnitId);
int registerCellTriggerEventForFactionToLocation(int sourceFactionId, const Vec2i &pos);
int getCellTriggerEventCount(int eventId);
void unregisterCellTriggerEvent(int eventId);
int startTimerEvent();
int stopTimerEvent(int eventId);
int timerEventSecondsElapsed(int eventId);
int triggeredCellEventId();
int triggeredTimerEventId();
LUA events:
timerTriggerEvent
cellTriggerEvent
2010-08-29 04:45:15 +00:00
Mark Vejvoda 03848fc84f - added more LUA features.
new event: 
gameOver
new method:
getGameWon()
2010-08-28 22:10:34 +00:00
Mark Vejvoda 4d372c12bc - added more LUA support and fixed parameter passing of Vec2i types with streflop
New LUA methods:
DisplayFormattedText
getAiEnabled
getHungerEnabled
startPerformanceTimer
endPerformanceTimer
getPerformanceTimerResults
2010-08-28 20:52:25 +00:00
Mark Vejvoda dc5bf0f850 - bugfix for AI not losing HP when food is out
- added new LUA commands (for Tiger):
giveAttackCommand
disableAi
enableAi
disableHunger
enableHunger
2010-08-28 08:06:32 +00:00
Mark Vejvoda 4bc00cbf73 - added new calculation method when building units, builder units use best approach to build it instead of top left. 2010-08-28 03:43:14 +00:00
Mark Vejvoda db25b5391e - added in-game sound toggle hotkey (thanks Nebososo) 2010-08-28 03:41:17 +00:00
Mark Vejvoda 792150e3dd - moved the hard coded M (more chat text) hotkey to use the already defined hotkey in glestuser.ini 2010-08-28 01:52:57 +00:00
Mark Vejvoda 2ea8b69e22 - first attempt at allowing multiple units to build at the same time 2010-08-28 01:46:26 +00:00
Titus Tscharntke 4ef61fc85e menu layout changed, added 2 new feature switches for custom menu ( non functional only dummys yet ) 2010-08-27 23:08:35 +00:00
Mark Vejvoda 20a02c28ed - bigfix for windows compile 2010-08-27 23:04:59 +00:00
Mark Vejvoda a9b0f31816 - added hard coded team chat hotkey H to configurable keys
- changed dependency finder script to use only desired libs
2010-08-27 21:43:47 +00:00
Mark Vejvoda a2f013c51a - cleaned up lobby message processing 2010-08-27 20:09:55 +00:00
Mark Vejvoda 2e99f69ef1 - added an overall MAX lag counter to disconnect clients that lag beyond recovery 2010-08-27 18:53:59 +00:00
Mark Vejvoda e358df4486 - fixing more stupid windows compile issues 2010-08-27 17:25:58 +00:00
Mark Vejvoda de82843e73 - added more safety code arouind SDL threads in case we get failures from SDL itself 2010-08-27 03:46:08 +00:00