2014-12-10 03:27:11 -05:00
|
|
|
#define STB_TRUETYPE_IMPLEMENTATION
|
2014-05-25 23:10:17 -04:00
|
|
|
#define STB_PERLIN_IMPLEMENTATION
|
|
|
|
#define STB_IMAGE_WRITE_IMPLEMENTATION
|
|
|
|
#define STB_DXT_IMPLEMENATION
|
|
|
|
#define STB_C_LEXER_IMPLEMENTATIOn
|
2014-05-26 00:54:59 -04:00
|
|
|
#define STB_DIVIDE_IMPLEMENTATION
|
2014-05-31 07:49:43 -04:00
|
|
|
#define STB_IMAGE_IMPLEMENTATION
|
2014-07-04 11:06:36 -04:00
|
|
|
#define STB_HERRINGBONE_WANG_TILE_IMPLEMENTATION
|
2014-12-02 06:00:08 -05:00
|
|
|
#define STB_RECT_PACK_IMPLEMENTATION
|
2014-05-25 23:10:17 -04:00
|
|
|
|
2014-12-20 08:46:13 -05:00
|
|
|
#define STBI_MALLOC my_malloc
|
|
|
|
#define STBI_FREE my_free
|
|
|
|
#define STBI_REALLOC my_realloc
|
|
|
|
|
|
|
|
void *my_malloc(size_t) { return 0; }
|
|
|
|
void *my_realloc(void *, size_t) { return 0; }
|
|
|
|
void my_free(void *) { }
|
|
|
|
|
2014-12-14 21:14:14 -05:00
|
|
|
#include "stb_image.h"
|
2014-12-10 03:27:11 -05:00
|
|
|
#include "stb_rect_pack.h"
|
2014-05-25 23:10:17 -04:00
|
|
|
#include "stb_truetype.h"
|
|
|
|
#include "stb_image_write.h"
|
|
|
|
#include "stb_perlin.h"
|
|
|
|
#include "stb_dxt.h"
|
|
|
|
#include "stb_c_lexer.h"
|
2014-05-26 00:54:59 -04:00
|
|
|
#include "stb_divide.h"
|
2014-07-04 11:06:36 -04:00
|
|
|
#include "stb_herringbone_wang_tile.h"
|
2014-09-23 20:56:03 -04:00
|
|
|
|
2014-12-02 06:00:08 -05:00
|
|
|
#define STBTE_DRAW_RECT(x0,y0,x1,y1,color) do ; while(0)
|
|
|
|
#define STBTE_DRAW_TILE(x,y,id,highlight,data) do ; while(0)
|
2014-09-23 20:56:03 -04:00
|
|
|
#define STB_TILEMAP_EDITOR_IMPLEMENTATION
|
|
|
|
#include "stb_tilemap_editor.h"
|