remove /include/twn_config.h, move defauls to relevant headers

This commit is contained in:
2024-10-11 20:21:02 +03:00
parent cfc9ac9583
commit 667b599c19
12 changed files with 19 additions and 31 deletions

View File

@ -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"

View File

@ -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>

View File

@ -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];