townengine/include/twn_config.h

26 lines
607 B
C
Raw Normal View History

#ifndef TWN_CONFIG_H
#define TWN_CONFIG_H
2024-08-23 02:41:52 +00:00
/* TODO: consider if it's still necessary to keep these in one place */
2024-07-08 00:44:20 +00:00
#define PACKAGE_EXTENSION "btw"
2024-07-08 00:44:20 +00:00
#define TICKS_PER_SECOND_DEFAULT 60
2024-07-08 00:44:20 +00:00
#define BASE_RENDER_WIDTH_DEFAULT 640
#define BASE_RENDER_HEIGHT_DEFAULT 360
2024-07-08 00:44:20 +00:00
#define TEXTURE_ATLAS_SIZE_DEFAULT 2048
2024-07-08 00:44:20 +00:00
#define TEXTURE_ATLAS_BIT_DEPTH 32
#define TEXTURE_ATLAS_FORMAT SDL_PIXELFORMAT_RGBA32
#define KEYBIND_SLOTS_DEFAULT 3
2024-07-08 00:44:20 +00:00
2024-07-08 06:46:12 +00:00
#define AUDIO_FREQUENCY 48000
#define TEXT_FONT_TEXTURE_SIZE_DEFAULT 2048
#define TEXT_FONT_OVERSAMPLING_DEFAULT 4
#define TEXT_FONT_FILTERING_DEFAULT TEXTURE_FILTER_LINEAR
2024-07-08 00:44:20 +00:00
#endif