Commit Graph

11467 Commits

Author SHA1 Message Date
Michał Janiszewski c9eb2bdf77 Update version information in CMakeLists.txt 2017-05-06 20:43:54 +02:00
Richard Jenkins fc873f2ce0 Fix #4748: No way to see owned rights after #4701
This partially reverts #4701 - the land rights button in the park window will always be visible, and if no construction rights are available to buy, all owned rights will be displayed.
2017-05-06 19:14:04 +01:00
Ted John b703520311 Merge pull request #5336 from IntelOrca/refactor/nosdl/phase-0
Remove SDL2 dependencies: Phase 0
2017-05-06 18:07:42 +01:00
zaxcav 268f6d9ac0 Minor improvements to the path finding debugging (#5443) 2017-05-06 15:51:47 +01:00
OpenRCT2 git bot 1dffe4ea3f Merge Localisation/master into OpenRCT2/develop. 2017-05-06 04:00:22 +00:00
Michał Janiszewski 04b4ae429e Fix platform_get_ticks for POSIX
Previously it did not include seconds
2017-05-05 22:25:47 +02:00
Michał Janiszewski e103a90d59 Update network version in wake of 14ec639 2017-05-05 21:21:58 +02:00
Richard Jenkins 14ec639b47 Fix #5433: Strange Umbrella Pricing Bug
Secondary shop item pricing was being overwritten by on-ride photo price when placing shop. (#5436)
2017-05-05 18:08:02 +01:00
Michał Janiszewski a25ce1e646 Make Network::server_connection dynamically instantiated 2017-05-05 16:54:44 +02:00
Michał Janiszewski 03d1115425 Fix macOS version detection macros again 2017-05-05 10:37:41 +02:00
Michał Janiszewski 7fc9bf62ce Fix macros detecting macOS version 2017-05-05 08:46:03 +02:00
OpenRCT2 git bot 6e7ce919f7 Merge Localisation/master into OpenRCT2/develop. 2017-05-05 04:00:22 +00:00
Richard Jenkins 28eb5fb279 Move mach_timebase_info init to core_init() 2017-05-05 00:40:07 +01:00
Michał Janiszewski 599af1c410 Fix object entry empty check (#5435) 2017-05-05 00:02:30 +01:00
Richard Jenkins f8b79a4a3f Cache mach_base_info 2017-05-04 22:33:32 +01:00
Richard Jenkins 3d6f13da13 Whitespace fix 2017-05-04 22:10:00 +01:00
Richard Jenkins e1d964cb26 Implement platform_get_ticks() for macOS <10.12 2017-05-04 22:00:25 +01:00
Richard Jenkins 6e443343a8 Update macOS deployment target to OS 10.8 2017-05-04 19:35:23 +01:00
crorabaugh2015 44175b8b38 Fixes issue 5288 - updated intro.c (#5425) 2017-05-04 18:23:27 +01:00
Ted John ac2eb8b5da Fix FileStream for macOS 2017-05-04 17:29:05 +01:00
Marijn van der Werf 6990762376 Update Xcode project 2017-05-04 17:29:05 +01:00
Michał Janiszewski 8e6ea776f6 Add time.h include to shared.c for clock_gettime 2017-05-04 17:29:05 +01:00
Ted John 4ba60cbf52 Replace SDLRW with fopen in interop.c 2017-05-04 17:29:05 +01:00
Ted John 80bdb25740 Change http.cpp to use std::thread 2017-05-04 17:29:05 +01:00
Ted John 08b3817272 Use C++ future, thread and chrono for TcpSocket 2017-05-04 17:29:05 +01:00
Ted John b8931bd503 Use C++ mutex instead of SDL for server_list.cpp 2017-05-04 17:29:05 +01:00
Ted John ec3652152a Quick port of server_list window to C++
So that C++ mutex can be used.
2017-05-04 17:29:04 +01:00
Ted John 90596e0f54 Remove unnecessary SDL headers from NetworkTypes.h 2017-05-04 17:28:37 +01:00
Ted John 0ad94f92e3 Replace Stopwatch with chrono 2017-05-04 17:28:37 +01:00
Ted John 459d79d2f3 Use FILE instead of SDL for FileStream 2017-05-04 17:27:51 +01:00
Ted John 73fb132e41 Replace some SDL functions with our own 2017-05-04 17:27:51 +01:00
OpenRCT2 git bot f8cb551721 Merge Localisation/master into OpenRCT2/develop. 2017-05-04 04:00:18 +00:00
Michał Janiszewski ac593b9daf Start v0.0.8 2017-05-03 23:43:16 +02:00
Michał Janiszewski 8a6e461218 Merge branch 'master' into develop 2017-05-03 23:38:49 +02:00
Michał Janiszewski 36f12104af Release v0.0.7
- Feature: [#1730] Keyboard shortcuts for track construction.
- Feature: [#2060, #5282] Heightmap loader
- Feature: [#5110] The tile inspector can now be used in multiplayer.
- Feature: [#5305] Add scenery eye dropper tool.
- Feature: [#5370] Ride operating mode can be set from the console.
- Feature: [#5415] Add mute toolbar button (as seen in RCT1 and Locomotion).
- Improved: [#5254] Scenario option changes are now synchronised over multiplayer.
- Improved: [#3288] Added server description and greeting textboxes to the start server menu.
- Improved: [#3502] Track previews display at higher zoom level for large layouts.
- Improved: [#5055] Implement 'quick demolish' for rides.
- Improved: [#5137] Removing all guests no longer closes the rides and removes the vehicles.
- Improved: [#5163] Minor tile inspector improvements and fixes.
- Improved: [#5222] Add Catalan language.
- Improved: [#5351] Giga Coaster and Steel Twister RC boosters now use the correct sprites.
- Improved: Looping RC and Corkscrew RC now use booster sprites from RCT1's CSG1.DAT if available.
- Improved: Scenario options are now synced in multiplayer.
- Improved: Remove duplicate ride penalty for closed rides.
- Improved: Make shortcut keys window larger and resizable.
- Removed: known_issues.txt no longer used, check issue tracker on GitHub.
- Fix: [#1992] Felicity Anderson Cheat can crash the game, as well as blocking queues.
- Fix: [#4493] Provide tooltip for disabled price field.
- Fix: [#4689] Object selection tabs sometimes flicker.
- Fix: [#4913] Server greeting displaying local setting.
- Fix: [#4972] Map window not updated properly when shrinking map from Map Generation window.
- Fix: [#5004] Peeps in parks imported from RCT1 show abnormalities.
- Fix: [#5014] Research not imported from RCT1 correctly.
- Fix: [#5032] Booster speed is not saved in TD6.
- Fix: [#5140] Headless server should save default users.json.
- Fix: [#5150] --openrct-data-path sets user data path instead of OpenRCT2 data path.
- Fix: [#5169] Parks containing packed objects fail to open.
- Fix: [#5199] "Force a breakdown" debugging tool isn't hidden in multiplayer.
- Fix: [#5188] Clicking on a Magic Carpet doesn't open the ride window.
- Fix: [#5218] Scale RCT1 park value objectives.
- Fix: [#5219] Game crashes when opening 'misc' tab in options.
- Fix: [#5238] RCT1 import: Rides are initially free when placing them.
- Fix: [#5252] Correct typo in Conger Eel Coaster description.
- Fix: [#5265] Queue line TVs not detected properly.
- Fix: [#5271] Keyboard shortcuts window isn't large enough (for some languages).
- Fix: [#5284] Mechanic is called to fix a ride that's outside his patrol area.
- Fix: [#5285] Intro always plays even if play_intro = false.
- Fix: [#5299] Scenario editor crash when placing peep spawn.
- Fix: [#5318] Using the bulldozer tool on under-construction paths results in unlimited free money.
- Fix: [#5325] Game crashes if encountering an invalid ride type during research.
- Fix: [#5345] Correct typos in descriptions for Top Spin and Splash Boats.
- Fix: [#5350] Steel Twister RC and Giga Coaster boosters are underpowered, Junior Roller Coaster boosters overpowered compared to RCTC.
- Fix: [#5357] "Assertion failed!" after guest with name 'Emma Garrell' exits/enters ride.
- Fix: Walls do not import from RCT1 correctly in pause mode.
- Fix: Extraneous window tabs show up on MacOS 10.12.
- Fix: Potential for integer overflow in ride length.
- Fix: Vehicles erroneously removed when removing all guests.
- Technical: INI configuration file now case-insensitive.
- Technical: Remove version build from msbuild & NSIS.
2017-05-03 22:50:25 +02:00
Michał Janiszewski 10ae180744 Merge branch 'develop' into master 2017-05-03 22:49:59 +02:00
Marijn van der Werf a0259b79d4 Use rct_widgetindex type 2017-05-03 22:43:33 +02:00
Marijn van der Werf 31e8b510ec Use constants for maze construction 2017-05-03 16:09:21 +02:00
Marijn van der Werf 927190103b Use enum for tools 2017-05-03 16:09:21 +02:00
Ted John 18fc922000 Use a file pattern as it appears to now be supported in VS 2017-05-03 11:14:13 +02:00
Michael Steenbeek b713b799b5 Increase network version 2017-05-03 08:41:34 +02:00
zaxcav 36ff7e90af Improve ignoring wide flags on patrol zone edges
This is a minor improvement to #5424.

The zone edge detection is expanded to also check the diagonal neighbouring tiles so that the fix in #5242 also works for tiles on an internal corner of a patrol zone.
2017-05-03 08:41:34 +02:00
OpenRCT2 git bot e4de788baf Merge Localisation/master into OpenRCT2/develop. 2017-05-03 04:00:18 +00:00
Gymnasiast af713f2cbe Add booster sprites and drawing routines to the mini roller coaster 2017-05-02 22:40:31 +02:00
xp4xbox 2a6d89acf6 Replace Giga Sprites With Improved Ones 2017-05-02 22:40:31 +02:00
Marijn van der Werf 2b54032b8e Replace magic numbers in windows with constants 2017-05-02 14:41:53 +02:00
Marijn van der Werf 3cf725745d Add compile-time checked constants for widget ids 2017-05-02 09:58:25 +02:00
zaxcav 0debd879da Ignore wide flags on patrol zone edges in path finding heuristic, fixes #5414
Wide path flags in patrol zones can divide the paths with an uncrossable boundary. Ignore wide flags on the patrol zone edges to provide doorways for mechanics through these boundaries without otherwise affecting the path finding heuristic.

Fixes #5414.

Requires new network version.
2017-05-02 08:10:09 +02:00
Michał Janiszewski 5e03fcde33 Update network version to 20 after #5423 2017-05-01 21:41:52 +02:00
zaxcav 94eb6994fb Prevent peeps walking up and back down ride queues (#5423)
This bug is caused by inconsistent use of peep->interactionRideIndex. The primary use of this value is to record when a peep has decided to go on the ride at the queue entrance so they remember that decision when entering each queue path tile - without this they would re-decide whether to go on the ride each time they walk into a new ride queue tile.

This is also important for making the peeps walk up and back out of the queue when the ride is closed.

This value is also set when a peep decides not to go on a ride (though the reason why is not clear to me), but is not reset/changed on interaction with other tile types (e.g. shops, no entry signs, etc) causing peeps who bounce back on a ride queue entrance to walk up and down the queue.

Fixes #3499

Requires new network version.
2017-05-01 21:29:38 +02:00