1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-02-04 19:04:08 +00:00

Fix startup crash and linking error in release mode

This commit is contained in:
fgenesis 2016-07-18 03:21:24 +02:00
parent e44ebfaa9f
commit e8f1129c24
4 changed files with 3 additions and 6 deletions

View file

@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "DSQ.h" #include "DSQ.h"
#include <fstream> #include <fstream>
#include <SDL.h>
#ifdef BBGE_BUILD_WINDOWS #ifdef BBGE_BUILD_WINDOWS
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN

View file

@ -26,8 +26,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
class Event; class Event;
class ActionMapper; class ActionMapper;
#include <map>
#include <list>
#include "ActionStatus.h" #include "ActionStatus.h"
#include "ActionSet.h" #include "ActionSet.h"
#include "Joystick.h" #include "Joystick.h"

View file

@ -1397,8 +1397,6 @@ void Core::run(float runTime)
sound->pause(); sound->pause();
core->joystick.rumble(0,0,0);
while (!isWindowFocus()) while (!isWindowFocus())
{ {
pollEvents(); pollEvents();
@ -3006,7 +3004,7 @@ void Core::initLocalization()
{ {
in >> low >> up; in >> low >> up;
trans[low[0]] = up[0]; trans[(unsigned char)(low[0])] = (unsigned char)up[0];
} }
initCharTranslationTables(&trans); initCharTranslationTables(&trans);
} }

View file

@ -22,6 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define __state_data__ #define __state_data__
#include "Base.h" #include "Base.h"
#include <map>
#include "ActionMapper.h" #include "ActionMapper.h"
#include "Event.h" #include "Event.h"