This commit is contained in:
dox 2023-02-11 23:25:03 -05:00
parent d723f08969
commit d0334488bb
3 changed files with 8 additions and 6 deletions

View File

@ -30,9 +30,7 @@ if (EMSCRIPTEN)
else()
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
set(CMAKE_C_FLAGS "-O2 -Wno-discarded-qualifiers -Wno-pointer-arith -Wno-unused-variable -Wno-unused-parameter -Wall -Wextra -pedantic -g")
endif()
if (CMAKE_BUILD_TYPE STREQUAL "Release")
else()
set(CMAKE_C_FLAGS "-O2")
endif()

View File

@ -10,14 +10,18 @@ A clone of the 2007 Adobe Flash game by Jacob Grahn ("Jiggmin"), using OpenGL an
- SDL_image
- SDL_mixer
- SDL_ttf
- GLEW
### Linux/MinGW
This repository uses CMake to compile, so:
`mkdir build`
`cd build`
`cmake ..
`cmake ..`
`make`
Make sure you've got the games's resources downloaded and in the same directory as the executable. You can get that [here](https://shweetz.net/download/games/orbit-plus-resources.7z).

View File

@ -9,8 +9,8 @@
static const char* FONT_PATHS[FONT_COUNT] =
{
"res/font/catv.ttf",
"res/font/catv.ttf",
"res/font/upheaval.ttf",
"res/font/upheaval.ttf",
};
static const s32 FONT_SIZES[FONT_COUNT] =