|
1 | | -cmake_minimum_required(VERSION 3.16...3.31 FATAL_ERROR) |
| 1 | +cmake_minimum_required(VERSION 3.18...3.31 FATAL_ERROR) |
2 | 2 |
|
3 | | -project(EasyRPG_Player VERSION 0.8 |
| 3 | +project(EasyRPG_Player VERSION 0.8.1 |
4 | 4 | DESCRIPTION "Interpreter for RPG Maker 2000/2003 games" |
5 | 5 | HOMEPAGE_URL "https://easyrpg.org" |
6 | 6 | LANGUAGES CXX) |
@@ -68,8 +68,6 @@ add_library(${PROJECT_NAME} OBJECT |
68 | 68 | src/baseui.h |
69 | 69 | src/battle_animation.cpp |
70 | 70 | src/battle_animation.h |
71 | | - src/battle_message.cpp |
72 | | - src/battle_message.h |
73 | 71 | src/bitmap.cpp |
74 | 72 | src/bitmapfont.h |
75 | 73 | src/bitmapfont_glyph.h |
@@ -192,6 +190,8 @@ add_library(${PROJECT_NAME} OBJECT |
192 | 190 | src/game_map.h |
193 | 191 | src/game_message.cpp |
194 | 192 | src/game_message.h |
| 193 | + src/game_message_terms.cpp |
| 194 | + src/game_message_terms.h |
195 | 195 | src/game_party_base.cpp |
196 | 196 | src/game_party_base.h |
197 | 197 | src/game_party.cpp |
@@ -629,7 +629,7 @@ elseif(PLAYER_TARGET_PLATFORM STREQUAL "SDL2") |
629 | 629 | # SDL2 depends on some systems on SDL2::SDL2main but SDL2::SDL2 is not always a dependency of it |
630 | 630 | # Manually add the dependencies |
631 | 631 | player_find_package(NAME SDL2 |
632 | | - VERSION 2.0.5 |
| 632 | + VERSION 2.0.14 |
633 | 633 | TARGET SDL2::SDL2 |
634 | 634 | REQUIRED) |
635 | 635 |
|
@@ -801,6 +801,10 @@ endif() |
801 | 801 | # Shared by homebrew platforms |
802 | 802 | if(NINTENDO_3DS OR NINTENDO_WII OR NINTENDO_WIIU OR NINTENDO_WIIU OR NINTENDO_SWITCH OR VITA) |
803 | 803 | target_compile_options(${PROJECT_NAME} PUBLIC -fno-exceptions -fno-rtti) |
| 804 | + if(VITA) |
| 805 | + # This optimisation is unstable on Vita (crashes at the end of MainLoop) |
| 806 | + target_compile_options(${PROJECT_NAME} PUBLIC -fno-optimize-sibling-calls) |
| 807 | + endif() |
804 | 808 | set(CMAKE_DL_LIBS "") # hack4icu! |
805 | 809 | set(PLAYER_ENABLE_TESTS OFF) |
806 | 810 | option(PLAYER_VERSIONED_PACKAGES "Create zip packages with versioned name (for internal use)" ON) |
@@ -942,7 +946,7 @@ if(PLAYER_BUILD_LIBLCF) |
942 | 946 | target_link_libraries(${PROJECT_NAME} lcf) |
943 | 947 | else() |
944 | 948 | # Use system package |
945 | | - player_find_package(NAME liblcf VERSION 0.8 |
| 949 | + player_find_package(NAME liblcf VERSION 0.8.1 |
946 | 950 | TARGET liblcf::liblcf |
947 | 951 | REQUIRED) |
948 | 952 | endif() |
|
0 commit comments