Michael Steenbeek
8333266ca5
Name several ride construction flags, clean up ride_data.c, fix "mini coaster" boosters
2017-06-25 12:14:39 +02:00
Gymnasiast
16900dd618
Avoid booster speed overflows and undefined behaviour, fixes #5679
2017-06-21 09:54:54 +02:00
Gymnasiast
77481847ca
Refactor Giga and Junior booster speed factor
2017-06-20 19:12:49 +02:00
Gymnasiast
412332a3a5
Use constants for the max amount of stations and colour schemes in the rct_ride struct
2017-06-20 13:39:12 +02:00
Gymnasiast
0db5bc6bd2
Define max vehicles per ride entry, use SPRITE_INDEX_NULL more
2017-06-20 13:38:23 +02:00
Gymnasiast
9f5d1cf40a
Fix ride naming in S4 import, cleanup
2017-06-17 19:10:53 +02:00
Gymnasiast
631f4d8907
Add a constant for RIDE_ENTRY_INDEX_NULL
2017-06-17 14:32:15 +02:00
Gymnasiast
4059d9e8a7
Clean up boosters, ride_type_null, max rides per entry, formatting
2017-06-14 16:06:43 +02:00
Michael Steenbeek
96a7a8ab50
Sort rides into ride groups when in select-by-track-type mode
...
* Add ride groups
* Convert ride groups to C++
* Fix linking and crashes in Xcode
* Comment out .field syntax to make Visual Studio happy
* Fix alignment, fix changelog, cleanup
* Properly save ride group index in the ride object repository and bump its version
* Fix fallback behaviour when the ride entry is not available or not invented
* Fix include
* Rename RideGroup to RideGroupManager, add const, cleanup
* Break after finding matching ride group
2017-06-14 13:31:27 +02:00
Michał Janiszewski
ff9417f4a6
Validate access to peep_loading_positions ( #4475 )
2017-06-07 21:56:29 +01:00
Michał Janiszewski
61d38511bc
Expand tabs to spaces
...
This commit expands tabs to spaces (ts=4) in all the files under src/
and test/.
Until now we had two wildly different code styles with C using tabs and
new C++ using spaces. It is painful to maintain as none of the commonly
used tools support this kind of setup and in reality is needless, as we
can simply convert all the sources to spaces and have opened PRs do the
same, where needed.
Additionally, trailing whitespace has been removed.
2017-06-06 23:46:14 +02:00
rwjuk
c2688736bc
Fix comment
...
[ci skip]
2017-06-06 00:51:34 +01:00
Richard Jenkins
d2fa8bab14
Name sub_6C96C0()
2017-06-06 00:47:08 +01:00
Richard Jenkins
1d2ced2ad7
Name sub_6CC3FB()
2017-06-06 00:47:07 +01:00
Richard Jenkins
7a3bc1e5fd
Rename rct_ride->undercover_portion to sheltered_eighths.
2017-06-06 00:47:07 +01:00
Richard Jenkins
d191aaa1ef
Name sub_6C9627()
2017-06-06 00:47:07 +01:00
Richard Jenkins
4893521bea
Name sub_6C84CE()
2017-06-06 00:47:07 +01:00
Ted John
d65d31f632
Fix test expectations and describe ride types
2017-06-04 00:47:33 +01:00
Michael Steenbeek
7d9acca1e0
Create define for max ride types per ride entry, closes #5524
2017-06-01 22:00:11 +02:00
Michał Janiszewski
79d76759bb
Fix #5516 : Update copyrights for 2017
...
Not all files were necessarily _changed_, but all were touched, see
https://github.com/OpenRCT2/OpenRCT2/pull/4932
2017-06-01 21:55:10 +02:00
Ted John
0440c3deea
Clean up audio.cpp
2017-05-29 22:38:43 +02:00
Michael Steenbeek
e725672d23
Clean up alternative track pieces and types, remove remnants of researched track pieces
2017-05-16 19:11:51 +02:00
Michael Steenbeek
a53b01d5b9
Remove magic numbers and Americanisms
2017-05-08 23:54:38 +02:00
Craig Craig
9dd820e2e7
Spelling fixes
2017-05-08 08:30:50 +02:00
CraigCraig
e0b875398b
Tons of spelling fixes ( #5413 )
...
[ci skip]
2017-04-30 06:39:24 +02:00
Richard Jenkins
0219da2468
Use localised strings for 'rides set mode' command help, fix off-by-one error: RIDES_MODE_COUNT
2017-04-23 22:18:59 +02:00
Richard Jenkins
7a50a52582
Harden console command error checking, reduce command array sizes
2017-04-23 22:18:59 +02:00
Richard Jenkins
3e3611c6da
Core implementation for rct_ride_properties->booster_acceleration (not used yet)
2017-04-11 16:40:54 +01:00
Richard Jenkins
f99956aa86
Rename rct_ride_properties->acceleration to powered_lift_acceleration
2017-04-11 16:29:32 +01:00
duncanspumpkin
60fb821675
More refactoring
2017-03-13 17:33:50 +00:00
duncanspumpkin
b2bab06235
Apply cpp style
2017-03-13 17:33:49 +00:00
duncanspumpkin
652cf510e5
Continue refactor. Fix bug with provisional tracks.
...
Note this might bring back #4728 .
2017-03-13 17:33:48 +00:00
Michał Janiszewski
7341f4aadd
Remove trailing whitespace
...
[ci skip]
2017-03-07 20:38:11 +01:00
Gymnasiast
d476176d73
Import more fields, name mechanic flags, fix booster behaviour
2017-01-26 23:30:16 +00:00
Ted John
7edf1e8b7f
Merge pull request #4936 from Broxzier/short
...
Because of a comment on a diff in #4878 asking for clearer and more consistent type usage. What this PR changes:
No unsigned long long found
(signed) long long -> sint64
unsigned int -> uint32
(signed) int -> sint32
(signed) long -> sint32
unsigned short -> uint16
(signed) short -> sint16
unsigned char -> uint8
No signed chars found
plain char is implementation-defined, so I left those in.
2017-01-14 23:41:47 +00:00
Ted John
fe389be7c9
Remove unused ride entry flags
2017-01-14 17:37:15 +00:00
Ted John
8f57e514fe
Name more ride entry flags
2017-01-14 17:36:47 +00:00
Ted John
769d86e7cc
Refactor vehicle_update_boat_location
2017-01-14 17:36:32 +00:00
Ted John
f4cea0e6c8
Name a couple of ride entry flags and format enum
2017-01-14 16:48:56 +00:00
Broxzier
60603ae10a
Use types from common.h
2017-01-14 12:37:31 +01:00
Ted John
baed215984
Add helper: ride_has_ratings
...
#5066
2017-01-13 18:14:38 +00:00
Ted John
aed5c0aa60
Name flag: RIDE_TYPE_FLAG_26
2017-01-13 13:20:16 +00:00
Ted John
ae7048b2a7
Name flag: RIDE_TYPE_FLAG_30
2017-01-13 13:16:51 +00:00
Ted John
053f8a70bf
Name flag: RIDE_TYPE_FLAG_18
2017-01-13 13:13:24 +00:00
Ted John
cf0c489d40
Name flag: RIDE_TYPE_FLAG_13
2017-01-13 13:08:56 +00:00
Ted John
bdc5078003
Name flag: RIDE_TYPE_FLAG_6
2017-01-13 13:04:11 +00:00
Ted John
ef2ddbf462
Name flag: RIDE_TYPE_FLAG_20
2017-01-13 12:55:47 +00:00
Ted John
b79af110c7
Fix more warnings
2017-01-12 18:02:28 +00:00
Michael Steenbeek
2b35986746
Add and use constant for number of ride types
2017-01-05 09:19:22 +01:00
Ted John
25bc798ff8
Move contents of src into project sub directory
2017-01-04 17:44:12 +00:00