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

20639 Commits

Author SHA1 Message Date
Duncan
8d25e4ccd9 Split closest peep calculation into Staff and Guest (#13880) 2021-01-20 14:21:22 +01:00
Ted John
19f0d8dfe9 Fix #13842: News is imported incorrectly 2021-01-20 12:35:11 +01:00
Michał Janiszewski
9d666700f9 Merge pull request #13873 from janisozaur/memleak
Fix some memleaks
2021-01-20 07:32:32 +01:00
ζeh Matt
40a23db14b Fix #13871: Crash on banner window invalidation 2021-01-19 22:44:22 +01:00
Michał Janiszewski
4a21676d17 Plug memory leak in DataSerialiser 2021-01-19 22:11:08 +01:00
Michał Janiszewski
4bcf68d84a Use simple std::string assignment to plug memory leak 2021-01-19 22:10:15 +01:00
Duncan
354a131892 Use specific type for peep list access (#13831)
* Use specific type for peep list access

* Simplify calculation further
2021-01-19 17:57:22 +00:00
Michael Steenbeek
052306f992 Merge pull request #13854 from Gymnasiast/refactor/remove-regs
Remove remaining register usage
2021-01-18 22:12:03 +01:00
Gymnasiast
87ff851fd1 Rename flagsForSomething to remainingDistanceFlags 2021-01-18 22:11:28 +01:00
Basssiiie
813b111710 Fix #11912: Update active palette on selection 2021-01-18 21:25:57 +01:00
OpenRCT2 git bot
bd27046142 Merge Localisation/master into OpenRCT2/develop 2021-01-18 04:30:01 +00:00
Gymnasiast
9a3d9c512e Move register definition to TestPaint 2021-01-17 22:14:55 +01:00
Gymnasiast
a2e84d161d Remove last usage of registers 2021-01-17 20:11:50 +01:00
Gymnasiast
cb63b3356a Replace another occurence of regs.ebx 2021-01-17 20:06:35 +01:00
Gymnasiast
98a9827ee8 Remove unused regs.cx 2021-01-17 20:06:35 +01:00
Gymnasiast
e4e4ca1122 Replace occurrence of regs.ax 2021-01-17 20:06:35 +01:00
Gymnasiast
2baf0f992f Remove unused regs.dx 2021-01-17 20:06:35 +01:00
Gymnasiast
d817d595eb Replace occurrence of regs.ax 2021-01-17 20:06:33 +01:00
Gymnasiast
d9fb4616a6 Replace 2 occurences of regs.eax 2021-01-17 20:06:05 +01:00
Gymnasiast
b24962546e Replace an occurence of regs.eax 2021-01-17 20:06:05 +01:00
Gymnasiast
7e50d1bbc5 Integrate loc_6DB967 2021-01-17 20:06:05 +01:00
Gymnasiast
c200d7ab9c Integrate loc_6DBE7F 2021-01-17 20:06:05 +01:00
Gymnasiast
60b0ba809a Integrate loc_6DBE5E 2021-01-17 20:06:05 +01:00
Gymnasiast
39162b8f8e Remove 2 occurrences of regs.ebx 2021-01-17 20:06:03 +01:00
Gymnasiast
9fb46e7fcc Remove occurrence of regs.ebx 2021-01-17 20:05:31 +01:00
Gymnasiast
6561f1cb49 Remove occurrence of regs.ebx 2021-01-17 20:04:49 +01:00
Duncan
4ff5b9a89f Reset Entity to 0 on removal (#13835)
This is to force any use after remove bugs to the surface
2021-01-16 15:48:39 +00:00
OpenRCT2 git bot
fb4d14e843 Merge Localisation/master into OpenRCT2/develop 2021-01-16 04:28:43 +00:00
Michael Steenbeek
12edd610e6 Merge pull request #13841 from Gymnasiast/fix/13236
Fix #13236: New ride type appears as new vehicle type in research
2021-01-15 22:38:28 +01:00
Michael Steenbeek
32d8dadc2b Replace some leftover use of uint8_t for ride subtype 2021-01-15 19:35:06 +01:00
Gymnasiast
f95e98d9d8 Add #13236 to changelog 2021-01-15 17:38:23 +01:00
Gymnasiast
19d113ae86 Reduce code duplication 2021-01-15 17:34:47 +01:00
Gymnasiast
4fcc86f990 Fix #13236: New ride type appears as new vehicle type in research 2021-01-15 17:21:29 +01:00
Michael Steenbeek
5cd3014334 Import SV6 tile elements by x/y 2021-01-15 16:23:28 +01:00
Michał Janiszewski
f1a5e62440 Fix #13816: Compilation failure on Launchpad (#13837) 2021-01-14 23:19:10 +01:00
ζeh Matt
78f6e3e8e3 Fix replays not failing when last tick is the cause (#13834)
* Fix replays never failing

* Change replay dependency meta

* Stop replay when state mismatches
2021-01-14 13:48:12 +00:00
ζeh Matt
f1ea718ded Fix #13832: Game action position is invalid on opening/closing a ride 2021-01-14 10:13:32 +01:00
OpenRCT2 git bot
baaf686eef Merge Localisation/master into OpenRCT2/develop 2021-01-14 04:31:10 +00:00
LRFLEW
601fa5629b Fix Window IDX enum names 2021-01-13 23:00:35 +01:00
Duncan
0c91ed9bdd Fix #13755. Regression causing entity position corruption (#13828)
When switching from variable frame to fixed frame the entity positions could become corrupted. This would cause to end up being stuck inside of tiles that they could not path out of. When switching from normal speed to hyperspeed the rendering switches from variable to fixed frame. Therefore entitys could end up corrupted when enabling hyperspeed. Due to the way the corruption occured a hang or crash could also occur.
2021-01-13 17:29:30 +00:00
OpenRCT2 git bot
5c33773807 Merge Localisation/master into OpenRCT2/develop 2021-01-13 04:31:57 +00:00
Michael Steenbeek
bf63a562ae Fix #11438: Crash when decreasing map size 2021-01-12 22:04:22 +01:00
Michael Steenbeek
93b7b86ad4 Merge pull request #13756 from IntelOrca/refactor/guest-list-window
Refactor guest list window to a class
2021-01-12 20:01:47 +01:00
Michael Steenbeek
830d2426bd Import RCT1 tile elements by x/y (#13740)
* Import RCT1 tile elements by x/y

* Clean up wall import

* Move tile pointers creation to a separate function and to heap

* Create class for tile pointer index
2021-01-12 17:53:58 +00:00
OpenRCT2 git bot
e51a048add Merge Localisation/master into OpenRCT2/develop 2021-01-12 04:28:33 +00:00
Ted John
1723161503 Optimise guest list sort
Format all guest names in advance and store them in a list for sorting. This reduces the number of calls to format_string considerably.
2021-01-11 22:41:42 +00:00
Ted John
3e75f23970 Refactor guest list window to a class 2021-01-11 21:56:48 +00:00
skdltmxn
7ef4d7762f Refactor to avoid unnecessary copies (#13736)
* Refactor to avoid unnecessary copies

* Fix dangling references
2021-01-11 18:14:15 -03:00
Ted John
b58038a23f Fix #13758: Cheat menu's No Money Error 2021-01-11 20:39:58 +01:00
ζeh Matt
cb5b1fb9ef Eliminate copying of paint_struct, initialize data in-place 2021-01-11 19:37:39 +01:00