awesome!!!
This commit is contained in:
31
src/config.h
Normal file
31
src/config.h
Normal file
@ -0,0 +1,31 @@
|
||||
#ifndef CONFIG_H
|
||||
#define CONFIG_H
|
||||
|
||||
/*
|
||||
* this file is for configuration values which are to be set at
|
||||
* compile time. generally speaking, it's for things that would be unwise to
|
||||
* change mid-development without considering the work it might take to
|
||||
* adapt the game logic.
|
||||
*
|
||||
* if you're looking for distribution-related definitions like
|
||||
* APP_NAME, you should know that they are set from CMake.
|
||||
*/
|
||||
|
||||
|
||||
#define TICKS_PER_SECOND 60
|
||||
#define FIXED_DELTA_TIME (1.0 / TICKS_PER_SECOND)
|
||||
|
||||
#define RENDER_BASE_WIDTH 640
|
||||
#define RENDER_BASE_HEIGHT 360
|
||||
|
||||
#define TEXTURE_ATLAS_SIZE 2048
|
||||
#define TEXTURE_ATLAS_BIT_DEPTH 32
|
||||
#define TEXTURE_ATLAS_FORMAT SDL_PIXELFORMAT_RGBA32
|
||||
|
||||
#define NUM_KEYBIND_SLOTS 8
|
||||
|
||||
/* 1024 * 1024 */
|
||||
/* #define UMKA_STACK_SIZE 1048576 */
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user