1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 19:13:07 +01:00
Commit Graph

21261 Commits

Author SHA1 Message Date
Duncan
6f81248084 Rework and refactor PathBitEntry (#14809) 2021-06-03 21:23:00 +01:00
Duncan
425f968a67 Rearrange WallSceneryEntry to enforce types (#14808)
* Rearrange WallSceneryEntry to enforce types

* Clang format

Correct inverted nullptr check
2021-06-03 13:26:00 +01:00
KirilAngelov
97002cae5d Close #14804: Rename isBanner to isDoubleSided 2021-06-03 12:18:22 +02:00
Duncan
03378782ff Split off litter code to litter.cpp (#14799)
* Split off litter code to litter.cpp

* Use PATH_CLEARANCE
2021-06-03 08:27:03 +01:00
Duncan
7253b92cfd Use correct function call for WallPlaceAction plugin visitor (#14806)
* Use correct function call for WallPlaceAction plugin visitor

* Increment plugin version

* Update changelog
2021-06-02 21:30:49 +01:00
Duncan
fd4a798cfb Merge pull request #14805 from aemreaydin/max_circuits_refactor
Refactored code to use a constant for max circuits
2021-06-02 16:49:58 +01:00
Emre Aydin
ac80ca7b46 Refactored code to use a constant for max circuits 2021-06-02 17:48:09 +03:00
Duncan
b7e7915efa Merge pull request #14780 from duncanspumpkin/sprite2
Sprite Refactor 2: Moving around EntityTweener and misc
2021-06-01 20:10:17 +01:00
Duncan
b2451f00c4 Merge pull request #14644 from ZehMatt/refactor/peep2
Simplify code for Peep easter eggs
2021-05-31 16:48:11 +01:00
Duncan
cd9b427e55 Merge pull request #32 from ZehMatt/sprite2-xcode
Add files to xcode project
2021-05-31 16:46:33 +01:00
Matt
80ac0b93f7 Add files to xcode project 2021-05-31 18:21:17 +03:00
ζeh Matt
6cf44a6d19 Refactor explicit passing of Ride type in OnEnterRide/OnExitRide 2021-05-29 18:41:51 +02:00
Michael Steenbeek
31848b195e Close #14765: Rename gCheatsFastLiftHill 2021-05-29 18:41:16 +02:00
Matt
751db9f13e Simplify code for Peep easter eggs 2021-05-29 13:43:59 +03:00
duncanspumpkin
cff87c7d72 Include correct headers 2021-05-29 10:27:09 +01:00
duncanspumpkin
98f9f24909 Remove sprite.h includes where possible 2021-05-29 08:54:33 +01:00
duncanspumpkin
ee981e62e1 Move CreateEntity funcs to Entity header. Remove dead enum 2021-05-29 08:18:23 +01:00
duncanspumpkin
63bcb3c3e5 Move particle structs to particle files 2021-05-29 08:07:32 +01:00
duncanspumpkin
3199029168 Split off EntityTweener into seperate file 2021-05-29 07:47:49 +01:00
OpenRCT2 git bot
5b5aa0771e Merge Localisation/master into OpenRCT2/develop 2021-05-29 05:52:24 +00:00
Duncan
39fcc5d078 Split up Sprite header (#14764)
* Remove fields from rct_sprite union

* more header fun

* Fix guest include
2021-05-29 06:01:32 +01:00
Duncan
21bb949322 Fix 14774: Scenery research always unlocks on load (#14777)
* Fix #14774: Incorrect import of scenery research

Mistake during a refactor caused all scenery to be imported as already researched.

* Update changelog

* Update network version
2021-05-28 18:55:19 +01:00
Michael Steenbeek
380d3a6cbe Turn vehicle sprite flags into a 32-bit integer
At the request of X7123M3-256.
2021-05-28 19:16:16 +02:00
OpenRCT2 git bot
4c1ab8d934 Merge Localisation/master into OpenRCT2/develop 2021-05-28 05:22:13 +00:00
Michael Steenbeek
3fe910781a Merge pull request #14761 from Gymnasiast/backport-object-selection-improvements
Backport object selection improvements
2021-05-27 22:39:17 +02:00
Michael Steenbeek
e5c61f2a44 Close #14511: Unlock all music with 'Unlock operating limits' cheat 2021-05-27 22:38:35 +02:00
Gymnasiast
b214a9fd97 Show what a stall sells in Object Selection 2021-05-27 19:54:44 +02:00
Gymnasiast
1d693f9751 Fix display of number of items in scenery group 2021-05-27 19:54:44 +02:00
Gymnasiast
f2ac658935 Show tracks list of music styles in Object Selection 2021-05-27 19:53:52 +02:00
Michael Steenbeek
4be838a9b8 Reserve strings for the new-save-format branch
Avoiding constant merge conflicts
2021-05-27 19:52:11 +02:00
OpenRCT2 git bot
1b11e691c9 Merge Localisation/master into OpenRCT2/develop 2021-05-26 04:43:40 +00:00
OpenRCT2 git bot
15bb5f53f8 Merge Localisation/master into OpenRCT2/develop 2021-05-25 04:28:28 +00:00
Michael Steenbeek
0a98f0e3bd Merge pull request #14731 from Gymnasiast/feature/opaque-water
Add option to make water opaque
2021-05-24 18:50:04 +02:00
Gymnasiast
74ef312533 Also make the water splash use opaque water 2021-05-24 17:07:48 +02:00
Gymnasiast
8f6713a4f1 Reverse option, add shortcut 2021-05-24 16:54:30 +02:00
Gymnasiast
89eae5198b Add option to make water opaque 2021-05-24 16:39:39 +02:00
Michael Steenbeek
ea47c3ffe9 Merge pull request #14716 from CookiePLMonster/startup-speed-optimizations-2
More startup speed optimizations
2021-05-24 12:42:12 +02:00
ζeh Matt
9991573817 Fix #14682: Crash when painting Swinging Ships with invalid subtype 2021-05-24 12:38:31 +02:00
ζeh Matt
ebcdfd06e9 Fix #14707: Crash when window is closed during text input 2021-05-24 00:11:04 +02:00
Michael Steenbeek
8d6b1c0da3 Merge pull request #14726 from ZehMatt/fix-14724
Fix #14724: Money was ignored for ride creation
2021-05-24 00:08:37 +02:00
Matt
7c8beededb Bump network version 2021-05-23 20:01:42 +03:00
Matt
2b4b204ad8 Fix #14724: Money was ignored for ride creation 2021-05-23 19:58:47 +03:00
Michael Steenbeek
9a76224a22 Downgrade “Image table longer than expected” to a verbose warning (#14722)
There are lots of custom objects like this and there is little point spewing the console full of them, since they’re unlikely to cause many problems.
2021-05-23 15:43:57 +02:00
Adam
dbd84f9f40 Fix #14415: Entrances/exits are removed when built on top of each other (#14490) 2021-05-23 15:41:34 +02:00
Silent
66abc69690 Add a persistentChunks flag to SawyerChunkReader
New behaviour of SawyerChunkReader is to skip shrinking the chunk
memory unless persistentChunks is set to true. At the moment all uses
of SawyerChunks created by the reader are temporary and shrinking memory
right before freeing them is a waste of time.

Speeds up loading times and index building
2021-05-23 15:04:50 +02:00
Silent
fb602ec0c9 Fix allocator mismatch in SawyerChunk on Windows with Debug
This change allows to use HeapReAlloc in FinaliseLargeTempBuffer
when running Debug builds.
2021-05-23 15:04:02 +02:00
ζeh Matt
38c7a70025 Fix #14710: Preview not shown without enough money (#14711)
* Fix #14710: Preview not shown without enough money

* Bump up network version

* Add changelog.txt entry
2021-05-23 09:45:48 -03:00
Michael Steenbeek
236c80fea1 Merge pull request #14712 from CookiePLMonster/startup-speed-optimization
Startup speed optimizations
2021-05-21 20:49:44 +02:00
Silent
e280eb2083 FileStream::Read: Throw the exception basing on fread return value
This change removes ftell/GetPosition() from hot spots during the startup,
"optimizing" the function for success cases - reading past EOF should
never/rarely happen so it seems fine to let it try to read before checking
2021-05-21 19:55:43 +02:00
Silent
724a3c0579 Obtain file sizes without seeking where possible 2021-05-21 19:55:43 +02:00