mirror of
https://github.com/love2d/love-android.git
synced 2026-08-17 11:11:23 +02:00
It compiles and exectes (but crashes on startup)
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
#include <Box2D/Collision/Shapes/b2EdgeShape.h>
|
||||
#include <new>
|
||||
#include <memory.h>
|
||||
#include <cstring>
|
||||
|
||||
b2ChainShape::~b2ChainShape()
|
||||
{
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
|
||||
#include <Box2D/Collision/b2DynamicTree.h>
|
||||
#include <memory.h>
|
||||
#include <cstring>
|
||||
|
||||
b2DynamicTree::b2DynamicTree()
|
||||
{
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#include <limits.h>
|
||||
#include <memory.h>
|
||||
#include <stddef.h>
|
||||
#include <cstring>
|
||||
|
||||
int32 b2BlockAllocator::s_blockSizes[b2_blockSizes] =
|
||||
{
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
|
||||
#include "modules/love/love.h"
|
||||
#include <SDL.h>
|
||||
#include <SDL_opengles.h>
|
||||
|
||||
#ifdef LOVE_BUILD_EXE
|
||||
|
||||
@@ -135,6 +136,11 @@ static int love_preload(lua_State *L, lua_CFunction f, const char *name)
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
|
||||
SDL_LogSetAllPriority(SDL_LOG_PRIORITY_VERBOSE);
|
||||
SDL_Log ("Hello from love main");
|
||||
|
||||
|
||||
#ifdef LOVE_LEGENDARY_UTF8_ARGV_HACK
|
||||
int hack_argc = 0; char **hack_argv = 0;
|
||||
get_utf8_arguments(hack_argc, hack_argv);
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#include "Decoder.h"
|
||||
|
||||
// SDL_sound
|
||||
#include <libmodplug/modplug.h>
|
||||
#include <modplug.h>
|
||||
|
||||
namespace love
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user