Gymnasiast
f3ec92a426
Initial support for importing SV4 and importing more park flags
2016-04-22 18:23:52 +01:00
Gymnasiast
705f264cf8
Import music, entrance style, some flags and park open status
2016-04-22 18:23:51 +01:00
Gymnasiast
e27e0611ae
Fix vehicles in imported S4's not leaving the station
2016-04-22 18:23:50 +01:00
Gymnasiast
c72a4caa75
Fix number of trains and number of cars per train
2016-04-22 18:23:50 +01:00
Gymnasiast
15d077410e
Fixed object selection and lift hill speeds
2016-04-22 18:23:49 +01:00
Gymnasiast
6ba69c52ca
Use a define to specify the default vehicle should be used
2016-04-22 18:23:48 +01:00
Gymnasiast
caefc1d9cc
Define RCT1 vehicles as constants and use a lookup table
2016-04-22 18:23:48 +01:00
Gymnasiast
74d0c2aed8
Fix import of alternative vehicles
2016-04-22 18:23:47 +01:00
duncanspumpkin
3b2fade400
Fix rebase issues
2016-04-22 18:23:46 +01:00
Gymnasiast
2d3dfd8834
Move RCT1 file version detection to its own function
2016-04-22 18:23:46 +01:00
Gymnasiast
a28ba1d4d8
Also take AA in account when importing merry-go-rounds and make version detection more robust
2016-04-22 18:23:45 +01:00
Gymnasiast
5ad1c224a6
Fix import of Merry-go-round colours
2016-04-22 18:23:44 +01:00
Gymnasiast
8169969756
Fix typo
2016-04-22 18:23:43 +01:00
IntelOrca
1873d659a9
RCT1 import: import vehicle colours, scenario descriptions and animations
2016-04-22 18:23:43 +01:00
IntelOrca
3e9d56a284
RCT1 import: fix for Junior Roller Coaster
2016-04-22 18:23:42 +01:00
IntelOrca
e319df533e
rct1 import, fix peeps entering rides
2016-04-22 18:23:41 +01:00
IntelOrca
0e1f0cbbe8
improve RCT1 ride import
2016-04-22 18:23:41 +01:00
IntelOrca
a90a59c39c
rct1 import: fix colouring
2016-04-22 18:23:40 +01:00
IntelOrca
f0382b9ab2
implement import of rct1 scenarios, part 1
2016-04-22 18:23:40 +01:00
Marijn van der Werf
7728a96e96
Update signature
2016-04-22 14:05:51 +02:00
janisozaur
7d2e62ba56
Fix typo introduced in 288d11a
, fixes #3376 ( #3379 )
...
See https://sourceforge.net/p/predef/wiki/Architectures/
This reverts commit 67a86fe22f
.
2016-04-22 07:59:50 +01:00
Ted John
2329972b58
Merge pull request #3371 from Broxzier/no_money_checks
...
Check the no money flag in more places in case the price field is not free.
2016-04-22 00:00:40 +01:00
Ted John
571907eabb
Merge pull request #3374 from IntelOrca/feature/file-associations
...
Register file associations on Windows
2016-04-21 23:55:14 +01:00
Ted John
57301def05
disable register-shell for mingw
2016-04-21 23:48:58 +01:00
Ted John
3f1e49d510
use unicode for registering file associations
2016-04-21 23:03:25 +01:00
Ted John
c51f9a8ecc
register file associations on Windows
2016-04-21 21:41:53 +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
Michał Janiszewski
288d11a196
Add platform define for x86
2016-04-21 22:18:59 +02:00
Ted John
b499a4589f
embed OpenRCT2 icon for Windows ( #3372 )
...
Embeds the OpenRCT2 icon file using Win32 native resources and sets the window icon to it.
2016-04-21 19:17:26 +01:00
Hielke Morsink
87953f34db
Checking for no_money flag when checking ride price
2016-04-21 19:21:09 +02:00
Hielke Morsink
09688b427e
Fix #3238 - Guest refusing to pay that much in no money scenarios
2016-04-21 19:09:41 +02:00
duncanspumpkin
d7cd3d0662
Fix #3345 . Put banners back in their bounding box.
2016-04-21 17:19:16 +01:00
Marijn van der Werf
701dd77b54
Decompile paint function for rides 50, 52, 53, 54
2016-04-21 15:05:47 +02:00
Wirlie
407359e82b
Fix #3318 . Mine/Mouse train now can swing on turns.
2016-04-20 22:32:36 -05:00
janisozaur
7eb3a90cea
Fixes for values being shifted ( #3362 )
2016-04-20 23:57:54 +01:00
Ted John
60ac228c51
Merge pull request #3277 from IntelOrca/refactor-twitch
...
Refactor and clean up twitch.cpp
2016-04-20 22:12:57 +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
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
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