Tulio Leao
e24de95b82
Make sprite_get_first_in_quadrant use CoordsXY
2020-06-21 14:03:35 -03:00
Tulio Leao
f329644dd5
Make sprite_misc_explosion_flare_create use CoordsXYZ
2020-06-21 14:00:37 -03:00
Tulio Leao
2e31a7d64d
Make sprite_misc_explosion_cloud_create use CoordsXYZ
2020-06-21 13:58:13 -03:00
Tulio Leao
ae1e9b75ed
Make sprite_set_coordinates use CoordsXYZ
2020-06-21 13:50:54 -03:00
Tulio Leao
d5c7063214
Make create_balloon use CoordsXYZ
2020-06-21 13:43:42 -03:00
Tulio Leao
15bad3898d
Make crash_splash_create use CoordsXYZ
2020-06-21 13:41:11 -03:00
Tulio Leao
030686dc6b
Make crashed_vehicle_particle_create use CoordsXYZ
2020-06-21 13:35:43 -03:00
Hudson Oliveira
0d20b52949
Part of #9473 : Vehicle sounds update functions ( #12001 )
...
* Extract functions for sound frequency
* Pass only SoundId and volume to sounds update
* Create class Sound
* Pass only the corresponding Sound object
* Unify update sound functions
* Fix compilation errors
* Rename Sound1|2 to TrackSound and OtherSound
2020-06-21 17:16:32 +01:00
TomasZilinek
69db54f770
Fix #12018 - gfx_draw_sprite_solid overload ( #12023 )
...
Creates the overload, replaces all calls to the old function and removes the old function.
2020-06-21 11:50:05 -03:00
TomasZilinek
9efe43fa59
Fix #11562 - gfx_draw_string_left_wrapped overload ( #12015 )
...
I created the overload, replaced remaining calls with the new function and removed the old function.
2020-06-21 06:25:31 -03:00
Hudson Oliveira
ef5f117373
Part of #9473 : Create Vehicle::GetRide ( #12002 )
...
* Part of #9473 : Create Vehicle::GetRide
* Redefine Vehicle::GetRide in Compat.cpp
2020-06-21 08:38:53 +01:00
Hudson Oliveira
d82789733e
Part of #9473 : Create Vehicle::Sub6DBF3E ( #12013 )
2020-06-20 16:21:23 -03:00
Duncan
f204785c5c
Fix Action Location for SurfaceSetStyle ( #12012 )
...
LocationValid function was not being called in LandSmoothAction. This did not cause issues as the nested call to land set height would check for valid locations.
2020-06-20 16:17:52 -03:00
TomasZilinek
c1546059ad
Close #11571 - Remove <x,y> gfx_draw_string_left overload ( #12010 )
...
Third and final part. replaces the rest of the calls to x,y overload
2020-06-20 16:09:45 -03:00
TomasZilinek
2264c5f7f1
Part of #11571 - Use gfx_draw_string_left with ScreenCoordsXY ( #12008 )
2020-06-20 11:56:36 -03:00
Michael Steenbeek
82618f2441
Merge pull request #11972 from Gymnasiast/fix/7324
...
Fix #7324 : Research window shows vehicle name instead of ride name
2020-06-20 13:46:31 +02:00
Hudson Oliveira
28c9ddd706
Part of #9473 : Create Vehicle::GetRideEntry ( #12003 )
2020-06-20 00:25:40 -03:00
TomasZilinek
e93e32d139
Part of #11571 : create gfx_draw_string_left() overload ( #11984 )
...
Replaces a third of all occurrences of the old function
2020-06-20 00:22:01 -03:00
Tulio Leao
8c77d31c54
Merge pull request #11998 from hdpoliveira/move_info
...
Part of #9473 : Create GetMoveInfo and GetTrackProgress
2020-06-20 00:09:28 -03:00
Michael Steenbeek
934673115f
Merge pull request #11993 from hdpoliveira/animate_door
...
Part of #9473 : Scenery door functions
2020-06-19 23:43:31 +02:00
Gymnasiast
f8699d1244
Apply review requests; fix error; remove debug code
2020-06-19 23:35:18 +02:00
frutiemax
57b50e46df
Part of #11964 : Move RideTypeEnumNames to RideTypeDescriptors
2020-06-19 23:03:24 +02:00
Gymnasiast
5029f754ed
Fix #7324 : Research window shows vehicle name instead of ride name
2020-06-19 22:50:53 +02:00
hdpoliveira
f5ac20176b
Use template parameter
2020-06-19 17:42:09 -03:00
hdpoliveira
92584d57f0
Use CamelCase on function name
2020-06-19 17:38:57 -03:00
hdpoliveira
c35556d754
Use CamelCase on track functions
2020-06-19 17:35:21 -03:00
frutiemax
51f32130b3
Part of #11964 : Merge RideColourKey in RideTypeDescriptor ( #11996 )
2020-06-19 20:21:16 +02:00
Ted John
5a7fbc8054
Fix #11961 : Plugins: ViewportWidget unable to be moved or resized ( #11997 )
...
- Ensure child controls for dropdown and spinners are moved.
- Ensure viewport bounds are re-calculated if widget is moved / resized.
2020-06-19 20:20:58 +02:00
hdpoliveira
0bdbcbcd88
Part of #9473 : Create Vehicle::GetTrackProgress
2020-06-19 15:02:35 -03:00
hdpoliveira
f33f3c07bd
Part of #9473 : Create Vehicle::GetMoveInfo
2020-06-19 15:02:35 -03:00
hdpoliveira
23afe3c453
Extract function animate_scenery_door
2020-06-19 14:41:07 -03:00
hdpoliveira
066ae4d58d
Add const to methods
2020-06-19 14:41:05 -03:00
hdpoliveira
06a3f01730
Create Vehicle::UpdateSceneryDoorBackwards
2020-06-19 14:40:36 -03:00
hdpoliveira
64b6e2a2ee
Create Vehicle::UpdateSceneryDoor
2020-06-19 14:40:32 -03:00
Hudson Oliveira
ea9dd60b91
Part of #9473 : Create Vehicle::UpdateGoKartAttemptSwitchLanes ( #11995 )
2020-06-19 14:06:21 -03:00
frutiemax
57b121d448
Part of 11964: move RideColourPresets to RideTypeDescriptors
2020-06-19 18:04:43 +02:00
hdpoliveira
93b2872747
Rename v-angle to pitch and bank to roll
2020-06-19 12:23:16 -03:00
hdpoliveira
4ce425b436
Fix type issues
2020-06-19 11:18:59 -03:00
hdpoliveira
23cf4b580e
Remove global _vehicleVAngleAndBank
2020-06-19 11:17:46 -03:00
hdpoliveira
affa0dd30b
Create struct VAngleAndBank and simplify code
2020-06-19 11:16:52 -03:00
Tulio Leao
6a8d9007e2
Close #11614 : Require plugins to specify their license
2020-06-19 16:14:33 +02:00
hdpoliveira
d3d853b7d6
Make loc_6DB38B receive only the update flag
2020-06-19 11:14:02 -03:00
Aaron van Geffen
0e9857899e
Use widget height constants in object selection window
...
Replaces hardcoded integers with LIST_ROW_HEIGHT and SCROLLABLE_ROW_HEIGHT.
2020-06-19 08:42:14 +02:00
Aaron van Geffen
81dd7c1a7d
Use available vertical text box space for text and cursor
2020-06-19 08:42:12 +02:00
Aaron van Geffen
5cb7bf6216
Increase widget heights in object selection window
...
These changes accomodate CJK languages:
* Buttons from 11px to 13px.
* Text box from 11px to 13px.
Furthermore:
* Rename WIDX_FILTER_STRING_BUTTON constant to WIDX_FILTER_TEXT_BOX.
* Rename WINDOW_STAFF_LIST_WIDGET_IDX to WINDOW_EDITOR_OBJECT_SELECTION_WIDGET_IDX.
2020-06-19 08:42:10 +02:00
Aaron van Geffen
d66c61ca08
Change map generation button heights ( #11986 )
2020-06-18 23:33:08 +02:00
Olivier Wervers
e280b413c0
Fix plugin get car entities returning null elements ( #11988 )
2020-06-18 21:50:06 +01:00
Michael Steenbeek
ab9b8cd57e
Merge pull request #11983 from frutiemax/11964_RatingsCalculate
2020-06-18 18:22:11 +02:00
Gymnasiast
22166db30d
Fix compilation on TestPaint
2020-06-18 18:10:18 +02:00
frutiemax
642f4f83a8
Merge RideRatingsCalculateFuncTable in RideTypeDescriptor
2020-06-18 09:29:27 -04:00