Fix TLang.h maybe
This commit is contained in:
parent
84d0724fd9
commit
682a22e764
|
@ -10,6 +10,8 @@
|
|||
"stdlib.h": "c",
|
||||
"poll.h": "c",
|
||||
"sdl.h": "c",
|
||||
"myfeatures.h": "c"
|
||||
"myfeatures.h": "c",
|
||||
"freemonobold.h": "c",
|
||||
"sdl_image.h": "c"
|
||||
}
|
||||
}
|
|
@ -2,4 +2,4 @@ cmake_minimum_required(VERSION 3.7)
|
|||
project(TLangInterperter)
|
||||
|
||||
add_subdirectory(libtlang)
|
||||
add_subdirectory(tlang)
|
||||
add_subdirectory(tlang)
|
||||
|
|
|
@ -1,8 +1,12 @@
|
|||
#if defined(GEKKO)
|
||||
#define USE_GRRLIB
|
||||
#else
|
||||
#define USE_SDL2
|
||||
#endif
|
||||
#define USE_NETWORK
|
||||
#define USE_WIISOCKETS_ON_WII //comment out for #include <network.h>
|
||||
#define USE_THREADS
|
||||
#define USE_MBED
|
||||
#define USE_CURL
|
||||
#define USE_JANSSON
|
||||
#define USE_GTK
|
||||
//#define USE_GTK
|
||||
|
|
|
@ -1,13 +1,8 @@
|
|||
|
||||
#if defined(GEKKO)
|
||||
#include <SDL/SDL.h>
|
||||
#include <SDL/SDL_image.h>
|
||||
#include <SDL/SDL_ttf.h>
|
||||
#else
|
||||
#if defined(USE_SDL2)
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL2/SDL_image.h>
|
||||
#include <SDL2/SDL_ttf.h>
|
||||
#endif
|
||||
|
||||
#include "tlang.h"
|
||||
#include "FreeMonoBold.h"
|
||||
|
@ -797,3 +792,4 @@ dict_setkvp(_sdl->data.dict,kvp_WINDOWPOS_CENTERED);
|
|||
|
||||
rt->globals->setvariable(rt->globals,"sdl",_sdl);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue