mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-11 10:02:27 +01:00
- Feature: [#13967] Track List window now displays the path to the design when debugging tools are on. - Feature: [#14071] “Vandals stopped” statistic for security guards. - Feature: [#14169] Lighting effects for shops and stalls. - Feature: [#14296] Allow using early scenario completion in multiplayer. - Feature: [#14538] [Plugin] Add property for getting current plugin api version. - Feature: [#14620] [Plugin] Add properties related to guest generation. - Feature: [#14636] [Plugin] Add properties related to climate and weather. - Feature: [#14731] Opaque water (like in RCT1). - Change: [#14496] [Plugin] Rename Object to LoadedObject to fix conflicts with Typescript's Object interface. - Change: [#14536] [Plugin] Rename ListView to ListViewWidget to make it consistent with names of other widgets. - Change: [#14751] “No construction above tree height” limitation now allows placing high trees. - Change: [#14841] Redesign the About window, including new button to copy the current version info. - Fix: [#11829] Visual glitches and crashes when using RCT1 assets from mismatched or corrupt CSG1.DAT and CSG1i.DAT files. - Fix: [#12262] Windows can appear off screen with small screens or high scaling. - Fix: [#13581] Opening the Options menu causes a noticeable drop in FPS. - Fix: [#13894] Block brakes do not animate. - Fix: [#13986] OpenGL: Track preview window, flip/rotate button do not update the thumbnail. - Fix: [#14315] Crash when trying to rename Air Powered Vertical Coaster in Korean. - Fix: [#14330] join_server uses default_port from config. - Fix: [#14415] Entrances/exits are removed when built on top of each other. - Fix: [#14449] Surface smoothing at extra zoom levels not working. - Fix: [#14468] Cannot close Options window on Android. - Fix: [#14493] [Plugin] isHidden only works for tile elements up to the first element with a base height of over 32. - Fix: [#14587] Confusing message when joining server with mismatched network version. - Fix: [#14604] American-style Steam Trains are not imported correctly from RCT1 saves. - Fix: [#14638] The “About OpenRCT2” window cannot be themed. - Fix: [#14682] Crash when painting Swinging Ships with invalid subtype. - Fix: [#14707] Crash when window is closed during text input. - Fix: [#14710] Ride/Track Design preview does not show if it costs more money than available. - Fix: [#14774] Incorrect import of scenery research caused all scenery to be unlocked. - Fix: [#14806] Incorrect function call in WallPlaceAction plugin code. - Fix: [#14871] Crash when trying to place track when there are no free tile elements. - Fix: [#14880] Unable to close changelog window when its content fails to load. - Fix: [#14945] Incorrect drop height penalty on log flume ride. - Fix: [#14964] Unable to build in multiplayer as client with "Build while paused" cheat enabled when the host is paused. - Improved: [#14511] “Unlock operating limits” cheat now also unlocks all music. - Improved: [#14712, #14716] Improve startup times. - Improved: [#14982] Add Malgun Gothic and change Nanum Gothic filename for Korean.
72 lines
2.3 KiB
Bash
Executable File
72 lines
2.3 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
# This sets up more environment variables using the existing environment
|
|
# It should be dot sourced into your environment
|
|
if [[ "$GITHUB_ACTIONS" != "true" ]]; then
|
|
export OPENRCT2_BUILD_SERVER=$(hostname)
|
|
export OPENRCT2_VERSION=0.3.4
|
|
GITHUB_REF=$(git rev-parse --symbolic-full-name HEAD)
|
|
GITHUB_SHA=$(git rev-parse HEAD)
|
|
fi
|
|
|
|
echo -e "\033[0;36mSetting up environment for OpenRCT2...\033[0m"
|
|
|
|
# Get the build number (number of commits since last tag)
|
|
export OPENRCT2_DESCRIBE=$(git describe HEAD)
|
|
get_build_number()
|
|
{
|
|
local pattern='.+-([0-9]+)-.+'
|
|
[[ $OPENRCT2_DESCRIBE =~ $pattern ]]
|
|
echo "${BASH_REMATCH[1]}"
|
|
}
|
|
export OPENRCT2_BUILD=$(get_build_number)
|
|
|
|
# Get the name of the branch and decide whether we should push the build to openrct2.org
|
|
unset OPENRCT2_TAG
|
|
unset OPENRCT2_PUSH
|
|
if [[ $GITHUB_REF == refs/tags/* ]]; then
|
|
unset OPENRCT2_BRANCH
|
|
export OPENRCT2_TAG=true
|
|
export OPENRCT2_PUSH=true
|
|
else
|
|
export OPENRCT2_BRANCH=${GITHUB_REF#refs/heads/}
|
|
if [[ "$OPENRCT2_BRANCH" =~ ^(develop|push/) ]]; then
|
|
export OPENRCT2_PUSH=true
|
|
fi
|
|
fi
|
|
if [[ "$OPENRCT2_ORG_TOKEN" == "" ]]; then
|
|
unset OPENRCT2_PUSH
|
|
fi
|
|
|
|
# Get the short SHA1
|
|
export OPENRCT2_SHA1=$GITHUB_SHA
|
|
export OPENRCT2_SHA1_SHORT=${OPENRCT2_SHA1:0:7}
|
|
unset OPENRCT2_VERSION_EXTRA
|
|
if [[ "$OPENRCT2_TAG" != "true" ]]; then
|
|
export OPENRCT2_VERSION_EXTRA=$OPENRCT2_BRANCH-$OPENRCT2_SHA1_SHORT
|
|
fi
|
|
|
|
# Add scripts directory to PATH
|
|
realpath() {
|
|
[[ $1 = /* ]] && echo "$1" || echo "$(pwd)/${1#./}"
|
|
}
|
|
scriptsdir="$(realpath "$(dirname "${BASH_SOURCE[0]}")")"
|
|
export PATH="$scriptsdir:$PATH"
|
|
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
|
|
|
|
# Output all the variables
|
|
if [[ "$1" != "-q" ]]; then
|
|
echo "----------------------------------------------"
|
|
echo "OPENRCT2_BUILD_SERVER: $OPENRCT2_BUILD_SERVER"
|
|
echo "OPENRCT2_TAG: $OPENRCT2_TAG"
|
|
echo "OPENRCT2_BRANCH: $OPENRCT2_BRANCH"
|
|
echo "OPENRCT2_VERSION: $OPENRCT2_VERSION"
|
|
echo "OPENRCT2_VERSION_EXTRA: $OPENRCT2_VERSION_EXTRA"
|
|
echo "OPENRCT2_BUILD: $OPENRCT2_BUILD"
|
|
echo "OPENRCT2_DESCRIBE: $OPENRCT2_DESCRIBE"
|
|
echo "OPENRCT2_PUSH: $OPENRCT2_PUSH"
|
|
echo "OPENRCT2_SHA1: $OPENRCT2_SHA1"
|
|
echo "OPENRCT2_SHA1_SHORT: $OPENRCT2_SHA1_SHORT"
|
|
echo "----------------------------------------------"
|
|
fi
|