1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00
vcmi/client/battle
Arseniy Shestakov 18161d3688 Client: implement spectator mode via command-line options
If running with --spectate/-s CPlayerInterface will appear even without human players.
Following command-line options also available:
 --spectate-ignore-hero
 --spectate-hero-speed=N
 --spectate-battle-speed=N
 --spectate-skip-battle
 --spectate-skip-battle-result
Boolean options can also be changed in runtime via client console:
 set spectate-ignore-hero on / off
Spectator mode also:
 - Work with --onlyAI option when starting game or loading saves.
 - Allow to use any cheat codes.
 - Give recon on towns and heroes.
2017-06-06 07:30:16 +03:00
..
CBattleAnimations.cpp Fixed CID 1375687 2017-05-28 14:40:36 +03:00
CBattleAnimations.h Add "override" to virtual overriden methods 2015-10-13 21:05:36 +03:00
CBattleInterface.cpp Client: implement spectator mode via command-line options 2017-06-06 07:30:16 +03:00
CBattleInterface.h Client: implement spectator mode via command-line options 2017-06-06 07:30:16 +03:00
CBattleInterfaceClasses.cpp Client: implement spectator mode via command-line options 2017-06-06 07:30:16 +03:00
CBattleInterfaceClasses.h Remove max mana info leak + tiny refactor 2016-09-28 00:20:45 +02:00
CCreatureAnimation.cpp Fixed memory leak in CCreatureAnimation 2016-08-30 05:38:56 +03:00
CCreatureAnimation.h Refactoring: always use std prefix for shared_ptr, unique_ptr and make_shared 2015-12-29 05:43:33 +03:00