Aaron van Geffen
3ea6a3ea2f
Implement optional full font hinting for scrolling text (banners).
2018-02-13 10:15:27 +01:00
Aaron van Geffen
bd928bc27e
Make font hinting optional on a per-font basis.
...
Previously, hinting could only be disabled globally.
This commit disables hinting if the hinting threshold is set to 0.
Note that this parameter is configurable through config.ini, too.
2018-02-13 10:15:27 +01:00
Aaron van Geffen
1809eec079
Improve TrueType font appearance for scrolling texts.
...
This makes the scrolling text drawing code respect banner font y-offset definitions.
Font definitions are also adjusted accordingly. Definitions set prior were ignored
by the game thus far, hence the need for adjustment.
2018-02-13 10:15:27 +01:00
OpenRCT2 git bot
a5da22d5c7
Merge Localisation/master into OpenRCT2/develop.
2018-02-13 04:01:17 +00:00
jensj12
02474353e3
Reduce duplicate code
...
Fix two cases of duplicated code
2018-02-13 00:11:29 +01:00
Aaron van Geffen
c8b5cbb3e4
Fix cmake build for openrct2-cli on macOS.
...
This also removes the globbing for *.m files. As the platform files for macOS
now all use Objective C++ (.mm) instead of Objective C (.m), this is no longer needed.
2018-02-12 23:15:41 +01:00
Richard Jenkins
ac1a936841
Xcode and macOS compilation fix
2018-02-12 22:24:22 +01:00
Michał Janiszewski
7fec13ac74
Apply workaround for old compilers
...
https://bugs.launchpad.net/ubuntu/+source/gcc-5/+bug/1568899
2018-02-12 22:24:22 +01:00
Michał Janiszewski
06e139f4cb
Use __builtin_cpu_supports for AVX2 detection
2018-02-12 22:24:22 +01:00
Michał Janiszewski
f2d1cd418f
Force AVX2 project-wide for MSVC
2018-02-12 22:24:22 +01:00
Michał Janiszewski
6a71688db7
Allow specifying cpuid subleaf
2018-02-12 22:24:22 +01:00
Michał Janiszewski
ad27806534
Implement AVX2 masking
2018-02-12 22:24:22 +01:00
Ted John
928ae3b4cd
Fix mistake in ObjectRepository::Create
...
Objects that could not be loaded were being returned with a success status causing blanks in the index file.
2018-02-12 21:22:27 +00:00
Ted John
683ffcdadc
Merge pull request #7167 from IntelOrca/refactor/easy-new-object-types
...
Refactor things related to object types
2018-02-12 19:43:49 +00:00
Michał Janiszewski
991a8472bf
If forcing IPv4, retry immediately rather than wait 2 minutes
2018-02-12 20:39:47 +01:00
Michał Janiszewski
2e19e6cf0e
Use CURL_IPRESOLVE_V4 option only as fallback for advertising
2018-02-12 20:39:47 +01:00
Michał Janiszewski
759171186c
Make curl resolve over IPv4
2018-02-12 20:39:47 +01:00
Ted John
0433803ae1
Use std::vector for ObjectManager
2018-02-12 17:15:15 +00:00
Michał Janiszewski
c672e6098c
Fix testpaint
2018-02-12 16:03:20 +01:00
Michał Janiszewski
3f76bd214f
Const all the painted tile elements
...
Extracted from https://github.com/OpenRCT2/OpenRCT2/pull/7036
2018-02-12 16:03:20 +01:00
Ted John
7e01dcdaaf
Remove legacy object list
2018-02-12 12:48:41 +00:00
Ted John
51321a71e7
Get entries directly from object manager
2018-02-12 12:48:41 +00:00
Ted John
d22572d0b9
Remove rct_object_entry_extended
2018-02-12 12:48:41 +00:00
Ted John
4d8fe051e8
Remove most usages of object_entry_groups
2018-02-12 12:48:41 +00:00
Ted John
d905dde070
Simplify selected object flags
2018-02-12 12:48:41 +00:00
Michael Steenbeek
76a997aa18
Extract scenario descriptions from the STEX .DATs
...
This is another step in removing support for STEX .DATs.
2018-02-12 10:56:05 +01:00
Ted John
2da0f86b9b
Merge pull request #7163 from IntelOrca/fix/cold-startup
...
Fix cold startup
2018-02-11 22:50:19 +00:00
ZehMatt
4f011163d0
Fix #6667 : Match sample rate to games audio content.
2018-02-11 12:51:33 +01:00
Ted John
0f00659c8e
Do not show file index error if it doesn't exist
2018-02-11 10:39:15 +00:00
Ted John
3c29b15de9
Fix segfault if no RCT2 install path
2018-02-11 10:39:15 +00:00
Ted John
e996c83b70
Create config directory if it doesn't exist
2018-02-11 10:39:15 +00:00
Michał Janiszewski
a9afe3253c
Fix #7160 : Crash when trying to play the Dynamite Dunes scenario
...
The fix shouldn't modify guests that don't have any ride set.
This also fixes how peeps get removed and adds name of the offending
guest in the warning message.
2018-02-11 09:47:52 +01:00
OpenRCT2 git bot
f431ecd37c
Merge Localisation/master into OpenRCT2/develop.
2018-02-11 04:01:02 +00:00
Ted John
4dfed04cef
Merge pull request #7161 from janisozaur/deleters-s4importer
...
Fix mismatched deallocators in S4Importer.cpp
2018-02-10 22:48:54 +00:00
jensj12
06e52f2d6f
Fix #7137 : Water, gentle and transport rides can only have 1 vehicle... ( #7159 )
...
.../train
2018-02-10 19:22:28 +00:00
Michał Janiszewski
30cbd0128f
Fix mismatched deallocator in FileClassifier.cpp
2018-02-10 19:59:49 +01:00
Michał Janiszewski
86ca1581f7
Fix mismatched deallocators in S4Importer.cpp
2018-02-10 19:55:54 +01:00
wolfreak99
204fdaa66a
Correct STR_TILE_INSPECTOR_ENTRANCE_MAKE_USABLE_TIP
2018-02-10 15:22:49 +01:00
Michał Janiszewski
ab6ce6fd13
Don't try removing sprites past the end of list
2018-02-10 13:07:52 +01:00
Michał Janiszewski
73c861ab59
Improve selecting destination station when fixing imported sprites
2018-02-10 13:07:52 +01:00
Michał Janiszewski
61770b1dd7
Fix possibly invalid values of sprite fields on import
2018-02-10 13:07:52 +01:00
Michał Janiszewski
441b7ebe71
Don't try setting null ride type as invented
2018-02-10 13:07:52 +01:00
Michał Janiszewski
4732afa315
Add some bounds checks
2018-02-10 13:07:52 +01:00
Hielke Morsink
8e55c811f6
Check for server version instead of address ( #7155 )
2018-02-09 19:16:54 +00:00
Gymnasiast
f003366d22
Remove STEX selection from Object Selection window
2018-02-09 13:47:15 +01:00
Gymnasiast
3261753510
Ignore missing STEX entries
2018-02-09 13:47:15 +01:00
Gymnasiast
b1ab852fb7
Add object_entry_get_type()
2018-02-09 13:47:15 +01:00
Ted John
504e635933
Merge pull request #7150 from Broxzier/absolute-path
...
Make custom paths absolute and show full path in load/save window
2018-02-08 17:25:52 +00:00
Ted John
9f533d7265
Merge pull request #7143 from IntelOrca/refactor/server-list
...
Refactor server list
2018-02-08 17:25:37 +00:00
Michael Steenbeek
acc6136847
Do not pack Ride struct
2018-02-08 15:33:43 +01:00