From d0334488bb879aecd7f234e140e328a1e24bb2cb Mon Sep 17 00:00:00 2001 From: dox Date: Sat, 11 Feb 2023 23:25:03 -0500 Subject: [PATCH] font fix --- CMakeLists.txt | 4 +--- README.md | 6 +++++- src/game/game_font.h | 4 ++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 38cef35..f31a615 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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() diff --git a/README.md b/README.md index f8d0d6d..381a306 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/src/game/game_font.h b/src/game/game_font.h index 45b2fb5..18e261c 100644 --- a/src/game/game_font.h +++ b/src/game/game_font.h @@ -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] =