diff --git a/Makefile b/Makefile index 890f6b4..a1722b3 100644 --- a/Makefile +++ b/Makefile @@ -28,6 +28,15 @@ ifeq ($(PLATFORM), rs90) RELEASEDIR := release endif +ifeq ($(PLATFORM), bittboy) + CC := arm-linux-gcc + STRIP := arm-linux-strip + SYSROOT := $(shell $(CC) --print-sysroot) + CFLAGS := $(shell $(SYSROOT)/usr/bin/sdl-config --cflags) + CFLAGS += -DSCREEN_SCALE=1 + LDFLAGS := $(shell $(SYSROOT)/usr/bin/sdl-config --libs) -lm +endif + ifeq ($(PLATFORM), mingw32) CC := i486-mingw32-gcc STRIP := i486-mingw32-strip diff --git a/default/game.cfg b/default/game.cfg new file mode 100644 index 0000000..e900276 --- /dev/null +++ b/default/game.cfg @@ -0,0 +1,14 @@ +# Joystick control mode. Value: 0 - off, 1 - digital, 2 - analog +JOY_MODE 2 + +# Joystick device number. Value: 0 - first joystick, 1 - second joystick, etc. +JOY_NUM 0 + +# Joystick deadzone. Value range: 0 - 65535 +JOY_DEADZONE 5000 + +# Screen scale. Value: 1 - original, 2 - double +SCALE 1 + +# Display mode. Value: 0 - windowed, 1 - fullscreen +FULLSCREEN 0 diff --git a/default/score.dat b/default/score.dat new file mode 100644 index 0000000..d06c43b Binary files /dev/null and b/default/score.dat differ diff --git a/src/states.c b/src/states.c index 8b8eacb..c83ba3f 100644 --- a/src/states.c +++ b/src/states.c @@ -64,7 +64,7 @@ void logic() void draw() { - clearScreen(); + //clearScreen(); switch (programStateActive) {