mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-01-26 02:07:26 +00:00
Fix startup crash and linking error in release mode
This commit is contained in:
parent
e44ebfaa9f
commit
e8f1129c24
4 changed files with 3 additions and 6 deletions
|
@ -21,7 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
|
||||
#include "DSQ.h"
|
||||
#include <fstream>
|
||||
|
||||
#include <SDL.h>
|
||||
|
||||
#ifdef BBGE_BUILD_WINDOWS
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
|
|
|
@ -26,8 +26,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
class Event;
|
||||
class ActionMapper;
|
||||
|
||||
#include <map>
|
||||
#include <list>
|
||||
#include "ActionStatus.h"
|
||||
#include "ActionSet.h"
|
||||
#include "Joystick.h"
|
||||
|
|
|
@ -1397,8 +1397,6 @@ void Core::run(float runTime)
|
|||
|
||||
sound->pause();
|
||||
|
||||
core->joystick.rumble(0,0,0);
|
||||
|
||||
while (!isWindowFocus())
|
||||
{
|
||||
pollEvents();
|
||||
|
@ -3006,7 +3004,7 @@ void Core::initLocalization()
|
|||
{
|
||||
in >> low >> up;
|
||||
|
||||
trans[low[0]] = up[0];
|
||||
trans[(unsigned char)(low[0])] = (unsigned char)up[0];
|
||||
}
|
||||
initCharTranslationTables(&trans);
|
||||
}
|
||||
|
|
|
@ -22,6 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
#define __state_data__
|
||||
|
||||
#include "Base.h"
|
||||
#include <map>
|
||||
#include "ActionMapper.h"
|
||||
#include "Event.h"
|
||||
|
||||
|
|
Loading…
Reference in a new issue