1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 12:03:07 +01:00
Commit Graph

4961 Commits

Author SHA1 Message Date
IntelOrca
de79bd4599 fix #3294: crash when closing a window being dragged 2016-04-14 17:41:06 +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
janisozaur
e61b6ffdde Cleanups, init variables 2016-04-03 14:21:50 +01: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