1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00
vcmi/lib
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
..
filesystem Fixed CID 1366296 2016-11-26 21:45:58 +03:00
logging Android support (#299) 2017-05-25 20:57:20 +03:00
mapObjects [Map format] more correct handling of default hero primary skills 2017-06-06 02:37:07 +03:00
mapping switch CMapService API to ResourceID 2017-06-04 22:42:48 +03:00
minizip Updated project files to MVS 2015 (in fact, it's trivial). 2016-12-12 19:14:45 +01:00
registerTypes switch CMapService API to ResourceID 2017-06-04 22:42:48 +03:00
rmg Sanity check for Coverity #1366290. 2017-05-27 21:37:05 +02:00
serializer CConnection: use std::static for port conversion 2017-06-04 16:48:04 +03:00
spells get rid of CBattleInfoCallback::battleCanCastThisSpell 2017-06-05 23:46:55 +03:00
AI_Base.h
BattleAction.cpp Moving/dividing classes from BattleState to separate files. 2017-03-17 16:48:44 +01:00
BattleAction.h
BattleHex.cpp Aesthetic changes in BattleHex (#303) 2017-05-29 10:33:34 +03:00
BattleHex.h Aesthetic changes in BattleHex (#303) 2017-05-29 10:33:34 +03:00
BattleInfo.cpp Moving/dividing classes from BattleState to separate files. 2017-03-17 16:48:44 +01:00
BattleInfo.h Moving/dividing classes from BattleState to separate files. 2017-03-17 16:48:44 +01:00
CAndroidVMHelper.cpp Android support (#299) 2017-05-25 20:57:20 +03:00
CAndroidVMHelper.h Android support (#299) 2017-05-25 20:57:20 +03:00
CArtHandler.cpp * WIP on event condition format 2017-05-27 00:23:19 +03:00
CArtHandler.h * WIP on event condition format 2017-05-27 00:23:19 +03:00
CBattleCallback.cpp Client: implement spectator mode via command-line options 2017-06-06 07:30:16 +03:00
CBattleCallback.h get rid of CBattleInfoCallback::battleCanCastThisSpell 2017-06-05 23:46:55 +03:00
CBonusTypeHandler.cpp Fix memory problems with BonusList 2016-09-29 15:08:00 +02:00
CBonusTypeHandler.h Fix memory problems with BonusList 2016-09-29 15:08:00 +02:00
CBuildingHandler.cpp
CBuildingHandler.h
CConfigHandler.cpp
CConfigHandler.h
CConsoleHandler.cpp
CConsoleHandler.h
CCreatureHandler.cpp * WIP on event condition format 2017-05-27 00:23:19 +03:00
CCreatureHandler.h * WIP on event condition format 2017-05-27 00:23:19 +03:00
CCreatureSet.cpp * WIP on event condition format 2017-05-27 00:23:19 +03:00
CCreatureSet.h * WIP on event condition format 2017-05-27 00:23:19 +03:00
CGameInfoCallback.cpp Client: implement spectator mode via command-line options 2017-06-06 07:30:16 +03:00
CGameInfoCallback.h
CGameInterface.cpp Android support (#299) 2017-05-25 20:57:20 +03:00
CGameInterface.h Rebase of codebase changes for refactored serializer 2016-10-27 18:12:20 +03:00
CGameState.cpp Client: implement spectator mode via command-line options 2017-06-06 07:30:16 +03:00
CGameState.h Added option for saving generated maps on client side (#307) 2017-06-04 20:33:28 +03:00
CGameStateFwd.h Fixed a few CWE-457 2016-11-27 22:07:01 +03:00
CGeneralTextHandler.cpp Commander skill description support (#266) 2017-05-26 22:58:33 +03:00
CGeneralTextHandler.h Commander skill description support (#266) 2017-05-26 22:58:33 +03:00
CHeroHandler.cpp * WIP on event condition format 2017-05-27 00:23:19 +03:00
CHeroHandler.h cleanup 2016-10-16 02:47:03 +03:00
CMakeLists.txt Android support (#299) 2017-05-25 20:57:20 +03:00
CModHandler.cpp * WIP on event condition format 2017-05-27 00:23:19 +03:00
CModHandler.h * WIP on event condition format 2017-05-27 00:23:19 +03:00
CObstacleInstance.cpp Cleanup after last MSVS compilation fixes 2017-03-15 22:58:25 +01:00
CObstacleInstance.h
CondSh.h Fixed CID 1197516 2016-11-27 19:13:40 +03:00
ConstTransitivePtr.h
CPathfinder.cpp Fixed a few CWE-457 2016-11-27 22:07:01 +03:00
CPathfinder.h CPathfinderHelper: fix memory leak 2016-08-16 14:59:16 +03:00
CPlayerState.h Fixed #1713 2016-12-12 21:38:12 +01:00
CRandomGenerator.cpp
CRandomGenerator.h
CScriptingModule.h
CSoundBase.h
CStack.cpp Moving/dividing classes from BattleState to separate files. 2017-03-17 16:48:44 +01:00
CStack.h Moving/dividing classes from BattleState to separate files. 2017-03-17 16:48:44 +01:00
CStopWatch.h
CThreadHelper.cpp Fixed CID 1288858 2016-11-25 16:17:38 +03:00
CThreadHelper.h cleanup 2016-10-16 02:47:03 +03:00
CTownHandler.cpp Fixed https://bugs.vcmi.eu/view.php?id=2686 2017-05-29 12:42:23 +03:00
CTownHandler.h * WIP on event condition format 2017-05-27 00:23:19 +03:00
FunctionList.h
GameConstants.cpp Client: implement spectator mode via command-line options 2017-06-06 07:30:16 +03:00
GameConstants.h Client: implement spectator mode via command-line options 2017-06-06 07:30:16 +03:00
HeroBonus.cpp Moving/dividing classes from BattleState to separate files. 2017-03-17 16:48:44 +01:00
HeroBonus.h Implement ranged counterattack 2017-02-04 10:33:45 +01:00
IBonusTypeHandler.h Fix memory problems with BonusList 2016-09-29 15:08:00 +02:00
IGameCallback.cpp Rebase of codebase changes for refactored serializer 2016-10-27 18:12:20 +03:00
IGameCallback.h * WIP on event condition format 2017-05-27 00:23:19 +03:00
IGameEventsReceiver.h [Refactoring] Unified SetResources NetPack API. 2016-11-26 15:14:43 +03:00
IHandlerBase.cpp
IHandlerBase.h * WIP on event condition format 2017-05-27 00:23:19 +03:00
int3.h
Interprocess.h Refactoring of networking code on server and client 2017-06-02 02:44:39 +03:00
JsonDetail.cpp * WIP on event condition format 2017-05-27 00:23:19 +03:00
JsonDetail.h
JsonNode.cpp * WIP on event condition format 2017-05-27 00:23:19 +03:00
JsonNode.h * WIP on event condition format 2017-05-27 00:23:19 +03:00
LogicalExpression.cpp
LogicalExpression.h Extract PossibilityVisitor 2016-09-12 22:28:11 +02:00
NetPacks.h PlayerCheated: new netpack to apply losing / winning cheat code 2017-06-02 03:34:50 +03:00
NetPacksBase.h Fixed a few CWE-457 2016-11-27 22:07:01 +03:00
NetPacksLib.cpp Client: implement spectator mode via command-line options 2017-06-06 07:30:16 +03:00
ResourceSet.cpp * WIP on event condition format 2017-05-27 00:23:19 +03:00
ResourceSet.h * WIP on event condition format 2017-05-27 00:23:19 +03:00
ScopeGuard.h
SideInBattle.cpp Moving/dividing classes from BattleState to separate files. 2017-03-17 16:48:44 +01:00
SideInBattle.h Moving/dividing classes from BattleState to separate files. 2017-03-17 16:48:44 +01:00
SiegeInfo.cpp Moving/dividing classes from BattleState to separate files. 2017-03-17 16:48:44 +01:00
SiegeInfo.h Moving/dividing classes from BattleState to separate files. 2017-03-17 16:48:44 +01:00
StartInfo.h
StdInc.cpp
StdInc.h
StringConstants.h * WIP on event condition format 2017-05-27 00:23:19 +03:00
UnlockGuard.h
vcmi_endian.h
VCMI_lib.cbp [C::B] projects updated 2017-03-18 13:21:23 +03:00
VCMI_Lib.cpp Fixed a few CWE-457 2016-11-27 22:07:01 +03:00
VCMI_Lib.h Fixed a few CWE-457 2016-11-27 22:07:01 +03:00
VCMI_lib.vcxproj Refactoring of networking code on server and client 2017-06-02 02:44:39 +03:00
VCMI_lib.vcxproj.filters Refactoring of networking code on server and client 2017-06-02 02:44:39 +03:00
VCMIDirs.cpp Android support (#299) 2017-05-25 20:57:20 +03:00
VCMIDirs.h Android support (#299) 2017-05-25 20:57:20 +03:00