Linus Unnebäck
4bfbe27116
use larger integers in ride/track.c
2015-12-06 18:56:09 +01:00
Michał Janiszewski
796021cfdc
fix suspicious left shifts
...
See b5b1957f5
2015-12-02 08:32:15 +01:00
duncanspumpkin
d91a9c965c
Fix #2405 . Foundations under shops now correctly drawn.
...
Issue was caused by a mistake in implementation
2015-11-30 18:00:33 +00:00
duncanspumpkin
518b19156a
Fix vehicle colours using scenario rand
2015-11-29 17:18:39 +00:00
duncanspumpkin
a4cb2c55d1
Fix ride create on multiplayer using scenario_rand for colour causing desync
2015-11-29 17:18:39 +00:00
e-foley
b147fd3a90
make speed affect upward launch ratings only
2015-11-21 18:17:26 -08:00
IntelOrca
c6308dcb41
stop ride window from opening when there is a vehicle crash on the title screen
2015-11-21 13:40:00 +00:00
IntelOrca
1ff2d68061
implement track paint shop
...
implement track paint shop, part 2
implement track paint shop, part 3
implement track paint shop, part 4
2015-11-20 22:53:53 +00:00
Dom Light
3a8b25a0ee
Sanitize audio.h
2015-11-17 01:05:14 +00:00
duncanspumpkin
eaa2d10ec4
Fix #2070 . Incorrect highest drop penalty height caused incorrect calculations
2015-11-15 18:11:49 +00:00
duncanspumpkin
13e43b779b
Refactor large scenery placement
2015-11-14 16:44:03 +00:00
Michał Janiszewski
075b98e209
Minor cleanups
...
Mostly just setting variables to better define game state, with one
minor update of decompilation where an `or` instruction was used in
place of `mov` (in `sub_6CBCE2`).
2015-11-12 12:19:40 +01:00
duncanspumpkin
6a00482d1f
Fix #1834 & #2288 . Non complete circuit tracks now save correctly.
...
Issue was caused by a bit of code not iterating correctly backwards.
2015-11-11 19:44:53 +00:00
IntelOrca
54ff0b2045
ride_with_colour_config_exists should ignore itself
2015-11-10 21:28:10 +00:00
IntelOrca
501d36b16c
format top spin seat position offset array
2015-11-09 18:39:22 +00:00
duncanspumpkin
2ee1e05408
Implemented seatpositionoffset.
2015-11-09 17:39:49 +00:00
Alexander Overvoorde
6114aa5dac
Rename hmm variable to something more descriptive
2015-11-08 22:30:51 +01:00
Alexander Overvoorde
b20a844982
Fix "land not owned" errors being overridden by "can't construct here"
...
I'm not entirely sure what the "hmm" check is about, but it caused
track_place() to return early when called from
window_ride_construction_construct(), so I moved up the owned land check
to give it a higher priority.
2015-11-08 21:47:18 +01:00
Alexander Overvoorde
d1a6b65049
Fix supports error appearing when building outside of owned land
...
This was caused by ride_construction_toolupdate_construct() pointlessly
trying to fix the "building outside owned land" error by increasing the Z.
2015-11-08 21:47:17 +01:00
Gymnasiast
4ba83b0418
Rename RIDE_ENTRY_HIDE_LAST_OPERATING_MODE to RIDE_ENTRY_DISABLE_LAST_OPERATING_MODE
2015-11-08 15:01:40 +01:00
Gymnasiast
e749c1a82c
Identify RIDE_ENTRY_FLAG_15 and 17, fix 'Show all operating modes' cheat
2015-11-08 14:55:01 +01:00
Flukiestemperor
8d3655e0f6
fix #2162
2015-11-07 12:22:44 +00:00
Duncan
36b8c1ce98
Merge pull request #2193 from duncanspumpkin/fix_2082
...
Fixed #2082 . Sub_6D31A6 now working.
2015-11-04 19:43:58 +00:00
duncanspumpkin
96a1f0c6f7
Refactor.
...
Labelled the known flags and used functions for setting and clearing them.
2015-11-04 19:28:45 +00:00
IntelOrca
800e80aeb3
fix demolish track piece as client on multiplayer
2015-11-03 22:58:30 +00:00
Flukiestemperor
c8701ef01e
partially fix #2181
...
create common function
2015-11-03 16:11:11 -06:00
duncanspumpkin
5b54ad18e9
Fixed #2082 . Sub_6D31A6 now working.
...
Small mistake in track previous meant the x/y coordinates didn't match the map element. There were also a few other issues that presented themselves once that was fixed.
2015-11-03 20:03:21 +00:00
duncanspumpkin
9bf40ffd83
Fix #1504 . Correct curvature for previous lift hill piece.
...
Note this is an original bug that is fixed in the GOG version.
2015-11-03 15:20:25 +00:00
Ted John
dc3542e349
Merge pull request #2119 from e-foley/fix-heartline-twister-airtime-ratings
...
fix heartline twister airtime ratings
2015-11-03 08:15:09 +00:00
e-foley
5f799ac6c4
contain rating mods in pp directives
2015-11-02 20:23:22 -08:00
Michał Janiszewski
c0e2a5c7be
Add get_current_rotation function and DEBUG_LEVEL macros
2015-11-02 22:58:15 +01:00
zsilencer
6c5acdde6a
fix #2161
2015-10-30 19:41:49 -06:00
duncanspumpkin
9a76c59ec9
Fix entrance drawing issue. Fixes #2164 .
2015-10-30 23:33:02 +00:00
Alexander Overvoorde
56645a6941
Revert address constant replacement in ride.h
2015-10-29 09:44:46 +01:00
Alexander Overvoorde
060d41f5a0
Replace raw addresses in RCT2_ADDRESS() with identifiers
2015-10-29 09:44:46 +01:00
Alexander Overvoorde
01793e11b7
Replace RCT2_GLOBAL magic numbers with address identifiers and string ids
2015-10-29 09:44:46 +01:00
duncanspumpkin
930bdc1669
Make suggested changes. Invis huts now correctly remove fence
2015-10-28 19:57:02 +00:00
duncanspumpkin
d9b7c1fafd
Implement remaining rotations
2015-10-28 19:02:32 +00:00
duncanspumpkin
e7c653abf2
Refactor attached ps setup code
2015-10-28 18:44:44 +00:00
duncanspumpkin
c62e61bd36
Started implementing rotation 0
2015-10-28 18:44:44 +00:00
duncanspumpkin
330b6b5524
Implemented tables for top spin paint setup
2015-10-28 18:44:43 +00:00
Michał Janiszewski
2f457aeffc
Cleanups
...
* Remove unused function in config.c
* Check handle *before* it is used
* Provide explicit parentheses around unclear if statements
2015-10-28 08:06:45 +01:00
IntelOrca
8d84b540ad
add vehicle struct and enum labels from vehicle-update branch.
2015-10-25 21:26:03 +00:00
Gymnasiast
2b0d5b2470
Remove obsolete sound and config code
2015-10-25 20:54:19 +01:00
IntelOrca
4ac42ff1b2
add vehicle struct, enum labels and helper functions from implement-ride-create-vehicles branch.
2015-10-25 16:00:21 +00: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
nightroan
2e52fac0ca
Testing or opening a ride only closes the construction window for that ride.
2015-10-22 01:27:39 -07:00
Michał Janiszewski
8e45cccb7a
Minor fixes
...
Includes (mostly) type fixes, dead code removal, signed vs unsigned
comparison fixes, memory leaks removal.
2015-10-21 08:47:09 +02:00
IntelOrca
c097ce5b13
fix #2064
2015-10-20 21:36:09 +01:00