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:
parent
111cd43805
commit
046b98c725
4 changed files with 0 additions and 19 deletions
|
@ -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])
|
||||
|
|
|
@ -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));
|
||||
|
|
|
@ -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'");
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue