mirror of https://git.sr.ht/~kikoodx/sle
26 lines
549 B
C
26 lines
549 B
C
/* SPDX-License-Identifier: GPL-3.0-or-later */
|
|
/* Copyright (C) 2021 KikooDX */
|
|
#pragma once
|
|
|
|
#define BUFFER_SIZE 256
|
|
|
|
struct Options {
|
|
char tileset_path[BUFFER_SIZE];
|
|
char level_path[BUFFER_SIZE];
|
|
int tile_width;
|
|
int tile_height;
|
|
int tileset_width;
|
|
int tileset_height;
|
|
int editor_window_width;
|
|
int editor_window_height;
|
|
int editor_target_fps;
|
|
int editor_draw_offset_x;
|
|
int editor_draw_offset_y;
|
|
int picker_window_width;
|
|
int picker_window_height;
|
|
int picker_target_fps;
|
|
int picker_padding;
|
|
};
|
|
|
|
struct Options options_defaults(void);
|