Commit Graph

7111 Commits

Author SHA1 Message Date
Ted John
44c7aff148 Merge pull request #3474 from Gymnasiast/housekeeping
Clean up some magic values and refactor a bit
2016-05-03 08:06:23 +01:00
Gymnasiast
6c7f685b08 More occurrences of shop_item 2016-05-03 07:26:29 +02:00
Gymnasiast
b37d4804ce Integrate gErrorType and gErrorStringId, fixes 2016-05-03 07:25:19 +02:00
Gymnasiast
5d0b79227f Clean up some magic values and refactor a bit 2016-05-03 07:25:19 +02:00
OpenRCT2 git bot
2854973c09 Merge Localisation/master into OpenRCT2/develop. 2016-05-03 04:00:19 +00:00
Ted John
af6a4da58b Merge pull request #3475 from janisozaur/car-length
When enabled, this cheat allows users to set any train length between 1 and 64, regardless of station length or the normal maximum and minimum length of the train. It also increases the supported maximum length of trains from 16 to 64. It should be noted that rides with trains longer than 16 will not be backward compatible.

It is known not to work on tower rides or on the reverse freefall coaster - I'm not exactly sure why, but it doesn't seem too much of an issue for now. Also, if there is not room behind the station for the extra cars (either because it's a shuttle coaster or because there's a track merge), then they all just layer on top of one another. I'm not sure what can be done about it - ideally you'd limit the trains to what will fit, but that means traversing the track to determine how much room there is, which seems excessively complex.

Closes pull request #3192
2016-05-02 22:11:32 +01:00
Michał Janiszewski
1cd1144dd5 Janitorial fixes
Mostly style fixes, includes minor change to make sure spinner's down
button gets shown, update to string IDs, network version and making sure
correct string gets selected based on car count.
2016-05-02 22:35:08 +02:00
X7123M3-256
d191e6a8c3 Fix indentation (again) 2016-05-02 21:42:17 +02:00
X7123M3-256
a34c3b8e19 Fix indentation (again) 2016-05-02 21:42:16 +02:00
X7123M3-256
80f83f9aec Fix indentation (again) 2016-05-02 21:42:16 +02:00
X7123M3-256
9c7de18292 Fix indentation 2016-05-02 21:42:16 +02:00
X7123M3-256
4089538c78 Fix inconsistent spacing 2016-05-02 21:42:14 +02:00
X7123M3-256
0efd6ca88b Remove unused local variables 2016-05-02 21:37:10 +02:00
X7123M3-256
c8144c5964 Remove constant that is no longer needed 2016-05-02 21:37:09 +02:00
X7123M3-256
102521d131 Replace dropdowns with spinners 2016-05-02 21:37:09 +02:00
X7123M3-256
ef82bbbab1 Send cheat status over network 2016-05-02 21:37:09 +02:00
X7123M3-256
3a4139eea0 Prevent car count being incorrectly updated 2016-05-02 21:37:09 +02:00
X7123M3-256
7f9b35a04e Prevent vehicle_colours from being accessed out of bounds (the last element will be used instead) 2016-05-02 21:37:09 +02:00
X7123M3-256
fd5bb09271 Remove calls to ride_entry_get_train_layout and replace with calls to ride_entry_get_vehicle_at_position 2016-05-02 21:37:08 +02:00
X7123M3-256
34a67436cd Fix spacing around operator 2016-05-02 21:37:08 +02:00
X7123M3-256
652ab949b0 Define constant for the maximum number of cars in a train 2016-05-02 21:37:08 +02:00
X7123M3-256
9d618231fb Add disable train length limits checkbox to cheat window 2016-05-02 21:37:08 +02:00
X7123M3-256
35ccd0b8e1 Implement disable train length limits cheat 2016-05-02 21:37:08 +02:00
X7123M3-256
8f6089818f Added "Disable train length limits" string 2016-05-02 21:37:05 +02:00
X7123M3-256
77894e4250 Added disable train length limits cheat 2016-05-02 21:35:26 +02:00