1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-29 03:33:48 +00:00

delete some unused code

This commit is contained in:
fgenesis 2022-05-18 02:38:53 +02:00
parent 111cd43805
commit 046b98c725
4 changed files with 0 additions and 19 deletions

View file

@ -2921,14 +2921,6 @@ void DSQ::doSaveSlotMenu(SaveSlotMode ssm, const Vector &position)
}
std::string DSQ::getEntityFlagName(Entity *e)
{
if (!game) return "";
std::ostringstream os;
os << game->sceneName << e->startPos.x << e->startPos.y;
return os.str();
}
void doAlphabetInputKey(int d, char c, char map[], std::string *text, char upper=0)
{
if (core->getKeyState(d) && !map[d])

View file

@ -234,7 +234,6 @@ public:
Entity *getEntityByNameNoCase(std::string name);
void doSavePoint(const Vector &position);
std::string getEntityFlagName(Entity *e);
std::string getUserInputString(std::string label, std::string t="", bool allowNonLowerCase=false);
bool onPickedSaveSlot(AquariaSaveSlot *slot);
void doSaveSlotMenu(SaveSlotMode ssm, const Vector &position = Vector(0,0,0));

View file

@ -396,14 +396,6 @@ void RenderObject::destroy()
texture = NULL;
}
void RenderObject::copyProperties(RenderObject *target)
{
this->color = target->color;
this->position = target->position;
this->alpha = target->alpha;
this->velocity = target->velocity;
}
const RenderObject &RenderObject::operator=(const RenderObject &r)
{
errorLog("Operator= not defined for RenderObject. Use 'copyProperties'");

View file

@ -175,8 +175,6 @@ public:
bool isCoordinateInRadius(const Vector &pos, float r);
void copyProperties(RenderObject *target);
const RenderObject &operator=(const RenderObject &r);
void toggleCull(bool value);