font fix
This commit is contained in:
parent
d723f08969
commit
d0334488bb
@ -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()
|
||||
|
||||
|
@ -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).
|
||||
|
@ -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] =
|
||||
|
Loading…
Reference in New Issue
Block a user