remove /include/twn_config.h, move defauls to relevant headers
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
#include "twn_draw_c.h"
|
||||
#include "twn_util.h"
|
||||
#include "twn_util_c.h"
|
||||
#include "twn_config.h"
|
||||
#include "twn_engine_context_c.h"
|
||||
#include "twn_text_c.h"
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
#include "twn_draw_c.h"
|
||||
#include "twn_draw.h"
|
||||
#include "twn_util.h"
|
||||
#include "twn_config.h"
|
||||
#include "twn_engine_context_c.h"
|
||||
|
||||
#include <stb_truetype.h>
|
||||
|
@ -12,6 +12,10 @@
|
||||
#define ASCII_END 128
|
||||
#define NUM_DISPLAY_ASCII ((ASCII_END - ASCII_START) + 1)
|
||||
|
||||
#define TEXT_FONT_TEXTURE_SIZE_DEFAULT 2048
|
||||
#define TEXT_FONT_OVERSAMPLING_DEFAULT 4
|
||||
#define TEXT_FONT_FILTERING_DEFAULT TEXTURE_FILTER_LINEAR
|
||||
|
||||
|
||||
typedef struct FontData {
|
||||
stbtt_packedchar char_data[NUM_DISPLAY_ASCII];
|
||||
|
Reference in New Issue
Block a user