forked from rosebudai/OpenRCT2-Web
Compile util and cheats as C++
This commit is contained in:
1 parent
c84fd8edd2
commit
1a9975d683
113 files changed
+169
-167
No files matched your search
@@ -24,6 +24,9 @@
|
||||
4C31B2E41FB6115600F6A38A /* MapGen.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4C31B2E21FB6115600F6A38A /* MapGen.cpp */; };
|
||||
4C4C1E981F58226500560300 /* TrackDesign.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4C4C1E971F58226500560300 /* TrackDesign.cpp */; };
|
||||
4C5DFF421FAC69D200CB093A /* Date.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4C5DFF401FAC69D200CB093A /* Date.cpp */; };
|
||||
4C6A668E1FE14C3A00694CB6 /* SawyerCoding.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4C6A668A1FE14C3A00694CB6 /* SawyerCoding.cpp */; };
|
||||
4C6A668F1FE14C3A00694CB6 /* Util.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4C6A668C1FE14C3A00694CB6 /* Util.cpp */; };
|
||||
4C6A66921FE14C9500694CB6 /* Cheats.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4C6A66901FE14C9500694CB6 /* Cheats.cpp */; };
|
||||
4C6AC20F1F9E1693004324AA /* Station.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4C6AC20D1F9E1693004324AA /* Station.cpp */; };
|
||||
4C6AC2121F9E1CB3004324AA /* CableLift.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4C6AC2101F9E1CB3004324AA /* CableLift.cpp */; };
|
||||
4C729BC01FC2E1BE001DFF2F /* LargeScenery.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4C729BBE1FC2E1BE001DFF2F /* LargeScenery.cpp */; };
|
||||
@@ -272,7 +275,6 @@
|
||||
F76C85B01EC4E88300FA49E2 /* Audio.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F76C83571EC4E7CC00FA49E2 /* Audio.cpp */; };
|
||||
F76C85B41EC4E88300FA49E2 /* AudioMixer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F76C835B1EC4E7CC00FA49E2 /* AudioMixer.cpp */; };
|
||||
F76C85B71EC4E88300FA49E2 /* NullAudioSource.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F76C835E1EC4E7CC00FA49E2 /* NullAudioSource.cpp */; };
|
||||
F76C85B81EC4E88300FA49E2 /* cheats.c in Sources */ = {isa = PBXBuildFile; fileRef = F76C835F1EC4E7CC00FA49E2 /* cheats.c */; };
|
||||
F76C85BA1EC4E88300FA49E2 /* CommandLine.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F76C83631EC4E7CC00FA49E2 /* CommandLine.cpp */; };
|
||||
F76C85BC1EC4E88300FA49E2 /* ConvertCommand.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F76C83651EC4E7CC00FA49E2 /* ConvertCommand.cpp */; };
|
||||
F76C85BD1EC4E88300FA49E2 /* RootCommands.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F76C83661EC4E7CC00FA49E2 /* RootCommands.cpp */; };
|
||||
@@ -407,8 +409,6 @@
|
||||
F76C873A1EC4E88400FA49E2 /* TitleSequence.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F76C84FE1EC4E7CD00FA49E2 /* TitleSequence.cpp */; };
|
||||
F76C873C1EC4E88400FA49E2 /* TitleSequenceManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F76C85001EC4E7CD00FA49E2 /* TitleSequenceManager.cpp */; };
|
||||
F76C873E1EC4E88400FA49E2 /* TitleSequencePlayer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F76C85021EC4E7CD00FA49E2 /* TitleSequencePlayer.cpp */; };
|
||||
F76C87411EC4E88400FA49E2 /* sawyercoding.c in Sources */ = {isa = PBXBuildFile; fileRef = F76C85071EC4E7CD00FA49E2 /* sawyercoding.c */; };
|
||||
F76C87431EC4E88400FA49E2 /* util.c in Sources */ = {isa = PBXBuildFile; fileRef = F76C85091EC4E7CD00FA49E2 /* util.c */; };
|
||||
F76C87451EC4E88400FA49E2 /* Version.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F76C850B1EC4E7CD00FA49E2 /* Version.cpp */; };
|
||||
F76C87511EC4E88400FA49E2 /* (null) in Sources */ = {isa = PBXBuildFile; };
|
||||
F76C87521EC4E88400FA49E2 /* (null) in Sources */ = {isa = PBXBuildFile; };
|
||||
@@ -602,6 +602,12 @@
|
||||
4C4C1E991F5832AA00560300 /* TrackDesign.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TrackDesign.h; sourceTree = "<group>"; };
|
||||
4C5DFF401FAC69D200CB093A /* Date.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Date.cpp; sourceTree = "<group>"; };
|
||||
4C5DFF411FAC69D200CB093A /* Date.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Date.h; sourceTree = "<group>"; };
|
||||
4C6A668A1FE14C3A00694CB6 /* SawyerCoding.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SawyerCoding.cpp; sourceTree = "<group>"; };
|
||||
4C6A668B1FE14C3A00694CB6 /* SawyerCoding.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SawyerCoding.h; sourceTree = "<group>"; };
|
||||
4C6A668C1FE14C3A00694CB6 /* Util.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Util.cpp; sourceTree = "<group>"; };
|
||||
4C6A668D1FE14C3A00694CB6 /* Util.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Util.h; sourceTree = "<group>"; };
|
||||
4C6A66901FE14C9500694CB6 /* Cheats.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Cheats.cpp; sourceTree = "<group>"; };
|
||||
4C6A66911FE14C9500694CB6 /* Cheats.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Cheats.h; sourceTree = "<group>"; };
|
||||
4C6AC20D1F9E1693004324AA /* Station.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Station.cpp; sourceTree = "<group>"; };
|
||||
4C6AC20E1F9E1693004324AA /* Station.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Station.h; sourceTree = "<group>"; };
|
||||
4C6AC2101F9E1CB3004324AA /* CableLift.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CableLift.cpp; sourceTree = "<group>"; };
|
||||
@@ -1049,8 +1055,6 @@
|
||||
F76C835C1EC4E7CC00FA49E2 /* AudioMixer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AudioMixer.h; sourceTree = "<group>"; };
|
||||
F76C835D1EC4E7CC00FA49E2 /* AudioSource.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AudioSource.h; sourceTree = "<group>"; };
|
||||
F76C835E1EC4E7CC00FA49E2 /* NullAudioSource.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = NullAudioSource.cpp; sourceTree = "<group>"; };
|
||||
F76C835F1EC4E7CC00FA49E2 /* cheats.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = cheats.c; sourceTree = "<group>"; };
|
||||
F76C83601EC4E7CC00FA49E2 /* cheats.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = cheats.h; sourceTree = "<group>"; };
|
||||
F76C83631EC4E7CC00FA49E2 /* CommandLine.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = CommandLine.cpp; sourceTree = "<group>"; };
|
||||
F76C83641EC4E7CC00FA49E2 /* CommandLine.hpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.h; path = CommandLine.hpp; sourceTree = "<group>"; };
|
||||
F76C83651EC4E7CC00FA49E2 /* ConvertCommand.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = ConvertCommand.cpp; sourceTree = "<group>"; };
|
||||
@@ -1312,10 +1316,6 @@
|
||||
F76C85021EC4E7CD00FA49E2 /* TitleSequencePlayer.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TitleSequencePlayer.cpp; sourceTree = "<group>"; };
|
||||
F76C85031EC4E7CD00FA49E2 /* TitleSequencePlayer.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TitleSequencePlayer.h; sourceTree = "<group>"; };
|
||||
F76C85051EC4E7CD00FA49E2 /* UiContext.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = UiContext.h; sourceTree = "<group>"; };
|
||||
F76C85071EC4E7CD00FA49E2 /* sawyercoding.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = sawyercoding.c; sourceTree = "<group>"; };
|
||||
F76C85081EC4E7CD00FA49E2 /* sawyercoding.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = sawyercoding.h; sourceTree = "<group>"; };
|
||||
F76C85091EC4E7CD00FA49E2 /* util.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = util.c; sourceTree = "<group>"; };
|
||||
F76C850A1EC4E7CD00FA49E2 /* util.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = util.h; sourceTree = "<group>"; };
|
||||
F76C850B1EC4E7CD00FA49E2 /* Version.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = Version.cpp; sourceTree = "<group>"; };
|
||||
F76C850C1EC4E7CD00FA49E2 /* Version.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Version.h; sourceTree = "<group>"; };
|
||||
F76C85171EC4E7CD00FA49E2 /* dropdown.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = dropdown.h; sourceTree = "<group>"; };
|
||||
@@ -1820,8 +1820,8 @@
|
||||
F76C85061EC4E7CD00FA49E2 /* util */,
|
||||
F76C850D1EC4E7CD00FA49E2 /* windows */,
|
||||
F76C855B1EC4E7CD00FA49E2 /* world */,
|
||||
F76C835F1EC4E7CC00FA49E2 /* cheats.c */,
|
||||
F76C83601EC4E7CC00FA49E2 /* cheats.h */,
|
||||
4C6A66901FE14C9500694CB6 /* Cheats.cpp */,
|
||||
4C6A66911FE14C9500694CB6 /* Cheats.h */,
|
||||
4CC4B8E21FE00C4100660D62 /* CmdlineSprite.cpp */,
|
||||
4CC4B8E31FE00C4200660D62 /* CmdlineSprite.h */,
|
||||
F76C836C1EC4E7CC00FA49E2 /* common.h */,
|
||||
@@ -2453,10 +2453,10 @@
|
||||
F76C85061EC4E7CD00FA49E2 /* util */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
F76C85071EC4E7CD00FA49E2 /* sawyercoding.c */,
|
||||
F76C85081EC4E7CD00FA49E2 /* sawyercoding.h */,
|
||||
F76C85091EC4E7CD00FA49E2 /* util.c */,
|
||||
F76C850A1EC4E7CD00FA49E2 /* util.h */,
|
||||
4C6A668A1FE14C3A00694CB6 /* SawyerCoding.cpp */,
|
||||
4C6A668B1FE14C3A00694CB6 /* SawyerCoding.h */,
|
||||
4C6A668C1FE14C3A00694CB6 /* Util.cpp */,
|
||||
4C6A668D1FE14C3A00694CB6 /* Util.h */,
|
||||
);
|
||||
path = util;
|
||||
sourceTree = "<group>";
|
||||
@@ -3120,6 +3120,7 @@
|
||||
C666EE6B1F37ACB10061AA04 /* About.cpp in Sources */,
|
||||
C666ED771F33DBB20061AA04 /* ShortcutKeys.cpp in Sources */,
|
||||
4C93F1AA1F8B748900A9330D /* SubmarineRide.cpp in Sources */,
|
||||
4C6A668F1FE14C3A00694CB6 /* Util.cpp in Sources */,
|
||||
4CE462451FD161360001CD98 /* Platform.Android.cpp in Sources */,
|
||||
C666EE6C1F37ACB10061AA04 /* Changelog.cpp in Sources */,
|
||||
4C93F1441F8B744400A9330D /* InvertedRollerCoaster.cpp in Sources */,
|
||||
@@ -3230,6 +3231,7 @@
|
||||
4C93F14F1F8B744400A9330D /* ReverserRollerCoaster.cpp in Sources */,
|
||||
4C8B42701EEB1ABD00F015CA /* X8DrawingEngine.cpp in Sources */,
|
||||
C654DF301F69C0430040F43D /* Finances.cpp in Sources */,
|
||||
4C6A668E1FE14C3A00694CB6 /* SawyerCoding.cpp in Sources */,
|
||||
4C6AC2121F9E1CB3004324AA /* CableLift.cpp in Sources */,
|
||||
4C93F19D1F8B748200A9330D /* SuspendedMonorail.cpp in Sources */,
|
||||
C666EE751F37ACB10061AA04 /* NewsOptions.cpp in Sources */,
|
||||
@@ -3237,6 +3239,7 @@
|
||||
4C93F1AD1F8CD9F000A9330D /* Input.cpp in Sources */,
|
||||
4C93F1BE1F8E185600A9330D /* Research.cpp in Sources */,
|
||||
C666EE761F37ACB10061AA04 /* Options.cpp in Sources */,
|
||||
4C6A66921FE14C9500694CB6 /* Cheats.cpp in Sources */,
|
||||
C666EE6E1F37ACB10061AA04 /* CustomCurrency.cpp in Sources */,
|
||||
4C93F1711F8B745700A9330D /* HauntedHouse.cpp in Sources */,
|
||||
F76C88841EC5324E00FA49E2 /* OpenGLDrawingEngine.cpp in Sources */,
|
||||
@@ -3296,7 +3299,6 @@
|
||||
F76C85B01EC4E88300FA49E2 /* Audio.cpp in Sources */,
|
||||
F76C85B41EC4E88300FA49E2 /* AudioMixer.cpp in Sources */,
|
||||
F76C85B71EC4E88300FA49E2 /* NullAudioSource.cpp in Sources */,
|
||||
F76C85B81EC4E88300FA49E2 /* cheats.c in Sources */,
|
||||
F76C85BA1EC4E88300FA49E2 /* CommandLine.cpp in Sources */,
|
||||
F76C85BC1EC4E88300FA49E2 /* ConvertCommand.cpp in Sources */,
|
||||
F76C85BD1EC4E88300FA49E2 /* RootCommands.cpp in Sources */,
|
||||
@@ -3439,8 +3441,6 @@
|
||||
F76C873A1EC4E88400FA49E2 /* TitleSequence.cpp in Sources */,
|
||||
F76C873C1EC4E88400FA49E2 /* TitleSequenceManager.cpp in Sources */,
|
||||
F76C873E1EC4E88400FA49E2 /* TitleSequencePlayer.cpp in Sources */,
|
||||
F76C87411EC4E88400FA49E2 /* sawyercoding.c in Sources */,
|
||||
F76C87431EC4E88400FA49E2 /* util.c in Sources */,
|
||||
F76C87451EC4E88400FA49E2 /* Version.cpp in Sources */,
|
||||
F76C87511EC4E88400FA49E2 /* (null) in Sources */,
|
||||
F76C87521EC4E88400FA49E2 /* (null) in Sources */,
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
#include <openrct2/ride/Track.h>
|
||||
#include <openrct2/ride/track_paint.h>
|
||||
#include <openrct2/title/TitleScreen.h>
|
||||
#include <openrct2/util/util.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2/windows/Intent.h>
|
||||
#include "KeyboardShortcuts.h"
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#include <openrct2/interface/widget.h>
|
||||
#include <openrct2/localisation/localisation.h>
|
||||
#include <openrct2/platform/platform.h>
|
||||
#include <openrct2/util/util.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
|
||||
enum {
|
||||
WIDX_BACKGROUND,
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <openrct2/interface/widget.h>
|
||||
#include <openrct2/localisation/localisation.h>
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2/util/util.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2/world/park.h>
|
||||
#include <openrct2/windows/dropdown.h>
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
#include <openrct2/localisation/localisation.h>
|
||||
#include <openrct2/interface/widget.h>
|
||||
#include <openrct2/util/util.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2/windows/dropdown.h>
|
||||
|
||||
enum WINDOW_CUSTOM_CURRENCY_WIDGET_IDX {
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#include <openrct2/localisation/localisation.h>
|
||||
#include <openrct2/management/Research.h>
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2/util/util.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2/world/scenery.h>
|
||||
#include <openrct2/windows/_legacy.h>
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
#include <openrct2/platform/platform.h>
|
||||
#include <openrct2/ride/RideGroupManager.h>
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2/util/util.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2/windows/dropdown.h>
|
||||
#include <openrct2/windows/Intent.h>
|
||||
#include <openrct2/EditorObjectSelectionSession.h>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <openrct2/localisation/date.h>
|
||||
#include <openrct2/localisation/localisation.h>
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2/util/util.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2/windows/dropdown.h>
|
||||
|
||||
#pragma region Widgets
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#include <openrct2-ui/windows/Window.h>
|
||||
|
||||
#include <openrct2/audio/audio.h>
|
||||
#include <openrct2/cheats.h>
|
||||
#include <openrct2/Cheats.h>
|
||||
#include <openrct2/Game.h>
|
||||
#include <openrct2/Input.h>
|
||||
#include <openrct2/interface/viewport.h>
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
#include <openrct2/peep/Staff.h>
|
||||
#include <openrct2/ride/ride_data.h>
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2/util/util.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2/windows/Intent.h>
|
||||
#include <openrct2/world/footpath.h>
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#include <openrct2/localisation/localisation.h>
|
||||
#include <openrct2/platform/platform.h>
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2/util/util.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
|
||||
enum {
|
||||
WIDX_BACKGROUND,
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
#include <openrct2/interface/widget.h>
|
||||
#include <openrct2/localisation/localisation.h>
|
||||
#include <openrct2/platform/platform.h>
|
||||
#include <openrct2/util/util.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
|
||||
#pragma region Widgets
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include <openrct2/core/Memory.hpp>
|
||||
#include <openrct2/Context.h>
|
||||
#include <openrct2/audio/audio.h>
|
||||
#include <openrct2/cheats.h>
|
||||
#include <openrct2/Cheats.h>
|
||||
#include <openrct2/Game.h>
|
||||
#include <openrct2/Input.h>
|
||||
#include <openrct2/interface/land_tool.h>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#include <openrct2/Input.h>
|
||||
#include <openrct2/interface/land_tool.h>
|
||||
#include <openrct2/interface/widget.h>
|
||||
#include <openrct2/util/util.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2/world/MapGen.h>
|
||||
#include <openrct2/windows/dropdown.h>
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include <openrct2/interface/widget.h>
|
||||
#include <openrct2/localisation/localisation.h>
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2/util/util.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2/windows/dropdown.h>
|
||||
|
||||
enum {
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include <openrct2/interface/widget.h>
|
||||
#include <openrct2/localisation/localisation.h>
|
||||
#include <openrct2/network/network.h>
|
||||
#include <openrct2/util/util.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
|
||||
static char _password[33];
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#include <openrct2/ride/ride_data.h>
|
||||
#include <openrct2/ride/TrackData.h>
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2/util/util.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2/windows/Intent.h>
|
||||
|
||||
#define AVAILABILITY_STRING_SIZE 256
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
#include <openrct2/localisation/localisation.h>
|
||||
#include <openrct2/platform/platform.h>
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2/util/util.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2/windows/dropdown.h>
|
||||
|
||||
enum WINDOW_OPTIONS_PAGE {
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
#include <openrct2/interface/viewport.h>
|
||||
#include <openrct2/interface/widget.h>
|
||||
#include <openrct2/management/Award.h>
|
||||
#include <openrct2/util/util.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2/world/entrance.h>
|
||||
#include <openrct2/windows/dropdown.h>
|
||||
#include <openrct2/interface/themes.h>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2/interface/viewport.h>
|
||||
#include <openrct2/interface/widget.h>
|
||||
#include <openrct2/util/util.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2/windows/dropdown.h>
|
||||
|
||||
enum WINDOW_PLAYER_PAGE {
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include <openrct2-ui/windows/Window.h>
|
||||
|
||||
#include <openrct2/audio/audio.h>
|
||||
#include <openrct2/cheats.h>
|
||||
#include <openrct2/Cheats.h>
|
||||
#include <openrct2/config/Config.h>
|
||||
#include <openrct2/Context.h>
|
||||
#include <openrct2/core/Math.hpp>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#include <openrct2-ui/windows/Window.h>
|
||||
|
||||
#include <openrct2/audio/audio.h>
|
||||
#include <openrct2/cheats.h>
|
||||
#include <openrct2/Cheats.h>
|
||||
#include <openrct2/config/Config.h>
|
||||
#include <openrct2/Context.h>
|
||||
#include <openrct2/core/Math.hpp>
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include <openrct2/localisation/localisation.h>
|
||||
#include <openrct2/network/http.h>
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2/util/util.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2/windows/dropdown.h>
|
||||
#include <openrct2/windows/tooltip.h>
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include <openrct2/interface/themes.h>
|
||||
#include <openrct2/interface/widget.h>
|
||||
#include <openrct2/localisation/localisation.h>
|
||||
#include <openrct2/util/util.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
|
||||
static char _port[7];
|
||||
static char _name[65];
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
#include <openrct2/localisation/localisation.h>
|
||||
#include <openrct2/peep/Staff.h>
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2/util/util.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2/world/footpath.h>
|
||||
#include <openrct2/windows/dropdown.h>
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
#include <openrct2/core/Math.hpp>
|
||||
#include <openrct2/interface/widget.h>
|
||||
#include <openrct2/localisation/localisation.h>
|
||||
#include <openrct2/util/util.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
|
||||
#define WW 250
|
||||
#define WH 90
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2/windows/dropdown.h>
|
||||
#include <openrct2/interface/themes.h>
|
||||
#include <openrct2/util/util.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
|
||||
enum {
|
||||
WINDOW_THEMES_TAB_SETTINGS,
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include <openrct2/interface/viewport.h>
|
||||
#include <openrct2/interface/widget.h>
|
||||
#include <openrct2/localisation/localisation.h>
|
||||
#include <openrct2/util/util.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2/windows/dropdown.h>
|
||||
|
||||
typedef struct TITLE_COMMAND_ORDER {
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
#include <openrct2/interface/widget.h>
|
||||
#include <openrct2/localisation/localisation.h>
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2/util/util.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2/windows/dropdown.h>
|
||||
|
||||
enum WINDOW_TITLE_EDITOR_TAB {
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#include <openrct2/sprites.h>
|
||||
#include <openrct2/interface/widget.h>
|
||||
#include <openrct2/interface/themes.h>
|
||||
#include <openrct2/util/util.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
|
||||
#define INITIAL_NUM_UNLOCKED_SCENARIOS 5
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include <string>
|
||||
|
||||
#include <openrct2/audio/audio.h>
|
||||
#include <openrct2/cheats.h>
|
||||
#include <openrct2/Cheats.h>
|
||||
#include <openrct2/config/Config.h>
|
||||
#include <openrct2/Context.h>
|
||||
#include <openrct2/core/Math.hpp>
|
||||
@@ -36,7 +36,7 @@
|
||||
#include <openrct2/OpenRCT2.h>
|
||||
#include <openrct2/ParkImporter.h>
|
||||
#include <openrct2/peep/Staff.h>
|
||||
#include <openrct2/util/util.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
#include <openrct2/windows/dropdown.h>
|
||||
#include <openrct2/windows/Intent.h>
|
||||
#include <openrct2/world/footpath.h>
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
#include <openrct2/interface/widget.h>
|
||||
#include <openrct2/localisation/localisation.h>
|
||||
#include <openrct2/util/util.h>
|
||||
#include <openrct2/util/Util.h>
|
||||
|
||||
#pragma region Widgets
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#include <openrct2-ui/windows/Window.h>
|
||||
|
||||
#include <openrct2/audio/audio.h>
|
||||
#include <openrct2/cheats.h>
|
||||
#include <openrct2/Cheats.h>
|
||||
#include <openrct2/Context.h>
|
||||
#include <openrct2/core/Math.hpp>
|
||||
#include <openrct2/core/Memory.hpp>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
*****************************************************************************/
|
||||
#pragma endregion
|
||||
|
||||
#include "cheats.h"
|
||||
#include "Cheats.h"
|
||||
#include "config/Config.h"
|
||||
#include "Editor.h"
|
||||
#include "Game.h"
|
||||
@@ -23,7 +23,7 @@
|
||||
#include "management/Finance.h"
|
||||
#include "network/network.h"
|
||||
#include "ride/Station.h"
|
||||
#include "util/util.h"
|
||||
#include "util/Util.h"
|
||||
#include "world/Climate.h"
|
||||
#include "world/footpath.h"
|
||||
#include "world/map.h"
|
||||
File renamed without changes.
@@ -23,7 +23,7 @@
|
||||
#include "localisation/localisation.h"
|
||||
#include "OpenRCT2.h"
|
||||
#include "platform/platform.h"
|
||||
#include "util/util.h"
|
||||
#include "util/Util.h"
|
||||
#include "png.h"
|
||||
|
||||
#define MODE_DEFAULT 0
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
#include "ObjectList.h"
|
||||
#include "platform/platform.h"
|
||||
#include "rct1.h"
|
||||
#include "util/util.h"
|
||||
#include "util/Util.h"
|
||||
|
||||
using namespace OpenRCT2;
|
||||
using namespace OpenRCT2::Audio;
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#include "ObjectList.h"
|
||||
#include "peep/Staff.h"
|
||||
#include "rct1.h"
|
||||
#include "util/util.h"
|
||||
#include "util/Util.h"
|
||||
#include "windows/Intent.h"
|
||||
#include "world/Climate.h"
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include "rct12/SawyerChunkReader.h"
|
||||
|
||||
#include "scenario/scenario.h"
|
||||
#include "util/sawyercoding.h"
|
||||
#include "util/SawyerCoding.h"
|
||||
|
||||
static bool TryClassifyAsS6(IStream * stream, ClassifiedFileInfo * result);
|
||||
static bool TryClassifyAsS4(IStream * stream, ClassifiedFileInfo * result);
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#pragma endregion
|
||||
|
||||
#include "audio/audio.h"
|
||||
#include "cheats.h"
|
||||
#include "Cheats.h"
|
||||
#include "config/Config.h"
|
||||
#include "Context.h"
|
||||
#include "core/Math.hpp"
|
||||
@@ -49,8 +49,8 @@
|
||||
#include "scenario/scenario.h"
|
||||
#include "title/TitleScreen.h"
|
||||
#include "title/TitleSequencePlayer.h"
|
||||
#include "util/sawyercoding.h"
|
||||
#include "util/util.h"
|
||||
#include "util/SawyerCoding.h"
|
||||
#include "util/Util.h"
|
||||
#include "windows/Intent.h"
|
||||
#include "windows/tooltip.h"
|
||||
#include "world/banner.h"
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
#include "object.h"
|
||||
#include "ObjectList.h"
|
||||
#include "object/ObjectRepository.h"
|
||||
#include "util/sawyercoding.h"
|
||||
#include "util/util.h"
|
||||
#include "util/SawyerCoding.h"
|
||||
#include "util/Util.h"
|
||||
|
||||
// 98DA00
|
||||
sint32 object_entry_group_counts[] = {
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include "../localisation/string_ids.h"
|
||||
#include "GameAction.h"
|
||||
|
||||
#include "../cheats.h"
|
||||
#include "../Cheats.h"
|
||||
#include "../interface/window.h"
|
||||
#include "../localisation/localisation.h"
|
||||
#include "../world/park.h"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include "../OpenRCT2.h"
|
||||
#include "GameAction.h"
|
||||
|
||||
#include "../cheats.h"
|
||||
#include "../Cheats.h"
|
||||
#include "../world/entrance.h"
|
||||
#include "../world/park.h"
|
||||
#include "../world/footpath.h"
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#include "GameAction.h"
|
||||
|
||||
#include "../localisation/date.h"
|
||||
#include "../cheats.h"
|
||||
#include "../Cheats.h"
|
||||
#include "../interface/window.h"
|
||||
#include "../world/park.h"
|
||||
#include "../rct1.h"
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../cheats.h"
|
||||
#include "../Cheats.h"
|
||||
#include "../Context.h"
|
||||
#include "../core/MemoryStream.h"
|
||||
#include "../interface/window.h"
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../cheats.h"
|
||||
#include "../Cheats.h"
|
||||
#include "../Context.h"
|
||||
#include "../core/MemoryStream.h"
|
||||
#include "../interface/window.h"
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include "../localisation/string_ids.h"
|
||||
#include "GameAction.h"
|
||||
|
||||
#include "../cheats.h"
|
||||
#include "../Cheats.h"
|
||||
#include "../interface/window.h"
|
||||
#include "../world/park.h"
|
||||
#include "../ride/ride.h"
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include "../localisation/string_ids.h"
|
||||
#include "GameAction.h"
|
||||
|
||||
#include "../cheats.h"
|
||||
#include "../Cheats.h"
|
||||
#include "../interface/window.h"
|
||||
#include "../world/park.h"
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include "../localisation/string_ids.h"
|
||||
#include "GameAction.h"
|
||||
|
||||
#include "../cheats.h"
|
||||
#include "../Cheats.h"
|
||||
#include "../peep/Staff.h"
|
||||
#include "../interface/window.h"
|
||||
#include "../localisation/localisation.h"
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
#include "../Intro.h"
|
||||
#include "../localisation/language.h"
|
||||
#include "../ride/ride.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/Util.h"
|
||||
|
||||
using namespace OpenRCT2::Audio;
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#include "String.hpp"
|
||||
|
||||
#include "../platform/platform.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/Util.h"
|
||||
|
||||
namespace File
|
||||
{
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
#include "../platform/platform.h"
|
||||
#include "../localisation/localisation.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/Util.h"
|
||||
|
||||
#include "File.h"
|
||||
#include "Math.hpp"
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include "../localisation/localisation.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/Util.h"
|
||||
|
||||
#include "Math.hpp"
|
||||
#include "Memory.hpp"
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "../common.h"
|
||||
#include "../localisation/localisation.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/Util.h"
|
||||
#include "String.hpp"
|
||||
|
||||
interface IStringReader
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#include "../ui/UiContext.h"
|
||||
|
||||
#include "../platform/platform.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/Util.h"
|
||||
#include "drawing.h"
|
||||
|
||||
using namespace OpenRCT2;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include "../localisation/localisation.h"
|
||||
#include "../platform/platform.h"
|
||||
#include "../sprites.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/Util.h"
|
||||
#include "ttf.h"
|
||||
|
||||
enum {
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
#include "../Intro.h"
|
||||
#include "../localisation/localisation.h"
|
||||
#include "../platform/platform.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../world/Climate.h"
|
||||
#include "viewport.h"
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include "../localisation/localisation.h"
|
||||
#include "../network/network.h"
|
||||
#include "../platform/platform.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/Util.h"
|
||||
#include "chat.h"
|
||||
|
||||
bool gChatOpen = false;
|
||||
|
||||
@@ -38,8 +38,8 @@
|
||||
#include "../platform/platform.h"
|
||||
#include "../ride/ride.h"
|
||||
#include "../ride/ride_data.h"
|
||||
#include "../util/sawyercoding.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/SawyerCoding.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../Version.h"
|
||||
#include "../windows/Intent.h"
|
||||
#include "../world/Climate.h"
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
*****************************************************************************/
|
||||
#pragma endregion
|
||||
|
||||
#include "../cheats.h"
|
||||
#include "../Cheats.h"
|
||||
#include "../Editor.h"
|
||||
#include "../Game.h"
|
||||
#include "../Input.h"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include "window.h"
|
||||
#include "../platform/platform.h"
|
||||
#include "../localisation/localisation.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../Context.h"
|
||||
|
||||
#include <math.h>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#pragma endregion
|
||||
|
||||
#include "../config/Config.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/Util.h"
|
||||
#include "currency.h"
|
||||
#include "string_ids.h"
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
#include "../config/Config.h"
|
||||
#include "../Game.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/Util.h"
|
||||
#include "date.h"
|
||||
#include "localisation.h"
|
||||
#include "../management/Marketing.h"
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
#include "../Game.h"
|
||||
#include "../ride/ride.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/Util.h"
|
||||
#include "localisation.h"
|
||||
#include "user.h"
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include "../peep/Peep.h"
|
||||
#include "../peep/Staff.h"
|
||||
#include "../ride/ride.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../world/park.h"
|
||||
#include "../world/sprite.h"
|
||||
#include "Finance.h"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include "../localisation/localisation.h"
|
||||
#include "../ride/ride.h"
|
||||
#include "../ride/ride_data.h"
|
||||
#include "../cheats.h"
|
||||
#include "../Cheats.h"
|
||||
#include "Finance.h"
|
||||
#include "Marketing.h"
|
||||
#include "NewsItem.h"
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "../common.h"
|
||||
#include "../cheats.h"
|
||||
#include "../Cheats.h"
|
||||
#include "../peep/Peep.h"
|
||||
|
||||
enum {
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#include "../localisation/localisation.h"
|
||||
#include "../OpenRCT2.h"
|
||||
#include "../ride/ride.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../windows/Intent.h"
|
||||
#include "../world/sprite.h"
|
||||
#include "NewsItem.h"
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#include "../ui/WindowManager.h"
|
||||
|
||||
#include "../platform/platform.h"
|
||||
#include "../util/sawyercoding.h"
|
||||
#include "../util/SawyerCoding.h"
|
||||
|
||||
#include "network.h"
|
||||
|
||||
@@ -61,8 +61,8 @@ static sint32 _pickup_peep_old_x = LOCATION_NULL;
|
||||
#include "../localisation/date.h"
|
||||
#include "../localisation/localisation.h"
|
||||
#include "../scenario/scenario.h"
|
||||
#include "../util/util.h"
|
||||
#include "../cheats.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../Cheats.h"
|
||||
|
||||
#include "NetworkAction.h"
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
#include "../management/Finance.h"
|
||||
#include "../peep/Peep.h"
|
||||
#include "../platform/platform.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../world/map.h"
|
||||
#include "../world/park.h"
|
||||
#include "http.h"
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
#include "../management/NewsItem.h"
|
||||
#include "../peep/Peep.h"
|
||||
#include "../platform/platform.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../world/sprite.h"
|
||||
#include "http.h"
|
||||
#include "twitch.h"
|
||||
|
||||
@@ -45,8 +45,8 @@
|
||||
#include "../object.h"
|
||||
#include "../ObjectList.h"
|
||||
#include "../platform/platform.h"
|
||||
#include "../util/sawyercoding.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/SawyerCoding.h"
|
||||
#include "../util/Util.h"
|
||||
|
||||
using namespace OpenRCT2;
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#pragma endregion
|
||||
|
||||
#include "../../OpenRCT2.h"
|
||||
#include "../../cheats.h"
|
||||
#include "../../Cheats.h"
|
||||
#include "../../config/Config.h"
|
||||
#include "../../core/Math.hpp"
|
||||
#include "../../core/Util.hpp"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include "../../Game.h"
|
||||
#include "../../interface/viewport.h"
|
||||
#include "../../localisation/localisation.h"
|
||||
#include "../../util/util.h"
|
||||
#include "../../util/Util.h"
|
||||
#include "../../world/map.h"
|
||||
#include "../../world/LargeScenery.h"
|
||||
#include "../../world/scenery.h"
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include "../OpenRCT2.h"
|
||||
#include "../audio/AudioMixer.h"
|
||||
#include "../audio/audio.h"
|
||||
#include "../cheats.h"
|
||||
#include "../Cheats.h"
|
||||
#include "../config/Config.h"
|
||||
#include "../core/Math.hpp"
|
||||
#include "../core/Util.hpp"
|
||||
@@ -38,7 +38,7 @@
|
||||
#include "../ride/ride_data.h"
|
||||
#include "../scenario/scenario.h"
|
||||
#include "../sprites.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../world/Climate.h"
|
||||
#include "../world/entrance.h"
|
||||
#include "../world/footpath.h"
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
#include "../ObjectList.h"
|
||||
#include "../paint/tile_element/tile_element.h"
|
||||
#include "../scenario/scenario.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../world/entrance.h"
|
||||
#include "../world/footpath.h"
|
||||
#include "../world/scenery.h"
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "platform.h"
|
||||
#include "../config/Config.h"
|
||||
#include "../localisation/language.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/Util.h"
|
||||
#include <wchar.h>
|
||||
#include <jni.h>
|
||||
#include <SDL.h>
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
#include "../config/Config.h"
|
||||
#include "../localisation/language.h"
|
||||
#include "../localisation/string_ids.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/Util.h"
|
||||
#include "platform.h"
|
||||
|
||||
void platform_get_exe_path(utf8 *outPath, size_t outSize)
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include <mach-o/dyld.h>
|
||||
#include <pwd.h>
|
||||
#include "platform.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../localisation/language.h"
|
||||
#include "../config/Config.h"
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
#include "../localisation/date.h"
|
||||
#include "../localisation/language.h"
|
||||
#include "../OpenRCT2.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/Util.h"
|
||||
#include "platform.h"
|
||||
// The name of the mutex used to prevent multiple instances of the game from running
|
||||
#define SINGLE_INSTANCE_MUTEX_NAME "openrct2.lock"
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
#include "../Game.h"
|
||||
#include "../localisation/currency.h"
|
||||
#include "../localisation/localisation.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../world/Climate.h"
|
||||
#include "platform.h"
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#include "../localisation/language.h"
|
||||
#include "../OpenRCT2.h"
|
||||
#include "../rct2.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../Version.h"
|
||||
#include "platform.h"
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
#include "../ObjectList.h"
|
||||
|
||||
#include "../audio/audio.h"
|
||||
#include "../cheats.h"
|
||||
#include "../Cheats.h"
|
||||
#include "../Editor.h"
|
||||
#include "../Game.h"
|
||||
#include "../interface/window.h"
|
||||
@@ -51,8 +51,8 @@
|
||||
#include "../rct1.h"
|
||||
#include "../ride/ride_data.h"
|
||||
#include "../ride/Track.h"
|
||||
#include "../util/sawyercoding.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/SawyerCoding.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../world/Climate.h"
|
||||
#include "../world/footpath.h"
|
||||
#include "../world/map_animation.h"
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
#include <memory>
|
||||
#include "../common.h"
|
||||
#include "../util/sawyercoding.h"
|
||||
#include "../util/SawyerCoding.h"
|
||||
#include "SawyerChunk.h"
|
||||
|
||||
interface IStream;
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "../core/Math.hpp"
|
||||
#include "SawyerChunkWriter.h"
|
||||
|
||||
#include "../util/sawyercoding.h"
|
||||
#include "../util/SawyerCoding.h"
|
||||
|
||||
// Maximum buffer size to store compressed data, maximum of 16 MiB
|
||||
constexpr size_t MAX_COMPRESSED_CHUNK_SIZE = 16 * 1024 * 1024;
|
||||
|
||||
@@ -44,8 +44,8 @@
|
||||
#include "../ride/ride_ratings.h"
|
||||
#include "../ride/TrackData.h"
|
||||
#include "../scenario/scenario.h"
|
||||
#include "../util/sawyercoding.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/SawyerCoding.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../world/Climate.h"
|
||||
#include "../world/map_animation.h"
|
||||
#include "../world/park.h"
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
#include "../ride/ride.h"
|
||||
#include "../ride/ride_ratings.h"
|
||||
#include "../scenario/scenario.h"
|
||||
#include "../util/sawyercoding.h"
|
||||
#include "../util/SawyerCoding.h"
|
||||
#include "../world/Climate.h"
|
||||
#include "../world/entrance.h"
|
||||
#include "../world/map_animation.h"
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
#include "../core/Math.hpp"
|
||||
#include "../rct12.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../world/sprite.h"
|
||||
#include "CableLift.h"
|
||||
#include "ride.h"
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#pragma endregion
|
||||
|
||||
#include "../audio/audio.h"
|
||||
#include "../cheats.h"
|
||||
#include "../Cheats.h"
|
||||
#include "../config/Config.h"
|
||||
#include "../Game.h"
|
||||
#include "../interface/viewport.h"
|
||||
@@ -24,8 +24,8 @@
|
||||
#include "../network/network.h"
|
||||
#include "../platform/platform.h"
|
||||
#include "../rct1.h"
|
||||
#include "../util/sawyercoding.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/SawyerCoding.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../world/footpath.h"
|
||||
#include "../world/map.h"
|
||||
#include "../world/map_animation.h"
|
||||
|
||||
@@ -24,14 +24,14 @@
|
||||
#include "TrackDesignRepository.h"
|
||||
|
||||
#include "../audio/audio.h"
|
||||
#include "../cheats.h"
|
||||
#include "../Cheats.h"
|
||||
#include "../Game.h"
|
||||
#include "../localisation/localisation.h"
|
||||
#include "../localisation/string_ids.h"
|
||||
#include "../management/Finance.h"
|
||||
#include "../rct1.h"
|
||||
#include "../util/sawyercoding.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/SawyerCoding.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../world/footpath.h"
|
||||
#include "../world/scenery.h"
|
||||
#include "../world/SmallScenery.h"
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
#include "../platform/platform.h"
|
||||
#include "../rct12.h"
|
||||
#include "../scenario/scenario.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../world/map_animation.h"
|
||||
#include "../world/scenery.h"
|
||||
#include "../world/SmallScenery.h"
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include "../audio/audio.h"
|
||||
#include "../audio/AudioMixer.h"
|
||||
#include "../cheats.h"
|
||||
#include "../Cheats.h"
|
||||
#include "../common.h"
|
||||
#include "../config/Config.h"
|
||||
#include "../Context.h"
|
||||
@@ -38,7 +38,7 @@
|
||||
#include "../peep/Staff.h"
|
||||
#include "../rct1.h"
|
||||
#include "../scenario/scenario.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../windows/Intent.h"
|
||||
#include "../world/banner.h"
|
||||
#include "../world/Climate.h"
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
*****************************************************************************/
|
||||
#pragma endregion
|
||||
|
||||
#include "../cheats.h"
|
||||
#include "../Cheats.h"
|
||||
#include "../interface/window.h"
|
||||
#include "../localisation/date.h"
|
||||
#include "../OpenRCT2.h"
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
#include "../localisation/localisation.h"
|
||||
#include "../localisation/string_ids.h"
|
||||
#include "../interface/viewport.h"
|
||||
#include "../util/sawyercoding.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/SawyerCoding.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../windows/Intent.h"
|
||||
#include "../world/LargeScenery.h"
|
||||
#include "../world/scenery.h"
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#pragma endregion
|
||||
|
||||
#include "../audio/audio.h"
|
||||
#include "../cheats.h"
|
||||
#include "../Cheats.h"
|
||||
#include "../config/Config.h"
|
||||
#include "../FileClassifier.h"
|
||||
#include "../Game.h"
|
||||
@@ -36,8 +36,8 @@
|
||||
#include "../platform/platform.h"
|
||||
#include "../rct1.h"
|
||||
#include "../ride/ride.h"
|
||||
#include "../util/sawyercoding.h"
|
||||
#include "../util/util.h"
|
||||
#include "../util/SawyerCoding.h"
|
||||
#include "../util/Util.h"
|
||||
#include "../world/Climate.h"
|
||||
#include "../world/map.h"
|
||||
#include "../world/park.h"
|
||||
|
||||
@@ -14,10 +14,11 @@
|
||||
*****************************************************************************/
|
||||
#pragma endregion
|
||||
|
||||
#include "../core/Math.hpp"
|
||||
#include "../platform/platform.h"
|
||||
#include "sawyercoding.h"
|
||||
#include "../scenario/scenario.h"
|
||||
#include "util.h"
|
||||
#include "SawyerCoding.h"
|
||||
#include "Util.h"
|
||||
|
||||
static size_t decode_chunk_rle(const uint8* src_buffer, uint8* dst_buffer, size_t length);
|
||||
static size_t decode_chunk_rle_with_size(const uint8* src_buffer, uint8* dst_buffer, size_t length, size_t dstSize);
|
||||
@@ -60,7 +61,7 @@ size_t sawyercoding_write_chunk_buffer(uint8 *dst_file, const uint8* buffer, saw
|
||||
//fwrite(buffer, 1, chunkHeader.length, file);
|
||||
break;
|
||||
case CHUNK_ENCODING_RLE:
|
||||
encode_buffer = malloc(0x600000);
|
||||
encode_buffer = (uint8 *)malloc(0x600000);
|
||||
chunkHeader.length = (uint32)encode_chunk_rle(buffer, encode_buffer, chunkHeader.length);
|
||||
memcpy(dst_file, &chunkHeader, sizeof(sawyercoding_chunk_header));
|
||||
dst_file += sizeof(sawyercoding_chunk_header);
|
||||
@@ -69,8 +70,8 @@ size_t sawyercoding_write_chunk_buffer(uint8 *dst_file, const uint8* buffer, saw
|
||||
free(encode_buffer);
|
||||
break;
|
||||
case CHUNK_ENCODING_RLECOMPRESSED:
|
||||
encode_buffer = malloc(chunkHeader.length * 2);
|
||||
encode_buffer2 = malloc(0x600000);
|
||||
encode_buffer = (uint8 *)malloc(chunkHeader.length * 2);
|
||||
encode_buffer2 = (uint8 *)malloc(0x600000);
|
||||
chunkHeader.length = (uint32)encode_chunk_repeat(buffer, encode_buffer, chunkHeader.length);
|
||||
chunkHeader.length = (uint32)encode_chunk_rle(encode_buffer, encode_buffer2, chunkHeader.length);
|
||||
memcpy(dst_file, &chunkHeader, sizeof(sawyercoding_chunk_header));
|
||||
@@ -81,7 +82,7 @@ size_t sawyercoding_write_chunk_buffer(uint8 *dst_file, const uint8* buffer, saw
|
||||
free(encode_buffer);
|
||||
break;
|
||||
case CHUNK_ENCODING_ROTATE:
|
||||
encode_buffer = malloc(chunkHeader.length);
|
||||
encode_buffer = (uint8 *)malloc(chunkHeader.length);
|
||||
memcpy(encode_buffer, buffer, chunkHeader.length);
|
||||
encode_chunk_rotate(encode_buffer, chunkHeader.length);
|
||||
memcpy(dst_file, &chunkHeader, sizeof(sawyercoding_chunk_header));
|
||||
@@ -108,10 +109,10 @@ size_t sawyercoding_decode_sc4(const uint8 *src, uint8 *dst, size_t length, size
|
||||
size_t decodedLength = decode_chunk_rle_with_size(src, dst, length - 4, bufferLength);
|
||||
|
||||
// Decode
|
||||
for (size_t i = 0x60018; i <= min(decodedLength - 1, 0x1F8353); i++)
|
||||
for (size_t i = 0x60018; i <= Math::Min(decodedLength - 1, 0x1F8353ul); i++)
|
||||
dst[i] = dst[i] ^ 0x9C;
|
||||
|
||||
for (size_t i = 0x60018; i <= min(decodedLength - 1, 0x1F8350); i += 4) {
|
||||
for (size_t i = 0x60018; i <= Math::Min(decodedLength - 1, 0x1F8350ul); i += 4) {
|
||||
dst[i + 1] = ror8(dst[i + 1], 3);
|
||||
|
||||
uint32 *code = (uint32*)&dst[i];
|
||||
@@ -314,7 +315,7 @@ static size_t encode_chunk_repeat(const uint8 *src_buffer, uint8 *dst_buffer, si
|
||||
size_t bestRepeatCount = 0;
|
||||
for (size_t repeatIndex = searchIndex; repeatIndex <= searchEnd; repeatIndex++) {
|
||||
size_t repeatCount = 0;
|
||||
size_t maxRepeatCount = min(min(7, searchEnd - repeatIndex), length - i - 1);
|
||||
size_t maxRepeatCount = Math::Min(Math::Min(7ul, searchEnd - repeatIndex), length - i - 1);
|
||||
// maxRepeatCount should not exceed length
|
||||
assert(repeatIndex + maxRepeatCount < length);
|
||||
assert(i + maxRepeatCount < length);
|
||||
File renamed without changes.
@@ -18,11 +18,12 @@
|
||||
#include <time.h>
|
||||
#include "../common.h"
|
||||
#include "../core/Guard.hpp"
|
||||
#include "../core/Math.hpp"
|
||||
#include "../interface/window.h"
|
||||
#include "../localisation/localisation.h"
|
||||
#include "../platform/platform.h"
|
||||
#include "../title/TitleScreen.h"
|
||||
#include "util.h"
|
||||
#include "Util.h"
|
||||
#include "zlib.h"
|
||||
|
||||
sint32 squaredmetres_to_squaredfeet(sint32 squaredMetres)
|
||||
@@ -452,16 +453,16 @@ uint8 *util_zlib_inflate(uint8 *data, size_t data_in_size, size_t *data_out_size
|
||||
// Try to guesstimate the size needed for output data by applying the
|
||||
// same ratio it would take to compress data_in_size.
|
||||
out_size = (uLong)data_in_size * (uLong)data_in_size / compressBound((uLong)data_in_size);
|
||||
out_size = min(MAX_ZLIB_REALLOC, out_size);
|
||||
out_size = Math::Min((uLongf)MAX_ZLIB_REALLOC, out_size);
|
||||
}
|
||||
uLongf buffer_size = out_size;
|
||||
uint8 *buffer = malloc(buffer_size);
|
||||
uint8 *buffer = (uint8 *)malloc(buffer_size);
|
||||
do {
|
||||
if (ret == Z_BUF_ERROR)
|
||||
{
|
||||
buffer_size *= 2;
|
||||
out_size = buffer_size;
|
||||
buffer = realloc(buffer, buffer_size);
|
||||
buffer = (uint8 *)realloc(buffer, buffer_size);
|
||||
} else if (ret == Z_STREAM_ERROR) {
|
||||
log_error("Your build is shipped with broken zlib. Please use the official build.");
|
||||
free(buffer);
|
||||
@@ -473,7 +474,7 @@ uint8 *util_zlib_inflate(uint8 *data, size_t data_in_size, size_t *data_out_size
|
||||
}
|
||||
ret = uncompress(buffer, &out_size, data, (uLong)data_in_size);
|
||||
} while (ret != Z_OK);
|
||||
buffer = realloc(buffer, out_size);
|
||||
buffer = (uint8 *)realloc(buffer, out_size);
|
||||
*data_out_size = out_size;
|
||||
return buffer;
|
||||
}
|
||||
@@ -491,13 +492,13 @@ uint8 *util_zlib_deflate(const uint8 *data, size_t data_in_size, size_t *data_ou
|
||||
sint32 ret = Z_OK;
|
||||
uLongf out_size = (uLongf)*data_out_size;
|
||||
uLong buffer_size = compressBound((uLong)data_in_size);
|
||||
uint8 *buffer = malloc(buffer_size);
|
||||
uint8 *buffer = (uint8 *)malloc(buffer_size);
|
||||
do {
|
||||
if (ret == Z_BUF_ERROR)
|
||||
{
|
||||
buffer_size *= 2;
|
||||
out_size = buffer_size;
|
||||
buffer = realloc(buffer, buffer_size);
|
||||
buffer = (uint8 *)realloc(buffer, buffer_size);
|
||||
} else if (ret == Z_STREAM_ERROR) {
|
||||
log_error("Your build is shipped with broken zlib. Please use the official build.");
|
||||
free(buffer);
|
||||
@@ -506,7 +507,7 @@ uint8 *util_zlib_deflate(const uint8 *data, size_t data_in_size, size_t *data_ou
|
||||
ret = compress(buffer, &out_size, data, (uLong)data_in_size);
|
||||
} while (ret != Z_OK);
|
||||
*data_out_size = out_size;
|
||||
buffer = realloc(buffer, *data_out_size);
|
||||
buffer = (uint8 *)realloc(buffer, *data_out_size);
|
||||
return buffer;
|
||||
}
|
||||
|
||||
File renamed without changes.
@@ -25,7 +25,7 @@
|
||||
#include "../interface/viewport.h"
|
||||
#include "../ride/Track.h"
|
||||
#include "../ride/TrackData.h"
|
||||
#include "../cheats.h"
|
||||
#include "../Cheats.h"
|
||||
#include "../network/network.h"
|
||||
#include "../world/scenery.h"
|
||||
|
||||
|
||||
Loaded 100 of 113 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user