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

26539 Commits

Author SHA1 Message Date
Aaron van Geffen
3d5c19de08 Drop Localisation.h include where not required 2024-07-13 13:33:32 +02:00
Aaron van Geffen
c08541efc7 Remove gCommonStringFormatBuffer, CommonTextBufferSize 2024-07-13 13:25:55 +02:00
Aaron van Geffen
a97820f297 Move kRideInspectionIntervalNames into Ride unit 2024-07-13 12:30:40 +02:00
Aaron van Geffen
c21a7b1178 Move PeepThoughts from localisation to their own unit in the peep folder 2024-07-13 11:41:47 +02:00
Aaron van Geffen
a33e06a9d0 Move kResearchFundingLevelNames to Research unit 2024-07-13 11:31:17 +02:00
Aaron van Geffen
8134ca069a Move kMarketingCampaignNames to Marketing unit 2024-07-12 23:56:22 +02:00
Aaron van Geffen
2a6061001b Move kObjectiveNames to Objective unit 2024-07-12 23:50:59 +02:00
Aaron van Geffen
1c26a6cb41 Move RealNames.cpp,h from localisation to peep folder 2024-07-12 23:39:59 +02:00
Aaron van Geffen
022d7756bd Move StringToMoney and MoneyToString to Currency unit 2024-07-12 23:33:26 +02:00
Aaron van Geffen
476efff9b9 Drop unused FormatReadableSize, FormatReadableSpeed 2024-07-12 23:24:49 +02:00
Aaron van Geffen
7f2a98cb54 Fix InteractiveConsole.h for MinGW 2024-07-12 23:24:33 +02:00
Aaron van Geffen
7be1cb630d Remove gDebugStringFormatting global 2024-07-12 23:11:38 +02:00
Aaron van Geffen
039d0ef1a7 Move CSChar and UnicodeChar namespaces to their own headers 2024-07-12 23:02:31 +02:00
Aaron van Geffen
c4eede9767 Move CS_SPRITE_FONT_OFFSET to Font.cpp, its only user 2024-07-12 22:32:12 +02:00
Aaron van Geffen
3fd91038c3 Rename Date.h to Localisation.Date.h to match unit file 2024-07-12 22:18:43 +02:00
Aaron van Geffen
229df6d66d Move CSStringConverter from localisation to rct12 folder (#22280) 2024-07-12 20:37:00 +00:00
Aaron van Geffen
e816e751c9 Merge pull request #22259 from AaronVanGeffen/rework-common
Rework common.h into local definitions
2024-07-12 21:27:17 +02:00
Aaron van Geffen
cee2eb1461 Move widget strings from localisation to Widget.h (#22279) 2024-07-12 18:47:56 +00:00
Aaron van Geffen
749a1d5ac3 Merge pull request #22277 from AaronVanGeffen/calling-conventions 2024-07-12 18:34:33 +02:00
Aaron van Geffen
51bcbe3710 Move UTF8 functions from localisation into core (#22278) 2024-07-12 19:21:15 +03:00
Aaron van Geffen
2e1fa5e644 Move a few more strings to UiStringIds.h (#22257)
* Replace more StringIds.h includes with StringIdType.h

* Move a few more strings to UiStringIds.h

* Tweak: TextComposition.cpp does not need InteractiveConsole.h
2024-07-12 14:59:00 +02:00
Aaron van Geffen
e3bb105a06 Move SSE41 and AVX2 detection into Platform namespace 2024-07-12 14:38:18 +02:00
Aaron van Geffen
6bea2e8190 Replace custom BitCount implementation with std::popcount (C++20) 2024-07-12 14:35:54 +02:00
Aaron van Geffen
0b011207dc Update CI to use hendrikmuhs/cache-action@v1.2.13 (#22258) 2024-07-11 02:14:05 +02:00
AuraSpecs
8968c7d3fe Update OpenMusic to version 1.6 (#22262) 2024-07-10 07:43:52 +00:00
Aaron van Geffen
4bfd3f3369 Initialise script engine off main thread (#22230)
* Initialise script engine off main thread

* Do not run ScriptEngine.Tick() during initialisation/preloading

* Add 'Loading plugin engine…' string

* Add changelog entry

---------

Co-authored-by: Bas <Basssiiie@users.noreply.github.com>
2024-07-09 20:19:01 +02:00
Aaron van Geffen
44e09149d9 Make isatty warning suppression local to StdInOutConsole.cpp 2024-07-09 17:08:42 +02:00
Aaron van Geffen
3b42bbb2f3 Include cstdint and cstddef as needed at unit level 2024-07-09 16:49:47 +02:00
Aaron van Geffen
b5ef2693b0 Remove common.h include from all units 2024-07-09 16:45:19 +02:00
Aaron van Geffen
8cef18cd2f Include cassert as needed at unit level 2024-07-09 16:43:03 +02:00
Aaron van Geffen
51873dc0f6 Include Diagnostic.h at unit level 2024-07-09 16:23:31 +02:00
Aaron van Geffen
bda7c0c0d4 Move datetime64 type declaration to new DateTime.h file 2024-07-09 16:09:49 +02:00
Aaron van Geffen
2f2aa06b66 Remove nameof macro 2024-07-09 16:05:29 +02:00
Aaron van Geffen
f9dcc21f05 Replace assert_struct_size macro with static_assert 2024-07-09 15:23:20 +02:00
Aaron van Geffen
db17fc6dad Remove pseudo-keyword 'abstract' 2024-07-09 15:17:07 +02:00
Aaron van Geffen
6072545c0c Move FASTCALL and RESTRICT into new CallingConventions.h file 2024-07-09 15:12:11 +02:00
Aaron van Geffen
7cc1cd09ea Move StringIdType.h include out of common.h 2024-07-09 15:05:19 +02:00
Aaron van Geffen
f3834ef2d6 Move colour_t definition to Colour.h 2024-07-09 14:51:11 +02:00
Aaron van Geffen
b87224aabc Remove M_PI undef; no longer conflicts with SHOP_ITEM_PIZZA 2024-07-09 14:30:12 +02:00
Aaron van Geffen
aad71af8ab Rework OPENRCT2_MASTER_SERVER_URL into kMasterServerURL 2024-07-09 14:29:13 +02:00
AuraSpecs
bc0f6c4489 Hide author info in the scenery window unless debug tools are active (#22251) 2024-07-08 22:21:38 +02:00
Fredrik Tegnell
940c348fa6 Display object author info in ride selection window (#20952)
Co-authored-by: Aaron van Geffen <aaron@aaronweb.net>
2024-07-08 20:17:05 +00:00
Aaron van Geffen
7f281a269d Add changelog entry for #20980 2024-07-08 17:04:50 +02:00
John
71cba8ac37 Add music track listing to ride music window (#20980)
Co-authored-by: Aaron van Geffen <aaron@aaronweb.net>
2024-07-08 17:03:54 +02:00
Arnold Zhou
376e749a70 Allow plugins to focus on textboxes in custom windows (#22213) 2024-07-08 14:49:15 +02:00
Arnold Zhou
aa11d8ddfe Expose ride satisfaction to plugin api (#22172) 2024-07-08 10:53:14 +02:00
Michał Janiszewski
1af27a62d9 Start v0.4.13 2024-07-07 18:20:25 +02:00
Michał Janiszewski
b7a6d65bcf Merge branch 'master' into develop 2024-07-07 18:19:38 +02:00
Michał Janiszewski
1b5ff882d3 Release v0.4.12
- Feature: [#622] Add option to align the top toolbar buttons horizontally centred (off by default).
- Feature: [#20263] Ability to increase the size of the map in the (0, 0) direction.
- Feature: [#21714] [Plugin] Costume assignment is now tailored to each staff type.
- Feature: [#21853] Enlarged UI mode.
- Feature: [#21893, #22065] On launch, the game now indicates what system is being initialised.
- Feature: [#21913] [Plugin] Allow precise and safe control of peep animations.
- Feature: [#22046] [Plugin] Add interface for crashed vehicle particle.
- Feature: [#22085] [Plugin] The result of actions that create banners now includes the bannerIndex.
- Feature: [#22087] [Plugin] Expose guests’ favourite rides to the plugin API.
- Feature: [#22090] [Plugin] Allow writing of paused state in non-networked settings.
- Feature: [#22140] Add option to automatically close dropdown menus if Enlarged UI is enabled.
- Feature: [#22150] [Plugin] Expose monthly expenditure history to the plugin API.
- Feature: [#22210] [Plugin] Peeps can now be made stationary or completely frozen.
- Feature: [#22210] [Plugin] The direction in which a peep is facing can now be manipulated.
- Improved: [#19870] Allow using new colours in UI themes.
- Improved: [#21774] The Alpine Coaster now supports using the alternative colour schemes.
- Improved: [#21853] Dropdowns now automatically use multiple columns if they are too tall for the screen.
- Improved: [#21981] Rendering performance of the map window has been improved considerably.
- Improved: [#21981] The map window now defaults to showing as much of the map as fits the screen.
- Improved: [#21983] Taking a screenshot now shows a message again, closing when taking another.
- Improved: [#22026] The options window now stays centred when window scaling is changed.
- Improved: [#22060] [Plugin] The scroll wheel can now be used to modify spinner widget values in custom/script windows.
- Improved: [#22065] Joining a network game now indicates progress using coaster trains.
- Improved: [#22075] [Plugin] Plugins can now use G1 Icons.
- Improved: [#22084] The game now temporarily pauses while the load/save window is open.
- Improved: [#22217] See-through items are ignored again in viewport/pointer interaction.
- Improved: [objects#238] Add preview image for invisible queue.
- Improved: [objects#329] Add RCT1AA lay-down coaster trains (for import only).
- Change: [#7248] Small mini-maps are now centred in the map window.
- Change: [#20240] Heavy snow and blizzards now make guests buy and use umbrellas.
- Change: [#21043] The new music styles are no longer added to old parks automatically.
- Change: [#21214] Wacky Worlds and Time Twister’s scenario names now match their park names.
- Change: [#21991] UI themes JSON now use colour names and a translucency bool, instead of a number (old themes still work).
- Change: [#22057] Reorder Time Twister’s scenarios and adjust their difficulty classification.
- Change: [#22173] Patrol path selection is visible over existing patrol paths.
- Change: [#22196] Make track navigation buttons holdable.
- Change: [#22227] [Plugin] Ride prices are now constrained for plugins as well.
- Fix: [#13234] Vehicle weight sometimes wrong after using Remove All Guests cheat.
- Fix: [#13294] Map corners are cut off in some directions (original bug).
- Fix: [#14630] Non-ASCII thousands and decimal separators not processed correctly.
- Fix: [#21496] Some RCT1 scenery is hidden after saving and reloading.
- Fix: [#21533] Support glitches on Hybrid Coaster.
- Fix: [#21974] No reason specified when attempting to place benches, lamps, or bins on path with no unconnected edges (original bug).
- Fix: [#21987] [Plugin] API cannot handle negative removal prices.
- Fix: [#22008] Uninverted Lay-down roller coaster uses the wrong support type.
- Fix: [#22012] [Plugin] Images on ImgButton widgets cannot be updated.
- Fix: [#22121] Some news items in the “Recent Messages” window have the wrong text colour.
- Fix: [#22152] [Plugin] Negative signed integers are truncated.
- Fix: [#22161] Using arrow keys in textboxes crashes the game.
- Fix: [#22174] Cheats are reset when starting a server.
- Fix: [#22185] Intensity and nausea are incorrectly sorted in the rides list after ratings invalidation.
- Fix: [#22226] Red traffic light shows incorrect sprite when pressed.
- Fix: [objects#323] Incorrect wall boundaries on large WW/TT scenery objects.
- Fix: [objects#331] Incorrect hover car capacity string.
- Fix: [objects#334] Incorrect school bus capacity string.
- Fix: [objects#337] Swan Boats use an incorrect third remap colour (original bug).
v0.4.12
2024-07-07 17:32:49 +02:00
Michał Janiszewski
860c52765d Merge branch 'develop' 2024-07-07 17:27:34 +02:00