Commit Graph

101 Commits

Author SHA1 Message Date
Duncan 912080c473 Merge pull request #4529 from zaxcav/adjacentStationRatingBonus
Check for adjacent station(s) when applying rating bonus.
2016-10-20 12:42:36 +01:00
Michał Janiszewski 9966052ca7 Fix more configurations 2016-10-06 23:32:10 +02:00
zaxcav 5217221067 Only add adjacent station rating bonus if ride actually has adjacent station(s). 2016-10-04 15:11:39 +02:00
Ted John 154bb0d475 Integrate guest and park globals
Note: this also fixes loading of landscapes in the editor which did not use the new SC loading code.
2016-08-14 15:50:52 +01:00
Ted John cb3a023755 Use integrated variables for ride ratings brakes and reversers 2016-08-14 15:01:16 +01:00
Ted John 9830ca3561 Format code for #ifdefs in ride_ratings.c 2016-08-14 14:48:47 +01:00
Ted John 223d377d09 Integrate ride rating calc data using struct 2016-08-14 14:47:53 +01:00
Michał Janiszewski 0ece63a7f6 Wrap RCT2's addresses in RCT2_ADDRESS macro 2016-08-06 21:38:46 +01:00
Hielke Morsink 8c1395bd46 declaring local variables where needed instead of at the top (#3599) 2016-05-15 10:25:24 +01:00
Ted John b5c0913b76 add global macros for a few more things, ride rating related and misc 2016-05-09 22:54:22 +01:00
Ted John 30467a1467 copy over game variables and refactor a few 2016-05-08 22:35:05 +01:00
janisozaur 68bad6505c Add and correct licence headers to all sources (#3108) 2016-05-04 18:24:41 +01:00
Ted John 4cdb2df9dc integrate screen variables 2016-04-23 11:16:46 +01:00
Ted John 1950fad315 add global macros for date 2016-04-23 11:03:34 +01:00
IntelOrca 94ecc1da40 fix #3282: improve launched freefall ratings
When the ride mode is in downward launch mode, the intensity and nausea were fixed regardless of how high the ride is. To improve the rating calculations, alter the ratings in a similar fashion to roto-drop which is a similar mechanic.
2016-04-20 17:33:55 +01:00
Marijn van der Werf d809b81ac0 Include ride rating multipliers 2016-04-03 15:43:12 +02:00
Michał Janiszewski 14bff0c66f Rename rct_ride_type to rct_ride_entry 2016-02-25 13:33:19 +01:00
IntelOrca 5cf0c4bd07 remove commented out callproc/funcs 2016-02-16 20:10:24 +00:00
Michał Janiszewski 6d6f9f3c23 Refactor rides to be only accessible with getters
This changes how rides are accessed from macros to getter functions.
2016-01-23 01:13:36 +01:00
Michał Janiszewski 2b1b0f76f3 Whitespace fixes.
This is just whitespace fixup for all files affected in vehcile-update
branch.
2016-01-03 00:59:10 +01:00
duncanspumpkin c00669c942 Merge sub_6DAB4C into vehicle-update 2015-12-14 21:56:00 +00:00
Kyle Kirby caf07c2064 Clean up the comments a litte
• Make comment heads be /**
• Make rct2 addresses be double spaced indented
• Make there be a space afte rct2: and the address
• Make single-line rct2 addresses be full block comments
• Move description of method to top of comment
2015-12-11 16:19:46 -06:00
Kyle Kirby 8e5355640f Convert spaces to tabs 2015-12-11 06:28:35 -06:00
duncanspumpkin 53fa41f2b1 Implement ride lift data 2015-12-05 10:49:12 +00:00
IntelOrca a66966a4d9 fix rating bugs and merge mistakes 2015-12-05 10:49:03 +00:00
Duncan Frost 2b7f7c9232 Refactor turn count variables 2015-12-05 10:48:55 +00:00
e-foley b147fd3a90 make speed affect upward launch ratings only 2015-11-21 18:17:26 -08:00
duncanspumpkin eaa2d10ec4 Fix #2070. Incorrect highest drop penalty height caused incorrect calculations 2015-11-15 18:11:49 +00:00
e-foley 5f799ac6c4 contain rating mods in pp directives 2015-11-02 20:23:22 -08:00
e-foley 73eed6830a remove unnecessary rating conditioning
Remove old workaround to issue #2064
2015-10-24 14:59:55 -07:00
e-foley 663e430300 cap airtime bonus
Caps airtime addition to excitement rating rather than allowing infinite
subtraction
2015-10-24 14:54:15 -07:00
IntelOrca c097ce5b13 fix #2064 2015-10-20 21:36:09 +01:00
Michał Janiszewski 7d0ce00bab Strip all whitespace 2015-10-20 20:48:51 +02:00
IntelOrca 955f9a02e9 fix ride rating underflows, #2031 2015-10-10 11:54:19 +01:00
IntelOrca 4dd95c650b implement RideData4 data 2015-09-10 22:16:41 +01:00
IntelOrca 2753af893b implement map_obstruction_set_error_text 2015-09-06 13:37:00 +01:00
Gymnasiast 5a6b011d24 Remove anti-cheat code that slashes reliability for hacked rides, fixes #1780 2015-08-14 14:33:45 +02:00
IntelOrca 2d770093e9 fix #1630 2015-08-05 13:01:41 +01:00
IntelOrca bb2374d6ad fix #1597 2015-07-13 18:22:28 +01:00
IntelOrca 01d2d599ca implement ride_ratings_score_close_proximity_loops 2015-07-12 22:13:08 +01:00
IntelOrca d264a27195 ride_ratings_score_close_proximity_in_direction 2015-07-12 21:40:21 +01:00
IntelOrca d7a5dedea4 refactor ride ratings proximity 2015-07-12 21:18:40 +01:00
IntelOrca a29ee4e1f0 implement ride_ratings_score_close_proximity 2015-07-12 17:48:52 +01:00
IntelOrca e96f42dc34 implement sub_65E277 2015-07-12 16:29:32 +01:00
IntelOrca c36e9d9cb8 implement ride_ratings_check_valid_configuration and finalise other ride rating functions 2015-07-12 00:24:54 +01:00
Duncan Frost e0ea2d9817 Implemented track block get next and previous.
Minor refactor of ride functions as well.
2015-07-04 22:50:48 +01:00
IntelOrca 57fd914a52 implement ride construction 2015-06-27 15:17:54 +01:00
IntelOrca d1b806c20c fix #1370 2015-06-17 11:52:46 +01:00
Duncan Frost 97966ac707 Implemented scenery_set_setup for research.
I've also labelled ride_type->flags.
2015-06-07 19:19:16 +01:00
IntelOrca f3821c4865 finish remaining ride calculations 2015-06-07 02:56:31 +01:00