Merge branch 'develop'

This commit is contained in:
Gymnasiast committed 2021-03-13 12:12:49 +01:00
commit af01be51f4
1843 files changed
+107214 -80252

No files matched your search

+58 -3
View File
@@ -85,6 +85,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: ccache
uses: hendrikmuhs/ccache-action@v1
with:
key: windows-mingw
- name: Build OpenRCT2
run: |
sudo su
@@ -100,6 +104,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: ccache
uses: hendrikmuhs/ccache-action@v1
with:
key: windows-mingw-nt51
- name: Build OpenRCT2
run: |
sudo su
@@ -111,8 +119,8 @@ jobs:
with:
name: "OpenRCT2-NT5.1"
path: bin/openrct2.exe
macos:
name: macOS
macos-xcode:
name: macOS (x64) using Xcode
runs-on: macos-latest
needs: [check-code-formatting]
steps:
@@ -140,6 +148,33 @@ jobs:
else
echo 'Not going to push build'
fi
macos-cmake:
name: macOS (x64) using CMake
runs-on: macos-latest
needs: [check-code-formatting]
steps:
- name: Checkout
uses: actions/checkout@v1
- name: ccache
uses: hendrikmuhs/ccache-action@v1
with:
key: macos
- name: Build OpenRCT2
run: |
brew install ninja
. scripts/setenv -q && build -DWITH_TESTS=on -DCMAKE_BUILD_TYPE=MinSizeRel -DBUILD_SHARED_LIBS=on
- name: Run Tests
shell: bash
run: . scripts/setenv -q && run-tests
- name: Build artifacts
shell: bash
run: . scripts/setenv -q && build-portable artifacts/OpenRCT2-MacOS-x64-cmake.tar.gz bin/install/usr
- name: Upload artifacts (CI)
uses: actions/upload-artifact@v2-preview
with:
name: "OpenRCT2-macOS-cmake"
path: artifacts
linux-portable:
name: Linux (x64, portable)
runs-on: ubuntu-latest
@@ -149,6 +184,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v1
- name: ccache
uses: hendrikmuhs/ccache-action@v1
with:
key: linux-portable
- name: Get pre-reqs
shell: bash
run: . scripts/setenv && get-discord-rpc
@@ -184,6 +223,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v1
- name: ccache
uses: hendrikmuhs/ccache-action@v1
with:
key: linux-portable-32
- name: Get pre-reqs
shell: bash
run: . scripts/setenv && get-discord-rpc
@@ -224,12 +267,16 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v1
- name: ccache
uses: hendrikmuhs/ccache-action@v1
with:
key: linux-appimage
- name: Get pre-reqs
shell: bash
run: . scripts/setenv -q && get-discord-rpc
- name: Build OpenRCT2
shell: bash
run: . scripts/setenv -q && build -DCMAKE_BUILD_TYPE=Release -DAPPIMAGE=ON -DOPENRCT2_USE_CCACHE=off
run: . scripts/setenv -q && build -DCMAKE_BUILD_TYPE=Release -DAPPIMAGE=ON -DOPENRCT2_USE_CCACHE=on
- name: Build AppImage
shell: bash
run: . scripts/setenv -q && build-appimage
@@ -282,6 +329,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v1
- name: ccache
uses: hendrikmuhs/ccache-action@v1
with:
key: linux-clang
- name: Build OpenRCT2
shell: bash
run: . scripts/setenv && build -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Debug -DDISABLE_NETWORK=ON -DDISABLE_HTTP=ON -DDISABLE_OPENGL=ON
@@ -294,6 +345,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v1
- name: ccache
uses: hendrikmuhs/ccache-action@v1
with:
key: android
- name: Build OpenRCT2
shell: bash
run: |
+1 -1
View File
@@ -6,7 +6,7 @@
"/usr/include",
"/usr/local/include",
"${workspaceRoot}",
"${workspaceRoot}/src"
"${workspaceRoot}/src/**"
],
"defines": [],
"intelliSenseMode": "clang-x64",
+94 -15
View File
@@ -19,6 +19,11 @@ if (CCache_FOUND)
endif (OPENRCT2_USE_CCACHE)
endif (CCache_FOUND)
if (APPLE)
set(CMAKE_OSX_ARCHITECTURES "x86_64")
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.14")
endif ()
project(openrct2 CXX)
include(cmake/platform.cmake)
@@ -36,16 +41,15 @@ set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(ROOT_DIR "${CMAKE_CURRENT_LIST_DIR}")
set(CMAKE_MACOSX_RPATH 1)
set(TITLE_SEQUENCE_URL "https://github.com/OpenRCT2/title-sequences/releases/download/v0.1.2c/title-sequences.zip")
set(TITLE_SEQUENCE_SHA1 "304d13a126c15bf2c86ff13b81a2f2cc1856ac8d")
set(OBJECTS_URL "https://github.com/OpenRCT2/objects/releases/download/v1.0.18/objects.zip")
set(OBJECTS_SHA1 "4a3c32a0251c3babe014844f2c683fc32138b3f2")
set(OBJECTS_URL "https://github.com/OpenRCT2/objects/releases/download/v1.0.21/objects.zip")
set(OBJECTS_SHA1 "c38af45d51a6e440386180feacf76c64720b6ac5")
set(REPLAYS_URL "https://github.com/OpenRCT2/replays/releases/download/v0.0.19/replays.zip")
set(REPLAYS_SHA1 "8EAAE223FF9FE4D49949C9F343831977E6DB6CDE")
set(REPLAYS_URL "https://github.com/OpenRCT2/replays/releases/download/v0.0.31/replays.zip")
set(REPLAYS_SHA1 "693BDD6F4B7C3B312AABEBCAEA4800FE97B33527")
option(FORCE32 "Force 32-bit build. It will add `-m32` to compiler flags.")
option(WITH_TESTS "Build tests")
@@ -55,6 +59,7 @@ option(DOWNLOAD_TITLE_SEQUENCES "Download title sequences during installation."
option(DOWNLOAD_OBJECTS "Download objects during installation." ON)
CMAKE_DEPENDENT_OPTION(DOWNLOAD_REPLAYS "Download replays during installation." ON
"WITH_TESTS" OFF)
option(MACOS_USE_DEPENDENCIES "Use OpenRCT2 dependencies instead of system libraries" ON)
# Options
option(STATIC "Create a static build.")
@@ -95,6 +100,54 @@ if (APPIMAGE)
set(CMAKE_INSTALL_RPATH "$ORIGIN/../lib")
endif ()
if (APPLE AND MACOS_USE_DEPENDENCIES)
# if we're building on macOS, then we need the dependencies
# update dylibs
set(MACOS_DYLIBS_VERSION "28")
set(MACOS_DYLIBS_ZIPFILE "openrct2-libs-v${MACOS_DYLIBS_VERSION}-x64-macos-dylibs.zip")
set(MACOS_DYLIBS_DIR "${ROOT_DIR}/lib/macos")
set(MACOS_DYLIBS_URL "https://github.com/OpenRCT2/Dependencies/releases/download/v${MACOS_DYLIBS_VERSION}/${MACOS_DYLIBS_ZIPFILE}")
if (NOT EXISTS ${MACOS_DYLIBS_DIR})
set(DOWNLOAD_DYLIBS 1)
else ()
file(READ "${MACOS_DYLIBS_DIR}/libversion" MACOS_DYLIBS_CACHED_VERSION)
if (NOT ${MACOS_DYLIBS_CACHED_VERSION} STREQUAL ${MACOS_DYLIBS_VERSION})
message("Cached macOS dylibs out of date")
set(DOWNLOAD_DYLIBS 1)
endif ()
endif ()
if (DOWNLOAD_DYLIBS)
message("Downloading macOS dylibs")
file(DOWNLOAD "${MACOS_DYLIBS_URL}" "${MACOS_DYLIBS_DIR}/${MACOS_DYLIBS_ZIPFILE}")
file(ARCHIVE_EXTRACT
INPUT "${MACOS_DYLIBS_DIR}/${MACOS_DYLIBS_ZIPFILE}"
DESTINATION "${MACOS_DYLIBS_DIR}"
)
file(WRITE
"${MACOS_DYLIBS_DIR}/libversion"
"${MACOS_DYLIBS_VERSION}"
)
file(REMOVE "${MACOS_DYLIBS_DIR}/${MACOS_DYLIBS_ZIPFILE}")
endif ()
# TODO: make the above routine a function, use it for objects, title sequences, and languages
set(CMAKE_MACOSX_RPATH 1)
list(APPEND CMAKE_PREFIX_PATH "${MACOS_DYLIBS_DIR}")
# the RPATH to be used when installing, but only if it's not a system directory
list(FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES "${CMAKE_INSTALL_PREFIX}/lib" isSystemDir)
if("${isSystemDir}" STREQUAL "-1")
set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
endif("${isSystemDir}" STREQUAL "-1")
# if the DESTDIR env var is defined, use it in the install RPATH
if(DEFINED ENV{DESTDIR})
get_filename_component(destdirRealPath "$ENV{DESTDIR}" REALPATH BASE_DIR "${CMAKE_BINARY_DIR}")
set(CMAKE_INSTALL_RPATH "${destdirRealPath}${CMAKE_INSTALL_PREFIX}/lib")
endif()
endif ()
# LIST of supported flags, use SET_CHECK_CXX_FLAGS() to apply to target.
# Use ADD_CHECK_CXX_COMPILER_FLAG() to add to list.
set(SUPPORTED_CHECK_CXX_COMPILER_FLAGS "")
@@ -153,7 +206,21 @@ if (ENABLE_SCRIPTING)
endif ()
if (NOT DISABLE_DISCORD_RPC)
if(EXISTS "${ROOT_DIR}/discord-rpc")
if (UNIX AND NOT APPLE)
find_package(DiscordRPC)
if(${DISCORDRPC_FOUND})
set(HAVE_DISCORD_RPC TRUE)
add_definitions(-D__ENABLE_DISCORD__)
include_directories(DISCORDRPC_PROCESS_INCLUDES)
endif()
elseif (APPLE AND MACOS_USE_DEPENDENCIES)
find_package(discordrpc CONFIG REQUIRED)
if(${DISCORDRPC_FOUND})
add_definitions(-D__ENABLE_DISCORD__)
set(HAVE_DISCORD_RPC TRUE)
message("Building with libdiscord-rpc.dylib")
endif()
elseif(NOT HAVE_DISCORD_RPC AND EXISTS "${ROOT_DIR}/discord-rpc")
# Don't build discord's examples, some of which are in C and do not honour
# the flags we set for C++. Also we don't use the provided examples.
set(BUILD_EXAMPLES OFF CACHE BOOL "Build example apps")
@@ -233,6 +300,9 @@ else ()
ADD_CHECK_CXX_COMPILER_FLAG(CMAKE_CXX_FLAGS CXX_WARN_RANGE_LOOP_ANALYSIS -Wrange-loop-analysis)
ADD_CHECK_CXX_COMPILER_FLAG(CMAKE_CXX_FLAGS CXX_WARN_TAUTOLOGICAL_ZERO_COMPARE -Wtautological-unsigned-zero-compare)
ADD_CHECK_CXX_COMPILER_FLAG(CMAKE_CXX_FLAGS CXX_WARN_OLD_STYLE_CAST -Wold-style-cast)
# unused-const-variable=1 only checks main compilation unit
# unused-const-variable[=2] would check for unused values from headers as well
ADD_CHECK_CXX_COMPILER_FLAG(CMAKE_CXX_FLAGS CXX_WARN_UNUSED_CONST_VARIABLE -Wunused-const-variable=1)
ADD_CHECK_CXX_COMPILER_FLAG(CMAKE_CXX_FLAGS CXX_WNO_CLOBBERED -Wno-clobbered)
# Disabled due to problems compiling OpenSSL on macOS.
# ADD_CHECK_CXX_COMPILER_FLAG(CMAKE_CXX_FLAGS CXX_WARN_DOCUMENTATION -Wdocumentation)
@@ -307,7 +377,9 @@ add_custom_command(
COMMAND ./openrct2-cli sprite build \"${CMAKE_BINARY_DIR}/g2.dat\" \"${ROOT_DIR}/resources/g2/sprites.json\"
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
)
add_custom_target(g2 DEPENDS ${PROJECT} g2.dat)
add_custom_target(g2 DEPENDS ${PROJECT_NAME} g2.dat)
project(openrct2 CXX)
# Include tests
if (WITH_TESTS)
@@ -332,23 +404,23 @@ install(CODE "execute_process(COMMAND \"${CMAKE_COMMAND}\" --build \"${CMAKE_CUR
if (DOWNLOAD_TITLE_SEQUENCES)
# If openrct2.parkseq or data/sequence/ exists, assume all the title sequences are already present
install(CODE
"if (EXISTS \"\$ENV{DESTDIR}${CMAKE_INSTALL_FULL_DATADIR}/${PROJECT}/sequence/openrct2.parkseq\" OR EXISTS ${CMAKE_SOURCE_DIR}/data/sequence/)\n\
"if (EXISTS \"\$ENV{DESTDIR}${CMAKE_INSTALL_FULL_DATADIR}/${PROJECT_NAME}/sequence/openrct2.parkseq\" OR EXISTS ${CMAKE_SOURCE_DIR}/data/sequence/)\n\
message(\"Using cached title sequences\")\n\
else () \n\
file(DOWNLOAD ${TITLE_SEQUENCE_URL} \$ENV{DESTDIR}${CMAKE_INSTALL_FULL_DATADIR}/${PROJECT}/sequence/title-sequences.zip EXPECTED_HASH SHA1=${TITLE_SEQUENCE_SHA1} SHOW_PROGRESS)\n\
execute_process(COMMAND \"${CMAKE_COMMAND}\" -E chdir \$ENV{DESTDIR}${CMAKE_INSTALL_FULL_DATADIR}/${PROJECT}/sequence/ \"${CMAKE_COMMAND}\" -E tar xf title-sequences.zip)\n\
file(REMOVE \$ENV{DESTDIR}${CMAKE_INSTALL_FULL_DATADIR}/${PROJECT}/sequence/title-sequences.zip)\n\
file(DOWNLOAD ${TITLE_SEQUENCE_URL} \$ENV{DESTDIR}${CMAKE_INSTALL_FULL_DATADIR}/${PROJECT_NAME}/sequence/title-sequences.zip EXPECTED_HASH SHA1=${TITLE_SEQUENCE_SHA1} SHOW_PROGRESS)\n\
execute_process(COMMAND \"${CMAKE_COMMAND}\" -E chdir \$ENV{DESTDIR}${CMAKE_INSTALL_FULL_DATADIR}/${PROJECT_NAME}/sequence/ \"${CMAKE_COMMAND}\" -E tar xf title-sequences.zip)\n\
file(REMOVE \$ENV{DESTDIR}${CMAKE_INSTALL_FULL_DATADIR}/${PROJECT_NAME}/sequence/title-sequences.zip)\n\
endif ()")
endif ()
if (DOWNLOAD_OBJECTS)
# If rct2.wtrcyan.json or data/object/ exists, assume all the objects are already present
install(CODE
"if (EXISTS \"\$ENV{DESTDIR}${CMAKE_INSTALL_FULL_DATADIR}/${PROJECT}/object/rct2/water/rct2.wtrcyan.json\" OR EXISTS ${CMAKE_SOURCE_DIR}/data/object/)\n\
"if (EXISTS \"\$ENV{DESTDIR}${CMAKE_INSTALL_FULL_DATADIR}/${PROJECT_NAME}/object/rct2/water/rct2.wtrcyan.json\" OR EXISTS ${CMAKE_SOURCE_DIR}/data/object/)\n\
message(\"Using cached objects\")\n\
else () \n\
file(DOWNLOAD ${OBJECTS_URL} \$ENV{DESTDIR}${CMAKE_INSTALL_FULL_DATADIR}/${PROJECT}/object/objects.zip EXPECTED_HASH SHA1=${OBJECTS_SHA1} SHOW_PROGRESS)\n\
execute_process(COMMAND \"${CMAKE_COMMAND}\" -E chdir \$ENV{DESTDIR}${CMAKE_INSTALL_FULL_DATADIR}/${PROJECT}/object/ \"${CMAKE_COMMAND}\" -E tar xf objects.zip)\n\
file(REMOVE \$ENV{DESTDIR}${CMAKE_INSTALL_FULL_DATADIR}/${PROJECT}/object/objects.zip)\n\
file(DOWNLOAD ${OBJECTS_URL} \$ENV{DESTDIR}${CMAKE_INSTALL_FULL_DATADIR}/${PROJECT_NAME}/object/objects.zip EXPECTED_HASH SHA1=${OBJECTS_SHA1} SHOW_PROGRESS)\n\
execute_process(COMMAND \"${CMAKE_COMMAND}\" -E chdir \$ENV{DESTDIR}${CMAKE_INSTALL_FULL_DATADIR}/${PROJECT_NAME}/object/ \"${CMAKE_COMMAND}\" -E tar xf objects.zip)\n\
file(REMOVE \$ENV{DESTDIR}${CMAKE_INSTALL_FULL_DATADIR}/${PROJECT_NAME}/object/objects.zip)\n\
endif ()")
endif ()
if (DOWNLOAD_REPLAYS)
@@ -388,3 +460,10 @@ if (NOT DISABLE_GUI)
endif()
install(FILES "distribution/linux/openrct2-mimeinfo.xml" DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/mime/packages/" RENAME "openrct2.xml")
install(DIRECTORY "distribution/man/" DESTINATION "${CMAKE_INSTALL_MANDIR}/man6" FILES_MATCHING PATTERN "*.6")
if (APPLE AND MACOS_USE_DEPENDENCIES)
# Note: dependencies may have the same names as system installed libraries
# (via homebrew). A local CMAKE_INSTALL_PREFIX is recommended to avoid issues
file(GLOB DYLIB_FILES "${MACOS_DYLIBS_DIR}/lib/*.dylib")
install(FILES ${DYLIB_FILES} DESTINATION "${CMAKE_INSTALL_LIBDIR}")
endif()
File diff suppressed because it is too large. Load diff
+25
View File
@@ -0,0 +1,25 @@
include(LibFindMacros)
libfind_pkg_check_modules(DISCORDRPC_PKGCONF DISCORDRPC)
find_path(DISCORDRPC_INCLUDE_DIR
NAMES discord_rpc.h
PATHS
${DISCORDRPC_PKGCONF_INCLUDE_DIRS}
"/usr/include"
"/usr/local/include"
)
find_library(DISCORDRPC_LIBRARY
NAMES discord-rpc
PATHS
${DISCORDRPC_PKGCONF_LIBRARY_DIRS}
"/usr/lib"
"/usr/lib64"
"/usr/local/lib"
"/usr/local/lib64"
)
set(DISCORDRPC_PROCESS_INCLUDES DISCORDRPC_INCLUDE_DIR)
set(DISCORDRPC_PROCESS_LIBS DISCORDRPC_LIBRARY)
libfind_process(DISCORDRPC)
+265
View File
@@ -0,0 +1,265 @@
# Version 2.2
# Public Domain, originally written by Lasse Kärkkäinen <tronic>
# Maintained at https://github.com/Tronic/cmake-modules
# Please send your improvements as pull requests on Github.
# Find another package and make it a dependency of the current package.
# This also automatically forwards the "REQUIRED" argument.
# Usage: libfind_package(<prefix> <another package> [extra args to find_package])
macro (libfind_package PREFIX PKG)
set(${PREFIX}_args ${PKG} ${ARGN})
if (${PREFIX}_FIND_REQUIRED)
set(${PREFIX}_args ${${PREFIX}_args} REQUIRED)
endif()
find_package(${${PREFIX}_args})
set(${PREFIX}_DEPENDENCIES ${${PREFIX}_DEPENDENCIES};${PKG})
unset(${PREFIX}_args)
endmacro()
# A simple wrapper to make pkg-config searches a bit easier.
# Works the same as CMake's internal pkg_check_modules but is always quiet.
macro (libfind_pkg_check_modules)
find_package(PkgConfig QUIET)
if (PKG_CONFIG_FOUND)
pkg_check_modules(${ARGN} QUIET)
endif()
endmacro()
# Avoid useless copy&pasta by doing what most simple libraries do anyway:
# pkg-config, find headers, find library.
# Usage: libfind_pkg_detect(<prefix> <pkg-config args> FIND_PATH <name> [other args] FIND_LIBRARY <name> [other args])
# E.g. libfind_pkg_detect(SDL2 sdl2 FIND_PATH SDL.h PATH_SUFFIXES SDL2 FIND_LIBRARY SDL2)
function (libfind_pkg_detect PREFIX)
# Parse arguments
set(argname pkgargs)
foreach (i ${ARGN})
if ("${i}" STREQUAL "FIND_PATH")
set(argname pathargs)
elseif ("${i}" STREQUAL "FIND_LIBRARY")
set(argname libraryargs)
else()
set(${argname} ${${argname}} ${i})
endif()
endforeach()
if (NOT pkgargs)
message(FATAL_ERROR "libfind_pkg_detect requires at least a pkg_config package name to be passed.")
endif()
# Find library
libfind_pkg_check_modules(${PREFIX}_PKGCONF ${pkgargs})
if (pathargs)
find_path(${PREFIX}_INCLUDE_DIR NAMES ${pathargs} HINTS ${${PREFIX}_PKGCONF_INCLUDE_DIRS})
endif()
if (libraryargs)
find_library(${PREFIX}_LIBRARY NAMES ${libraryargs} HINTS ${${PREFIX}_PKGCONF_LIBRARY_DIRS})
endif()
endfunction()
# Extracts a version #define from a version.h file, output stored to <PREFIX>_VERSION.
# Usage: libfind_version_header(Foobar foobar/version.h FOOBAR_VERSION_STR)
# Fourth argument "QUIET" may be used for silently testing different define names.
# This function does nothing if the version variable is already defined.
function (libfind_version_header PREFIX VERSION_H DEFINE_NAME)
# Skip processing if we already have a version or if the include dir was not found
if (${PREFIX}_VERSION OR NOT ${PREFIX}_INCLUDE_DIR)
return()
endif()
set(quiet ${${PREFIX}_FIND_QUIETLY})
# Process optional arguments
foreach(arg ${ARGN})
if (arg STREQUAL "QUIET")
set(quiet TRUE)
else()
message(AUTHOR_WARNING "Unknown argument ${arg} to libfind_version_header ignored.")
endif()
endforeach()
# Read the header and parse for version number
set(filename "${${PREFIX}_INCLUDE_DIR}/${VERSION_H}")
if (NOT EXISTS ${filename})
if (NOT quiet)
message(AUTHOR_WARNING "Unable to find ${${PREFIX}_INCLUDE_DIR}/${VERSION_H}")
endif()
return()
endif()
file(READ "${filename}" header)
string(REGEX REPLACE ".*#[ \t]*define[ \t]*${DEFINE_NAME}[ \t]*\"([^\n]*)\".*" "\\1" match "${header}")
# No regex match?
if (match STREQUAL header)
if (NOT quiet)
message(AUTHOR_WARNING "Unable to find \#define ${DEFINE_NAME} \"<version>\" from ${${PREFIX}_INCLUDE_DIR}/${VERSION_H}")
endif()
return()
endif()
# Export the version string
set(${PREFIX}_VERSION "${match}" PARENT_SCOPE)
endfunction()
# Do the final processing once the paths have been detected.
# If include dirs are needed, ${PREFIX}_PROCESS_INCLUDES should be set to contain
# all the variables, each of which contain one include directory.
# Ditto for ${PREFIX}_PROCESS_LIBS and library files.
# Will set ${PREFIX}_FOUND, ${PREFIX}_INCLUDE_DIRS and ${PREFIX}_LIBRARIES.
# Also handles errors in case library detection was required, etc.
function (libfind_process PREFIX)
# Skip processing if already processed during this configuration run
if (${PREFIX}_FOUND)
return()
endif()
set(found TRUE) # Start with the assumption that the package was found
# Did we find any files? Did we miss includes? These are for formatting better error messages.
set(some_files FALSE)
set(missing_headers FALSE)
# Shorthands for some variables that we need often
set(quiet ${${PREFIX}_FIND_QUIETLY})
set(required ${${PREFIX}_FIND_REQUIRED})
set(exactver ${${PREFIX}_FIND_VERSION_EXACT})
set(findver "${${PREFIX}_FIND_VERSION}")
set(version "${${PREFIX}_VERSION}")
# Lists of config option names (all, includes, libs)
unset(configopts)
set(includeopts ${${PREFIX}_PROCESS_INCLUDES})
set(libraryopts ${${PREFIX}_PROCESS_LIBS})
# Process deps to add to
foreach (i ${PREFIX} ${${PREFIX}_DEPENDENCIES})
if (DEFINED ${i}_INCLUDE_OPTS OR DEFINED ${i}_LIBRARY_OPTS)
# The package seems to export option lists that we can use, woohoo!
list(APPEND includeopts ${${i}_INCLUDE_OPTS})
list(APPEND libraryopts ${${i}_LIBRARY_OPTS})
else()
# If plural forms don't exist or they equal singular forms
if ((NOT DEFINED ${i}_INCLUDE_DIRS AND NOT DEFINED ${i}_LIBRARIES) OR
({i}_INCLUDE_DIR STREQUAL ${i}_INCLUDE_DIRS AND ${i}_LIBRARY STREQUAL ${i}_LIBRARIES))
# Singular forms can be used
if (DEFINED ${i}_INCLUDE_DIR)
list(APPEND includeopts ${i}_INCLUDE_DIR)
endif()
if (DEFINED ${i}_LIBRARY)
list(APPEND libraryopts ${i}_LIBRARY)
endif()
else()
# Oh no, we don't know the option names
message(FATAL_ERROR "We couldn't determine config variable names for ${i} includes and libs. Aieeh!")
endif()
endif()
endforeach()
if (includeopts)
list(REMOVE_DUPLICATES includeopts)
endif()
if (libraryopts)
list(REMOVE_DUPLICATES libraryopts)
endif()
string(REGEX REPLACE ".*[ ;]([^ ;]*(_INCLUDE_DIRS|_LIBRARIES))" "\\1" tmp "${includeopts} ${libraryopts}")
if (NOT tmp STREQUAL "${includeopts} ${libraryopts}")
message(AUTHOR_WARNING "Plural form ${tmp} found in config options of ${PREFIX}. This works as before but is now deprecated. Please only use singular forms INCLUDE_DIR and LIBRARY, and update your find scripts for LibFindMacros > 2.0 automatic dependency system (most often you can simply remove the PROCESS variables entirely).")
endif()
# Include/library names separated by spaces (notice: not CMake lists)
unset(includes)
unset(libs)
# Process all includes and set found false if any are missing
foreach (i ${includeopts})
list(APPEND configopts ${i})
if (NOT "${${i}}" STREQUAL "${i}-NOTFOUND")
list(APPEND includes "${${i}}")
else()
set(found FALSE)
set(missing_headers TRUE)
endif()
endforeach()
# Process all libraries and set found false if any are missing
foreach (i ${libraryopts})
list(APPEND configopts ${i})
if (NOT "${${i}}" STREQUAL "${i}-NOTFOUND")
list(APPEND libs "${${i}}")
else()
set (found FALSE)
endif()
endforeach()
# Version checks
if (found AND findver)
if (NOT version)
message(WARNING "The find module for ${PREFIX} does not provide version information, so we'll just assume that it is OK. Please fix the module or remove package version requirements to get rid of this warning.")
elseif (version VERSION_LESS findver OR (exactver AND NOT version VERSION_EQUAL findver))
set(found FALSE)
set(version_unsuitable TRUE)
endif()
endif()
# If all-OK, hide all config options, export variables, print status and exit
if (found)
foreach (i ${configopts})
mark_as_advanced(${i})
endforeach()
if (NOT quiet)
message(STATUS "Found ${PREFIX} ${${PREFIX}_VERSION}")
if (LIBFIND_DEBUG)
message(STATUS " ${PREFIX}_DEPENDENCIES=${${PREFIX}_DEPENDENCIES}")
message(STATUS " ${PREFIX}_INCLUDE_OPTS=${includeopts}")
message(STATUS " ${PREFIX}_INCLUDE_DIRS=${includes}")
message(STATUS " ${PREFIX}_LIBRARY_OPTS=${libraryopts}")
message(STATUS " ${PREFIX}_LIBRARIES=${libs}")
endif()
set (${PREFIX}_INCLUDE_OPTS ${includeopts} PARENT_SCOPE)
set (${PREFIX}_LIBRARY_OPTS ${libraryopts} PARENT_SCOPE)
set (${PREFIX}_INCLUDE_DIRS ${includes} PARENT_SCOPE)
set (${PREFIX}_LIBRARIES ${libs} PARENT_SCOPE)
set (${PREFIX}_FOUND TRUE PARENT_SCOPE)
endif()
return()
endif()
# Format messages for debug info and the type of error
set(vars "Relevant CMake configuration variables:\n")
foreach (i ${configopts})
mark_as_advanced(CLEAR ${i})
set(val ${${i}})
if ("${val}" STREQUAL "${i}-NOTFOUND")
set (val "<not found>")
elseif (val AND NOT EXISTS ${val})
set (val "${val} (does not exist)")
else()
set(some_files TRUE)
endif()
set(vars "${vars} ${i}=${val}\n")
endforeach()
set(vars "${vars}You may use CMake GUI, cmake -D or ccmake to modify the values. Delete CMakeCache.txt to discard all values and force full re-detection if necessary.\n")
if (version_unsuitable)
set(msg "${PREFIX} ${${PREFIX}_VERSION} was found but")
if (exactver)
set(msg "${msg} only version ${findver} is acceptable.")
else()
set(msg "${msg} version ${findver} is the minimum requirement.")
endif()
else()
if (missing_headers)
set(msg "We could not find development headers for ${PREFIX}. Do you have the necessary dev package installed?")
elseif (some_files)
set(msg "We only found some files of ${PREFIX}, not all of them. Perhaps your installation is incomplete or maybe we just didn't look in the right place?")
if(findver)
set(msg "${msg} This could also be caused by incompatible version (if it helps, at least ${PREFIX} ${findver} should work).")
endif()
else()
set(msg "We were unable to find package ${PREFIX}.")
endif()
endif()
# Fatal error out if REQUIRED
if (required)
set(msg "REQUIRED PACKAGE NOT FOUND\n${msg} This package is REQUIRED and you need to install it or adjust CMake configuration in order to continue building ${CMAKE_PROJECT_NAME}.")
message(FATAL_ERROR "${msg}\n${vars}")
endif()
# Otherwise just print a nasty warning
if (NOT quiet)
message(WARNING "WARNING: MISSING PACKAGE\n${msg} This package is NOT REQUIRED and you may ignore this warning but by doing so you may miss some functionality of ${CMAKE_PROJECT_NAME}. \n${vars}")
endif()
endfunction()
+34
View File
@@ -0,0 +1,34 @@
# This file is modified from duktapeConfig.cmake
# - Try to find discordrpc
# Once done this will define
#
# DISCORDRPC_FOUND - system has discordrpc
# DISCORDRPC_INCLUDE_DIRS - the discordrpc include directory
# DISCORDRPC_LIBRARIES - Link these to use discordrpc
# DISCORDRPC_DEFINITIONS - Compiler switches required for using discordrpc
#
PKG_CHECK_MODULES(PC_DISCORD_RPC QUIET discord-rpc libdiscord-rpc)
find_path(DISCORDRPC_INCLUDE_DIR discord_rpc.h
HINTS ${PC_DISCORD_RPC_INCLUDEDIR} ${PC_DISCORD_RPC_INCLUDE_DIRS}
PATH_SUFFIXES discord-rpc)
find_library(DISCORDRPC_LIBRARY
NAMES discord-rpc libdiscord-rpc
HINTS ${PC_DISCORD_RPC_LIBDIR} ${PC_DISCORD_RPC_LIBRARY_DIRS})
include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(discordrpc
REQUIRED_VARS DISCORDRPC_LIBRARY DISCORDRPC_INCLUDE_DIR)
if (DISCORDRPC_FOUND)
set (DISCORDRPC_LIBRARIES ${DISCORDRPC_LIBRARY})
set (DISCORDRPC_INCLUDE_DIRS ${DISCORDRPC_INCLUDE_DIR} )
endif ()
MARK_AS_ADVANCED(
DISCORDRPC_INCLUDE_DIR
DISCORDRPC_LIBRARY
)
+3 -1
View File
@@ -7,7 +7,6 @@ Includes all git commit authors. Aliases are GitHub user names.
* Michael Steenbeek (Gymnasiast) - translation management
* Michał Janiszewski (janisozaur)
* Hielke Morsink (Broxzier)
* Aaron van Geffen (AaronVanGeffen)
* Matthias Moninger (ZehMatt)
* Tulio Paschoalin Leao (tupaschoal)
@@ -16,6 +15,7 @@ Includes all git commit authors. Aliases are GitHub user names.
* Marijn van der Werf (marijnvdwerf)
* (zsilencer)
* Richard Jenkins (rwjuk)
* Aaron van Geffen (AaronVanGeffen)
## Long term contributors
The following people are not part of the development team, but have been contributing for a long time.
@@ -162,6 +162,8 @@ The following people are not part of the development team, but have been contrib
* Roger Seekell (rpstester)
* Ben Johnston (gsckoco)
* (evilclownattack)
* Adam Bloom (adam-bloom)
* Geoff B. (geoff-B)
## Toolchain
* (Balletie) - macOS
+694 -724
View File
File diff suppressed because it is too large. Load diff
+562 -561
View File
File diff suppressed because it is too large. Load diff
+520 -557
View File
File diff suppressed because it is too large. Load diff
+531 -582
View File
File diff suppressed because it is too large. Load diff
+638 -558
View File
File diff suppressed because it is too large. Load diff
+821 -794
View File
File diff suppressed because it is too large. Load diff
+67 -69
View File
@@ -29,13 +29,13 @@ STR_1120 :Traveling at {VELOCITY}
STR_1129 :All vehicles in same colors
STR_1130 :Different colors per {STRINGID}
STR_1131 :Different colors per vehicle
STR_1136 :{SMALLFONT}{BLACK}Select main color
STR_1137 :{SMALLFONT}{BLACK}Select additional color 1
STR_1138 :{SMALLFONT}{BLACK}Select additional color 2
STR_1139 :{SMALLFONT}{BLACK}Select support structure color
STR_1140 :{SMALLFONT}{BLACK}Select vehicle color scheme option
STR_1136 :Select main color
STR_1137 :Select additional color 1
STR_1138 :Select additional color 2
STR_1139 :Select support structure color
STR_1140 :Select vehicle color scheme option
STR_1396 :{SMALLFONT}{BLACK}Color scheme options
STR_1396 :Color scheme options
STR_1442 :Emptying trash can
@@ -70,13 +70,13 @@ STR_1540 :{SMALLFONT}“This coffee from {STRINGID} is a really good value”
STR_1542 :{SMALLFONT}“This fried chicken from {STRINGID} is a really good value”
STR_1543 :{SMALLFONT}“This lemonade from {STRINGID} is a really good value”
STR_1559 :{SMALLFONT}“I'm not paying that much for fries from {STRINGID}”
STR_1559 :{SMALLFONT}“I’m not paying that much for fries from {STRINGID}”
STR_1561 :{SMALLFONT}“I'm not paying that much for cotton candy from {STRINGID}”
STR_1561 :{SMALLFONT}“I’m not paying that much for cotton candy from {STRINGID}”
STR_1571 :{SMALLFONT}“I'm not paying that much for a candy apple from {STRINGID}”
STR_1571 :{SMALLFONT}“I’m not paying that much for a candy apple from {STRINGID}”
STR_1573 :{SMALLFONT}“I'm not paying that much for a donut from {STRINGID}”
STR_1573 :{SMALLFONT}“I’m not paying that much for a donut from {STRINGID}”
STR_1584 :{SMALLFONT}“This on-ride photo from {STRINGID} is a really good value”
STR_1585 :{SMALLFONT}“This on-ride photo from {STRINGID} is a really good value”
@@ -102,9 +102,9 @@ STR_1667 :{WINDOW_COLOUR_2}Bathroom:
STR_1714 :{INLINE_SPRITE}{249}{19}{00}{00}{WINDOW_COLOUR_2}Empty trash cans
STR_1753 :{SMALLFONT}{BLACK}Show summarized list of guests in park
STR_1753 :Show summarized list of guests in park
STR_1790 :{SMALLFONT}{BLACK}Select uniform color for this type of staff
STR_1790 :Select uniform color for this type of staff
STR_1791 :{WINDOW_COLOUR_2}Uniform color:
STR_1819 :{WINDOW_COLOUR_2}All guests (summarized)
@@ -114,7 +114,7 @@ STR_1834 :Guests favorite
STR_1842 :Favorite of: {COMMA16} guest
STR_1843 :Favorite of: {COMMA16} guests
STR_1929 :{RED}{STRINGID} still hasn't been fixed{NEWLINE}Check where your mechanics are and consider organizing them better
STR_1929 :{RED}{STRINGID} still hasn’t been fixed{NEWLINE}Check where your mechanics are and consider organizing them better
STR_1967 :{WINDOW_COLOUR_2}Fries price:
@@ -175,30 +175,30 @@ STR_2806 :{RED}Guests are complaining about the disgusting state of the paths
STR_2807 :{RED}Guests are complaining about the amount of trash in your park{NEWLINE}Check where your handymen are and consider organizing them better
STR_2808 :{RED}Guests are complaining about the vandalism in your park{NEWLINE}Check where your security guards are and consider organizing them better
STR_2811 :{RED}Guests are complaining because they can't find the bathrooms in your park
STR_2811 :{RED}Guests are complaining because they can’t find the bathrooms in your park
STR_2824 :{WINDOW_COLOUR_2}Best park bathrooms award
STR_2828 :{WINDOW_COLOUR_2}Most dazzling ride color schemes award
STR_2845 :{TOPAZ}Your park has received an award for being 'The park with the most dazzling choice of color schemes'!
STR_2845 :{TOPAZ}Your park has received an award for being ‘The park with the most dazzling choice of color schemes’!
STR_2971 :Main color scheme
STR_2972 :Alternative color scheme 1
STR_2973 :Alternative color scheme 2
STR_2974 :Alternative color scheme 3
STR_2975 :{SMALLFONT}{BLACK}Select which color scheme to change, or paint ride with
STR_2976 :{SMALLFONT}{BLACK}Paint an individual area of this ride using the selected color scheme
STR_2975 :Select which color scheme to change, or paint ride with
STR_2976 :Paint an individual area of this ride using the selected color scheme
STR_2989 :{SMALLFONT}{BLACK}Select main color
STR_2990 :{SMALLFONT}{BLACK}Select text color
STR_2989 :Select main color
STR_2990 :Select text color
STR_3093 :{WINDOW_COLOUR_2}Favorite: {BLACK}{STRINGID}
STR_3099 :{SMALLFONT}{BLACK}Select color
STR_3100 :{SMALLFONT}{BLACK}Select second color
STR_3101 :{SMALLFONT}{BLACK}Select third color
STR_3102 :{SMALLFONT}{BLACK}Re-paint colored scenery on landscape
STR_3099 :Select color
STR_3100 :Select second color
STR_3101 :Select third color
STR_3102 :Re-paint colored scenery on landscape
STR_3122 :{WINDOW_COLOUR_2}Favorite ride of: {BLACK}{COMMA16} guest
STR_3123 :{WINDOW_COLOUR_2}Favorite ride of: {BLACK}{COMMA16} guests
@@ -206,41 +206,39 @@ STR_3123 :{WINDOW_COLOUR_2}Favorite ride of: {BLACK}{COMMA16} guests
STR_3372 :{BLACK}= A.T.M.
STR_3373 :{BLACK}= Restroom
STR_6274 :Can't set color scheme…
STR_6274 :Can’t set color scheme…
# Strings added by OpenRCT2. Only add strings that differ from UK English!
STR_5306 :RollerCoaster Tycoon 1 (CF)
STR_5307 :RollerCoaster Tycoon 1 (CF + LL)
STR_5428 :Counterclockwise rotations:
STR_5440 :Minimize fullscreen on focus loss
STR_5441 :{SMALLFONT}{BLACK}Identifies rides by track type{NEWLINE}so vehicles can be changed{NEWLINE}afterwards (RCT1 behavior)
STR_5441 :Identifies rides by track type{NEWLINE}so vehicles can be changed{NEWLINE}afterwards (RCT1 behavior)
STR_5459 :Rotate counterclockwise
STR_5460 :Rotate view counterclockwise
STR_5515 :{SMALLFONT}{BLACK}Stops guests from vandalizing your park when they're angry
STR_5517 :{SMALLFONT}{BLACK}Gray
STR_5515 :Stops guests from vandalizing your park when they’re angry
STR_5517 :Gray
STR_5557 :Stay connected after desynchronization (Multiplayer)
STR_5572 :Add To Favorites
STR_5573 :Remove From Favorites
STR_5620 :Corkscrew Follies
STR_5817 :{SMALLFONT}{BLACK}Sets UI scaling type. Requires hardware display to be used.{NEWLINE}Linear scaling is smooth, but blurry. Smooth Nearest Neighbor scaling is sharp, but can cause a minor performance hit.
STR_5820 :{SMALLFONT}{BLACK}Minimize the game if focus is{NEWLINE}lost while in fullscreen mode
STR_5823 :{SMALLFONT}{BLACK}Display banners in uppercase (RCT1 behavior)
STR_5827 :{SMALLFONT}{BLACK}Sets the color scheme used for the GUI
STR_5842 :{SMALLFONT}{BLACK}Sort scenarios into tabs by their difficulty (RCT2 behavior) or their source game (RCT1 behavior)
STR_5843 :{SMALLFONT}{BLACK}Enables progressive unlocking of scenarios (RCT1 behavior)
STR_5872 :{SMALLFONT}{BLACK}Disable plant aging such that they don't wilt.
STR_5907 :{SMALLFONT}{BLACK}When enabled, zooming in will center around the cursor, as opposed to the screen center.
STR_5921 :{SMALLFONT}{BLACK}If enabled, rain and gloomy colors will be rendered during storms.
STR_5817 :Sets UI scaling type. Requires hardware display to be used.{NEWLINE}Linear scaling is smooth, but blurry. Smooth Nearest Neighbor scaling is sharp, but can cause a minor performance hit.
STR_5820 :Minimize the game if focus is{NEWLINE}lost while in fullscreen mode
STR_5823 :Display banners in uppercase (RCT1 behavior)
STR_5827 :Sets the color scheme used for the GUI
STR_5842 :Sort scenarios into tabs by their difficulty (RCT2 behavior) or their source game (RCT1 behavior)
STR_5843 :Enables progressive unlocking of scenarios (RCT1 behavior)
STR_5872 :Disable plant aging such that they don’t wilt.
STR_5907 :When enabled, zooming in will center around the cursor, as opposed to the screen center.
STR_5921 :If enabled, rain and gloomy colors will be rendered during storms.
STR_6046 :Normalize height map
STR_6053 :The heightmap cannot be normalized
STR_6116 :Wide roller coaster trains glide along smooth steel track, traveling through a variety of inversions
STR_6159 :Smooth Nearest Neighbor
STR_6166 :{SMALLFONT}{BLACK}Synchronizes each frame displayed to the monitor's refresh rate, preventing screen tearing.
STR_6206 :Gray stucco
STR_6212 :Gray sandstone
STR_6274 :Can't set color scheme…
STR_6166 :Synchronizes each frame displayed to the monitor’s refresh rate, preventing screen tearing.
STR_6274 :Can’t set color scheme…
STR_6307 :Color scheme: {BLACK}{STRINGID}
STR_6328 :{SMALLFONT}{BLACK}With this option enabled, giant screenshots will have a transparent background instead of the default black color.
STR_6328 :With this option enabled, giant screenshots will have a transparent background instead of the default black color.
#############
# Scenarios #
@@ -275,7 +273,7 @@ STR_DTLS :Convert the beautiful Evergreen Gardens into a thriving theme park
<Bumbly Beach>
STR_SCNR :Bumbly Beach
STR_PARK :Bumbly Beach
STR_DTLS :Develop Bumbly Beach's small amusement park into a thriving theme park
STR_DTLS :Develop Bumbly Beach’s small amusement park into a thriving theme park
<Trinity Islands>
STR_SCNR :Trinity Islands
@@ -283,8 +281,8 @@ STR_PARK :Trinity Islands
STR_DTLS :Several islands form the basis for this new park
<Katie's Dreamland>
STR_SCNR :Katie's World
STR_PARK :Katie's World
STR_SCNR :Katie’s World
STR_PARK :Katie’s World
STR_DTLS :A small theme park with a few rides and room for expansion - Your aim is to double the park value
<Pokey Park>
@@ -308,8 +306,8 @@ STR_PARK :Karts & Coasters
STR_DTLS :A large park hidden in the forest, with only go-kart tracks and wooden roller coasters
<Mel's World>
STR_SCNR :Mel's World
STR_PARK :Mel's World
STR_SCNR :Mel’s World
STR_PARK :Mel’s World
STR_DTLS :This theme park has some well-designed modern rides, but plenty of space for expansion
<Mystic Mountain>
@@ -330,7 +328,7 @@ STR_DTLS :A large park with well-designed but rather old rides - Replace the
<Paradise Pier>
STR_SCNR :Big Pier
STR_PARK :Big Pier
STR_DTLS :Convert this sleepy town's pier into a thriving attraction
STR_DTLS :Convert this sleepy town’s pier into a thriving attraction
<Lightning Peaks>
STR_SCNR :Lightning Peaks
@@ -345,7 +343,7 @@ STR_DTLS :A well-established park, which has a few problems
<Rainbow Valley>
STR_SCNR :Rainbow Valley
STR_PARK :Rainbow Valley
STR_DTLS :Rainbow Valley's local authority won't allow any landscape changes or large tree removal, but you must develop the area into a large theme park
STR_DTLS :Rainbow Valley’s local authority won’t allow any landscape changes or large tree removal, but you must develop the area into a large theme park
<Thunder Rock>
STR_SCNR :Thunder Rock
@@ -446,7 +444,7 @@ STR_DTLS :The weather is so wet here that a giant pyramid has been built to a
<Harmonic Hills>
STR_SCNR :Harmonic Hills
STR_PARK :Harmonic Hills
STR_DTLS :The local authority won't allow you to build above tree height in this park
STR_DTLS :The local authority won’t allow you to build above tree height in this park
<Roman Village>
STR_SCNR :Roman Village
@@ -545,8 +543,8 @@ STR_PARK :Big Pier 2
STR_DTLS :Big Pier has expanded its network of walkways over the sea, and your task is to expand the park to use the extra space
<Dragon's Cove>
STR_SCNR :Dragon's Cove
STR_PARK :Dragon's Cove
STR_SCNR :Dragon’s Cove
STR_PARK :Dragon’s Cove
STR_DTLS :This sea-side cove is the setting for this coaster-building challenge
<Good Knight Park>
@@ -657,7 +655,7 @@ STR_DTLS :On a far-away planet this area of land needs turning into a theme p
<Micro Park>
STR_SCNR :Micro Park
STR_PARK :Micro Park
STR_DTLS :Try to create the world's smallest profitable park
STR_DTLS :Try to create the world’s smallest profitable park
## Real Parks from RCT1
# None of them had details
@@ -799,7 +797,7 @@ STR_DTLS :Try your hand at running and improving this Six Flags park
<Six Flags Great Adventure>
STR_SCNR :Six Flags Great Adventure
STR_PARK :Six Flags Great Adventure
STR_DTLS :Build the missing Six Flags rides, or create your own designs to improve the park! But don't forget your ultimate aim - To attract more guests to the park!
STR_DTLS :Build the missing Six Flags rides, or create your own designs to improve the park! But don’t forget your ultimate aim - To attract more guests to the park!
<Six Flags Holland>
STR_SCNR :Six Flags Holland
@@ -809,12 +807,12 @@ STR_DTLS :Try your hand at running and improving this Six Flags park
<Six Flags Magic Mountain>
STR_SCNR :Six Flags Magic Mountain
STR_PARK :Six Flags Magic Mountain
STR_DTLS :Build the missing Six Flags rides, or create your own designs to improve the park! But don't forget your ultimate aim - To repay your loan while keeping the park value up!
STR_DTLS :Build the missing Six Flags rides, or create your own designs to improve the park! But don’t forget your ultimate aim - To repay your loan while keeping the park value up!
<Six Flags over Texas>
STR_SCNR :Six Flags over Texas
STR_PARK :Six Flags over Texas
STR_DTLS :Build the missing Six Flags rides, or create your own designs to improve the park! But don't forget your ultimate aim - To attract more guests to the park!
STR_DTLS :Build the missing Six Flags rides, or create your own designs to improve the park! But don’t forget your ultimate aim - To attract more guests to the park!
###############################################################################
## Wacky Worlds Scenarios
@@ -852,7 +850,7 @@ STR_DTLS :An existing park has run out of space. Your only option is to build
<Asia - Maharaja Palace>
STR_SCNR :Asia - Maharaja Palace
STR_PARK :Park Maharaja
STR_DTLS :You have been commissioned by the Maharaja to bring entertainment to the large local population. Build a park inspired by the Maharaja's palace.
STR_DTLS :You have been commissioned by the Maharaja to bring entertainment to the large local population. Build a park inspired by the Maharaja’s palace.
<Australasia - Ayers Rock>
STR_SCNR :Australasia - Ayers Rock
@@ -862,7 +860,7 @@ STR_DTLS :You are helping Aboriginal people to build a park as part of a cult
<Australasia - Fun at the Beach>
STR_SCNR :Australasia - Fun at the Beach
STR_PARK :Beach Barbecue Blast
STR_DTLS :A local entrepreneur's sealife park has gone bust. You already operate a small park and buy the other park from the construction company. Develop a big combined park.
STR_DTLS :A local entrepreneur’s sealife park has gone bust. You already operate a small park and buy the other park from the construction company. Develop a big combined park.
<Europe - European Cultural Festival>
STR_SCNR :Europe - European Cultural Festival
@@ -877,12 +875,12 @@ STR_DTLS :An old park has fallen into disrepair. You gain a European Union gr
<N. America - Extreme Hawaiian Island>
STR_SCNR :N. America - Extreme Hawaiian Island
STR_PARK :Wacky Waikiki
STR_DTLS :The people of Hawaii are bored of surfing and are looking for something more intense. You need to build a park with this in mind to keep the area's tourist attraction rating high.
STR_DTLS :The people of Hawaii are bored of surfing and are looking for something more intense. You need to build a park with this in mind to keep the area’s tourist attraction rating high.
<North America - Grand Canyon>
STR_SCNR :North America - Grand Canyon
STR_PARK :Canyon Calamities
STR_DTLS :You have to build a park on limited land either side of this natural treasure - you do have the opportunity to buy neighboring land from the Native American Indians. You need to complete the objective to sustain the local town's population.
STR_DTLS :You have to build a park on limited land either side of this natural treasure - you do have the opportunity to buy neighboring land from the Native American Indians. You need to complete the objective to sustain the local town’s population.
<North America - Rollercoaster Heaven>
STR_SCNR :North America - Rollercoaster Heaven
@@ -910,7 +908,7 @@ STR_DTLS :You run a small park near Rio but the bank has called in your loan.
<Dark Age - Castle>
STR_SCNR :Dark Age - Castle
STR_PARK :Cliffside Castle
STR_DTLS :Local members of the battle re-enactment society are rather serious about their hobby. They've entrusted you with the job of constructing a Dark Age theme park on the grounds of Cliffside Castle.
STR_DTLS :Local members of the battle re-enactment society are rather serious about their hobby. They’ve entrusted you with the job of constructing a Dark Age theme park on the grounds of Cliffside Castle.
<Dark Age - Robin Hood>
STR_SCNR :Dark Age - Robin Hood
@@ -935,17 +933,17 @@ STR_DTLS :You have been given the task of running and improving an existing t
<Mythological - Cradle of Civilisation>
STR_SCNR :Mythological - Cradle of Civilization
STR_PARK :Mythological Madness
STR_DTLS :You own an island of particular archaeological value. You've decided to fund its preservation by constructing a theme park based on the area's rich Mythological heritage.
STR_DTLS :You own an island of particular archaeological value. You’ve decided to fund its preservation by constructing a theme park based on the area’s rich Mythological heritage.
<Prehistoric - After the Asteroid>
STR_SCNR :Prehistoric - After the Asteroid
STR_PARK :Crater Carnage
STR_DTLS :You own a dusty old meteor crater. In the true entrepreneurial spirit, you've decided to construct an asteroid theme park and convert your seemingly worthless land into a sizeable fortune.
STR_DTLS :You own a dusty old meteor crater. In the true entrepreneurial spirit, you’ve decided to construct an asteroid theme park and convert your seemingly worthless land into a sizeable fortune.
<Prehistoric - Jurassic Safari>
STR_SCNR :Prehistoric - Jurassic Safari
STR_PARK :Coastersaurus
STR_DTLS :You've been given the task of constructing a Jurassic era theme park. To optimize your visitors' access to the exotic plant and animal exhibits, you will need to build rides going over and into the valley.
STR_DTLS :You’ve been given the task of constructing a Jurassic era theme park. To optimize your visitors’ access to the exotic plant and animal exhibits, you will need to build rides going over and into the valley.
<Prehistoric - Stone Age>
STR_SCNR :Prehistoric - Stone Age
@@ -955,12 +953,12 @@ STR_DTLS :To thwart the highway developers and preserve the mysterious ancien
<Roaring Twenties - Prison Island>
STR_SCNR :Roaring Twenties - Prison Island
STR_PARK :Alcatraz
STR_DTLS :The infamous Prison Island - whose population once swelled with bootleggers and racketeers - is now up for sale. You've decided to convert it into a top tourist attraction, and money is no object.
STR_DTLS :The infamous Prison Island - whose population once swelled with bootleggers and racketeers - is now up for sale. You’ve decided to convert it into a top tourist attraction, and money is no object.
<Roaring Twenties - Schneider Cup>
STR_SCNR :Roaring Twenties - Schneider Cup
STR_PARK :Schneider Shores
STR_DTLS :The 75th anniversary of your grandfather's Schneider Cup victory is coming up in a few years. You're going to honor his achievement by building a theme park based on the famous seaplane race.
STR_DTLS :The 75th anniversary of your grandfather’s Schneider Cup victory is coming up in a few years. You’re going to honor his achievement by building a theme park based on the famous seaplane race.
<Roaring Twenties - Skyscrapers>
STR_SCNR :Roaring Twenties - Skyscrapers
@@ -968,11 +966,11 @@ STR_PARK :Metropolis
STR_DTLS :You own an empty lot near the low-rise part of town. To squeeze the most out of your urban property, build a skyscraper theme park inspired by the soaring art deco architecture of the twenties.
<Rock 'n' Roll - Flower Power>
STR_SCNR :Rock 'n' Roll - Flower Power
STR_SCNR :Rock ‘n’ Roll - Flower Power
STR_PARK :Woodstock
STR_DTLS :A large annual music festival takes place on your land. Build a hip theme park to keep the free-spirited audience entertained.
<Rock 'n' Roll - Rock 'n' Roll>
STR_SCNR :Rock 'n' Roll - Rock 'n' Roll
STR_PARK :Rock 'n' Roll Revival
STR_DTLS :This aging theme park has seen better days. Help the owner give it a retro rock 'n' roll makeover and turn the place into a successful venue.
STR_SCNR :Rock ‘n’ Roll - Rock ‘n’ Roll
STR_PARK :Rock ‘n’ Roll Revival
STR_DTLS :This aging theme park has seen better days. Help the owner give it a retro rock ‘n’ roll makeover and turn the place into a successful venue.
+1096 -1068
View File
File diff suppressed because it is too large. Load diff
+539 -556
View File
File diff suppressed because it is too large. Load diff
+374 -396
View File
File diff suppressed because it is too large. Load diff
+1102 -1111
View File
File diff suppressed because it is too large. Load diff
+573 -557
View File
File diff suppressed because it is too large. Load diff
+523 -548
View File
File diff suppressed because it is too large. Load diff
+520 -543
View File
File diff suppressed because it is too large. Load diff
+648 -621
View File
File diff suppressed because it is too large. Load diff
+517 -547
View File
File diff suppressed because it is too large. Load diff
+612 -610
View File
File diff suppressed because it is too large. Load diff
+537 -533
View File
File diff suppressed because it is too large. Load diff
+613 -585
View File
File diff suppressed because it is too large. Load diff
+279 -298
View File
File diff suppressed because it is too large. Load diff
+1001 -868
View File
File diff suppressed because it is too large. Load diff
+504 -533
View File
File diff suppressed because it is too large. Load diff
+489 -520
View File
File diff suppressed because it is too large. Load diff
+518 -555
View File
File diff suppressed because it is too large. Load diff
+52 -2
View File
@@ -1,5 +1,55 @@
openrct2 (0.3.2-develop-1) unstable; urgency=medium
* Release 2020-11 (Closes: #XXXXXX)
* Nightly develop build.
-- Michał Janiszewski <janisozaur+openrct2@gmail.com> Sun, 10 Jan 2016 23:41:16 +0100
openrct2 (0.3.2) stable; urgency=medium
* Feature: [#12110] Add Hybrid Coaster (Rocky Mountain Construction I-Box) track type.
* Feature: [#12999] .sea (RCT Classic) scenarios are now listed in the “New Scenario” dialog.
* Feature: [#13000] objective_options command for console.
* Feature: [#13096] Add Esperanto translation.
* Feature: [#13164] Add 'Objective options' to Cheats menu.
* Change: [#9568] Change lift sounds of Reverser Roller Coaster and Compact Inverted Coaster to better fitting ones.
* Change: [#13160] The lay-out of the Park Cheats tab has been improved.
* Fix: [#1324] Last track piece map selection still visible when placing ride entrance or exit (original bug).
* Fix: [#3200] Close Construction window upon selecting vehicle page.
* Fix: [#4022] Fix Mac cursor offset on launch
* Fix: [#4041] Garbled park option on scenario editor with custom theme.
* Fix: [#4865] Offer an option to disable inhibiting the monitor power.
* Fix: [#5178] Lighting effects cannot be disabled in software mode
* Fix: [#5904] Empty errors on tile inspector base height change.
* Fix: [#6086] Cannot install existing track design with another name.
* Fix: [#6614, #8623] Colours are distorted when using OpenGL with Intel integrated graphics drivers.
* Fix: [#7443] Construction arrows pulse at irregular intervals.
* Fix: [#7518] Water isn't cut down by view clipping tool.
* Fix: [#7748] Tooltips would not timeout for normal UI elements.
* Fix: [#8015] RCT2 files are not found when put into the OpenRCT2 folder.
* Fix: [#8957] Error title missing when building with insufficient funds
* Fix: [#10186] Placing multiple saved rides ignores design name (original bug).
* Fix: [#12368] Desync due to ghost station pieces affecting changing ride settings.
* Fix: [#12940] Windows cause issues with snow drawing.
* Fix: [#13019] Simulated trains sometimes open construction window when they crash.
* Fix: [#13021] Mowed grass and weeds don't show up in extra zoom levels.
* Fix: [#13024] Console cursor does not correctly render at current cursor position.
* Fix: [#13029] Not all Junior Roller Coaster pieces are shown when "Show all track pieces" cheat is enabled.
* Fix: [#13044] Rides in RCT1 saves all have "0 customers per hour".
* Fix: [#13074] Entrance and exit ghosts for mazes not being removed.
* Fix: [#13083] Dialog for renaming conflicting track design crops text out.
* Fix: [#13097] Missing direction arrow for stations
* Fix: [#13098] UI buttons for entrance and exit don't toggle according to them being built.
* Fix: [#13098] Maze can still be constructed while placing entrance and exit (original bug).
* Fix: [#13118] Closing construction window resets ride viewport.
* Fix: [#13129] Missing error message when waiting for train to leave station on the ride measurements graph.
* Fix: [#13138] Fix logical sorting of list windows.
* Fix: [#13158] Cursors are drawn incorrectly in text input fields.
* Fix: [#13222] Vehicle collision causes negative number of passengers (original bug).
* Fix: [#13226, #7280] No error is shown when attempting to load a corrupted save.
* Fix: [#13266] Plugin API: Deleting key of sharedStorage not working.
* Fix: [#13278] Desync caused by ghost tiles changing the ride mode.
* Fix: [#13289] Litter and vomit sometimes not loading with RCT1 saved game or scenario
* Fix: [#13292] Impossible excitement rating requirements with finish building 5 coasters goal
* Improved: [#13023] Made add_news_item console command last argument, assoc, optional.
* Improved: [#13098] Improvements to the maze construction window user interface
* Improved: [#13125] Selecting the RCT2 files now uses localised dialogs.
-- AaronVanGeffen <AaronVanGeffen@users.noreply.github.com> Sun, 1 Nov 2020 20:08:00 +0100
+1
View File
@@ -12,6 +12,7 @@ Homepage: https://openrct2.io/
Vcs-Browser: https://github.com/OpenRCT2/OpenRCT2
Vcs-Git: https://github.com/OpenRCT2/OpenRCT2
Depends: ${shlibs:Depends}, ${misc:Depends}
Recommends: innoextract
Description: An open source re-implementation of Roller Coaster Tycoon 2.
An open source clone of RollerCoaster Tycoon 2 built by decompiling the
original game one bit at a time.
+73
View File
@@ -1,3 +1,76 @@
0.3.2+ (in development)
------------------------------------------------------------------------
- Feature: [#6677] Add Discord RPC to macOS builds.
- Feature: [#6844] Enhanced track designer with ability to add/remove scenery and footpaths.
- Feature: [#7059] Landscape doors for the Ghost Train.
- Feature: [#11859] Add on-ride photo section to Air Powered Vertical and Reverse Freefall Coaster.
- Feature: [#12307] Allow extraction of GOG installer via innoextract (for Linux users).
- Feature: [#13057] Make GameAction flags accessible by plugins.
- Feature: [#13078] [Plugin] Add colour picker widget.
- Feature: [#13376] Open custom window at specified tab.
- Feature: [#13384] [Plugin] Expose all TileElement data.
- Feature: [#13398] Add pause button to the Track Designer.
- Feature: [#13436] macOS: use new icon that matches Big Sur's style.
- Feature: [#13495] [Plugin] Add properties for park value, guests and company value.
- Feature: [#13509] [Plugin] Add ability to format strings using OpenRCT2 string framework.
- Feature: [#13512] [Plugin] Add item separators to list view.
- Feature: [#13583] [Plugin] Add allowed_hosts to plugin section of config.
- Feature: [#13593] [Plugin] Add ability to read and change the position of ride vehicles.
- Feature: [#13613] Add single-rail roller coaster (Rocky Mountain Construction Raptor).
- Feature: [#13614] Add terrain surfaces from RollerCoaster Tycoon 1.
- Feature: [#13675] [Plugin] Add context.setInterval and context.setTimeout.
- Feature: [#13848] Replace shortcut engine allowing multiple bindings from different input devices.
- Feature: [#13927] [Plugin] Add isVisible and text box widget.
- Feature: [#13965] Make ride construction shortcuts work for footpath, too.
- Feature: [#13969] [Plugin] Add APIs for editing title sequences.
- Feature: [#14002] [Plugin] Use allowed_hosts when checking the binding IP for listening.
- Feature: [#14059] [Plugin] Add optional filter to custom tools.
- Feature: [#14142] [Plugin] Add option for taking transparent screenshots.
- Feature: [#14171] [Plugin] Add API for getting network traffic statistics.
- Feature: [#14171] [Plugin] Add API for creating custom widgets.
- Feature: [#14171] [Plugin] Add API for drawing graphics for custom widgets.
- Feature: [#14171] [Plugin] Add click event to spinners and allow them to be held down.
- Feature: [#14252] [Plugin] Add API for vehicle g-forces.
- Change: [#13346] [Plugin] Renamed FootpathScenery to FootpathAddition, fix typos.
- Change: [#13857] Change Rotation Control Toggle to track element number 256
- Fix: [#4605, #11912] Water palettes are not updated properly when selected in Object Selection.
- Fix: [#7772] Hacked vehicles may incorrectly not mark a vehicle object as in use causing accidental removal when remove_unused_objects is used.
- Fix: [#9631, #10716] Banners drawing glitches when there are more than 32 on the screen at once.
- Fix: [#11438] Freeze when shrinking map size.
- Fix: [#11484] Console output does not properly return to column 0 after line ending.
- Fix: [#12895] Mechanics are called to repair rides that have already been fixed.
- Fix: [#13048] Keyboard mute button interpreted as `C` key.
- Fix: [#13102] Underflow on height chart (Ride measurements).
- Fix: [#13234] Incorrect vehicle mass after using Remove All Guests cheat.
- Fix: [#13236] New ride type appears as new vehicle type in research.
- Fix: [#13257] Rides that are exactly the minimum objective length are not counted.
- Fix: [#13334] Uninitialised variables in CustomTabDesc.
- Fix: [#13342] Rename tabChange to onTabChange in WindowDesc interface.
- Fix: [#13427] Newly created Go-Karts show “Race won by <blank>”.
- Fix: [#13431] [Plugin] UI disabled widgets can still be interacted with.
- Fix: [#13454] Plug-ins do not load on Windows if the user directory contains non-ASCII characters.
- Fix: [#13466] “Build 5 roller coasters” excitement corrupted in Park window.
- Fix: [#13469] Exception thrown from plugin in context.subscribe.
- Fix: [#13477] Plug-in widget tooltips do not work.
- Fix: [#13489] Mechanics continue heading to inspect broken down rides.
- Fix: [#13510] [Plugin] list view scroll resets when items is set.
- Fix: [#13574] Crash when a JSON object does not set `originalId`.
- Fix: [#13832] Players last action position is invalid on opening/closing a ride in multiplayer.
- Fix: [#13937] Pathfinding gets confused when two entrances/exits from the same ride are on top of each other.
- Fix: [#13961] Animation for Guests sliding down Spiral Slide is missing on close zoom levels.
- Fix: [#14012] 'Finish 5 roller coasters' goal is listed incorrectly in scenario selector.
- Fix: [#14095] Holding down [-][+] buttons does not decrease/increase number of circuits.
- Fix: [#14225] Desync when “allow early scenario completion” is enabled.
- Fix: [#14247] Scenarios from RCT1 allow hiring too many staff.
- Improved: [#6022] Allow up to 128 ride objects to be selected in track designer.
- Improved: [#12917] Changed peep movement so that they stay more spread out over the full width of single tile paths.
- Improved: [#13386] A GUI error message is now displayed if the language files are missing.
- Improved: [#14193] [Plugin] Add TileElement union type and use it in Tile interface instead of BaseTileElement.
- Improved: [#14193] [Plugin] Add exact type field to each TileElement, add type field to WidgetBase.
- Improved: [#14193] [Plugin] Change single quotes to double quotes in openrct2.d.ts.
- Removed: [#13423] Built-in explode guests cheat (replaced by plug-in).
- Removed: [#14186] Network traffic window (replaced by plug-in).
0.3.2 (2020-11-01)
------------------------------------------------------------------------
- Feature: [#12110] Add Hybrid Coaster (Rocky Mountain Construction I-Box) track type.
+3 -1
View File
@@ -40,7 +40,9 @@
</screenshots>
<url type="homepage">https://openrct2.io/</url>
<url type="bugtracker">https://github.com/OpenRCT2/OpenRCT2/issues</url>
<url type="help">https://github.com/OpenRCT2/OpenRCT2/wiki</url>
<url type="faq">https://github.com/OpenRCT2/OpenRCT2/wiki/FAQ-&amp;-Common-Issues</url>
<url type="help">https://docs.openrct2.io</url>
<url type="translate">https://github.com/OpenRCT2/Localisation</url>
<content_rating type="oars-1.0">
<content_attribute id="violence-cartoon">mild</content_attribute>
<content_attribute id="violence-fantasy">none</content_attribute>
+1
View File
@@ -38,3 +38,4 @@ Comment[sv]=Open Source om-implementation av RollerCoaster Tycoon 2.
Comment[zh_CN]=过山车大亨2(RollerCoaster Tycoon 2)的开源重新开发版。
Comment[zh_TW]=重新開發並開放源碼的模擬樂園2 (RollerCoaster Tycoon 2)。
Categories=Game;Simulation;
Keywords=openrct2;rct2;rct;roller;coaster;tycoon;simulation;
@@ -1,68 +0,0 @@
{
"images" : [
{
"size" : "16x16",
"idiom" : "mac",
"filename" : "icon_16x16.png",
"scale" : "1x"
},
{
"size" : "16x16",
"idiom" : "mac",
"filename" : "icon_16x16@2x.png",
"scale" : "2x"
},
{
"size" : "32x32",
"idiom" : "mac",
"filename" : "icon_32x32.png",
"scale" : "1x"
},
{
"size" : "32x32",
"idiom" : "mac",
"filename" : "icon_32x32@2x.png",
"scale" : "2x"
},
{
"size" : "128x128",
"idiom" : "mac",
"filename" : "icon_128x128.png",
"scale" : "1x"
},
{
"size" : "128x128",
"idiom" : "mac",
"filename" : "icon_128x128@2x.png",
"scale" : "2x"
},
{
"size" : "256x256",
"idiom" : "mac",
"filename" : "icon_256x256.png",
"scale" : "1x"
},
{
"size" : "256x256",
"idiom" : "mac",
"filename" : "icon_256x256@2x.png",
"scale" : "2x"
},
{
"size" : "512x512",
"idiom" : "mac",
"filename" : "icon_512x512.png",
"scale" : "1x"
},
{
"size" : "512x512",
"idiom" : "mac",
"filename" : "icon_512x512@2x.png",
"scale" : "2x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
+2
View File
@@ -22,6 +22,8 @@
<string>OpenRCT2 is licensed under the GNU General Public License version 3</string>
<key>CFBundleAllowMixedLocalizations</key>
<true/>
<key>CFBundleIconFile</key>
<string>openrct2.icns</string>
<key>NSHighResolutionCapable</key>
<true/>
</dict>
+22 -22
View File
@@ -4,7 +4,7 @@
.Sh NAME
.Nm openrct2
.Nd An open source re-implementation of \(lqRollerCoaster Tycoon 2\(rq.
.sp
.Sh DESCRIPTION
OpenRCT2 is an open-source re-implementation of RollerCoaster Tycoon 2 (RCT2).
The gameplay revolves around building and maintaining an amusement park
@@ -14,7 +14,7 @@ OpenRCT2 allows for both scenario and sandbox play. Scenarios require the
player to complete a certain objective in a set time limit whilst sandbox
allows the player to build a more flexible park with optionally no
restrictions or finance.
.sp
.Sh SYNOPSIS
.Nm
.Op Fl h | -help
@@ -51,7 +51,7 @@ destination
.Nm
.Ar handle-uri
openrct2://.../
.sp
.Nm
.Ar screenshot
file output_image width height
@@ -61,7 +61,7 @@ file output_image width height
file output_image
.Ar giant
zoom rotation
.sp
.Nm
.Ar sprite append
spritefile input
@@ -84,56 +84,56 @@ spritefile idx output
.Nm
.Ar sprite exportall
spritefile output_directory
.sp
.Sh OPTIONS
.Bl -tag -width "-openrct2-data-path path "
.sp
.It Fl h | -help
Print a summary of all options to stdout and exit.
.sp
.It Fl v | -version
Show version information and exit.
.sp
.It Fl a | -all
Show help for all commands.
.sp
.It Fl -about
Show information about
.Nm .
.sp
.It Fl -verbose
Print diagnostic information to stdout.
.sp
.It Fl -headless
run
.Nm
without a graphical window.
.sp
.It Fl -port Ar port
Port to use for hosting or joining a server.
.sp
.It Fl -address Ar address
Address to bind to when hosting a server.
.sp
.It Fl -password Ar password
Password needed to join the server.
.sp
.It Fl -user-data-path Ar path
Path to the user data directory (containing
.Pa config.ini )
.sp
.It Fl -openrct2-data-path Ar path
Path to the OpenRCT2 data directory (containing
.Pa languages )
.sp
.It Fl -rct1-data-path Ar path
path to the RollerCoaster Tycoon 1 data directory (containing
.Pa data/csg1.dat )
.sp
.It Fl -rct2-data-path Ar path
Path to the RollerCoaster Tycoon 2 data directory (containing
.Pa data/g1.dat )
.El
.Sh EXAMPLES
.Bl -tag -width "openrct2 https://openrct2.io/files/SnowyPark.sv6 "
.It openrct2 ./my_park.sv6
@@ -142,10 +142,10 @@ Open a saved park.
Download and open a saved park.
.It openrct2 host ./my_park.sv6 --port 11753 --headless
Run a headless server for a saved park.
.El
.Sh SEE ALSO
.Lk https://openrct2.io "Offical site"
.Lk https://openrct2.io "Official site"
.sp
.Lk https://github.com/OpenRCT2/OpenRCT2 "GitHub"
.Sh HISTORY
RollerCoaster Tycoon 2 was originally written by Chris Sawyer in x86 assembly
+648 -82
View File
File diff suppressed because it is too large. Load diff
+4 -4
View File
@@ -46,10 +46,10 @@
<GtestSha1>058b9df80244c03f1633cb06e9f70471a29ebb8e</GtestSha1>
<TitleSequencesUrl>https://github.com/OpenRCT2/title-sequences/releases/download/v0.1.2c/title-sequences.zip</TitleSequencesUrl>
<TitleSequencesSha1>304d13a126c15bf2c86ff13b81a2f2cc1856ac8d</TitleSequencesSha1>
<ObjectsUrl>https://github.com/OpenRCT2/objects/releases/download/v1.0.18/objects.zip</ObjectsUrl>
<ObjectsSha1>4a3c32a0251c3babe014844f2c683fc32138b3f2</ObjectsSha1>
<ReplaysUrl>https://github.com/OpenRCT2/replays/releases/download/v0.0.19/replays.zip</ReplaysUrl>
<ReplaysSha1>8EAAE223FF9FE4D49949C9F343831977E6DB6CDE</ReplaysSha1>
<ObjectsUrl>https://github.com/OpenRCT2/objects/releases/download/v1.0.21/objects.zip</ObjectsUrl>
<ObjectsSha1>c38af45d51a6e440386180feacf76c64720b6ac5</ObjectsSha1>
<ReplaysUrl>https://github.com/OpenRCT2/replays/releases/download/v0.0.31/replays.zip</ReplaysUrl>
<ReplaysSha1>693BDD6F4B7C3B312AABEBCAEA4800FE97B33527</ReplaysSha1>
</PropertyGroup>
<ItemGroup>
+8 -12
View File
@@ -53,13 +53,13 @@ If you want to help translate the game to your language, please stop by the Loca
**OpenRCT2** is an open-source re-implementation of RollerCoaster Tycoon 2 (RCT2). The gameplay revolves around building and maintaining an amusement park containing attractions, shops and facilities. The player must try to make a profit and maintain a good park reputation whilst keeping the guests happy. OpenRCT2 allows for both scenario and sandbox play. Scenarios require the player to complete a certain objective in a set time limit whilst sandbox allows the player to build a more flexible park with optionally no restrictions or finance.
RollerCoaster Tycoon 2 was originally written by Chris Sawyer in x86 assembly and is the sequel to RollerCoaster Tycoon. The engine was based on Transport Tycoon, an older game which also has an equivalent open-source project, [OpenTTD](http://openttd.org). OpenRCT2 attempts to provide everything from RCT2 as well as many improvements and additional features, some of these include support for modern platforms, an improved interface, improved guest and staff AI, more editing tools, increased limits, and cooperative multiplayer. It also re-introduces mechanics from RollerCoaster Tycoon that were not present in RollerCoaster Tycoon 2. Some of those include; mountain tool in-game, the *"have fun"* objective, launched coasters (not passing-through the station) and several buttons on the toolbar.
RollerCoaster Tycoon 2 was originally written by Chris Sawyer in x86 assembly and is the sequel to RollerCoaster Tycoon. The engine was based on Transport Tycoon, an older game which also has an equivalent open-source project, [OpenTTD](https://openttd.org). OpenRCT2 attempts to provide everything from RCT2 as well as many improvements and additional features, some of these include support for modern platforms, an improved interface, improved guest and staff AI, more editing tools, increased limits, and cooperative multiplayer. It also re-introduces mechanics from RollerCoaster Tycoon that were not present in RollerCoaster Tycoon 2. Some of those include; mountain tool in-game, the *"have fun"* objective, launched coasters (not passing-through the station) and several buttons on the toolbar.
---
# 2. Downloading the game (pre-built)
OpenRCT2 requires original files of RollerCoaster Tycoon 2 to play. It can be bought at either [Steam](http://store.steampowered.com/app/285330/) or [GOG.com](http://www.gog.com/game/rollercoaster_tycoon_2). If you have the original RollerCoaster Tycoon and its expansion packs, you can [point OpenRCT2 to these](https://github.com/OpenRCT2/OpenRCT2/wiki/Loading-RCT1-scenarios-and-data) in order to play the original scenarios.
OpenRCT2 requires original files of RollerCoaster Tycoon 2 to play. It can be bought at either [Steam](https://store.steampowered.com/app/285330/) or [GOG.com](https://www.gog.com/game/rollercoaster_tycoon_2). If you have the original RollerCoaster Tycoon and its expansion packs, you can [point OpenRCT2 to these](https://github.com/OpenRCT2/OpenRCT2/wiki/Loading-RCT1-scenarios-and-data) in order to play the original scenarios.
[OpenRCT2.org](https://openrct2.org/downloads) offers precompiled builds and installers of the latest master and the develop branch. There is also a cross platform [Launcher](https://github.com/LRFLEW/OpenRCT2Launcher/releases) available that will automatically update your build of the game so that you always have the latest version.
@@ -85,7 +85,7 @@ Some \*BSD operating systems offer native packages. These packages are usually t
## 3.1 Building prerequisites
OpenRCT2 requires original files of RollerCoaster Tycoon 2 to play. It can be bought at either [Steam](http://store.steampowered.com/app/285330/) or [GOG.com](http://www.gog.com/game/rollercoaster_tycoon_2).
OpenRCT2 requires original files of RollerCoaster Tycoon 2 to play. It can be bought at either [Steam](https://store.steampowered.com/app/285330/) or [GOG.com](https://www.gog.com/game/rollercoaster_tycoon_2).
### Windows:
- Visual Studio 2019 (Enterprise / Professional / [Community (Free)](https://www.visualstudio.com/vs/community/))
@@ -97,7 +97,7 @@ OpenRCT2 requires original files of RollerCoaster Tycoon 2 to play. It can be bo
The program can also be built as a command line program using CMake. This type of build requires:
- Xcode Command Line Tools
- [Homebrew](http://brew.sh)
- [Homebrew](https://brew.sh)
- CMake (available through Homebrew)
@@ -116,6 +116,7 @@ The program can also be built as a command line program using CMake. This type o
- gl (commonly provided by Mesa or GPU vendors; only for UI client, can be disabled)
- duktape (unless scripting is disabled)
- cmake
- innoextract (optional runtime dependency; used for GOG installer extraction during setup)
Refer to https://github.com/OpenRCT2/OpenRCT2/wiki/Building-OpenRCT2-on-Linux#required-packages-general for more information about installing the packages.
@@ -146,12 +147,7 @@ msbuild openrct2.proj /t:PublishPortable
The recommended way of building OpenRCT2 for macOS is with Xcode. The Xcode build will create a self-contained application bundles which include all the necessary game files and dependencies. Open the project file OpenRCT2.xcodeproj in Xcode and build from there. Building this way will handle the dependencies for you automatically. You can also invoke an Xcode build from the command line using `xcodebuild`.
#### CMake:
A command line version of OpenRCT2 can be built using CMake. This type of build requires you to provide the dependencies yourself. The supported method of doing this is with [Homebrew](http://brew.sh). Once you have Homebrew installed, you can download all the required libraries with this command:
```
brew install cmake duktape freetype icu4c libpng libzip nlohmann-json openssl pkg-config sdl2 speexdsp
```
Once you have the dependencies installed, you can build the project using CMake using the following commands:
A command line version of OpenRCT2 can be built using CMake. CMake will retrieve the dependences from [Dependencies](https://github.com/OpenRCT2/Dependencies/) automatically. You can build the project using CMake using the following commands:
```
mkdir build
cd build
@@ -214,8 +210,8 @@ We would also like to distribute additional scenarios with the game, when the ti
- [OpenRCT2.org](https://openrct2.org)
- [Forums](https://openrct2.org/forums/)
- [Facebook](https://www.facebook.com/OpenRCT2)
- [RCT subreddit](http://www.reddit.com/r/rct/)
- [OpenRCT2 subreddit](http://www.reddit.com/r/openrct2/)
- [RCT subreddit](https://www.reddit.com/r/rct/)
- [OpenRCT2 subreddit](https://www.reddit.com/r/openrct2/)
## Similar Projects
Binary file not shown.

After

Width:  |  Height:  |  Size: 497 B

File diff suppressed because it is too large. Load diff
Binary file not shown.

After

Width:  |  Height:  |  Size: 222 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 191 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 861 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 809 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 860 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 732 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 197 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 860 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 860 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 687 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 860 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 860 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 283 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 732 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 860 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 756 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 878 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 250 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 860 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 656 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 570 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 563 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 690 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 186 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 955 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 870 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 726 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 282 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 860 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 713 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 246 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 349 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 282 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 B

Loaded 100 of 1843 files, more files were not shown because too many files have changed in this diff. Show more