quick fix for the html5 build

This commit is contained in:
Return0ne 2022-07-19 11:29:08 -04:00
parent 502fa8a924
commit e3738c9b7f
3 changed files with 5 additions and 4 deletions

View file

@ -381,7 +381,8 @@ PROJECT_SOURCE_FILES ?= \
$(PROJECT_SOURCE_PATH)/Gameplay.c \
$(PROJECT_SOURCE_PATH)/Title.c \
$(PROJECT_SOURCE_PATH)/Credits.c \
$(PROJECT_SOURCE_PATH)/Gameover.c
$(PROJECT_SOURCE_PATH)/Gameover.c \
$(PROJECT_SOURCE_PATH)/Options.c
# Define all object files from source files
OBJS = $(patsubst %.c, %.o, $(PROJECT_SOURCE_FILES))

View file

@ -13,7 +13,7 @@
#include "Controls.h"
#include "Options.h"
int optionsSelected = 0, finishfromOptionsScreen = 0;
int optionsSelected = 0, finishfromOptionsScreen = 0, mute = 0, fullscreen = 0;
void InitOptionsScreen(void)
{

View file

@ -9,7 +9,7 @@
#ifndef OPTIONS_HEADER
#define OPTIONS_HEADER
bool mute;
bool fullscreen;
extern int mute;
extern int fullscreen;
#endif