1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-07-02 22:14:37 +00:00

remove pointless self-refs (dsq->... and core->...) in DSQ

This commit is contained in:
fgenesis 2023-05-31 17:37:20 +02:00
parent dbda4d0bf8
commit fd1ac85af3
9 changed files with 282 additions and 280 deletions

View file

@ -299,7 +299,7 @@ void errorLog(const std::string &s)
{
if (core)
{
core->errorLog(s);
core->_errorLog(s);
}
else
{
@ -310,7 +310,7 @@ void errorLog(const std::string &s)
void debugLog(const std::string &s)
{
if (core)
core->debugLog(s);
core->_debugLog(s);
else
{
//MessageBox(0, s.c_str(), "DebugLog (Core Not Initalized)", MB_OK);

View file

@ -221,10 +221,10 @@ bool Core::getCtrlState()
return getKeyState(KEY_LCONTROL) || getKeyState(KEY_RCONTROL);
}
void Core::errorLog(const std::string &s)
void Core::_errorLog(const std::string &s)
{
messageBox("Error!", s);
debugLog(s);
this->_debugLog(s);
}
void Core::messageBox(const std::string &title, const std::string &msg)
@ -232,7 +232,7 @@ void Core::messageBox(const std::string &title, const std::string &msg)
::messageBox(title, msg);
}
void Core::debugLog(const std::string &s)
void Core::_debugLog(const std::string &s)
{
if (debugLogActive)
{

View file

@ -342,8 +342,8 @@ public:
bool getMouseButtonState(int m);
int keys[KEY_MAXARRAY];
virtual void debugLog(const std::string &s);
virtual void errorLog(const std::string &s);
virtual void _debugLog(const std::string &s);
virtual void _errorLog(const std::string &s);
void messageBox(const std::string &title, const std::string &msg);
bool getShiftState();
bool getAltState();