Michael Steenbeek
d80f9b511f
Merge pull request #12255 from Gymnasiast/refactor/more-constants-in-track-curve
...
Refactor/more constants in track curve
2020-07-15 15:36:42 +02:00
frutiemax
31bea18ad6
Part of #12166 : remove switch-case in bolliger_mabillard_track_flat
2020-07-15 13:34:36 +02:00
Tulio Leao
0951c0c5cc
Remove goto from input_state_widget_pressed ( #12265 )
2020-07-15 07:50:01 -03:00
michael coates
01d0287ee2
Close #12253 : Refactor Vehicle sound to remove goto ( #12267 )
...
* Refactor Vehicle Scream Sound goto
* updated contributors
2020-07-15 07:48:47 +01:00
OpenRCT2 git bot
60ff09fce6
Merge Localisation/master into OpenRCT2/develop.
2020-07-15 04:03:20 +00:00
frutiemax
f94c3bc2f3
Close #12242 : Convert TrackDesignPlace static globals to use Coords ( #12249 )
2020-07-15 04:01:16 +02:00
Michael Steenbeek
cc96f5509a
Merge pull request #12219 from AaronVanGeffen/refactor/widgets
...
Refactor widget definitions
2020-07-15 03:57:05 +02:00
Tulio Leao
eaa53a3b8a
Mark origin and size parameters as const
2020-07-14 23:36:24 +02:00
Aaron van Geffen
5344bc2e38
Convert terraforming tools to new widget defintions
2020-07-14 23:36:22 +02:00
Aaron van Geffen
f2df096053
Introduce new way of defining widgets
...
Inspired by OpenLoco's widget routines.
2020-07-14 23:36:20 +02:00
Michael Steenbeek
5c42765d2b
Merge pull request #12156 from tupaschoal/coords-train-creation
...
Change train creation to use CoordsXYZ
2020-07-14 15:54:36 +02:00
frutiemax
c8b66dd289
Fix #12257 : Fix refactoring of is_sprite_interacted_with_palette_set ( #12258 )
...
* Fix #12257 : Change type of paint x/y to int32_t
This corrects an issue with integer conversions due to signness.
* Change types to 16bit and correct functions parameters
* Fix test paint.
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
2020-07-14 12:20:53 +01:00
Michał Janiszewski
db52ac09aa
Update readme.md links to libraries information for Linux
2020-07-14 08:54:09 +02:00
OpenRCT2 git bot
37446e07de
Merge Localisation/master into OpenRCT2/develop.
2020-07-14 04:03:20 +00:00
Michael Steenbeek
9b8896d35b
Fix #12250 : Message shownafter adding RCT1 path is ambiguous ( #12254 )
2020-07-13 21:24:39 -03:00
Gymnasiast
b948302dc6
Use constants in gTrackCurveChain
2020-07-14 01:37:33 +02:00
Gymnasiast
e080d4655e
Use RideConstructionSpecialPieceSelected in two more places
2020-07-14 01:10:47 +02:00
Michael Steenbeek
1034aadb72
Merge pull request #12238 from frutiemax/Fix12223
...
Close #12223 : Assert that Formatter::Add() only receives desired types
2020-07-14 00:05:37 +02:00
Michael Steenbeek
821dc60a7d
Merge pull request #12246 from Gymnasiast/refactor/constants
...
Small constants cleanup
2020-07-14 00:05:03 +02:00
frutiemax
5f4e1ba344
Forbid usage of uint8_t* in formatter::Add
2020-07-13 17:40:04 -04:00
frutiemax
0272777d13
Close #12223 : Assert that Formatter::Add() only receives desired types
2020-07-13 17:37:08 -04:00
frutiemax
84a4c4e473
Part of #12096 : ScreenRect on gfx_fill_rect in windows/Ride.cpp ( #12239 )
2020-07-13 17:49:12 -03:00
Gymnasiast
88a5e4cd2a
Remove some unused constants
2020-07-13 22:09:28 +02:00
Gymnasiast
3c4721d014
Move some constants to RCT12.h
2020-07-13 22:04:50 +02:00
frutiemax
b39a0037f0
Close #12164 : Use Coords for place_virtual_track ( #12240 )
2020-07-13 16:37:10 -03:00
frutiemax
78e40f5358
Close #12160 : Coords for is_sprite_interacted_with_palette_set ( #12241 )
2020-07-13 16:31:06 -03:00
frutiemax
bcc27f4c73
Close #12161 : Use CoordsXYE on peep_interact_with_shop ( #12236 )
2020-07-13 14:39:59 -03:00
frutiemax
09ad720dfc
Part of #12164 : Use Coords for track_design_place_ride ( #12233 )
2020-07-13 14:38:39 -03:00
frutiemax
59618327af
Part of #12096 : Use ScreenRect on gfx_fill_rect in Map.cpp ( #12230 )
2020-07-13 14:36:49 -03:00
Michael Steenbeek
e99f4a23c5
Add missing header ( #12235 )
...
std::memcpy is defined in <cstring>. The Docker CI would fail because this header was not included.
2020-07-13 18:26:20 +02:00
frutiemax
b34381f030
Part of #12160 : Use Coords for viewport_redraw_after_shift ( #12231 )
2020-07-13 13:22:40 -03:00
Duncan
7f28d65bf9
Fix #12213 : Incorrect viewport invalidation on load ( #12232 )
...
Mistake made during implementation but issue only surfaces recently when the types were increased to 32bit. Removed #12210 as this was hiding the source issue and is no longer required.
2020-07-13 18:20:16 +02:00
frutiemax
6cc52bfb72
Part of #12161 : Use CoordsXYE on peep_footpath_move_forward ( #12217 )
2020-07-13 17:51:57 +02:00
Michael Steenbeek
1cf89362f0
Merge pull request #12184 from IntelOrca/sea
...
Add support for reading .sea (RCT classic) files
2020-07-13 17:23:16 +02:00
Michael Steenbeek
132b2e5966
Fix #12071 : Crash in Guest List when a guest dies ( #12126 )
...
Send refresh guest list intent on peep removal
Also added protection to guest list to prevent accessing invalid peeps
2020-07-13 09:31:04 -03:00
Aaron van Geffen
b0a3fd82d9
Fix #12221 : Map generation tool doesn't place any trees ( #12222 )
2020-07-13 12:35:49 +02:00
frutiemax
e2ef82ca0a
Part of #12164 : Use Coords for track_design_place_maze ( #12218 )
2020-07-12 19:02:28 -03:00
Thamara Andrade
0fb2a6216c
Close #12099 : Use ScreenLine on gfx_draw_line ( #12143 )
2020-07-12 18:50:52 -03:00
frutiemax
27734e2971
Part of #12160 : Use Coords for viewport_coord_to_map_coord ( #12216 )
2020-07-12 18:42:54 -03:00
Duncan
b1f80efbe3
Use u8path on file path ( #12205 )
2020-07-12 21:56:02 +01:00
Ted John
3a93525a11
Add rename error message if sea file fails to open
2020-07-12 00:15:21 +01:00
frutiemax
bc7f7248bb
Part of #12164 : Use Coords for track_design_add_selection_tile
2020-07-11 19:13:57 +02:00
frutiemax
75afcb85c5
Part of #12161 : Use CoordsXYE on peep_interact_with_entrance
2020-07-11 18:58:56 +02:00
frutiemax
508344a088
Close #12174 : Remove Formatter additions with uintptr_t
2020-07-11 18:56:12 +02:00
Tulio Leao
76e7bfbf78
Fix load game showing edge of map
2020-07-11 18:19:28 +02:00
Tulio Leao
0758d0fe5c
Prefer reference on ride_create_vehicles parameter
2020-07-11 12:21:46 -03:00
Tulio Leao
de8bb169de
Use CoordsXYZ on vehicle_create_trains
2020-07-11 12:21:44 -03:00
Tulio Leao
47db30f1d7
Use CoordsXYZ on vehicle_create_train
2020-07-11 12:21:09 -03:00
Tulio Leao
7921740938
Use CoordsXYZ on vehicle_create_car
2020-07-11 12:21:07 -03:00
Michael Steenbeek
b43ce35ef5
Fix: Map Generator shows incorrect map sizes ( #12211 )
2020-07-11 12:19:01 -03:00