IntelOrca
99e0d999b2
add timestamp to highscores.dat
2016-01-03 01:48:52 +00:00
Aaron van Geffen
dd604afc89
Use FontConfig to find suitable TrueType fonts on Linux and OS X. Fixes #2537 .
2015-12-25 01:53:52 +09:00
Sam Parkinson
2852c02e0a
Handle touch events
...
Natively on Linux, using OpenRCT2 with touch is impossible because
touch events are not handled by the game. They just don't do anything.
This commit handles touch events. A single touch represents a
press of the left mouse button. If it followed by another touch
within 300ms, a right mouse button event is emitted. This timeout
is like that of mobile web browsers [1].
[1] https://developers.google.com/web/updates/2013/12/300ms-tap-delay-gone-away?hl=en
2015-12-20 19:33:12 +11:00
Michał Janiszewski
ea6fa2c82a
Let user specify the data dir as cmdline option.
...
This adds --openrct-data-dir=<str> option to command line letting user
select where he wants OpenRCT2-specific data to be. By default the
search locations are:
* <exePath>/data (on all platforms)
* /var/lib/openrct2 (on Linux)
* /usr/share/openrct2 (on Linux)
2015-12-19 00:06:41 +01:00
Linus Unnebäck
7ea7625db5
osx: correct modifier key
2015-12-15 08:34:33 +01:00
Linus Unnebäck
894d2cd130
osx: define MAP_ANONYMOUS
2015-12-10 09:35:31 +01:00
Michał Janiszewski
d1b6d175c7
Make each platform set its own exe path
2015-12-01 21:38:35 +01:00
Linus Unnebäck
30b6718532
start of OS X support
2015-11-27 17:43:12 +01:00
Michał Janiszewski
c4ad2346e3
Fixes for building optimized binary on Linux
...
Use `-DCMAKE_BUILD_TYPE=X`, where X:
- `RELEASE`
- `RELWITHDEBINFO`
- `MINSIZEREL`
Only works for GCC, clang binaries crash for now.
2015-11-18 21:29:08 +01:00
Michał Janiszewski
80510c91bd
Add ui option to change scale in run-time
...
Doesn't let user go lower than 0.5f
2015-11-12 01:18:42 +01:00
IntelOrca
e177be305b
allow user data path to be specified by command line, closes #2182
...
Also changed default path under linux to be ~/.config/OpenRCT2.
2015-11-03 22:20:35 +00:00
Michał Janiszewski
45b3d8362d
Provide strndup implementation for platforms missing it
2015-10-30 19:14:05 +01:00
Gymnasiast
2b0d5b2470
Remove obsolete sound and config code
2015-10-25 20:54:19 +01:00
Ted John
5e9912e880
Merge pull request #2038 from HaasJona/restart_required
...
Require a restart after changing hardware rendering
2015-10-24 14:44:01 +01:00
Jonathan Haas
475466dcd9
Require a restart after changing hardware rendering setting, decouple setting from active status
2015-10-24 12:50:28 +02:00
Michał Janiszewski
d570163958
Fix types
...
Bunch of type fixes
2015-10-19 20:30:46 +02:00
Alexander Overvoorde
609dad157a
Optimise Steam overlay check
2015-10-04 22:31:28 +02:00
Alexander Overvoorde
51377fc960
Add setting for Steam overlay pausing and add extra check
2015-10-03 23:10:56 +02:00
Michał Janiszewski
89846a088a
platform time functions
2015-09-29 23:35:15 +02:00
Michał Janiszewski
4ce0e3a8b2
Linux platform file
...
Add bulk of the platform file for linux, change the compilation target
from shared library to executable for linux, provide necessary changes
to make it compile & load the stub of a process.
Make sure functions are marked as stubs where needed, and implementation
is expected.
2015-09-20 23:19:08 +02:00
Michał Janiszewski
4df8761831
remove windows-only code
...
Step 1 on road towards Linux.
Remove windows-specific code, stub it out where needed and make sure we
can still compile it the way it is.
Take care of Travis' build matrix to include new build configuration.
Install new packages.
2015-09-18 16:01:38 +02:00
IntelOrca
bea74ee261
make all file IO utf8 compatible, fixes #1847
2015-08-29 13:13:23 +01:00
IntelOrca
f0100a71a7
use windows lean and mean to reduce definition conflicts
2015-08-29 13:13:22 +01:00
IntelOrca
be4ee45d66
convert more platform functions over to utf8 and close #1713
2015-08-04 21:41:45 +01:00
IntelOrca
cac0f2ab52
upgrade to VS2015 compiler
2015-08-03 23:16:30 +01:00
IntelOrca
d228d13918
implement utf8, part 23 (bug fixes)
2015-08-01 16:40:15 +01:00
IntelOrca
357111a560
implement utf8, part 11
2015-08-01 10:20:55 +01:00
zsilencer
b876591543
use SDL_RWops for save games
2015-07-11 12:27:46 +01:00
Robert Jordan
a3a993dabd
Title Sequence editor
2015-06-24 12:25:54 -04:00
Miso Zmiric (Mike Squinter)
f9d85b6959
fixes #1445 , now checks for existance of g1.dat files in the game path rather than just for the folder
2015-06-24 15:28:06 +01:00
Thomas
2fc23b0084
Add browsing drives on windows
2015-06-22 15:55:57 +02:00
Thomas
ce26812caa
Add sorting based on date
2015-06-22 13:49:35 +02:00
IntelOrca
0013310f0d
add hardware display
2015-05-22 03:17:46 +01:00
IntelOrca
8772cdd7aa
add in game console
2015-05-19 03:54:09 +01:00
Thomas
b8a9745eda
Use locale info to create default config
...
Issue #736 , get measurement system, temperature system, language and
currency from locale and use it as default.
2015-02-19 20:40:14 +01:00
IntelOrca
0ce4d70e35
make saved games and landscapes copy recursively
2015-02-15 17:31:16 +00:00
Thomas
abe3008fc8
Fix warnings and add path indicator
2015-02-15 15:20:19 +01:00
Thomas
10babd3c77
Add ability to change directory in loadsave
2015-02-14 23:26:04 +01:00
IntelOrca
ac4cd56b63
add new load / save window, closes #580
2015-02-14 02:16:03 +00:00
IntelOrca
a66b29076b
move osinterface code to shared or windows
2015-02-12 20:51:40 +00:00
IntelOrca
392ff7bfea
remove expansion packs from title sequence, closes #752
2015-02-11 22:18:19 +00:00
IntelOrca
5e074a61e6
fix fullscreen issues
2015-01-24 13:16:35 +00:00
IntelOrca
7cdcb6402e
fix fullscreen resolution, fixes #89
2015-01-23 20:47:33 +00:00
IntelOrca
1ed6e443ca
refactor object loading, part 1
2014-12-07 21:45:42 +00:00
IntelOrca
d00001fed2
remove unnecessary header includes
2014-11-30 20:27:14 +00:00
IntelOrca
d8844513a1
remove windows.h from input.c and improve window resize
2014-11-10 22:37:55 +00:00
IntelOrca
217ae84c62
add cross platform interface for enumerating files
2014-10-17 03:22:45 +01:00
IntelOrca
71e508c416
refactor various platform functions and includes
2014-10-09 14:03:54 +01:00
IntelOrca
c8df6174b8
organisation: fix includes
2014-10-06 17:36:58 +01:00