1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-20 20:23:03 +02:00
vcmi/lib
Arseniy Shestakov ac66fc7f42 Full rework of pre-game interface and networking
New features for players:
* Loading for multiplayer. Any save could be used for multiplayer.
* Restart for multiplayer. All clients will restart together.
* Loading from single save.
* Hotseat mixed with network game. Multiple players per client.
* Now connection to server could be cancelled.
* Return to menu on disconnections instead of crashes.
* Restoring of last selected map, save or campaign on next run.

TLDR on important changes in engine code:
* UI: work with server separated from UI
* UI: all explitic blitting replaced with IntObject's
* UI: all new code use smart pointers instead of DISPOSE
* Gameplay always start through lobby controlled by server.
* Threads receiving netpacks now shared for lobby and gameplay.
* Campaigns: heroes for crossover now serialized as JsonNode.
2018-04-04 14:24:26 +07:00
..
battle Extend Bonus.addInfo to integer vector (#427) 2018-03-12 08:20:18 +03:00
filesystem Spells configuration version 2 (effect-based) 2018-02-08 11:37:21 +03:00
logging
mapObjects Full rework of pre-game interface and networking 2018-04-04 14:24:26 +07:00
mapping Full rework of pre-game interface and networking 2018-04-04 14:24:26 +07:00
minizip Update project files to Visual Studio 2017 2018-01-13 16:33:49 +01:00
registerTypes Full rework of pre-game interface and networking 2018-04-04 14:24:26 +07:00
rmg Full rework of pre-game interface and networking 2018-04-04 14:24:26 +07:00
serializer Full rework of pre-game interface and networking 2018-04-04 14:24:26 +07:00
spells Enabled new secondary skills to be created (#438) 2018-03-31 12:56:40 +07:00
AI_Base.h
CAndroidVMHelper.cpp
CAndroidVMHelper.h
CArtHandler.cpp Spelling fixes: privilaged -> privileged, retreive -> retrieve 2018-02-10 21:52:23 +03:00
CArtHandler.h Spelling fixes: privilaged -> privileged, retreive -> retrieve 2018-02-10 21:52:23 +03:00
CBonusTypeHandler.cpp
CBonusTypeHandler.h
CBuildingHandler.cpp
CBuildingHandler.h
CConfigHandler.cpp Code style: remove void from constructors without arguments 2018-01-13 11:51:47 +03:00
CConfigHandler.h Code style: remove void from constructors without arguments 2018-01-13 11:51:47 +03:00
CConsoleHandler.cpp
CConsoleHandler.h
CCreatureHandler.cpp Spells configuration version 2 (effect-based) 2018-02-08 11:37:21 +03:00
CCreatureHandler.h Spells configuration version 2 (effect-based) 2018-02-08 11:37:21 +03:00
CCreatureSet.cpp Do not use CCreature in CSimpleArmy 2018-03-17 13:24:12 +08:00
CCreatureSet.h Do not use CCreature in CSimpleArmy 2018-03-17 13:24:12 +08:00
CGameInfoCallback.cpp Fix Issue 2214 (#437) 2018-03-22 18:14:43 +07:00
CGameInfoCallback.h Do not use StackLocation in netpacks 2018-03-17 13:24:12 +08:00
CGameInterface.cpp Spells configuration version 2 (effect-based) 2018-02-08 11:37:21 +03:00
CGameInterface.h Spells configuration version 2 (effect-based) 2018-02-08 11:37:21 +03:00
CGameState.cpp Full rework of pre-game interface and networking 2018-04-04 14:24:26 +07:00
CGameState.h Full rework of pre-game interface and networking 2018-04-04 14:24:26 +07:00
CGameStateFwd.h
CGeneralTextHandler.cpp
CGeneralTextHandler.h
CHeroHandler.cpp Enabled new secondary skills to be created (#438) 2018-03-31 12:56:40 +07:00
CHeroHandler.h Enabled new secondary skills to be created (#438) 2018-03-31 12:56:40 +07:00
CMakeLists.txt Full rework of pre-game interface and networking 2018-04-04 14:24:26 +07:00
CModHandler.cpp Enabled new secondary skills to be created (#438) 2018-03-31 12:56:40 +07:00
CModHandler.h Spells configuration version 2 (effect-based) 2018-02-08 11:37:21 +03:00
CondSh.h
ConstTransitivePtr.h
CPathfinder.cpp Hide "this statement may fall through" warnings 2018-02-10 22:27:00 +05:00
CPathfinder.h
CPlayerState.h
CRandomGenerator.cpp Spells configuration version 2 (effect-based) 2018-02-08 11:37:21 +03:00
CRandomGenerator.h Spells configuration version 2 (effect-based) 2018-02-08 11:37:21 +03:00
CScriptingModule.h Spelling fixes: privilaged -> privileged, retreive -> retrieve 2018-02-10 21:52:23 +03:00
CSkillHandler.cpp Enabled new secondary skills to be created (#438) 2018-03-31 12:56:40 +07:00
CSkillHandler.h Enabled new secondary skills to be created (#438) 2018-03-31 12:56:40 +07:00
CSoundBase.h Implement configurable object sounds: ambient, visit and removal 2018-01-02 09:49:03 +01:00
CStack.cpp CStack::prepareAttacked: fix for REBIRTH bonus after merge 2018-02-08 14:37:52 +03:00
CStack.h Spells configuration version 2 (effect-based) 2018-02-08 11:37:21 +03:00
CStopWatch.h
CThreadHelper.cpp Spells configuration version 2 (effect-based) 2018-02-08 11:37:21 +03:00
CThreadHelper.h
CTownHandler.cpp Change JsonType to enum class (#393) 2017-11-27 00:18:18 +03:00
CTownHandler.h Town building build mode fixes 2017-10-28 03:27:39 +03:00
FunctionList.h
GameConstants.cpp Spells configuration version 2 (effect-based) 2018-02-08 11:37:21 +03:00
GameConstants.h Full rework of pre-game interface and networking 2018-04-04 14:24:26 +07:00
HeroBonus.cpp Enable Limiter nesting with AllOf, AnyOf, NoneOf (#439) 2018-04-01 18:17:34 +07:00
HeroBonus.h Enable Limiter nesting with AllOf, AnyOf, NoneOf (#439) 2018-04-01 18:17:34 +07:00
IBonusTypeHandler.h Spells configuration version 2 (effect-based) 2018-02-08 11:37:21 +03:00
IGameCallback.cpp Full rework of pre-game interface and networking 2018-04-04 14:24:26 +07:00
IGameCallback.h Do not use StackLocation in netpacks 2018-03-17 13:24:12 +08:00
IGameEventsReceiver.h Do not use StackLocation in netpacks 2018-03-17 13:24:12 +08:00
IHandlerBase.cpp
IHandlerBase.h Enabled new secondary skills to be created (#438) 2018-03-31 12:56:40 +07:00
int3.h Ambient sounds: implement chebyshev distance for getTilesInRange 2018-01-02 09:48:17 +01:00
Interprocess.h
JsonDetail.cpp Configure JSON merge behaviour via #override flag (#423) 2018-03-05 11:30:10 +08:00
JsonDetail.h print json in compact format 2018-02-18 19:27:24 +13:00
JsonNode.cpp Enable Limiter nesting with AllOf, AnyOf, NoneOf (#439) 2018-04-01 18:17:34 +07:00
JsonNode.h Enable Limiter nesting with AllOf, AnyOf, NoneOf (#439) 2018-04-01 18:17:34 +07:00
LogicalExpression.cpp
LogicalExpression.h
NetPacks.h Full rework of pre-game interface and networking 2018-04-04 14:24:26 +07:00
NetPacksBase.h Full rework of pre-game interface and networking 2018-04-04 14:24:26 +07:00
NetPacksLib.cpp Full rework of pre-game interface and networking 2018-04-04 14:24:26 +07:00
NetPacksLobby.h Full rework of pre-game interface and networking 2018-04-04 14:24:26 +07:00
ResourceSet.cpp Flexible necromancy (#430) 2018-03-17 16:46:16 +08:00
ResourceSet.h Flexible necromancy (#430) 2018-03-17 16:46:16 +08:00
ScopeGuard.h
StartInfo.cpp Full rework of pre-game interface and networking 2018-04-04 14:24:26 +07:00
StartInfo.h Full rework of pre-game interface and networking 2018-04-04 14:24:26 +07:00
StdInc.cpp
StdInc.h
StringConstants.h
UnlockGuard.h
vcmi_endian.h
VCMI_lib.cbp Redone RMG template serialization using JSON serializer, added tests 2018-03-10 19:36:19 +03:00
VCMI_Lib.cpp Spells configuration version 2 (effect-based) 2018-02-08 11:37:21 +03:00
VCMI_Lib.h Spells configuration version 2 (effect-based) 2018-02-08 11:37:21 +03:00
VCMI_lib.vcxproj Update VS files to match latest develop (#424) 2018-03-02 14:32:00 +03:00
VCMI_lib.vcxproj.filters Update VS files to match latest develop (#424) 2018-03-02 14:32:00 +03:00
VCMIDirs.cpp
VCMIDirs.h