1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-25 09:44:02 +00:00

tiny cleanup

This commit is contained in:
fgenesis 2019-09-06 02:58:06 +02:00
parent 5fff755c1e
commit 988db94b72
3 changed files with 4 additions and 18 deletions

View file

@ -1035,18 +1035,6 @@ Entity *Game::createEntity(const std::string &t, int id, Vector position, int ro
return establishEntity(e, id, position, rot, createSaveData, name, et, doPostInit);
}
void Game::initEntities()
{
FOR_ENTITIES(i)
{
Entity *e = *i;
if (e)
{
e->init();
}
}
}
EntitySaveData *Game::getEntitySaveDataForEntity(Entity *e, Vector pos)
{

View file

@ -481,7 +481,6 @@ protected:
void warpPrep();
bool shuttingDownGameState;
Quad *image;
void initEntities();
float controlHintTimer;
bool cameraConstrained;

View file

@ -102,7 +102,6 @@ static const char * const interfaceFunctions[] = {
"lightFlare",
"msg",
"postInit",
"preUpdate",
"shiftWorlds",
"shotHitEntity",
"song",
@ -11066,10 +11065,10 @@ static const struct {
luaConstant(EP_BLOCKER),
// ACTIVATION TYPES
{"AT_NONE", -1},
{"AT_NORMAL", 0},
{"AT_CLICK", 0},
{"AT_RANGE", 1},
{"AT_NONE", Entity::ACT_NONE},
{"AT_NORMAL", Entity::ACT_CLICK},
{"AT_CLICK", Entity::ACT_CLICK},
{"AT_RANGE", Entity::ACT_RANGE},
luaConstant(WT_NORMAL),
luaConstant(WT_SPIRIT),