1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-22 22:34:33 +01:00
Commit Graph

246 Commits

Author SHA1 Message Date
IntelOrca
b0887f174b split sound and music mixing correctly, closes #1270 2016-02-24 22:42:50 +00:00
Gymnasiast
7c33ff502b Don't use hardcoded filter pattern conversions 2016-02-21 22:13:22 +01:00
Gymnasiast
21cb7a948b Make 'All files' translatable 2016-02-21 18:42:55 +01:00
Gymnasiast
efe73b08dc Fix the file dialog on Linux being case sensitive 2016-02-21 18:28:23 +01:00
IntelOrca
4617a52e53 improve dirty block performance 2016-02-20 00:23:58 +00:00
IntelOrca
13921111f3 remove old RCT2 cursor code and RCT2 error location variable 2016-02-16 20:30:43 +00:00
Alexander Overvoorde
316abb1df9 Change screenshot logic to use palette that is actually used for rendering (fixes #2925) 2016-02-15 03:23:47 +01:00
Michał Janiszewski
2ebb691e71 minor fixes
* initialize variables properly
* fixes to handling of zenity/kdialog on Linux
* remove unnecessary call
2016-02-14 21:06:44 +01:00
Ted John
703e9c3153 Merge pull request #2839 from anyc/develop
Linux: use zenity or kdialog to show user dialogs
2016-02-13 12:15:41 +00:00
IntelOrca
19d1338834 ensure input string is terminated when pasting 2016-02-12 22:43:23 +00:00
Ted John
a9ba5eadd5 Merge pull request #2910 from Overv/automatic-player-name
Change default player name to use the OS username if available (resolves #2761)
2016-02-12 00:04:22 +00:00
Alexander Overvoorde
05c1aabc39 Move fallback name logic out of platform_get_username 2016-02-12 00:31:23 +01:00
Alexander Overvoorde
65f25f8340 Get fallback player name from language files 2016-02-10 22:46:25 +01:00
Alexander Overvoorde
a5b47a8481 Change lmcons.h include capitalization (breaks mingw) 2016-02-10 22:33:39 +01:00
Alexander Overvoorde
4f0fc1065b Change to more reliable way to access username on posix 2016-02-10 21:59:38 +01:00
Alexander Overvoorde
75b072d266 Change default player name to use the OS username if available (resolves #2761) 2016-02-10 21:49:41 +01:00
Alexander Overvoorde
417f78b3ea Use proper UTF-8 handling for formatting code detection 2016-02-10 19:52:36 +01:00
Alexander Overvoorde
5adb18528e Fix user being able to enter formatting characters (fixes #2892) 2016-02-09 21:31:01 +01:00
anyc
fb1c6b22ba Linux: use zenity or kdialog to show user dialogs 2016-02-09 21:27:57 +01:00
Michał Janiszewski
80ad302087 Allow user to use NN scaling at integer scales
While linear/anisotropic filtering introduces in previous commit looks
good at non-integer scales, using it at integer scales may make screen
look unnecessarily blurry. This commit introduces an option to use NN
scaling at integer values of scale.
2016-02-01 21:19:26 +01:00
Michał Janiszewski
18ec2238a2 Allow runtime selection of render quality hint
This change allows to pass render quality hint to SDL in runtime. While
using hardware display, SDL can hint the renderer to use linear or
anisotropic filtering, which can deliver a better experience when using
non-integer scale value.
2016-02-01 21:18:15 +01:00
anyc
ffafd07c90 use enum to specify file dialog type 2016-01-29 19:03:09 +01:00
Fabio Ka
d193e9f3b3 Change msgbox flags/log on Linux to "warning" 2016-01-29 19:01:00 +01:00
Fabio Ka
6b2b6e476c Add message box on Linux platforms 2016-01-29 19:00:36 +01:00
LRFLEW
44dd98135d Regain window focus on OS X file dialog close 2016-01-23 17:25:32 -07:00
Michał Janiszewski
3bf1e0e06d Rename safe_strncpy to safe_strcpy 2016-01-18 20:49:52 +01:00
Michał Janiszewski
5bc330f8db Minor fixes, mostly posix.c 2016-01-18 20:48:41 +01:00
Ted John
391bea67bb Merge pull request #2634 from oslerw/develop
Add /usr/local/share to search path for data files
2016-01-16 14:49:34 +00:00
William Osler
60920a2d10 Add /usr/local/share to search path for data files
`/usr/local` should be examined before `/var/lib,` since it allows for
overriding data files that might come from the package manager.
2016-01-15 22:47:12 -05:00
IntelOrca
cdee534eb1 use SDL2's platform defines to normalise platform guards 2016-01-14 20:12:43 +00:00
Marijn van der Werf
0825b9bf62 Share currency detection across platforms 2016-01-13 21:38:10 +01:00
Marijn van der Werf
452acd7627 Set minimal window size 2016-01-13 19:55:35 +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
Ted John
1b62f22bde Merge pull request #2690 from janisozaur/debian
Support for debian packaging.
2016-01-10 23:46:37 +00:00
Ruben De Smet
c675993d3f Fix a bug where some paths get truncated on posix.
Especially when editing the title screen on.
2016-01-10 23:55:56 +01:00
IntelOrca
c7feb72a69 move compiler normalisation to rct2.h 2016-01-10 22:50:35 +00:00
IntelOrca
e79edcb1d6 fix posix.c headers 2016-01-10 22:50:32 +00:00
IntelOrca
e9d222fdd3 new-argparse: finish new argparse integration and clean up 2016-01-10 22:50:31 +00:00
IntelOrca
9d98147b75 new-argparse: implement argument and option parsing 2016-01-10 22:50:29 +00:00
IntelOrca
5796cf3053 use native line endings for config.ini and themes, closes #2678 2016-01-09 22:43:12 +00:00
IntelOrca
3073bc64fd remove rct2_endupdate 2016-01-09 00:25:30 +00:00
IntelOrca
3b4928c041 fix windows file enumerate pattern matching 2016-01-04 18:29:18 +00:00
Ted John
015c76084e Merge pull request #2616 from atmaxinger/autosave-timestamp
Append timestamp to autosave
2016-01-04 17:54:11 +00:00
Maximilian Irlinger
a0bb568889 Append timestamp to autosave 2016-01-04 16:22:15 +01:00
Michał Janiszewski
b45ca38d52 UTC epoch time for POSIX 2016-01-03 21:41:21 +01:00