font fix
This commit is contained in:
parent
d723f08969
commit
d0334488bb
@ -30,9 +30,7 @@ if (EMSCRIPTEN)
|
|||||||
else()
|
else()
|
||||||
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
|
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")
|
set(CMAKE_C_FLAGS "-O2 -Wno-discarded-qualifiers -Wno-pointer-arith -Wno-unused-variable -Wno-unused-parameter -Wall -Wextra -pedantic -g")
|
||||||
endif()
|
else()
|
||||||
|
|
||||||
if (CMAKE_BUILD_TYPE STREQUAL "Release")
|
|
||||||
set(CMAKE_C_FLAGS "-O2")
|
set(CMAKE_C_FLAGS "-O2")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -10,14 +10,18 @@ A clone of the 2007 Adobe Flash game by Jacob Grahn ("Jiggmin"), using OpenGL an
|
|||||||
- SDL_image
|
- SDL_image
|
||||||
- SDL_mixer
|
- SDL_mixer
|
||||||
- SDL_ttf
|
- SDL_ttf
|
||||||
|
- GLEW
|
||||||
|
|
||||||
### Linux/MinGW
|
### Linux/MinGW
|
||||||
|
|
||||||
This repository uses CMake to compile, so:
|
This repository uses CMake to compile, so:
|
||||||
|
|
||||||
`mkdir build`
|
`mkdir build`
|
||||||
|
|
||||||
`cd build`
|
`cd build`
|
||||||
`cmake ..
|
|
||||||
|
`cmake ..`
|
||||||
|
|
||||||
`make`
|
`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).
|
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] =
|
static const char* FONT_PATHS[FONT_COUNT] =
|
||||||
{
|
{
|
||||||
"res/font/catv.ttf",
|
"res/font/upheaval.ttf",
|
||||||
"res/font/catv.ttf",
|
"res/font/upheaval.ttf",
|
||||||
};
|
};
|
||||||
|
|
||||||
static const s32 FONT_SIZES[FONT_COUNT] =
|
static const s32 FONT_SIZES[FONT_COUNT] =
|
||||||
|
Loading…
Reference in New Issue
Block a user