1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 03:23:15 +01:00
Commit Graph

18967 Commits

Author SHA1 Message Date
hdpoliveira
efa92a28fa Merge NEWS_ITEM_HISTORY_START variable 2020-05-30 13:56:12 -03:00
hdpoliveira
ecdd35e334 Use MAX_RECENT_NEWS_ITEMS where feasible 2020-05-30 13:56:12 -03:00
hdpoliveira
a88f02fdb2 Create operator[] in NewsItemQueue 2020-05-30 13:56:11 -03:00
hdpoliveira
d64b3bb152 Format NewsItem.h 2020-05-30 13:56:11 -03:00
hdpoliveira
c9574c1070 Create class NewsItemQueue 2020-05-30 13:56:11 -03:00
hdpoliveira
f7ec58d53f Use for-range and std::find_if 2020-05-30 13:56:11 -03:00
hdpoliveira
c40dd3d3d0 Access news queues directly or with iterators 2020-05-30 13:56:10 -03:00
hdpoliveira
f4778a8c01 Split gNewsItems into two 2020-05-30 13:56:10 -03:00
hdpoliveira
230162534b Create constants for sizes of NewsItem queues 2020-05-30 13:56:10 -03:00
hdpoliveira
a4d010415b Encapsulate gNewsItems 2020-05-30 13:56:10 -03:00
Ted John
8f77125cdb Fix #11298: Unable to advertise server (500): Retry with ipv4 only (#11824)
Add new config option to allow any address to be advertised. This then
doesn't rely on the master server retrieving the server IP address via
the HTTP request which can often be IPv6 by default.
2020-05-30 18:21:22 +02:00
Tulio Leao
7b8257c692 Fix #11816: Text overflowing boundary box (#11830) 2020-05-30 17:07:58 +02:00
Michael Steenbeek
da54f19a34 Fix compilation on Docker CI (#11826) 2020-05-30 15:23:48 +02:00
Michael Steenbeek
2bd92527fd Merge pull request #11818 from IntelOrca/refactor/palettes
Create new PaletteMap type to replace byte pointers
2020-05-29 23:09:32 +02:00
Michael Steenbeek
c3921d9d4c Merge pull request #11712 from IntelOrca/plugin/ride-fields
[Plugin] Add more ride fields to API
2020-05-29 21:10:51 +02:00
OpenRCT2 git bot
28941c6559 Merge Localisation/master into OpenRCT2/develop. 2020-05-29 04:02:33 +00:00
Ted John
626178a70e Add constants for palette indexes 2020-05-28 22:37:50 +01:00
Ted John
28e4b6ba07 Add blend helper and strict param checking 2020-05-28 21:44:24 +01:00
Michael Steenbeek
6808b8b734 Fix JSON object walls with only remap colours 2 and 3 (#11821)
This fixes the hack, allowing JSON files laid out in the described manner to actually work properly.
The objects themselves will also need to be updated, but that can be done separately.
2020-05-28 22:03:50 +02:00
Ted John
d3f7ec4844 Create new PaletteMap type to replace byte pointers 2020-05-28 20:00:23 +01:00
Duncan
97e985521e Merge pull request #11819 from IntelOrca/refactor/game-palette
Refactor rct_palette to GamePalette
2020-05-28 11:41:04 +01:00
Michael Steenbeek
b7606d52fa Merge pull request #11820 from Gymnasiast/remove/twitch-2
Remove (almost) non-functional Twitch integration
2020-05-28 10:27:39 +02:00
Gymnasiast
0f76ae8005 Add Twitch removal to changelog 2020-05-28 09:30:32 +02:00
Gymnasiast
60d54a6c9b Remove Twitch icon from g2.dat 2020-05-28 09:28:32 +02:00
Gymnasiast
9a9ab47856 Remove Twitch from the rest of the code 2020-05-28 09:28:32 +02:00
Gymnasiast
aaece7a435 Remove Twitch from Options window 2020-05-28 09:28:32 +02:00
Ted John
46bb30f8a1 Refactor rct_palette to GamePalette 2020-05-27 20:52:51 +01:00
Michael Steenbeek
10209690c2 Fix documentation of sprite exportalldat command (#11799) 2020-05-23 18:32:41 +02:00
Ted John
82371fb003 Fix #11796: Unable to use sharedStorage (#11798)
isUserConfig must only be true for configuration not sharedStorage
2020-05-23 18:22:09 +02:00
Michael Steenbeek
3859689595 Merge pull request #11797 from Gymnasiast/feature/extract-from-dat
Create command to export images from .DAT file
2020-05-23 17:47:09 +02:00
Ted John
a683f2250f Register missing ride classification 2020-05-23 15:28:03 +01:00
Ted John
da8f21fb70 Add ride age and improve documentation 2020-05-23 15:28:03 +01:00
Ted John
f4fb456c50 Add ride value to ScRide 2020-05-23 15:28:03 +01:00
Ted John
a0f76ddc1b Add running cost and inspection 2020-05-23 15:28:03 +01:00
Ted John
bfa96d6205 Fix price in ScRide 2020-05-23 15:28:03 +01:00
Ted John
f6fbd272ec Add built_date to ScRide and add GetAge() 2020-05-23 15:28:03 +01:00
Ted John
819208f3cb Add more ride fields to plugin API 2020-05-23 15:28:03 +01:00
Gymnasiast
d5e60e0e71 Create command to export images from .DAT file 2020-05-23 15:30:50 +02:00
Gymnasiast
08b0268b0f Clean up CmdlineSprite.cpp 2020-05-23 13:02:08 +02:00
tylerleamon
51872f9741 Fix #10634: Guests are unable to use uphill paths out of toilets
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
2020-05-22 19:58:38 +02:00
Michael Steenbeek
51ebcac432 Add #11386 to changelog 2020-05-22 10:40:43 +02:00
Michael Steenbeek
ffea52f24a Merge pull request #11386 from janisozaur/fix-strlogicalcmp
Fix strlogicalcmp
2020-05-22 10:39:31 +02:00
Michael Steenbeek
7e7b15812d Merge pull request #11747 from IntelOrca/plugin/small-additions
[Plugin] Add language and split peep into guest and staff
2020-05-20 10:24:24 +02:00
Michał Janiszewski
7f8a65c095 Make strlogicalcmp case insensitive 2020-05-20 08:35:41 +02:00
Michał Janiszewski
16d8c64cea Improve strlogicalcmp for strings of unequal lengths
This version actually works and doesn't overrun provided buffers
2020-05-20 08:33:25 +02:00
Sohil Adwani
d2565af867 Part of #11562: gfx_draw_string_left_wrapped() overload (#11784) 2020-05-19 21:57:11 -03:00
Michael Steenbeek
6ddd1b6563 Merge pull request #11781 from Gymnasiast/cleanup/import-palette
Merge cmdline and JSON object palette
2020-05-19 21:50:16 +02:00
Gymnasiast
de69bbd661 Guard against illegal access 2020-05-19 21:25:27 +02:00
Gymnasiast
4b25345d8d Create GamePalette struct 2020-05-19 21:09:51 +02:00
TomasZilinek
7da9c7b234 Fix #11566 - draw_string_right_underline() overload (#11780)
created the overload, changed all calls from the old function to the new one and deleted the old function
2020-05-19 16:02:39 -03:00