Commit Graph

5936 Commits

Author SHA1 Message Date
duncanspumpkin f2b70b74aa Fix incorrect common format offset causing issues when changing colour scheme 2016-01-14 17:47:06 +00:00
Ted John 0450aa0057 Merge Localisation/master into OpenRCT2/develop. 2016-01-14 04:00:19 +00:00
Ted John 608c90db12 Merge pull request #2707 from marijnvdwerf/share-currency-detection
Merge currency detection and add missing currencies
2016-01-13 20:47:23 +00:00
Marijn van der Werf 0825b9bf62 Share currency detection across platforms 2016-01-13 21:38:10 +01:00
Ted John 370a06f74a Merge pull request #2716 from marijnvdwerf/min-window-size
Set minimal window size to 720×480
2016-01-13 18:56:33 +00:00
Marijn van der Werf 452acd7627 Set minimal window size 2016-01-13 19:55:35 +01:00
Ted John 69bc5e1c94 Merge pull request #2715 from janisozaur/build-id
Drop number from build ID.
2016-01-13 18:07:21 +00:00
Michał Janiszewski 1e5f59df29 Drop number from build ID. 2016-01-13 14:33:19 +01:00
Ted John 38c52e28dc Merge pull request #2711 from marijnvdwerf/add-cmd-modifier
Allow using CMD as shortcut modifier
2016-01-13 12:45:21 +00:00
Ted John 56b5bd1ace Merge pull request #2713 from janisozaur/ride-validity
Check for ride validity in game commands
2016-01-13 12:45:07 +00:00
Marijn van der Werf 138f0139c8 Add `PLATFORM_MODIFIER` as alias for CMD/CTRL 2016-01-13 11:06:25 +01:00
Michał Janiszewski ff2cdd4b1d Check for ride validity in game commands 2016-01-13 10:51:43 +01:00
Ted John a557179b06 Merge pull request #2709 from OpenRCT2/set-rct2-path
Add ability to set RCT2 path by command line.
2016-01-13 00:04:49 +00:00
IntelOrca 3751c2b014 use SDL2 for Stopwatch class 2016-01-13 00:04:27 +00:00
IntelOrca 1c063e74b0 fix peep.c warnings 2016-01-12 23:54:01 +00:00
IntelOrca ebd78799c2 correct UK spelling of Haunted Harbour RCT1AA scenario 2016-01-12 23:51:38 +00:00
LRFLEW 02c03d225c Added Path class to Xcode project 2016-01-12 23:10:19 +00:00
IntelOrca 8cf53c12af add ability to set RCT2 path by command line 2016-01-12 23:10:18 +00:00
IntelOrca df2b793c0a refactor console error output 2016-01-12 23:10:17 +00:00
Marijn van der Werf df9880247a Add bugfix to changelog 2016-01-12 23:18:24 +01:00
Marijn van der Werf a85b2d3982 Show ALT as OPTION in keyboard shortcut list 2016-01-12 23:05:03 +01:00
Marijn van der Werf 2d53c28342 Use CMD for default shortcuts on OS X 2016-01-12 22:59:29 +01:00
Marijn van der Werf 623952d966 Only perform command key state detection on OS X 2016-01-12 22:53:01 +01:00
Marijn van der Werf dd8239f684 Add space after 'CMD + ' 2016-01-12 22:52:34 +01:00
Marijn van der Werf 72739e8cd8 Allow setting CMD as shortcut key 2016-01-12 22:29:36 +01:00
duncanspumpkin d8d706cc58 Fix #2700. Friction sound no longer goes very quite at high speeds.
Also labelled friction_sound_id and small refactor
2016-01-12 17:55:19 +00:00
duncanspumpkin 75ed781a5c Fix part of #2700. Reverse freefall now correctly slows down on reverse. 2016-01-12 17:43:47 +00:00
duncanspumpkin b5b6e93a03 Fix #2701. Rotated trains no longer disobey physics when crashing. 2016-01-12 17:32:16 +00:00
Duncan e2e749d644 Merge pull request #2697 from marijnvdwerf/get-ride-entry
Minimise direct usage of `RCT2_ADDRESS_RIDE_ENTRIES`
2016-01-11 23:09:43 +00:00
Ted John cdc2bec135 Merge pull request #2703 from janisozaur/config
Make sure config.ini gets created
2016-01-11 22:36:19 +00:00
Ted John 6bdc5fc978 Merge pull request #2648 from rubdos/POSIX_platform
Implement several POSIX methods.
2016-01-11 22:24:30 +00:00
Michał Janiszewski bcc3580d41 Report improper "game_path" with useful information 2016-01-11 22:59:05 +01:00
Michał Janiszewski 54f7f93ab9 Make sure config.ini gets created
This commit makes sure config.ini gets created even when RCT2 path is
not selected.

This makes for a better out-of-box experience on Linux, where no
directory selector is provided yet, as we provide default config file
and state in the error message how to fix it.
2016-01-11 22:46:29 +01:00
Marijn van der Werf ef9ac11e52 Remove direct usage of `RCT2_ADDRESS_LARGE_SCENERY_ENTRIES` 2016-01-11 21:00:22 +01:00
Ted John 1ddad61d2c Merge pull request #2699 from zsilencer/bugfixes
Fix #2693: Chat caret
2016-01-11 18:49:18 +00:00
duncanspumpkin 27ec97d3c5 Fix #2694. Multi tile block breaks (i.e. cable lifts) now correctly unstop.
Issue was caused by looking at the wrong tile to unstop
2016-01-11 18:35:36 +00:00
IntelOrca 0087e5c2d6 fix importing of legacy scenario scores
only one would ever be imported because of a break loop that shouldn't be there
2016-01-11 18:30:58 +00:00
zsilencer 2059b93dbc Fix #2693: Chat caret 2016-01-11 11:20:14 -07:00
Ted John c6ab870404 Merge pull request #2698 from janisozaur/audio-device
Skip "Default sound device" on Linux
2016-01-11 14:09:44 +00:00
Ruben De Smet 44fdffd7e2 Added posix changes to changelog. 2016-01-11 14:33:28 +01:00
Ruben De Smet e9ed444387 Implement singleton locking for POSIX. 2016-01-11 14:33:19 +01:00
Ruben De Smet afc89195aa Remove stub from posix.c:platform_get_drives 2016-01-11 14:33:19 +01:00
Ruben De Smet cd72f282dc POSIX: implement move file method 2016-01-11 14:33:19 +01:00
Ruben De Smet e035c7984a Fix concerns in platform_directory_delete.\n\n Not sure about fts_close when passing NULL yet. Leaving this commit as a marker 2016-01-11 14:33:19 +01:00
Ruben De Smet 012ff3adbc Add platform_directory_delete implementation for posix. 2016-01-11 14:33:19 +01:00
Ruben De Smet b0a531b523 Implement file copy on POSIX systems.
Autosave should work now on Mac OS X and Linux.

Fix tabs randomly inserted by vim

Concerns in file copy
2016-01-11 14:33:15 +01:00
Michał Janiszewski ac8aec63bc Skip "Default sound device" on Linux
Sound on Linux is handled by PulseAudio, which creates a sink and offers
a central place to control which sources are distributed how and where.

Applications in general are expected to only offer volume controls.

Tested with 0 A.D., SuperTuxKart and a few media players, none of which
offers selecting sink directly.

As per https://en.wikipedia.org/wiki/PulseAudio#Adoption it should
covert vast majority of uses.
2016-01-11 13:59:41 +01:00
Marijn van der Werf 17bc24b3a0 Use absolute constants for object entry groups 2016-01-11 13:51:42 +01:00
Marijn van der Werf ddab3a1b74 Use `GET_RIDE_ENTRY` macro to get ride entry 2016-01-11 13:34:08 +01:00
Marijn van der Werf 6eadf824ea Replace raw addresses of `RIDE_ENTRIES` 2016-01-11 13:34:08 +01:00