1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 13:03:11 +01:00
Commit Graph

11208 Commits

Author SHA1 Message Date
Aaron van Geffen
8c3766288b Address clang 6.0 compilation errors. 2018-05-13 23:22:40 +02:00
Ted John
4e86d18dad Support loading images from zip 2018-05-13 12:04:45 +01:00
Ted John
0f0bb021d6 Add support for raw images 2018-05-13 11:36:35 +01:00
Ted John
73a4d1400d Read images with offsets 2018-05-13 11:36:35 +01:00
Ted John
580f1baff2 Get basic relative .png loading 2018-05-13 11:36:35 +01:00
Ted John
9aef466b9b Fix bugs with zip and object manager changes 2018-05-13 11:36:35 +01:00
Ted John
23efe7f339 Load JSON from file or zip 2018-05-13 11:36:35 +01:00
Ted John
3278fd55dc Merge pull request #7502 from IntelOrca/refactor/imaging
Refactor imaging and import
2018-05-13 11:28:13 +01:00
Ted John
3f71be51cc Fix CreateS4, return new instance not nullptr 2018-05-13 01:30:02 +01:00
Aaron van Geffen
15c13137df Add missing include. 2018-05-13 01:11:56 +01:00
Ted John
f212894eb0 Fix clang builds 2018-05-13 01:11:56 +01:00
Ted John
428dd05dcf Refactor ImageImporter 2018-05-13 01:11:56 +01:00
Ted John
bffbf5857d Refactor image importer out into new class 2018-05-13 01:11:56 +01:00
Ted John
f0348dafb7 Fix MSVC warning 2018-05-13 01:11:56 +01:00
Ted John
7eb1703f36 Remove old bitmap code via UiContext 2018-05-13 01:11:56 +01:00
Ted John
229c50dff9 Add bitmap reading support 2018-05-13 01:11:56 +01:00
Ted John
ac3233b819 Change consumers to use new imaging API 2018-05-13 01:11:56 +01:00
Ted John
766997f15c Develop new imaging code 2018-05-13 01:11:56 +01:00
Ted John
4552f6a405 Move Imaging to core 2018-05-13 01:11:56 +01:00
Ted John
4fa45abec9 Remove old C signatures in Imaging.h 2018-05-13 01:11:56 +01:00
Ted John
d7e93cec27 Prevent use of Context during ~Context 2018-05-13 00:43:56 +01:00
Ted John
529c744276 Use unique_ptr and shared_ptr for services in Context 2018-05-13 00:43:50 +01:00
Michał Janiszewski
a4750a635d Update DiscordService for discord-rpc 3.3.0 2018-05-12 22:08:25 +02:00
Ted John
9e72e51bab Use std::unique_ptr for discord service 2018-05-11 20:39:00 +01:00
Ted John
768a6db5eb Add todo for localisation service calls 2018-05-11 20:39:00 +01:00
Ted John
8eacc3582c Remove PlainContext 2018-05-11 20:39:00 +01:00
Ted John
302fe00805 Always pass shared_ptr by reference 2018-05-11 20:39:00 +01:00
Ted John
d1cbf998a0 Do not return shared_ptr for LocalisationService
GetLocalisationService is currently used a lot, so remove overhead of shared_ptr copy.
2018-05-11 20:39:00 +01:00
Ted John
7075f6ca25 Use correct language for scan-objects 2018-05-11 20:39:00 +01:00
Ted John
35df72e61f Remove use of gCurrentLanguage 2018-05-11 20:39:00 +01:00
Ted John
7b28078da2 Remove use of gUseTrueTypeFont 2018-05-11 20:37:48 +01:00
Ted John
8681b4fac9 [wip] Create new localisation service 2018-05-11 20:37:48 +01:00
Ted John
466c465d44 Use unique_ptr and shared_ptr for IDrawingEngine 2018-05-11 20:37:48 +01:00
Ted John
7b610fd3c0 Use shared_ptr more for UiContext in relation to DrawingEngine 2018-05-11 20:37:48 +01:00
Ted John
7dc170ef85 Use shared_ptr for long-life objects
Use unique_ptr and shared_ptr for IContext, IPlatformEnvironment, IUiContext, and IAudioContext.
2018-05-11 20:37:48 +01:00
Aaron van Geffen
afd1dee580 Leftover cleanup of unnecessarily setting widget types. 2018-05-11 19:39:51 +02:00
Aaron van Geffen
56b9f5ff16 Removed unused string from audio options. 2018-05-11 19:39:47 +02:00
Aaron van Geffen
5ecb2d951e Draw misc options' dropdown captions directly through widgets. 2018-05-11 19:39:47 +02:00
Aaron van Geffen
fe044477c2 Draw interface options' dropdown captions directly through widgets. 2018-05-11 19:39:47 +02:00
Aaron van Geffen
bf817d2312 Draw culture options' dropdown captions directly through widgets. 2018-05-11 19:39:47 +02:00
Aaron van Geffen
13f3fb3448 Draw audio options' dropdown captions directly through widgets. 2018-05-11 19:39:47 +02:00
Aaron van Geffen
adf3e55d9b Draw display options' dropdown captions directly through widgets. 2018-05-11 19:39:47 +02:00
Tomas Dittmann
cb162edcfe Fix #7331: Invention list crashes upon removing previously-enabled ride/stall entries 2018-05-11 13:28:56 +02:00
Michael Steenbeek
83b76b37b0 Bump network version, update changelog 2018-05-11 11:18:52 +02:00
rwjuk
9a167bb9d3 Disable saving without scenery for flat rides 2018-05-10 20:54:53 +02:00
Richard Jenkins
41f0b181bf Display flat rides correctly in previews 2018-05-10 20:54:53 +02:00
rwjuk
066980a9d4 Initial implementation of track saving for flat rides 2018-05-10 20:54:53 +02:00
Michał Janiszewski
d15d5c6d6c Merge pull request #7501 from OpenRCT2/android-fix-zip
Fix Android Zip changes
2018-05-10 09:43:41 +02:00
Michael Steenbeek
83b4bcb068 Prepare tunnel door support 2018-05-10 09:39:33 +02:00
Michał Janiszewski
d965553cae Fix Android Zip changes 2018-05-09 15:59:05 +02:00