1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 11:33:03 +01:00
Commit Graph

5065 Commits

Author SHA1 Message Date
IntelOrca
f10d79c63c refactor and clean up twitch.cpp 2016-04-20 18:11:07 +01:00
IntelOrca
4b2776f266 move code from Diagnostics and Guard to cpp 2016-04-20 18:11:06 +01:00
janisozaur
e9bf2a742f widget_index is sint16, make sure the check is valid (#3335) 2016-04-20 18:08:05 +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
janisozaur
44717cfe2a Add console command to set ride type (#3273) 2016-04-20 12:37:31 +01:00
Marijn van der Werf
8fc897522b Clean up paint setup rotation (#3343)
* Use passed rotation
* Replace fixed 0 rotations
2016-04-20 12:33:42 +01:00
zsilencer
3ba7d54247 Fix reconnect issue caused by inboundpacket not being cleared 2016-04-20 01:49:16 -06:00
zsilencer
0ceff7fd90 More efficient map transfers 2016-04-20 01:49:15 -06:00
zsilencer
82e02e7cf8 String ids got switched around from the language files. 2016-04-20 01:49:15 -06:00
zsilencer
e742e96461 Fix bug that gave error when trying to join saved server 2016-04-20 01:49:15 -06:00
zsilencer
e582a8f47f Stop constantly resizing vector 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
Ted John
3405fd5bad fix #3352: assertion trigger while fixing tiles
Remove assertion and add warning message instead.
2016-04-19 23:14:02 +01: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
Michael Steenbeek
423844c2fb Don't open the New Ride window when in the Scenario Editor, fixes #3344 (#3349) 2016-04-19 19:37:35 +01: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
Ted John
cf628ea7cf Merge pull request #3152 from dlee13/cheat-disable-littering
Add cheat to disable littering and refactor peep thought code.
2016-04-19 17:31:58 +01:00
Derek Lee
4d1153669e Refactor peep code
Use constants rather than magic numbers and make identifiers consistent
2016-04-18 23:34:11 -07:00
Derek Lee
c4226235e3 Add cheat to disable littering
Add cheat and increment NETWORK_STREAM_VERSION
2016-04-18 23:34:10 -07:00
Duncan
385b03ec79 Merge pull request #3170 from marijnvdwerf/maze-paint-setup
Maze paint setup
2016-04-19 06:27:08 +01:00
janisozaur
0b9b976dd6 Cast peep's arguments properly (#3341)
Left-hand side of shift operator determines what's the resultant size of
whole expression. Consider this:

    uint16 p = 65535;
    uint32 q = p << 16;

`q` will be an undefined result, as it will not fit in `uint16` type
anymore, and compiler can optimise it away, unless you cast `p` to be
something which can hold such value, in this case `uint32`.
2016-04-18 23:02:08 +01:00
Ted John
ec50198fa4 Merge pull request #2535 from Gymnasiast/allow-ownership-map-edges
Allow setting ownership of map edges
2016-04-18 22:59:58 +01:00
Duncan
1187b0c534 Merge pull request #3334 from marijnvdwerf/fix-3326
Fix #3326
2016-04-18 22:08:49 +01:00
Marijn van der Werf
6e3375a3d4 Small fixes 2016-04-18 21:18:48 +02:00
Hielke Morsink
1dbd313fb4 Moved logic from window to map, inside loops that already existed. 2016-04-18 20:28:34 +02:00
Hielke Morsink
15727b68a9 Recalculating the fences when resizing the map 2016-04-18 20:28:34 +02:00
Gymnasiast
ed9334f944 Rename sub_68AE2A to clear_elements_at 2016-04-18 20:28:34 +02:00
Gymnasiast
01c4c0adc5 Allow setting ownership of map edges 2016-04-18 20:28:34 +02:00
Marijn van der Werf
c1572f4f58 Update method signature 2016-04-18 20:20:41 +02:00
Marijn van der Werf
d8c952d503 Clean up code 2016-04-18 20:20:41 +02:00
Marijn van der Werf
db302b89a1 Fix wrong value 2016-04-18 20:20:40 +02:00
Marijn van der Werf
85087f8a86 Draw maze tracks 2016-04-18 20:20:40 +02:00
Duncan
0860cf4540 Merge pull request #3299 from marijnvdwerf/paint-setup/cleanup
WIP Paint setup/cleanup
2016-04-18 18:48:53 +01:00
Marijn van der Werf
e49abad3ff Rename local variables 2016-04-18 15:36:15 +02:00
Marijn van der Werf
a610b372fd Name addresses 2016-04-18 15:35:33 +02:00
Marijn van der Werf
d78077ce22 Convert method call to sub_98197C 2016-04-18 15:34:06 +02:00
Marijn van der Werf
6b951400a5 Fix #3326: Match original implementation of sub_67933B 2016-04-18 12:59:53 +02:00
janisozaur
24eaa0a56d Show units used when streaming the map over network. Fix #3328 (#3331) 2016-04-17 21:27:23 +01:00
Yaroslav Tretyakov
c3ba519a6e Integrate audio related variables (#3322) 2016-04-17 14:20:26 +01:00
Marijn van der Werf
eabbdb7e30 Identify structure members 2016-04-17 10:31:50 +02:00
Marijn van der Werf
18a36298b4 Update method signature 2016-04-17 09:42:34 +02: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