mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2026-05-06 07:56:46 -04:00
Rework palette information into palettes.dat (#25681)
* Rework all palette information into new palette.dat * Harmonise order between sprites.json, SpriteIds.h, kPaletteToG1Offset * Rename G1 counterparts for completeness/documentation * Bump libsawyer to v1.4.0
This commit is contained in:
+3
-2
@@ -396,9 +396,9 @@ if(NOT DISABLE_GUI)
|
||||
include("${ROOT_DIR}/src/openrct2-ui/CMakeLists.txt" NO_POLICY_SCOPE)
|
||||
endif()
|
||||
|
||||
# graphics files (g2.dat and font.dat)
|
||||
# graphics files (g2.dat, fonts.dat, palettes.dat, tracks.dat)
|
||||
if (NOT CMAKE_CROSSCOMPILING)
|
||||
set(graphics_files "g2" "fonts" "tracks")
|
||||
set(graphics_files "g2" "fonts" "palettes" "tracks")
|
||||
|
||||
foreach(graphics_file ${graphics_files})
|
||||
set(output_file "${graphics_file}.dat")
|
||||
@@ -505,6 +505,7 @@ if (NOT MACOS_BUNDLE OR (MACOS_BUNDLE AND WITH_TESTS))
|
||||
endif ()
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/g2.dat" DESTINATION "${CMAKE_INSTALL_DATADIR}/openrct2")
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/fonts.dat" DESTINATION "${CMAKE_INSTALL_DATADIR}/openrct2")
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/palettes.dat" DESTINATION "${CMAKE_INSTALL_DATADIR}/openrct2")
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/tracks.dat" DESTINATION "${CMAKE_INSTALL_DATADIR}/openrct2")
|
||||
install(DIRECTORY "data/" DESTINATION "${CMAKE_INSTALL_DATADIR}/openrct2")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user