mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-20 20:23:03 +02:00
compile fix
This commit is contained in:
parent
cf7108f075
commit
5b2f176c27
@ -25,9 +25,9 @@ namespace ArtifactPosition
|
||||
{
|
||||
enum ArtifactPosition
|
||||
{
|
||||
PRE_FIRST = -1,
|
||||
PRE_FIRST = -1,
|
||||
HEAD, SHOULDERS, NECK, RIGHT_HAND, LEFT_HAND, TORSO, RIGHT_RING, LEFT_RING, FEET, MISC1, MISC2, MISC3, MISC4,
|
||||
MACH1, MACH2, MACH3, MACH4, SPELLBOOK, MISC5,
|
||||
MACH1, MACH2, MACH3, MACH4, SPELLBOOK, MISC5,
|
||||
AFTER_LAST,
|
||||
//cres
|
||||
CREATURE_SLOT = 0,
|
||||
@ -139,7 +139,7 @@ protected:
|
||||
public:
|
||||
CArtifactInstance();
|
||||
|
||||
ConstTransitivePtr<CArtifact> artType;
|
||||
ConstTransitivePtr<CArtifact> artType;
|
||||
TArtifactInstanceID id;
|
||||
|
||||
//CArtifactInstance(int aid);
|
||||
@ -243,7 +243,7 @@ public:
|
||||
void clearHlpLists();
|
||||
ui16 getRandomArt (int flags);
|
||||
ui16 getArtSync (ui32 rand, int flags);
|
||||
bool CArtHandler::legalArtifact(int id);
|
||||
bool legalArtifact(int id);
|
||||
void getAllowedArts(std::vector<ConstTransitivePtr<CArtifact> > &out, std::vector<CArtifact*> *arts, int flag);
|
||||
void getAllowed(std::vector<ConstTransitivePtr<CArtifact> > &out, int flags);
|
||||
void erasePickedArt (TArtifactInstanceID id);
|
||||
@ -314,6 +314,6 @@ public:
|
||||
{
|
||||
h & artifactsInBackpack & artifactsWorn;
|
||||
}
|
||||
|
||||
|
||||
void artDeserializationFix(CBonusSystemNode *node);
|
||||
};
|
||||
|
@ -22,8 +22,5 @@
|
||||
<Project filename="AI/BattleAI/BattleAI.cbp">
|
||||
<Depends filename="lib/VCMI_lib.cbp" />
|
||||
</Project>
|
||||
<Project filename="Scripting/ERM/ERM.cbp">
|
||||
<Depends filename="lib/VCMI_lib.cbp" />
|
||||
</Project>
|
||||
</Workspace>
|
||||
</CodeBlocks_workspace_file>
|
||||
|
Loading…
Reference in New Issue
Block a user