Add setting

This commit is contained in:
Miloslav Ciz 2025-03-25 20:21:06 +01:00
parent ca0fc67738
commit 314f27c097
9 changed files with 76 additions and 79 deletions

View file

@ -1,19 +1,20 @@
/**
SDL2 frontend for Licar.
*/
#include <stdio.h>
#include <SDL2/SDL.h>
#define LCR_SETTING_LOG_LEVEL 2
#define DATA_FILE_NAME "data"
#define LCR_LOADING_COMMAND SDL_PumpEvents();
#include "game.h"
SDL_Window *window;
SDL_Renderer *renderer;
SDL_Texture *texture;
SDL_Surface *screenSurface;
#include "game.h"
uint16_t screen[LCR_SETTING_RESOLUTION_X * LCR_SETTING_RESOLUTION_Y];
FILE *musicFile = 0;