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
Marijn van der Werf
90a7abbbdb
Update code
2016-04-18 21:09:59 +02:00
Marijn van der Werf
7a409371c8
Implement sub_88ABA4
2016-04-18 20:39:15 +02:00
Marijn van der Werf
14caf2c1ca
Paint crooked house base
2016-04-18 20:39:14 +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
d54f1f58ff
Update to match new signature
2016-04-18 20:21:04 +02:00
Marijn van der Werf
b3f3651bd1
Compress switches
2016-04-18 20:21:03 +02:00
Marijn van der Werf
b045953256
Implement Spiral Slide drawing
2016-04-18 20:21:03 +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
Yaroslav Tretyakov
90a4cafc87
Fix #3307 , ride music discrepancy with original ( #3319 )
2016-04-16 14:09:22 +01:00
Ted John
63f008566c
Merge branch 'master' into develop
2016-04-15 23:25:45 +01:00
Ted John
1eb91cb210
OpenRCT2 0.0.4 (stable)
2016-04-15 22:42:57 +01:00
Ted John
e906ab5e95
enable quick save when loading save by command line
2016-04-15 21:52:15 +01:00
Harry Lam
0a65c13e7e
Change Japanese Font from msgothic_02.ttf to ms...
...
gothic.ttc, Fix #3118
In Chinese, there is also a newer MingLiu called "PMingLiu", but it was embedded as a large text pack as ttc. (ttc is a collection file for TrueType Font) And, Windows has **bad** support on TTC, so changing into "msgothic.ttc" should fix the issue.
2016-04-15 21:25:11 +01:00
Ted John
faa2fb4fa1
fix #3314 : save custom objects when quick-saving
2016-04-15 21:22:23 +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
janisozaur
fb5d281eaf
Check return value from realpath(). Fixes #2483 ( #3309 )
2016-04-15 18:17:45 +01:00
Ted John
1b3f46f960
integrate game command error string variables
...
- gGameCommandErrorTitle
- gGameCommandErrorText
2016-04-15 17:54:46 +01:00
IntelOrca
89ad0cc769
store windows in openrct2 memory and increase max
...
Allocate a bigger window list and viewport list in OpenRCT2 static memory and move over all references from RCT2.
This also removes the 'active' viewport pointer list and instead changes everything to just enumerate the whole viewport list
2016-04-14 23:00:35 +01:00
duncanspumpkin
6e4b93a011
Fix #3301 . Refactor set_ride_price to prevent pointing at invalid memory.
2016-04-14 20:36:25 +01:00
duncanspumpkin
51ba0b2e1d
Fix #3302 . Max ride mode tweak has been broken since a refactor.
2016-04-14 20:27:09 +01:00
IntelOrca
de79bd4599
fix #3294 : crash when closing a window being dragged
2016-04-14 17:41:06 +01:00
Marijn van der Werf
cb9b31f873
Remove leading whitespace
2016-04-14 11:53:20 +02:00
Marijn van der Werf
0e5b32bd56
Inline variables
2016-04-14 11:17:39 +02:00
Marijn van der Werf
3bb2214235
Pass 0x009DEA52-0x009DEA56 as parameters
2016-04-14 11:07:41 +02:00
Marijn van der Werf
a6cbd392c6
Add parameter to 9c
2016-04-14 10:08:40 +02:00
Marijn van der Werf
e529532ddd
Add parameters to sub_98198C
2016-04-14 10:02:17 +02:00
Marijn van der Werf
001dd3bcf6
Fix wrong function call
2016-04-14 09:59:01 +02:00
Michał Janiszewski
da80a691bc
Start 0.0.5
...
changelog.txt not updated yet
2016-04-13 14:20:40 +02:00
Duncan
9edd48c4b8
Merge pull request #3231 from marijnvdwerf/use-structs
...
Clean up data use
2016-04-13 12:38:58 +01:00
Duncan
945f9ddc8e
Merge pull request #2994 from marijnvdwerf/decompile-679074
...
Decompile sub_679074
2016-04-13 12:37:57 +01:00
duncanspumpkin
2df58747e5
Update version.h to rc1
2016-04-12 20:49:35 +01:00
duncanspumpkin
b0fb2451b4
Fix #3286 . Top Spin front support draws correctly now.
...
Issue caused by mistake when changing the parameter orders of the drawing functions
2016-04-12 20:14:12 +01:00
duncanspumpkin
08de41bdd5
Fix #2710 . Chairlifts no longer crash at large y value stations.
2016-04-12 19:28:27 +01:00
duncanspumpkin
be8c84f1c1
Fix grass growth mistake
...
Nibbles are only 4 bits not 8
2016-04-11 20:04:03 +01:00
IntelOrca
547837f208
fix warnings in crash.cpp
2016-04-10 19:51:44 +01:00
IntelOrca
37d759ffb7
fix #3268 : water tool sound even when no change
2016-04-10 13:05:16 +01:00
wolfreak99
1947b1dd30
require special permission for cluster building, closes #3045
2016-04-10 11:52:34 +01:00
IntelOrca
f955d03206
fix twitch !news feature
2016-04-10 11:08:09 +01:00
duncanspumpkin
f251ddd5a9
Fix grass growing underneath objects.
2016-04-10 10:14:06 +01:00
duncanspumpkin
b023d1a9ac
Fix #3267 . Two bugs fixed grass length detected and activity timeout.
...
The grass length detection had been simplified but failed to account for the upper bits being used as none graphical grass length changes. This caused mown grass to be detected as unmown.
Most staff functions have an activity timeout to prevent them from repeatedly doing activities in the exact same location. Mown grass did not have this timeout reset in the original game. The reset has now been removed.
2016-04-10 08:21:36 +01:00
IntelOrca
51a7e3f278
clean up and refactor the crash handler
2016-04-10 01:00:31 +02:00
Michał Janiszewski
9e2610fc08
Switch dump format to MiniDumpWithDataSegs
2016-04-09 20:47:31 +02:00
Hielke Morsink
46fb82fd91
Fix interface redifinition warning.
2016-04-09 19:40:57 +02:00
Michał Janiszewski
17bc485fb5
Breakpad for windows
...
This enables breakpad Windows support **only**.
The scope of this was limited to allow for inclusion into 0.0.4 release.
Breakpad for now is a Windows-only functionality, as this platform has
largest audience and is the only one that has no system-provided stack
tracing utility.
Upon crash, breakpad will try to create a dump and save current game,
present user with some vital information, then open explorer on the
created files for user convenience, asking him/her to create a new
issue with OpenRCT2 on Github.
2016-04-09 18:57:14 +02:00
Michał Janiszewski
e28de49a34
Breakpad integration
...
Provide your own breakpad and point cmake at it.
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
mkdir breakpad && cd breakpad
../depot_tools/fetch breakpad # edit the script to use python2
cd src
LDFLAGS="-m32" CXXFLAGS="-m32" CFLAGS="-m32" CPPFLAGS="-m32" ./configure
LDFLAGS="-m32" CXXFLAGS="-m32" CFLAGS="-m32" CPPFLAGS="-m32" make -j 8
Run cmake on openrct2:
cd openrct2
vim CMakeLists.txt # provide your path to breakpad
mkdir build && cd build
cmake ../ -DWITH_BREAKPAD=ON
make -j 8
./openrct2 # open a game, select "about openrct2", crash
2016-04-09 18:57:14 +02:00
IntelOrca
8494eb9ff3
fix ride list dropdown, re-regression of #2080
2016-04-09 14:04:09 +01:00
IntelOrca
a275649786
fix #3266 : too high message given instead of too low
...
caused by Z parameter not being correctly converted to a signed int 16.
2016-04-09 12:52:12 +01:00
IntelOrca
cfecbed003
fix mistake in destination_tolerence logic
...
still not convinced it fixes issue #3249 completely, but probably improves it.
2016-04-08 20:48:53 +01:00
janisozaur
b8fc3b2dc7
Fix missing path separator in error message ( #3247 )
2016-04-07 17:44:21 +01:00
Matte A
e934d56a89
Fix colliding strings
2016-04-06 21:04:32 +02:00
duncanspumpkin
90dbefeac2
Potential fix to #3249 .
...
Unsure if this is the only issue with it
2016-04-06 19:25:30 +01:00
Nubbie
3017607521
Add 3 MORE descriptions for cheats
2016-04-06 18:08:14 +01:00
duncanspumpkin
a8efcef15b
Fix issue with handymen finding litter on the z axis different to vanilla
...
Issue caused by implementation mistake. Fixes remaining issue of #3125 .
2016-04-04 19:17:32 +01:00
Nubbie
68d21e22a1
Improve descriptions for cheats
...
Note: Language IDs have changed slightly
2016-04-04 17:35:05 +01:00
YJSoft
c5ff5a3ce9
fix #3234 native open window crash problem at OSX
...
since default_filename will be null at opening(code set default_filename only at save), setting filePath with default_filename will raise exception.
Fixed by setting filePath, basename only at save(since two vars only used at creating nameFieldStringValue) and setting directory with initial_directory at opening.
2016-04-04 07:25:33 +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
d809b81ac0
Include ride rating multipliers
2016-04-03 15:43:12 +02:00
janisozaur
e61b6ffdde
Cleanups, init variables
2016-04-03 14:21:50 +01: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
Marijn van der Werf
e9bd7e56fc
Identify two used variables in `ride_data_4`
2016-04-03 04:11:21 +02:00
IntelOrca
8c6e5cd9ae
fix #3224 : Maze designs clear fences and walls
2016-04-02 23:52:05 +01:00
IntelOrca
d626d9d5f2
fix removing of fences for normal tracks
...
Building track and track designs did not use correct flag for ghosts therefore always attempting to remove fences and the removing of intersecting fences also did not work correctly. Fix both issues.
2016-04-02 23:51:12 +01:00
IntelOrca
4f59c752d6
fix #3223 : invalid vehicle type warnings when placing any track design
2016-04-02 23:23:34 +01:00
Hielke Morsink
62090cd936
fixes #1860 Litter bins fill up too fast
2016-04-02 22:32:56 +01:00
Marijn van der Werf
5369111580
Fix #3206 : Round support costs properly
2016-04-02 15:27:23 +01: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
Michał Janiszewski
331f9fe03b
Secure memory accesses, initialise variables
2016-04-01 09:38:40 +02:00
IntelOrca
1c0a78ace2
fix #3204 : can't right click track in unowned land
2016-03-31 22:56:13 +01:00
IntelOrca
6f2d91cc7e
land and water now obey disable clearance, closes #3196
2016-03-31 21:57:22 +01:00
IntelOrca
1122bff8bc
prevent double td6 extension
2016-03-31 20:48:27 +01: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
Michał Janiszewski
7eeb59b1aa
Update Linux file dialogs
2016-03-31 20:41:51 +01:00
Gymnasiast
0b78653a10
Make Zenity pick up the first filter
2016-03-31 20:41:50 +01:00
IntelOrca
3fdf0d4bf6
re-introduce appending of extension to filename
2016-03-31 20:41:49 +01:00
IntelOrca
40fcfbb405
use localised strings for native file dialogs
2016-03-31 20:41:49 +01:00
LRFLEW
0f88beff7c
Converted OSX native file dialog to new standard
2016-03-31 20:41:48 +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
e6ca13d32c
fix #3181 : key shortcuts work on multiplayer chat
2016-03-27 12:50:32 +01:00
IntelOrca
b436ac9bc6
fix #3160 : no land owned in rc designer
2016-03-26 15:41:58 +00:00
duncanspumpkin
9018120c17
Change order of parameters in image setup code.
2016-03-25 18:35:00 +00:00
IntelOrca
474f25c69a
refactor handyman pathfind and fix additional small bug
2016-03-24 23:47:15 +00:00
Marco van Munster
1f069af961
Fix machanic crosses station
2016-03-23 22:10:19 +01:00
Duncan
79f2316a4c
Merge pull request #3159 from janisozaur/develop
...
Don't crash when fixing a hacked ride
2016-03-23 18:26:16 +00:00
IntelOrca
1e390e4f13
fix mistake in refactor: flags -> uint32
2016-03-23 17:27:49 +00:00
Michał Janiszewski
c33b8ccdc5
Don't crash when fixing a hacked ride
2016-03-23 16:10:55 +01:00
IntelOrca
74d96d86c0
fix #3158 : close network status window doesn't abort
2016-03-22 23:27:49 +00:00
IntelOrca
a2fda29d92
validate park entrances and land ownership tools
2016-03-22 22:55:13 +00:00
IntelOrca
0ed22f52dd
validate vehicle type
2016-03-22 22:40:06 +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
IntelOrca
64442820b9
validate setting of ride operation mode
2016-03-22 21:12:11 +00:00
IntelOrca
3280bf7aeb
fix #3125 : handyman AI bug
...
Handyman AI would find the closest litter but then not actually use that closest litter to determine the direction but instead use the last litter in the sprite list.
2016-03-21 22:36:16 +00:00
Ted John
7348324d99
Merge pull request #3135 from duncanspumpkin/fix_3123
...
Fix #3123 and refactor of banner placement.
2016-03-21 21:27:46 +00:00
duncanspumpkin
8c7dfd3097
Revert #3147 and fix construction issue. Revert most of c7c1f86
and rework to prevent issues
2016-03-21 21:21:43 +00:00
IntelOrca
78f87cd86c
fix screenshot command line
2016-03-20 18:13:17 +00:00
IntelOrca
ad250d6ab0
fix #3151 : Save any file with korean would corrupt save file
2016-03-19 13:56:33 +00:00
Michał Janiszewski
843014eac2
Silence compiler warning
...
Though this really should be taken care of properly, see
https://stackoverflow.com/questions/14562845/why-does-passing-char-as-const-char-generate-a-warning
2016-03-19 12:56:35 +01:00
IntelOrca
cb9a4860f3
fix #3146 : some utf8 strings were truncated on save
...
strncpy can't be used for RCT2 strings as its a mix of byte / widechar
2016-03-19 11:16:11 +00:00
Michał Janiszewski
c1a413c298
Fix crash when opening canoes
2016-03-19 00:47:34 +01:00
IntelOrca
5c2c0c9c57
fix #3142 : Localisation - Text out of borders
2016-03-16 18:17:24 +00:00
duncanspumpkin
e30c2aeea8
Fix #3123 and refactor of banner placement.
...
This fix needs testing as it might mess up nested game commands.
2016-03-13 18:40:50 +00:00
duncanspumpkin
a3efbad2ba
Fix #3126 . Go Karts now correctly choose lanes.
...
Issue caused by mistake in implementation. Old version could use the variable ride->num_vehicles but in the new version this variable is not incremented each loop so vehicleIndex has to be passed into the vehicle creation functions
2016-03-13 18:07:10 +00:00
IntelOrca
21e22a2747
reset last autosave time on game start / load
2016-03-13 15:43:03 +00:00
IntelOrca
edf16d53d3
fix #1742 : Non-ascii characters in scenario details not showing correctly
2016-03-13 15:33:38 +00:00
IntelOrca
50b52140ad
fix #3133 : Game Crashes when writing 'hide' into the console
2016-03-12 15:40:57 +00:00
duncanspumpkin
a067113d52
Loop the check for data path until valid address given.
...
This is to prevent people from selecting the wrong address and then wondering why the game doesn't work. Related to #1648 .
2016-03-12 14:01:46 +00:00
duncanspumpkin
14c1a88812
Fix #3117 . Golf course crash fixed.
...
Issue caused by implementation mistakes
2016-03-12 07:56:03 +00:00
IntelOrca
1daa657657
fix #3091 : Korean words corrupted if over byte limit
2016-03-10 18:48:00 +00:00
IntelOrca
d03c4de327
fix #3120 : negative cash in finance window is not red
2016-03-09 23:31:49 +00:00
duncanspumpkin
ea056665a2
Fix #3113 . Issue caused by incorrect assumption. Globals still in use
2016-03-08 20:25:41 +00:00
Ted John
09f0caf8c1
Merge pull request #3111 from janisozaur/ride-type
...
Be more careful when dealing with hacked rides. Fix #3109
2016-03-08 18:33:29 +00:00
IntelOrca
1c36392f8d
fix #3115 : Not able to create Themes - Missing folder
...
- Create the themes directory before saving a theme.
2016-03-08 18:03:07 +00:00
Michał Janiszewski
02c5ece7b7
Be more careful when dealing with hacked rides. Fix #3109
2016-03-07 23:03:35 +01:00
IntelOrca
b8edcd50e1
fix #3107 : Number of sold items is reset after some time
...
Number of sold items was being overwritten by a memmove on the field before it.
Queue time changed to only be drawn for rides.
2016-03-07 21:34:26 +00:00
Alexander Overvoorde
76a65ee4dd
Fix thunderstorm visuals being tied to sound update function ( fixes #3088 )
2016-03-07 20:38:22 +01:00
IntelOrca
e7d88416f4
fix #2850 : Theme window is glitchy
2016-03-07 19:15:49 +00:00
duncanspumpkin
ff6bfdced3
Revert #3104 . Fix #3100
2016-03-07 19:04:48 +00:00
Josue Acevedo
21c55fda03
Fix a bug that prevents connect footpaths to ride.
...
Fix a bug that prevents connect footpaths to the ride entrance/exit with multiple stations (Fixes #3100 ).
2016-03-07 10:18:53 -06:00
IntelOrca
45db398257
invalidate tile after modification in tile inspector
2016-03-05 23:39:49 +00:00
IntelOrca
bb7765fedf
fix #2935 : Construction window doesn't close automatically in multiplayer
2016-03-05 13:11:06 +00:00
IntelOrca
a99a2f0cf4
fix command line hosting of scenario files
2016-03-05 12:20:02 +00:00
Ted John
4c60c124c9
Merge pull request #3089 from janisozaur/integrate
...
Integrate 0x00F1AD14, 0x00F1AD18
2016-03-05 11:22:34 +00:00
Ted John
ad9124b8bf
Merge pull request #3095 from telk5093/patch-4
...
Make chat history's line height to 15px
2016-03-05 11:21:36 +00:00
TELK
7f24629962
Update chat.c
2016-03-05 19:24:25 +09:00
TELK
d3e8a3e866
Update chat.c
2016-03-05 19:19:58 +09:00
Michał Janiszewski
c84e9fd943
Remove unnecessary assert()
2016-03-05 10:58:27 +01:00
Michał Janiszewski
6dbe78b318
Integrate 0x00F1AD14, 0x00F1AD18
2016-03-05 00:40:06 +01:00
IntelOrca
2cd7f2d507
fix warning
2016-03-04 23:12:52 +00:00
danidoedel
57b7934b83
Add ability to disable lightning effect, resolves #1299
2016-03-04 23:13:20 +01:00
Duncan
fc2d48d0bb
Merge pull request #3079 from Wirlie/develop
...
Fix a miscalculation on the track cost (Fixes #3074 )
2016-03-04 18:08:46 +00:00
Josue Acevedo
ff87b90b8f
Make code more clean.
...
Removed an unnecessary "else" code and a unnecessary division with the variable cost.
2016-03-03 17:40:44 -06:00
duncanspumpkin
1033e988d3
Fix #2887 . Queues now correctly invalidate when breaking a chain
2016-03-03 22:01:11 +00:00
IntelOrca
4c6c354093
fix unable to place entrance / exit as a client
2016-03-03 21:53:07 +00:00
Josue Acevedo
df5670e097
Fix a miscalculation on the track cost ( Fixes #3074 )
2016-03-03 14:57:44 -06:00
IntelOrca
6ec5fc8cec
fix #3075 : default inspection Interval does not work when building track designs
2016-03-03 17:39:11 +00:00
Marijn van der Werf
93b190b54d
Clean up asserts
2016-03-03 14:38:11 +01:00
Chanwoong Kim
f05da9d312
Disactive IME when text input ends
2016-03-03 22:34:08 +09:00
Chanwoong Kim
6df34c13aa
Fix a bug that IME did not disappeared after typing korean on osx
2016-03-03 22:34:06 +09:00
Marijn van der Werf
ea87812fe7
Don't store data in `0x9E3D08`
2016-03-03 14:33:10 +01:00
Marijn van der Werf
6ce6ad9166
Add comments
2016-03-03 14:33:10 +01:00
Marijn van der Werf
0db00cdc75
Add helper function for retrieving g1 element
2016-03-03 14:33:08 +01:00
Marijn van der Werf
6a368b1960
Update function docblocks
2016-03-03 14:32:28 +01:00
Marijn van der Werf
cfed9fd1c0
Clean up variable declarations
2016-03-03 14:32:28 +01:00
Marijn van der Werf
daee674894
Inline loc_6791B8_6795E4_679A8F_679F73
2016-03-03 14:32:27 +01:00
Marijn van der Werf
d8dbd8decf
Use power of two for calculating round level
2016-03-03 14:32:27 +01:00
Marijn van der Werf
99555a1b81
Merge branches and don't use deprecated globals
2016-03-03 14:32:27 +01:00
Marijn van der Werf
32d45d3018
Fix zoom level check
2016-03-03 14:32:27 +01:00
Marijn van der Werf
6e59f2c02b
Start code cleanup
2016-03-03 14:32:27 +01:00
Marijn van der Werf
dbd3c4942c
Add assert to check whether address is ever reached
2016-03-03 14:32:27 +01:00
Marijn van der Werf
bf7092e2f9
Add comparison function
2016-03-03 14:32:27 +01:00
Marijn van der Werf
859e5cfdde
Clena up code
2016-03-03 14:32:27 +01:00
Marijn van der Werf
c84681b8ee
Refactor sub_679C4A
2016-03-03 14:32:27 +01:00
Marijn van der Werf
8f50003697
Refactor code
2016-03-03 14:32:26 +01:00
Marijn van der Werf
ce4590f914
Attempt to decompile sub_679C4A
2016-03-03 14:32:26 +01:00
Marijn van der Werf
a0e08146bb
Make function uniform and apply fixes
2016-03-03 14:32:26 +01:00
Marijn van der Werf
6a2134896f
Decompile zoom level 3
2016-03-03 14:32:26 +01:00
Marijn van der Werf
68229904e1
Decompile zoom level 2
2016-03-03 14:32:26 +01:00
Marijn van der Werf
0519130b94
Complete dpi->zoom_level == 0
2016-03-03 14:32:26 +01:00
Marijn van der Werf
ebb2ab3b0c
Decompile dpi->zoom_level == 0 && image->flags & 4
2016-03-03 14:32:26 +01:00
Marijn van der Werf
cdf4b596e4
Implement further
2016-03-03 14:32:26 +01:00
Marijn van der Werf
db7b624b6e
Clean up leftmost branch
2016-03-03 14:32:26 +01:00
Marijn van der Werf
8f1c7ff064
Continue decompiling
2016-03-03 14:32:25 +01:00
Marijn van der Werf
5fd4025b9b
Decompile first path
2016-03-03 14:32:25 +01:00
IntelOrca
e4372cca5e
fix #3069 : unable to edit some rides
...
Issue caused by ride index being used instead of the ride entry id for get_ride_entry.
2016-03-03 00:17:53 +00:00
IntelOrca
c60e05fc99
add default ride inspection interval option, closes #1455
2016-03-02 19:27:54 +00:00
IntelOrca
d324084fa2
Merge branch 'develop' of https://github.com/OpenRCT2/OpenRCT2 into develop
2016-03-02 19:24:01 +00:00
Ted John
411e98b778
Merge pull request #3061 from kexplo/feature/fix-issue-2221
...
fix issue #2221
2016-03-02 19:23:41 +00:00
IntelOrca
646deebd3a
re-order misc options
2016-03-02 19:00:33 +00:00
Josue Acevedo
010d452e7d
Fixes #3070
2016-03-02 00:58:11 -06:00
Chanwoong Kim
4596285ec2
Make 'draw_string_centered_raw' to support UTF8 strings.
2016-03-02 07:48:58 +09:00
IntelOrca
c8015cab92
fix #3010 : extension not added on native save file dialog
2016-03-01 21:46:00 +00:00
IntelOrca
669c15cbaf
fix case mistake in refactor of server_list.c
2016-03-01 21:25:21 +00:00
duncanspumpkin
2431558f84
Fix #3052 . Flying roller coasters now correctly place vehicles.
...
Issue caused by a missing bit of code during implementation.
2016-03-01 21:16:49 +00:00
IntelOrca
29df98ea9e
search executable directory as well for SSL CA bundle, closes #3063
2016-03-01 20:42:29 +00:00
IntelOrca
d26ee19782
refactor server_list.c, use British English for names
2016-03-01 18:51:01 +00:00
IntelOrca
dcf09c5d4b
show total number of players online on server list
2016-03-01 18:45:30 +00:00
Ted John
795bc0d471
Merge pull request #3065 from YJSoft/fix-xp-ttf-load
...
Fix windows xp ttf font loading problem
2016-03-01 17:47:56 +00:00
Ted John
2025234434
Merge pull request #3064 from kexplo/feature/fix-issue-2608
...
Fixed issue #2608
2016-03-01 17:46:17 +00:00
YJSoft
cee035c9cb
fix windows xp font loading problem
...
no need to cat because Fonts path must start with `C:\`
2016-03-02 00:32:28 +09:00
Chanwoong Kim
be83e1a33f
Show Korean IME
2016-03-01 22:54:52 +09:00
zsilencer
e652177a31
fix player window auto_pos
2016-02-29 21:43:24 -07:00
zsilencer
66e406ab75
Fix #3048 : Remove format codes in player names and chat
2016-02-29 21:33:46 -07:00
zsilencer
f253acbea1
Fix #3056 : Clip last action string
2016-02-29 21:12:00 -07:00
IntelOrca
781d84dfa4
fix warning
2016-02-29 22:54:01 +00:00
IntelOrca
e57f27e1a1
improve group renaming
2016-02-29 22:34:37 +00:00
IntelOrca
4769e89b07
fix #3053 : Long multiplayer group names overflow the dropdown
2016-02-29 22:34:36 +00:00
duncanspumpkin
957d5a9735
Fix #2324 . Inventions list changes no longer break scenery window.
...
Issue was caused by the invention list flags being passed into the finish research function and interpreting always researched scenery sets as rides. This could also cause crashes if there were more scenery sets than rides researched.
2016-02-29 22:02:03 +00:00
IntelOrca
a634aacfab
show information about locked scenarios, closes #2660
2016-02-29 21:28:01 +00:00
duncanspumpkin
e2073d22c4
Fix #3002 . Fix ride construction on water breaking with shift.
...
Issue caused by a mistake during refactoring.
2016-02-29 20:53:22 +00:00
IntelOrca
1d99c233f6
fix #3008 : construct ride that isn't placed yet causes side effects
2016-02-29 20:24:00 +00:00
duncanspumpkin
8749c1e98c
Fix #3050 . Assert changed to allow for valid index.
2016-02-29 20:04:33 +00:00
duncanspumpkin
70f38aa68f
Fix support drawing issue
2016-02-29 19:54:05 +00:00
IntelOrca
4d6cce3cae
play a sound when a screenshot is taken instead of an error message
2016-02-29 18:24:28 +00:00
duncanspumpkin
24df65af9d
Label current paint tile max height
2016-02-29 18:04:48 +00:00
Duncan
433caa2f84
Merge pull request #3036 from marijnvdwerf/finish-6CA2DF
...
Remove asserts and original call from sub_6CA2DF
2016-02-29 17:16:09 +00:00
Michał Janiszewski
c4cf41de45
Only enable assert() in drawing code when explicitly debugging
2016-02-28 21:42:08 +01:00
Ted John
ab47aced0e
Merge pull request #3041 from Gymnasiast/colour
...
Consistently use 'colour' rather than 'color'
2016-02-28 19:53:43 +00:00
Gymnasiast
ddf3d7a03d
Consistently use 'colour' rather than 'color'
2016-02-28 20:32:02 +01:00
Alexander Overvoorde
1d81105f3b
Fix presets from old vehicle type being used for new vehicle type ( fixes #3014 )
2016-02-28 18:21:04 +01:00
Ted John
017d7f41f5
Merge pull request #3035 from Gymnasiast/burn-more-flags
...
Remove magic crash protection for Six Flags rides
2016-02-28 11:30:08 +00:00
Gymnasiast
939fa24647
Remove magic crash protection for Six Flags rides
2016-02-28 11:59:43 +01:00
duncanspumpkin
d7459d07f8
Fix jerky vehicles on station platforms. Fixes #3011 .
...
Issue caused by a mistake in implementing the function
2016-02-28 10:52:53 +00:00
IntelOrca
90665c7185
always show number of fatalities news item, no six flags bias
2016-02-28 10:28:09 +00:00
Duncan
3f1738bd90
Merge pull request #3027 from Gymnasiast/fix-empty-boats
...
Don't make empty boats leave the platform on closed boat rides with passengers still on it, fixes #2728
2016-02-28 10:21:23 +00:00
Marijn van der Werf
3311e4f3e8
Remove asserts and original call from sub_6CA2DF
2016-02-28 09:04:41 +01:00
Ted John
0f2177e330
Merge pull request #3033 from Gymnasiast/name-and-remove-park-flags-8
...
Name PARK_FLAGS_8 and stop checking it
2016-02-27 20:43:57 +00:00
Gymnasiast
55a2b25f0f
Name PARK_FLAGS_8 and stop checking it
2016-02-27 20:55:49 +01:00
Ted John
e52c95ca7a
Merge pull request #3021 from X123M3-256/develop
...
Automatically fix unexportable objects so they can be exported normally
2016-02-27 13:45:02 +00:00
IntelOrca
22a194ffa6
clamp ride overview viewport zoom level to allowed range
2016-02-27 13:30:00 +00:00
IntelOrca
d27c9c0ec4
fix #3026 : can construct maze when its open
2016-02-27 13:14:26 +00:00
X7123M3-256
9589a98d40
Added even more spaces
2016-02-27 13:13:15 +00:00
IntelOrca
db3c69c237
fix #3025 : Wrong localisation of server messages
2016-02-27 13:12:04 +00:00
X7123M3-256
93ed052e20
Added more spaces and removed duplicate semicolon
2016-02-27 12:50:03 +00:00
Gymnasiast
0b87cd766c
Don't make empty boats leave the platform on closed boat rides with passengers still on it, fixes #2728
2016-02-27 13:36:14 +01:00
X7123M3-256
cacedda7e4
Added spaces around operators
2016-02-27 12:10:53 +00:00
zsilencer
9b3d36eb95
Fix #2988 : utf8 strings not working in multiplayer
2016-02-26 23:00:58 -07:00
zsilencer
6eb580f508
fix ride music related source of desync
2016-02-26 22:15:30 -07:00
IntelOrca
c7c1f862cc
fix #2878 : Shops and stalls doesn't open on the server with auto open
...
Use the set status game command instead of setting the status of the ride directly. In order to stop stack overflow, closing the ride construction window is now done in the update event for that window.
2016-02-27 01:20:21 +00:00
X7123M3-256
08a0cc9272
Fix indentation
2016-02-26 22:56:24 +00:00
X7123M3-256
ba4681d624
Remove degug printfs
2016-02-26 22:41:55 +00:00
X7123M3-256
0036575413
Fix memory leak in the checksum fixing code
2016-02-26 22:06:30 +00:00
Michał Janiszewski
4a24aa6cf3
Don't crash if mapElement is null
...
This allows for loading parks such as "Cocopa Bay"
2016-02-26 23:05:01 +01:00
X7123M3-256
7828d3d641
Automatically fix unexportable objects so they can be exported normally
2016-02-26 21:40:19 +00:00
Michał Janiszewski
aa8437cb9d
Minor fixes
2016-02-26 20:49:01 +01:00
Ted John
f2b96ca4a6
Merge pull request #3018 from Gymnasiast/fix-8cars-invisibility
...
Support 8 cars MOM properly while keeping our own corrupted element, fixes #2706
2016-02-26 15:30:20 +00:00
Gymnasiast
4f4111dedb
Support 8 cars MOM properly while keeping our own corrupted element
2016-02-26 15:46:14 +01:00
Ted John
a6810eaed0
Merge pull request #3015 from Gymnasiast/fix-wall-import
...
Improve wall conversion
2016-02-26 13:28:14 +00:00
Ted John
9a9442ad01
Merge pull request #3016 from janisozaur/fixes
...
Fixes
2016-02-26 13:27:22 +00:00
Michał Janiszewski
6b514d1e3a
Fix possible issues highlighted at higher warn levels
...
Mostly possibly uninitialized values and signedness
2016-02-26 12:54:00 +01:00
Gymnasiast
62f26c52a6
Fix import of white and red wooden fences
2016-02-26 12:41:53 +01:00
Gymnasiast
49e2e8d46d
Improve wall conversion
2016-02-26 12:27:55 +01:00
Michał Janiszewski
c0caf2d222
Minor fixes
2016-02-26 11:40:07 +01:00
Michał Janiszewski
e232358608
Display message with chat shortcut keys upon connection
...
Works for server as well.
2016-02-26 10:26:30 +01:00
Ted John
ecb4dd2a09
Merge pull request #3007 from Overv/implement-2123
...
Hide the entrance/exit construction buttons if there is no station (resolves #2123 )
2016-02-25 20:50:33 +00:00
Alexander Overvoorde
f0c47ba292
Hide the entrance/exit construction buttons if there is no station ( resolves #2123 )
2016-02-25 21:30:46 +01:00
Ted John
4a84a33515
Merge pull request #3006 from Overv/fix-train-length
...
Fix vehicle length not being clamped when vehicle type is changed (fixes #2142 )
2016-02-25 20:25:20 +00:00
IntelOrca
1dde20a8f5
remove unused string ID
2016-02-25 20:21:22 +00:00
Alexander Overvoorde
58a19b7507
Fix vehicle length not being clamped when vehicle type is changed ( fixes #2142 )
2016-02-25 20:50:54 +01:00
Ted John
6ec2e1724c
Merge pull request #2943 from Overv/fix-ride-viewport-z
...
Fix overall view position using z coordinate of arbitrary element in same column (fixes #2636 )
2016-02-25 18:44:59 +00:00
Duncan
5f2e158a55
Merge pull request #3004 from janisozaur/new-compilers
...
Fixes for upcoming GCC6 & Clang 3.8
2016-02-25 18:37:27 +00:00
Michał Janiszewski
fc2bba3047
Fixes for upcoming GCC6 & Clang 3.8
2016-02-25 19:35:18 +01:00
Alexander Overvoorde
6311b5588d
Fix ride overall views being recalculated constantly
2016-02-25 19:31:46 +01:00
Alexander Overvoorde
4a42b09bb3
Add new overall view logic
2016-02-25 19:31:46 +01:00
Alexander Overvoorde
fe6d50f942
Fix overall view position using z coordinate of arbitrary element in same column ( fixes #2636 )
2016-02-25 19:28:43 +01:00
IntelOrca
6484326892
use built ago label for ride list instead of age
2016-02-25 17:59:32 +00:00
Jacob Wallraff
eb706fbdf5
Adding string ids
2016-02-25 17:59:31 +00:00
Jacob Wallraff
37de903831
Ride option additions
2016-02-25 17:43:29 +00:00
Ted John
74973a4a97
Merge pull request #2950 from janisozaur/ride-names
...
Rename ride_entry functions and provide better logging
2016-02-25 12:43:19 +00:00
Michał Janiszewski
14bff0c66f
Rename rct_ride_type to rct_ride_entry
2016-02-25 13:33:19 +01:00
IntelOrca
7b97721653
cap sound volume on title screen, closes #2487
2016-02-24 23:21:36 +00:00
IntelOrca
b0887f174b
split sound and music mixing correctly, closes #1270
2016-02-24 22:42:50 +00:00
Michał Janiszewski
d19fe0e334
Make sure null ride type gets handled properly
2016-02-24 23:16:25 +01:00
IntelOrca
a489fac185
implement mouse wheel for land tool size, closes #2260
2016-02-24 21:49:56 +00:00
Michał Janiszewski
eb645cd4f3
Rename ride_entry functions and provide better logging
...
For hacked rides, provide the name of offender in the log.
2016-02-24 22:23:33 +01:00
Ted John
9b95666829
Merge pull request #2983 from janisozaur/performance
...
Performance
2016-02-23 20:41:43 +00:00
Ted John
50b42a96ce
Merge pull request #2982 from duncanspumpkin/sprite_flags
...
Refactor sprite_flags
2016-02-23 19:32:42 +00:00
Ted John
f2a4dcddc8
Merge pull request #2998 from janisozaur/performance2
...
Improvements to sprite_paint_setup
2016-02-23 18:51:20 +00:00
duncanspumpkin
53df541a39
Relabelled sprite_flags to flags. Relabelled peep/fountain flags
2016-02-23 17:22:19 +00:00
duncanspumpkin
5340af4a12
Refactor sprite_flags
2016-02-23 17:09:53 +00:00
Duncan
40971267c3
Merge pull request #2995 from OpenRCT2/vehicle_sprite_type
...
Vehicle sprite type
2016-02-23 17:09:52 +00:00
Michał Janiszewski
60d01a3ddf
More optimizations to drawing code
2016-02-23 17:33:54 +01:00
Ted John
7d158b962d
Merge pull request #2999 from janisozaur/const
...
Mark map element getters const
2016-02-23 15:02:29 +00:00
Michał Janiszewski
d375015975
Mark map element getters const
...
While it doesn't change a lot in terms of performance, it helps out
compiler being a bit smarter about inlining and reordering things (as
evidenced by generated assembly).
2016-02-23 15:12:48 +01:00
Michał Janiszewski
2a2a188a8b
Improvements to sprite_paint_setup
...
This includes following changes:
* Reorder exit conditions by frequency they're hit at, this makes the
function exit earlier in many cases without having to do expensive
accesses to global memory.
* The code in C tested (eax > 0x2000) || (ecx > 0x2000) while I believe
it was meant to check for >= instead (`cmp ax,2000h; jnb`)
* The check mentioned above was changed to be expressed more concisely:
`((eax | ecx) & 0xe000)`, which generates a single `test` instead of
two.
It improves performance by 1-2fps in parks that rely heavily on this
function, like the mega-micro park from
https://github.com/OpenRCT2/OpenRCT2/issues/2589
2016-02-23 14:18:53 +01:00
Marijn van der Werf
b1f4f23712
Fix #2996 : change track_descriptor of diagonal downwards track
2016-02-23 10:07:00 +01:00
duncanspumpkin
5eb3ca8f36
Label var_1F and var_20
2016-02-22 18:05:59 +00:00
Duncan
baffb37b34
Merge pull request #2967 from marijnvdwerf/decompile-6CA2DF
...
Decompile sub_6CA2DF
2016-02-22 17:27:26 +00:00
Michał Janiszewski
2744db77d9
Prefer masking over multiplication in rendering code
2016-02-22 15:54:46 +01:00
Michał Janiszewski
0e42bef94e
Trade control-flow dependency for data-dependency
...
Removes branching in drawing code
2016-02-22 09:30:15 +01:00
Gymnasiast
7c33ff502b
Don't use hardcoded filter pattern conversions
2016-02-21 22:13:22 +01:00
Gymnasiast
21cb7a948b
Make 'All files' translatable
2016-02-21 18:42:55 +01:00
Gymnasiast
efe73b08dc
Fix the file dialog on Linux being case sensitive
2016-02-21 18:28:23 +01:00
duncanspumpkin
f68fe7d24b
Fix vehicles disobeying gravity when crashing on certain tracks
2016-02-21 09:40:50 +00:00
Gymnasiast
d32b7286f5
Adjust string ids
2016-02-21 00:21:14 +01:00
Harry Lam
0453b4a5a6
Add Chinese currencies, closes #2403 , closes #2872
2016-02-21 00:13:42 +01:00
IntelOrca
9d15bb1b1f
fix #2984 : refactor error in ride_shop_connected
2016-02-20 22:51:17 +00:00
Marijn van der Werf
a744f84292
Clean up property calculation
2016-02-20 21:55:12 +01:00
Marijn van der Werf
88d0f8c60b
Clean up track retrieval
2016-02-20 17:54:26 +01:00
IntelOrca
3583d601ad
name flag: RIDE_TYPE_FLAG_15
2016-02-20 16:37:09 +00:00
IntelOrca
bd040918a1
use helper functions instead of direct access to 0x00982164
2016-02-20 16:30:08 +00:00
IntelOrca
caf8b45dc3
remove usages of 0x00F441D2
2016-02-20 15:52:38 +00:00
IntelOrca
edbca479e3
remove old usages of 0x00993CCC and 0x00F441D3
2016-02-20 15:50:05 +00:00
Ted John
5182441768
Merge pull request #2968 from octaroot/add_multiplayer_strings
...
Fix #2802 - extract hardcoded network-related strings
2016-02-20 15:07:53 +00:00
Michał Janiszewski
aaf572ab27
Fix fastcall for non-MSVC toolchains
2016-02-20 13:41:44 +00:00
IntelOrca
3edc5c6f0a
compile multiple versions of draw RLE sprite
2016-02-20 13:41:43 +00:00
IntelOrca
4617a52e53
improve dirty block performance
2016-02-20 00:23:58 +00:00
Ted John
1b6299b9d2
Merge pull request #2976 from janisozaur/rotation-optimise
...
Optimise accesses to get_current_rotation()
2016-02-19 23:07:03 +00:00
Michał Janiszewski
cafed8551b
Optimise accesses to get_current_rotation()
2016-02-19 23:56:08 +01:00
duncanspumpkin
1fb1c69d86
Label more vehicle offsets
2016-02-19 18:15:19 +00:00
duncanspumpkin
60b8407b2b
Added assert and error log for questionable localisation code
2016-02-19 17:53:35 +00:00
duncanspumpkin
0e550d8b6b
Remove old peep_find_ride_to_look_at code.
2016-02-19 17:51:34 +00:00
Martin Černáč
4a97743276
Fix multiplayer weather cheat
...
While refactoring the freeze-climate cheat I noticed the state was not being transmitted over the network. This commit fixes that
2016-02-19 18:23:13 +01:00
Marijn van der Werf
9b8b90964e
Use TRACK_SLOPE_NONE for comparing with bl
2016-02-19 17:19:34 +01:00
Martin Černáč
830b897dc6
Refactor conditional buffers and string_ids
2016-02-19 17:17:10 +01:00
Marijn van der Werf
a157a7945c
Fix structure of diagonal curves
2016-02-19 16:30:56 +01:00
Marijn van der Werf
7b2c3f5b88
Refactor known input/output combinations to use table
2016-02-19 13:31:00 +01:00
Marijn van der Werf
a5ee1ddb56
More fixes
2016-02-19 01:29:30 +01:00
Marijn van der Werf
0b792cb927
Fix conditional
2016-02-19 00:16:03 +01:00
duncanspumpkin
884bcd2c8a
Fix #2971 . Monorails now correctly accelerate.
...
Issue was caused by checking the wrong vehicle entry for acceleration speed. This was introduced by a bug fix on the weekend
2016-02-18 22:24:40 +00:00
duncanspumpkin
faf16a35f9
Fix #2972 . Station lengths now correctly calculated.
...
Issue caused by counting number of stations off by one. This would cause the calculator to return 1 even on failure after a station element being removed.
2016-02-18 22:16:51 +00:00
duncanspumpkin
14231ef24d
Label vehicle offsets
2016-02-18 21:47:24 +00:00
Marijn van der Werf
2b879cd586
[temp] log tracktype conditions
2016-02-18 22:01:54 +01:00
duncanspumpkin
772502309f
Label ride offsets
2016-02-18 20:58:22 +00:00
Marijn van der Werf
e20f487629
Fix mistakes
2016-02-18 21:44:09 +01:00
duncanspumpkin
f267af3356
Fix chairlift bullwheel rotation animation.
...
Issue caused by incorrect check for breakdown
2016-02-18 20:32:04 +00:00
Martin Černáč
62672af35e
Refactor sprintf and string_formater usages
2016-02-18 17:43:47 +01:00
Martin Černáč
361d30c6f5
Fix #2802 - extract hardcoded network-related strings
...
I extracted all of the hardcoded network-related strings. In addition to that, I also refactored the way last_disconnect_reason was being accessed/modified.
2016-02-18 14:52:02 +01:00
Marijn van der Werf
1f2afd6bac
Process feedback
2016-02-18 14:24:09 +01:00