1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-04 13:42:55 +01:00
Commit Graph

20665 Commits

Author SHA1 Message Date
ζeh Matt
db4841ca45 Avoid copy and allocation for rendering the viewport (#13911) 2021-01-27 07:28:07 +00:00
ζeh Matt
ea9d4f35c9 Merge pull request #13938 from janisozaur/nullptr_check
Add nullptr check in get_loaded_object_entry
2021-01-27 08:14:04 +02:00
ζeh Matt
8eab5d167e Merge pull request #13869 from ZehMatt/feature/timescale
Allow the main game loop to scale the delta time
2021-01-27 06:09:51 +02:00
OpenRCT2 git bot
a49a2fdd85 Merge Localisation/master into OpenRCT2/develop 2021-01-27 04:08:46 +00:00
Duncan
8c5cd61b69 Split free id's into seperate vector (#13924) 2021-01-26 07:42:56 +00:00
Ted John
c1a1f8f639 Fix #13953: invalid-read in StaffListWindow::RefreshList 2021-01-26 00:17:34 +00:00
Ted John
c9a07eaa84 Refactor staff window to class (#13819) 2021-01-25 21:57:06 +00:00
Michael Steenbeek
45fd8e8d05 Changelog: correct issue number, add forgotten one 2021-01-24 14:00:08 +01:00
OpenRCT2 git bot
7d90df1baa Merge Localisation/master into OpenRCT2/develop 2021-01-24 04:35:00 +00:00
ζeh Matt
329b228cac Fix #13916: use correct constant for maximum station locations 2021-01-23 23:06:05 +01:00
Michał Janiszewski
b1e43f828b Add nullptr check in get_loaded_object_entry 2021-01-23 22:26:02 +01:00
Duncan
eb52391b9a Remove next_in_quadrant (#13754)
* Use std::vector of quadrants

* Prevent ptr invalidation issues

* Remove next_in_quadrant

* Make review changes

* Rebuild next_in_quadrant for S6Export

* Fix formatting

* Constexpr where possible

* Increment network version and update replays
2021-01-23 07:36:46 +00:00
Duncan
3cc283adb2 Name MapFlashingFlags and split up guest/staff loop (#13865)
* Name MapFlashingFlags and split up guest/staff loop

* Use constexpr instead of macros
2021-01-23 06:45:14 +00:00
Duncan
fb274f55d5 Fix #13905: Fix walking off end of array when saving (#13913)
Mistake made in refactor
2021-01-22 22:45:00 +00:00
ζeh Matt
73275b311b Fix #13903: ride exits not being recognized (#13906) 2021-01-22 22:08:54 +00:00
ζeh Matt
54578a0870 Merge pull request #13901 from ZehMatt/fix-replaysnapshot
Fix replay snapshots comparing states with different ticks
2021-01-22 20:15:33 +02:00
Duncan
85df2c6854 Refactor guestlist (#13899)
* Refactor GuestList groups to use more standard functions

* Remove index

* Apply review comments
2021-01-22 18:02:22 +00:00
Duncan
1a11456f36 Rework remove floating to use EntityList (#13895) 2021-01-22 14:36:55 +00:00
ζeh Matt
bc20efb3df Merge pull request #13822 from ZehMatt/refactor/fixedvector
Avoid some allocations by using a fixed size vector
2021-01-22 16:17:14 +02:00
Matt
6034cef358 Fix replay snapshots comparing states with different ticks 2021-01-22 15:35:16 +02:00
Michael Steenbeek
20f959c833 Use track_type_t in more places 2021-01-22 11:33:55 +01:00
Duncan
f80531070b Implement EntityLists (#13853)
* Implement EntityLists

* Remove dead code

* Use alternative name for iterator

* Add comments

* Increment network version

* Update replays

* Remove further dead code

* Update replays again
2021-01-21 18:36:34 +00:00
Duncan
3321720d4a Split up misc list access to be type specific (#13870)
* Split up misc list access to be type specific

Took the opertunity to use a fold expression to simplify the code

* Increment network version
2021-01-21 08:29:02 +00:00
OpenRCT2 git bot
cf83752ce4 Merge Localisation/master into OpenRCT2/develop 2021-01-21 04:33:38 +00:00
Matt
f684ebd7d9 Allow the main game loop to scale the delta time 2021-01-20 23:13:02 +02:00
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