mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Redid stack artifacts. Broken save compatibility. Added serializer support for boost::variant and sending CStackInstace* over network by implicitly passing IDs. Moved seeds and checksum to StartInfo. Various minor changes.
This commit is contained in:
@@ -88,7 +88,6 @@ namespace GameConstants
|
||||
|
||||
const ui16 BACKPACK_START = 19;
|
||||
const int ID_CATAPULT = 3, ID_LOCK = 145;
|
||||
const ui16 CREATURE_ART = 0; //position in CCreatureArtifactSet
|
||||
|
||||
//game modules
|
||||
const bool STACK_EXP = true;
|
||||
@@ -98,6 +97,11 @@ namespace GameConstants
|
||||
}
|
||||
|
||||
// Enum declarations
|
||||
namespace PrimarySkill
|
||||
{
|
||||
enum { ATTACK, DEFENSE, SPELL_POWER, KNOWLEDGE};
|
||||
}
|
||||
|
||||
namespace EVictoryConditionType
|
||||
{
|
||||
enum EVictoryConditionType { ARTIFACT, GATHERTROOP, GATHERRESOURCE, BUILDCITY, BUILDGRAIL, BEATHERO,
|
||||
|
||||
Reference in New Issue
Block a user