2021-03-26 13:54:38 +01:00
|
|
|
#include "options.h"
|
|
|
|
#include "conf.h"
|
|
|
|
|
|
|
|
struct Options options_defaults(void)
|
|
|
|
{
|
|
|
|
return (struct Options){
|
|
|
|
.tileset_path = "",
|
|
|
|
.level_path = "",
|
|
|
|
.tile_width = TILE_WIDTH,
|
|
|
|
.tile_height = TILE_HEIGHT,
|
2021-03-27 19:15:08 +01:00
|
|
|
.tile_first = TILE_FIRST,
|
2021-03-26 13:54:38 +01:00
|
|
|
.tileset_width = 0,
|
|
|
|
.tileset_height = 0,
|
2021-03-27 12:19:10 +01:00
|
|
|
.new_level_width = NEW_LEVEL_WIDTH,
|
|
|
|
.new_level_height = NEW_LEVEL_HEIGHT,
|
2021-04-17 17:22:41 +02:00
|
|
|
.editor_scale = EDITOR_SCALE,
|
2021-03-26 14:39:26 +01:00
|
|
|
.editor_width = EDITOR_WINDOW_WIDTH,
|
|
|
|
.editor_height = EDITOR_WINDOW_HEIGHT,
|
2021-03-26 13:54:38 +01:00
|
|
|
.editor_target_fps = EDITOR_TARGET_FPS,
|
|
|
|
.editor_draw_offset_x = EDITOR_DRAW_OFFSET_X,
|
|
|
|
.editor_draw_offset_y = EDITOR_DRAW_OFFSET_Y,
|
2021-03-27 18:34:47 +01:00
|
|
|
.editor_bg_color = EDITOR_BACKGROUND_COLOR,
|
2021-04-17 17:22:41 +02:00
|
|
|
.picker_scale = PICKER_SCALE,
|
2021-03-26 13:54:38 +01:00
|
|
|
.picker_window_width = 0,
|
|
|
|
.picker_window_height = 0,
|
|
|
|
.picker_target_fps = PICKER_TARGET_FPS,
|
|
|
|
.picker_padding = PICKER_PADDING,
|
2021-03-27 18:34:47 +01:00
|
|
|
.picker_bg_color = PICKER_BACKGROUND_COLOR,
|
2021-03-27 12:19:10 +01:00
|
|
|
.level_create = 0,
|
2021-03-26 13:54:38 +01:00
|
|
|
};
|
|
|
|
}
|