mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-03 00:46:55 +02:00
vcmi: massive refactoring v1
This commit is contained in:
AI
BattleAI
Nullkiller
StupidAI
VCAI
client
Client.h
adventureMap
battle
BattleAnimationClasses.cppBattleInterfaceClasses.cppBattleProjectileController.cppBattleStacksController.cppBattleWindow.cpp
lobby
widgets
windows
include/vcmi
lib
CArtHandler.cppCArtHandler.hCCreatureHandler.cppCCreatureHandler.hCCreatureSet.cppCCreatureSet.hCGameInfoCallback.cppCGameInfoCallback.hCGameState.cppCGameStateFwd.hCHeroHandler.cppCPlayerState.cppCPlayerState.hCStack.cppCTownHandler.cppCTownHandler.hGameConstants.hHeroBonus.cppIGameCallback.hNetPacksLib.cppResourceSet.cppResourceSet.h
battle
BattleInfo.cppBattleInfo.hBattleProxy.cppBattleProxy.hBattleStateInfoForRetreat.cppCBattleInfoCallback.cppCBattleInfoEssentials.cppCBattleInfoEssentials.hCUnitState.cppDamageCalculator.cppIBattleInfoCallback.hIBattleState.h
mapObjects
CArmedInstance.cppCBank.cppCGHeroInstance.cppCGMarket.cppCGTownInstance.cppCObjectHandler.cppCQuest.cppCQuest.hCRewardableObject.cppCommonConstructors.cppCommonConstructors.hMiscObjects.cppMiscObjects.h
mapping
rmg
serializer
mapeditor/inspector
scripting/lua/api
scripts/lib/erm
server
test
@ -32,7 +32,7 @@ const std::vector<CreatureProxy::CustomRegType> CreatureProxy::REGISTER_CUSTOM =
|
||||
{"getIndex", LuaMethodWrapper<Creature, decltype(&Entity::getIndex), &Entity::getIndex>::invoke, false},
|
||||
{"getJsonKey", LuaMethodWrapper<Creature, decltype(&Entity::getJsonKey), &Entity::getJsonKey>::invoke, false},
|
||||
{"getName", LuaMethodWrapper<Creature, decltype(&Entity::getNameTranslated), &Entity::getNameTranslated>::invoke, false},
|
||||
{"accessBonuses", LuaMethodWrapper<Creature, decltype(&EntityWithBonuses<CreatureID>::accessBonuses), &EntityWithBonuses<CreatureID>::accessBonuses>::invoke, false},
|
||||
{"getBonusBearer", LuaMethodWrapper<Creature, decltype(&EntityWithBonuses<CreatureID>::getBonusBearer), &EntityWithBonuses<CreatureID>::getBonusBearer>::invoke, false},
|
||||
|
||||
{"getMaxHealth", LuaMethodWrapper<Creature,decltype(&Creature::getMaxHealth), &Creature::getMaxHealth>::invoke, false},
|
||||
{"getPluralName", LuaMethodWrapper<Creature, decltype(&Creature::getNamePluralTranslated), &Creature::getNamePluralTranslated>::invoke, false},
|
||||
@ -56,7 +56,7 @@ const std::vector<CreatureProxy::CustomRegType> CreatureProxy::REGISTER_CUSTOM =
|
||||
{"getBaseSpeed", LuaMethodWrapper<Creature, decltype(&Creature::getBaseSpeed), &Creature::getBaseSpeed>::invoke, false},
|
||||
{"getBaseShots", LuaMethodWrapper<Creature, decltype(&Creature::getBaseShots), &Creature::getBaseShots>::invoke, false},
|
||||
|
||||
{"getCost", LuaMethodWrapper<Creature, decltype(&Creature::getCost), &Creature::getCost>::invoke, false},
|
||||
{"getRecruitCost", LuaMethodWrapper<Creature, decltype(&Creature::getRecruitCost), &Creature::getRecruitCost>::invoke, false},
|
||||
{"isDoubleWide", LuaMethodWrapper<Creature, decltype(&Creature::isDoubleWide), &Creature::isDoubleWide>::invoke, false},
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user