Commit Graph

835 Commits

Author SHA1 Message Date
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
Mark Vejvoda f7d9cd50a6 - added more safety code arouind SDL threads in case we get failures from SDL itself 2010-08-27 03:40:54 +00:00
Mark Vejvoda 0504ea3b97 - bugfix for particles when they finish 2010-08-27 03:06:28 +00:00
Mark Vejvoda a4e75417e4 - added safety check to thread execution 2010-08-27 03:00:57 +00:00
Mark Vejvoda 773bc8659f - extra hardening of connecthost commandline parameter 2010-08-27 02:51:31 +00:00
Mark Vejvoda eb9b5a4ec6 - bigfixes for game data check 2010-08-26 23:45:29 +00:00
Mark Vejvoda 90f66d99bf - updated game data checks display on server 2010-08-26 23:14:55 +00:00
Mark Vejvoda f765ab0880 - updated game data mismatch display 2010-08-26 23:04:14 +00:00
Titus Tscharntke 8884c32e78 version string "light" 2010-08-26 23:01:55 +00:00
Mark Vejvoda ddf4fca0bf - another change to game data packet length for the sake of cheesy windows 2010-08-26 22:29:48 +00:00
Mark Vejvoda 9bacf0abea - added a better detection of threads statuses 2010-08-26 22:13:41 +00:00
Mark Vejvoda 1058065ce7 - changing the max filecount lower to avoid stack overflow due to array taking > 1MB 2010-08-26 20:28:26 +00:00
Mark Vejvoda 169234b80f - added more safety checks in broadcast socket thread 2010-08-26 19:50:18 +00:00
Mark Vejvoda f3278c3cf3 - bugfixes for stack overflow issue (static array size too large causing chkstk errors) 2010-08-26 19:01:44 +00:00
Mark Vejvoda d2f4b49f27 - fixed windows compiler flag for debug mode to include RTTI 2010-08-26 17:41:42 +00:00
Mark Vejvoda 4ebd156828 - added new commandline parameter to display the version of SDL used by the program 2010-08-26 16:03:54 +00:00
Mark Vejvoda c5624d8662 - bugfix for newer gcc compiler that freaks out on using static ints as a parameter to stl's min and max functions 2010-08-26 15:00:50 +00:00
Mark Vejvoda 979a6ddb09 - fixed compile issues for tomreyn 2010-08-26 14:48:04 +00:00
Mark Vejvoda 8274ff1efb - windows compile bugfixes 2010-08-26 05:43:08 +00:00
Mark Vejvoda db173d0fdd - bugfixes for network playername inline editing in the lobby during a slot switch 2010-08-26 05:30:17 +00:00
Mark Vejvoda 6fcf4295f1 - updated techree validation output 2010-08-26 04:31:48 +00:00
Mark Vejvoda 58b23f8b91 - added more validation to the techtree validator (make sure that a unit that can build another unit, the unit to be built must have a be_built_skill 2010-08-26 04:17:09 +00:00
Mark Vejvoda a64fa69d02 - bugfixes for experimental game data synch check in lobby
- added a fix for socket sending when the send buffer is full and we have more data to send
2010-08-26 03:15:36 +00:00
Mark Vejvoda e5678be10c - bugfixes for experimental game data synch check in lobby
- added a fix for socket sending when the send buffer is full and we have more data to send
2010-08-26 02:36:17 +00:00
Mark Vejvoda 5fb040c9f1 - Fixed bug related to particles not updating smoothly 2010-08-26 01:25:27 +00:00
Mark Vejvoda 5a796444b8 - added a cache for compute fog of war 2010-08-25 23:55:59 +00:00
Mark Vejvoda 0ef23749b8 - allow non visible particles to fade out when its time to do so 2010-08-25 19:46:22 +00:00
Mark Vejvoda 3ee7fc902c - changed update and camera update fps to original values 2010-08-25 19:21:11 +00:00
Mark Vejvoda 5e20ab5808 - updated to allow dynamic changing of updatefps and camerafps 2010-08-25 18:26:17 +00:00