Commit Graph

170 Commits

Author SHA1 Message Date
Mark Vejvoda
fba29d3002 - added new menu option to toggle on / off observers 2010-09-04 01:24:17 +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
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
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
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
Mark Vejvoda
ca49e0ba68 - attempt to fix multi-build 2010-08-31 23:14:15 +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
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
db25b5391e - added in-game sound toggle hotkey (thanks Nebososo) 2010-08-28 03:41:17 +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
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
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
855443d98f - added a lookup cache for unit updater's frequently called unitOnRange logic 2010-08-25 07:29:35 +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
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
Mark Vejvoda
cce338a2c6 - atempt to squeeze some extra rendering performance 2010-08-21 18:50:56 +00:00
Mark Vejvoda
455876a3c0 - added the ability to change your playername from the game lobbies inline 2010-08-21 13:04:52 +00:00
Mark Vejvoda
34ff4bb2e7 - changed messagebox back to normal color and fixed lua displaytext to NOT fade 2010-08-11 23:07:18 +00:00
Mark Vejvoda
a28a20fd77 - updated messageboxes and lua script messages to use selected font color 2010-08-11 22:31:26 +00:00
Mark Vejvoda
175137631d - network and debug text now use selected text color 2010-08-10 21:41:07 +00:00
Mark Vejvoda
3f06f0133c - fixed placement of debug and network status text 2010-08-10 21:34:27 +00:00
Mark Vejvoda
a2e1b5fd57 - added a code warning comment to avoid memory issues in the future 2010-08-10 05:03:06 +00:00
Mark Vejvoda
17ce7b8c71 - bugfix for ultifd's unit particle cleanup issues causing unknown error during game end 2010-08-10 04:56:35 +00:00
James McCulloch
3d482ca366 * fix (work-around) for apparent MSVC bug, in AStarNode::operator<()
* removed some unused pathfinder stuff, and const-ified some other stuff
 * RoutePlanner is used in scenarios (for testing purposes...)
2010-08-08 04:43:24 +00:00
Mark Vejvoda
d280eefcce - moved placement of network status so you can view both network status and debug info 2010-08-07 22:49:52 +00:00
Mark Vejvoda
a5bf684493 - more network fixes to make lag and disconnects more stable
- changed the way the game end logic happens to try to make it more stable
2010-08-07 04:49:06 +00:00
Mark Vejvoda
dfeea6fc0a - another attempt to fix ultifd's game end issue 2010-08-06 03:55:17 +00:00
Mark Vejvoda
860b00df44 - a better attempt to safely end games and hopefully fix the delete cells bug once for all 2010-08-04 18:49:11 +00:00
Mark Vejvoda
c63283ffac - another attempt to fix game end crash for ultifd 2010-08-04 16:56:24 +00:00
Mark Vejvoda
7fda7a1d1a - attempt to fix network game end crash (on windows) 2010-08-02 04:18:03 +00:00
Mark Vejvoda
4e8fdc105c - attmpt to auto-create the screens folder at startup to avoid crashes when folder is missing and users try to take a screenshot. 2010-08-02 03:15:11 +00:00
Mark Vejvoda
4336ae3e37 - added new commandline param --validate-techtrees which will be used to check for known problems in the techtrees for an installation 2010-07-30 07:51:39 +00:00
Mark Vejvoda
6d3f6dcaf4 - added some logging when quitting a game
- another feeble attempt to fix windows game end crashes
2010-07-29 22:08:45 +00:00
Mark Vejvoda
5686e8657c - fixed special keys to be ignored also in menus when in chat mode 2010-07-29 15:49:06 +00:00
Mark Vejvoda
8feaebb503 - added caching for computeVisibleQuad
- fixed bug when in chat mode and the deub view toggle key was intercepted
- added less than operators
2010-07-29 05:24:51 +00:00
Mark Vejvoda
ff586afd0d - some final updates to get the new pathfinder working after adding multi-pathing support 2010-07-21 22:05:50 +00:00
Mark Vejvoda
bca03b0c0c - initial changes to support multiple path finders 2010-07-21 18:21:40 +00:00
Mark Vejvoda
a3ec4650c4 - moved pause for lagged clients option to custom game menu
- bugfix to ignore 0.* ip addresses
2010-07-16 16:53:19 +00:00
James McCulloch
8387ed29dc * wired up RoutePlanner/Cartographer
* added DebugRenderer (mostly dysfunctional)
 * add lots of OutputDebug calls for the path finder, as macro PF_TRACE
2010-07-13 05:33:43 +00:00