Commit Graph

8430 Commits

Author SHA1 Message Date
Sijmen Schoon 70b2779654 Add a failsave to the parent directory code 2016-07-14 20:45:34 +02:00
Sijmen Schoon 95a081bf38 Fix drive listing on Windows 2016-07-14 20:45:34 +02:00
Sijmen Schoon 53e469834b Clean up window_loadsave_populate_list 2016-07-14 20:45:34 +02:00
Sijmen Schoon bf51ae7e26 Refactor rest of window_loadsave_mouseup 2016-07-14 20:45:34 +02:00
Sijmen Schoon 58964cb301 Refactor WIDX_UP and WIDX_NEW 2016-07-14 20:45:34 +02:00
Sijmen Schoon 446db73dc2 Fix refactoring oversight in window_loadsave_open 2016-07-14 20:45:34 +02:00
Sijmen Schoon a26ad34ecd Remove unused function has_extension 2016-07-14 20:45:34 +02:00
Sijmen Schoon 0100ae7cd3 Refactor window_loadsave_open 2016-07-14 20:45:34 +02:00
Ted John 6fc36cbabb Merge pull request #4072 from janisozaur/missing-declarations
Add missing declarations, it can potentially help produce better ELF binaries, as they historically struggle with exported symbols.
2016-07-14 18:11:48 +01:00
Michał Janiszewski 836450cab4 Fix declarations of network-less builds 2016-07-14 14:11:50 +02:00
Michał Janiszewski 31a219a961 Fix declaration of Windows' `StartOpenRCT` 2016-07-14 14:11:50 +02:00
Michał Janiszewski 550ac03ab7 Enforce proper declarations for every function
Enables -Wmissing-declarations for CMake projects
2016-07-14 14:11:50 +02:00
Michał Janiszewski a6d0e6916e Fix function definitions to match their declarations
This makes sure every function is properly declared, which includes
proper `extern` wrappers.
2016-07-14 14:11:49 +02:00
Marijn van der Werf 5204fb0ce9 Clean up string and sprite ID's (#3977) 2016-07-14 14:07:49 +02:00
Sijmen Schoon fb456a86ea Fix #4061: Wrong error message when opening all rides with unfinished rides
Show the proper error when opening all rides goes wrong.
2016-07-14 11:26:12 +01:00
OpenRCT2 git bot 7c16ad3d82 Merge Localisation/master into OpenRCT2/develop. 2016-07-14 04:00:23 +00:00
Ted John b6b8ce18f0 Fix #4062: Crash when unable to allocate image table
Check if realloc succeeded.
2016-07-13 19:57:14 +01:00
Ted John 04340021f6 Fix #4071: Guests paid when free entry park flag
Make most usages of park entrance fee use a common function which does the necessary checks.
2016-07-13 19:48:42 +01:00
Ted John c09780967b Fix #4069: Assertion when applying no-money
There was one case where it called peep_spend_money without checking if money was enabled
2016-07-13 19:08:35 +01:00
Sid Roberts 961f0f9f9a Fixed typos in README (#4067) 2016-07-13 11:00:01 +02:00
OpenRCT2 git bot b63dae51c4 Merge Localisation/master into OpenRCT2/develop. 2016-07-13 04:00:21 +00:00
Daniel Trujillo 8638cf924d Refactor hill stop site code 2016-07-12 20:33:19 +02:00
Josue Acevedo d52fabb9d7 Fix guest sorting with guests that have a generated name. (#4028) 2016-07-12 20:17:59 +02:00
Daniel Trujillo 4fba02567f Add support for cable lift chain to stop train (old behaviour) 2016-07-12 19:47:03 +02:00
Daniel Trujillo 37c4b549d2 Revert block brakes behaviour to the old one (always braking)
Anyway, there is possible to swith between different behaviours
through a preprocessor directive
2016-07-12 19:32:53 +02:00
Daniel Trujillo ac314a4d61 Fix the block-sectioned lift chain not working properly 2016-07-12 19:32:53 +02:00
duncanspumpkin af2746e087 Display path name of incorrect track checksum. Part of #4063 2016-07-12 17:44:19 +01:00
OpenRCT2 git bot a4223d995f Merge Localisation/master into OpenRCT2/develop. 2016-07-12 04:00:23 +00:00
Marijn van der Werf 6c702fb1a9 Set correct sprite type for Magic Carpet drawing 2016-07-11 23:46:43 +01:00
Ted John dca816cfd3 Merge pull request #4024 from IntelOrca/refactor/object-list
Refactor and improve the object system:
- Objects are now exported to user directory under 'object'.
- Object directories are scanned recursively.
- Improves reliability of object loading and handling of bad objects.
- Improve performance of object scanning.
- Only load new objects when loading a new game.
- Improve changing language experience.
2016-07-11 23:45:45 +01:00
Michał Janiszewski ef09dcd64a Add another assert to decode_chunk_rle_with_size 2016-07-11 22:52:43 +01:00
Ted John edb4a4a822 fix get capacity string for vehicles 2016-07-11 22:50:55 +01:00
Ted John eb275604fa update changelog 2016-07-11 22:16:14 +01:00
Ted John 4bf9748143 fix drawing of object preview
We can't use dpi->width and dpi->height as they only define the clip region, not the viewport
2016-07-11 22:09:15 +01:00
Ted John 21e5093153 Merge pull request #4018 from SijmenSchoon/track-save-dialog
Use OpenRCT2 dialog for saving tracks
2016-07-11 19:11:33 +01:00
Ted John 81a597ab0d append salt bytes inside encoded data chunk 2016-07-11 19:09:16 +01:00
Ted John cf59929eaa add extra salt bytes to exported objects if checksum is wrong 2016-07-11 18:42:43 +01:00
Sijmen Schoon 38f402f156 Remove variable that became unused because of 06de7b 2016-07-11 19:26:25 +02:00
Sijmen Schoon de83ada6f5 Fix string order 2016-07-11 19:15:30 +02:00
Sijmen Schoon ccdb59d48b Fix sting ids 2016-07-11 19:13:53 +02:00
Sijmen Schoon 06de7bc1e1 Set default track folder to user track directory
Fixes #4019
2016-07-11 19:13:30 +02:00
Sijmen Schoon 773c7e04ef Remove stray space 2016-07-11 19:13:30 +02:00
Sijmen Schoon d8bc890d0a Exit scenery selection mode when done saving 2016-07-11 19:13:30 +02:00
Sijmen Schoon 79a85cd659 Save track designs as td6 file 2016-07-11 19:13:30 +02:00
Sijmen Schoon 9d1ae9b576 Fix track save system dialog crash 2016-07-11 19:13:30 +02:00
Sijmen Schoon a194c91997 Use OpenRCT2 dialog for saving tracks 2016-07-11 19:13:30 +02:00
Ted John f5391a366f Merge pull request #4048 from Goddesen/fix_4037_utf8_cursor
Use UTF-8 to measure cursor size in text input.
2016-07-11 18:00:17 +01:00
Ted John 7ae7c4f498 Merge pull request #4020 from duncanspumpkin/rate_input
Allow rate input by text box
2016-07-11 17:58:38 +01:00
Ted John 8851e43367 CI: Always add build symbols to artefacts 2016-07-11 13:00:25 +01:00
Josue Acevedo cc2d91a642 Fix #4042: Park name isn't shown in objective selection 2016-07-11 09:54:37 +01:00