Commit Graph

580 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 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 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 f3278c3cf3 - bugfixes for stack overflow issue (static array size too large causing chkstk errors) 2010-08-26 19:01:44 +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 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
Mark Vejvoda 014165de69 - explicitly clear the cache. 2010-08-25 16:01:24 +00:00
Mark Vejvoda 49978632c4 - removed one lookup key from new cache as it was not required 2010-08-25 15:55:17 +00:00
Mark Vejvoda 855443d98f - added a lookup cache for unit updater's frequently called unitOnRange logic 2010-08-25 07:29:35 +00:00
Mark Vejvoda c9ca56e91b - small optimization for moving units when source and destintation position are the same 2010-08-25 00:29:56 +00:00
Mark Vejvoda c781982e57 - increased explorecells cache size 2010-08-24 23:36:23 +00:00
Mark Vejvoda 4ee98e7155 - some changes to the explorecells cache for less memory and better performance.
- updated performance logging to more easily find things in the log
2010-08-24 23:15:33 +00:00
Mark Vejvoda 39daea6d9a - bugfix for commandline parameters for validate factions 2010-08-24 19:33:10 +00:00
Mark Vejvoda 0e3c0a8d0e - disabled staggered unit updates 2010-08-24 02:49:55 +00:00
Mark Vejvoda 65cf1bfdac - attempt to lessen memory footprint of particles and speed up rendering 2010-08-24 01:21:34 +00:00