1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 04:23:20 +01:00
Commit Graph

1352 Commits

Author SHA1 Message Date
Ted John
b59f5c17ca add global macros for park...
- gParkSize
- gParkEntranceFee
- gNumGuestsInPark
2016-04-23 01:00:00 +01:00
Ted John
307cb9e08b add global macro: gParkFlags 2016-04-23 00:51:22 +01:00
Ted John
ddd0f07127 fix #3321: can't rotate pre-built rides 2016-04-22 23:59:16 +01:00
Ted John
25958b0d30 remove old RCT1 import code 2016-04-22 19:26:15 +01:00
Michał Janiszewski
b7f9af41a8 Only initialize structs with compile-time consts
See https://stackoverflow.com/a/32584666
2016-04-21 22:20:24 +02:00
janisozaur
7eb3a90cea Fixes for values being shifted (#3362) 2016-04-20 23:57:54 +01:00
Gymnasiast
548bee8325 Fix formatting and rebase 2016-04-20 20:14:07 +02:00
Rune Laenen
e0c103031e Add shortcut to mute sound 2016-04-20 19:56:57 +02:00
zsilencer
e742e96461 Fix bug that gave error when trying to join saved server 2016-04-20 01:49:15 -06:00
zsilencer
b257e431d9 Get rid of using user_strings for interface 2016-04-20 01:49:15 -06:00
Michał Janiszewski
fb8646e66f Fix typo in variable name 2016-04-19 21:15:48 +02:00
Michał Janiszewski
b2a3b82d08 Show network version to client if mismatched
This will let players know which version should they be using to connect
to server. Also prevents users from even trying to join servers running
versions we already know are incompatible.
2016-04-19 21:15:23 +02:00
Ted John
cec7e54dd8 Merge pull request #3325 from Broxzier/rotate_map_elements
Rotate map elements
2016-04-19 19:37:19 +01:00
Michael Steenbeek
b13d0aa2d3 Fix ride window height definition, fixes #3347 (#3348) 2016-04-19 19:08:24 +01:00
Hielke Morsink
2713c999c5 Cleaning up and updated changelog 2016-04-19 19:25:31 +02:00
Hielke Morsink
d08dd70406 Static functions. 2016-04-19 19:25:29 +02:00
Hielke Morsink
fd7fe4ed5a Fix redraw issue when clicking on a list item. 2016-04-19 19:25:28 +02:00
Hielke Morsink
6fbdb46d37 Enabling and disabling the rotation button based on selected element type. 2016-04-19 19:25:27 +02:00
Hielke Morsink
992a830622 Fix: Invalidating tiles correctly from the tile inspector. 2016-04-19 19:25:25 +02:00
Hielke Morsink
048b7ff30c Added button to reotate map elements in tile inspector - closes #3106 2016-04-19 19:25:24 +02:00
Derek Lee
c4226235e3 Add cheat to disable littering
Add cheat and increment NETWORK_STREAM_VERSION
2016-04-18 23:34:10 -07:00
Yaroslav Tretyakov
c3ba519a6e Integrate audio related variables (#3322) 2016-04-17 14:20:26 +01:00
Ted John
e5666f214b Merge pull request #3313 from IntelOrca/integrate-ride-session-vars
Integrate ride construction session variables
2016-04-16 14:10:05 +01:00
Ted John
63f008566c Merge branch 'master' into develop 2016-04-15 23:25:45 +01:00
Ted John
7b248f0079 integrate ride construction variables
- _currentTrackPrice
- _numCurrentPossibleRideConfigurations
- _numCurrentPossibleSpecialTrackPieces
- _currentTrackCurve
- _currentTrackEndX
- _currentTrackEndY
- _rideConstructionState
- _currentRideIndex
- _currentTrackBeginX
- _currentTrackBeginY
- _currentTrackBeginZ
- _currentTrackPieceDirection
- _currentTrackPieceType
- _currentTrackSelectionFlags
- _rideConstructionArrowPulseTime
- _currentTrackSlopeEnd
- _currentTrackBankEnd
- _currentTrackLiftHill
- _currentTrackCovered
- _previousTrackBankEnd
- _previousTrackSlopeEnd
- _previousTrackPieceX
- _previousTrackPieceY
- _previousTrackPieceZ
- _currentSeatRotationAngle
2016-04-15 20:56:48 +01:00
Ted John
681961eaec change ride construction addresses to defines 2016-04-15 20:35:27 +01:00
Ted John
f73e3ab0e1 integrate footpath construction variables
- uint8 gFootpathProvisionalFlags
- rct_xyz16 gFootpathProvisionalPosition
- uint8 gFootpathConstructionMode
- uint16 gFootpathSelectedId
- uint8 gFootpathSelectedType
- rct_xyz16 gFootpathConstructFromPosition
- uint8 gFootpathConstructDirection
- uint8 gFootpathConstructSlope
- uint8 gFootpathConstructValidDirections

Also fix some previous variable integrations that had been forgotten to change.
2016-04-15 19:16:48 +01:00
Ted John
84edd049d9 integrate current tool variables:
- gCurrentToolId
- gCurrentToolWidget
2016-04-15 18:26:47 +01:00
Ted John
1b3f46f960 integrate game command error string variables
- gGameCommandErrorTitle
- gGameCommandErrorText
2016-04-15 17:54:46 +01:00
duncanspumpkin
51ba0b2e1d Fix #3302. Max ride mode tweak has been broken since a refactor. 2016-04-14 20:27:09 +01:00
Duncan
9edd48c4b8 Merge pull request #3231 from marijnvdwerf/use-structs
Clean up data use
2016-04-13 12:38:58 +01:00
wolfreak99
1947b1dd30 require special permission for cluster building, closes #3045 2016-04-10 11:52:34 +01:00
IntelOrca
8494eb9ff3 fix ride list dropdown, re-regression of #2080 2016-04-09 14:04:09 +01:00
Nubbie
3017607521 Add 3 MORE descriptions for cheats 2016-04-06 18:08:14 +01:00
Nubbie
68d21e22a1 Improve descriptions for cheats
Note: Language IDs have changed slightly
2016-04-04 17:35:05 +01:00
Michał Janiszewski
83a543c86f Make sure shifted value can fit in uint32 2016-04-03 17:49:50 +02:00
Michał Janiszewski
f5f2f62507 Cap dropdown items count to 64 2016-04-03 17:38:57 +02:00
Marijn van der Werf
0fd42f408a Extract new struct 2016-04-03 14:53:17 +02:00
Marijn van der Werf
e4fadc5a66 Include struct at 0x0097DD78 2016-04-03 13:56:06 +02:00
Ted John
f02238e0a2 Merge pull request #3203 from marcovmun/Fix-3198
Fix vehicles appearing separate in the research tree, fixes #3198
2016-04-02 00:02:42 +01:00
Michał Janiszewski
888f485690 Allocate enough memory for server entries, fix #3144 2016-04-01 19:57:18 +02:00
IntelOrca
16527e749a remove network type from loadsave
Fixes a crash that happened when loading a saved game from the start server window.
2016-03-31 20:42:21 +01:00
IntelOrca
40fcfbb405 use localised strings for native file dialogs 2016-03-31 20:41:49 +01:00
IntelOrca
d865e4d453 pass better data in struct to file dialog function 2016-03-31 20:41:47 +01:00
Marco van Munster
8db1f27534 Fix bug 3198 different vehicles research tree 2016-03-30 22:33:26 +02:00
IntelOrca
966291eda2 fix #3186: stop auto opening shops causing problems (once and for all) 2016-03-27 19:34:35 +01:00
IntelOrca
d690ee6423 fix #3183: opening ride with construction window open
Issue caused with boat hire rides as there is usually a ghost station present when the construction window is open. This causes vehicles to be created in the ghost station. Fixed by closing the construction window before the vehicles are created for the ride.
2016-03-27 14:18:20 +01:00
IntelOrca
74d96d86c0 fix #3158: close network status window doesn't abort 2016-03-22 23:27:49 +00:00
IntelOrca
304fd4b84e validate all the other ride operation settings 2016-03-22 21:59:16 +00:00
IntelOrca
16e8609da3 add constants for ride setting id 2016-03-22 21:32:37 +00:00