Michael Steenbeek
2d92ecf10b
Fix #7436 : Only the first 32 vehicles of a train can be painted
2018-04-26 10:33:54 +02:00
Michał Janiszewski
fa11f05dba
Remove unused variable
2018-03-27 20:46:12 +02:00
Gymnasiast
566af0c4f7
Remove residual usages of rideEntry->enabledTrackPieces
2018-03-27 20:40:50 +02:00
Michał Janiszewski
cd065d4f41
Reduce includes in common header
2018-03-20 00:27:58 +01:00
Michał Janiszewski
4dd0995efb
Move cmath out of common.h
2018-03-18 23:29:13 +01:00
Hielke Morsink
a8f167c45d
Fix a few typos
...
'vehichle' -> 'vehicle'
'none zero' and 'non zero' -> 'nonzero'
2018-03-09 15:58:12 +01:00
Michael Steenbeek
1fa2fa8f80
Refactor ride->entrances and ride->exits
2018-03-07 19:10:50 +01:00
Hielke Morsink
55979a3fff
Remove and replace C typedefs
...
`typedef struct/union/enum name { ... } name_again;` is not needed whe compiling C++, moving the name at the back to be in front of the object and removing `typedef` makes it usable the very same way.
This also replaces typedefs with the using keyword. They have better readability, especially for function pointer types, and would allow more flexibility when used with templates.
2018-02-14 09:42:26 +01:00
duncanspumpkin
96f664abb9
Fix Water Ride spinning on slope bug. Name flags. Refactor
...
There was a bug in the spinning water ride code that would mean that it would never trigger the stopping of spinning when going up a lift. This mistake was made during implementation of the function.
2018-01-30 12:53:50 +00:00
pss9205
6b716dc157
Fix #7021 : Extra rating factors overflow the vehicle tab in Korean ( #7073 )
2018-01-23 16:06:37 +01:00
Richard Jenkins
104419f6b2
Fix #7060 : Ride window settings can underflow
2018-01-20 20:34:39 +00:00
Ted John
6d63729a40
Fix MSVC
2018-01-18 22:59:30 +00:00
Marijn van der Werf
4c956def67
Update UI imports
2018-01-18 22:57:55 +01:00
ZehMatt
84f2917f59
Use const and constexpr whenever possible.
2018-01-11 22:29:08 +01:00
Michał Janiszewski
469e142c7b
Change casing of header files
2018-01-11 09:30:09 +01:00
Michael Steenbeek
6a88d6e04d
Move and rename RCT{1,2,12}.h
2018-01-09 13:36:41 +01:00
Aaron van Geffen
c9b48beea0
Replace WWT_CLOSEBOX with WWT_BUTTON where not used as a close button.
2018-01-08 00:02:25 +01:00
Aaron van Geffen
12e3e171f1
Refactor WWT_24 into WWT_LABEL.
2018-01-08 00:01:45 +01:00
Aaron van Geffen
ecc1cfed2a
Rename WWT_DROPDOWN_BUTTON to WWT_BUTTON.
...
The previous name implied an exclusive association with dropdowns.
While used to display the dropdown triangle button, this is not an
exclusive use.
2018-01-08 00:01:32 +01:00
Aaron van Geffen
fad8494ccc
Rename WWT_12 to WWT_LABEL_CENTRED.
...
This is used for centred textual labels.
2018-01-07 23:54:51 +01:00
Ted John
83d1b6eb8f
Refactor widget.c to C++
2018-01-07 12:39:58 +01:00
Ted John
f18595a1c1
Refactor viewport.c to C++
2018-01-07 12:39:58 +01:00
Michael Steenbeek
755add6c9a
Compile localisation folder as C++
2018-01-06 18:32:25 +01:00
Aaron van Geffen
0138df5dd8
Centre overall viewports on geometric centre.
2018-01-04 07:57:27 +01:00
Aaron van Geffen
92bcc5f579
For overall views, show small rides zoomed in all the way.
2018-01-04 07:57:27 +01:00
rwjuk
29c604d850
Fix #6846 : Ride overview window zoom level set too high
2017-12-28 08:55:13 +01:00
Michael Steenbeek
2e79aaf54c
Fold vehicle name into regular name
2017-12-22 15:28:41 +01:00
Marijn van der Werf
1e946fc0fe
Move Dropdown to UI project
2017-12-16 15:47:38 +02:00
Michael Steenbeek
1a9975d683
Compile util and cheats as C++
2017-12-14 10:03:21 +01:00
Michael Steenbeek
6dc49d643a
Compile files in base dir as C++
2017-12-13 08:03:48 +01:00
Michael Steenbeek
e3c52360db
Remove most usages of separate flag
...
This removes most usages of the separate flag, instead relying on ride groups to do its job.
Research is more complicated and will follow in another commit.
2017-12-08 10:28:29 +01:00
Michael Steenbeek
0ffa2b541a
Use more consistent terminology and remove some Americanisms
2017-12-05 10:23:36 +01:00
Michael Steenbeek
60d8865efb
Compile game.c and game.h as C++
2017-12-05 09:10:27 +01:00
Ted John
99d7aaa2d6
Remove RCT2 interop
2017-12-04 19:04:06 +00:00
Michał Janiszewski
14f39e189d
Fix building
2017-11-26 21:24:57 +01:00
Ted John
a98c936316
Fix #5636 : Pausing the game shows mute button as active
2017-11-21 23:23:43 +00:00
Michael Steenbeek
c1400a12eb
Allow separate ride and vehicle names per ride entry
2017-11-21 18:55:42 +01:00
Michael Steenbeek
2a01c22e8c
Raise vehicle tab window height to avoid text clipping
2017-11-21 15:10:35 +01:00
Michael Steenbeek
e3ab7e723d
Fix #6701 : assertion on string ID -2 and name it
2017-11-19 22:22:04 +01:00
Michael Steenbeek
f448d16707
Add methods for getting and setting track element type
2017-11-17 12:54:47 +01:00
Michael Steenbeek
953d6840f4
Fix some missed occurrences
2017-11-17 12:54:47 +01:00
Michael Steenbeek
5eed8cecd4
Fix typo in 'multiplier'
2017-11-13 16:22:36 +01:00
Marijn van der Werf
61255e25a7
Move Ride window to UI module
2017-11-03 01:54:37 +01:00