1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-30 02:05:13 +01:00
Commit Graph

766 Commits

Author SHA1 Message Date
matheusvb3
7a21f5694d Include stdexcept in LocalisationService.cpp (#23798) 2025-02-10 20:20:06 +00:00
Aaron van Geffen
2302f0d2e3 Rework Localisation includes (#23789)
* Clean up internal localisation header includes

* Remove some external localisation includes

* Remove dependency on FormatCodes.h from InteractiveConsole.h

* Reduce Formatter.h, Localisation.Date.h includes
2025-02-07 22:36:42 +01:00
Michael Steenbeek
be9f27e4f9 Mass rename constants (#23656) 2025-01-19 15:59:45 +00:00
X123M3-256
29503e6606 Allow cable lift to start after block brake 2025-01-17 19:38:15 +01:00
X123M3-256
864d9b2d73 Add large diagonal flat to steep and dive loop track pieces 2025-01-15 13:25:29 +01:00
Aaron van Geffen
5ba6b97d89 Rework InteractiveConsole to use localised object type strings (#23586) 2025-01-09 21:44:41 +00:00
Aaron van Geffen
7efe73f6ac Add checks to ensure an animation object is selected for each peep type 2024-12-07 13:40:30 +01:00
Aaron van Geffen
cfdfd1a234 List available staff costumes dynamically 2024-12-05 17:39:10 +01:00
Aaron van Geffen
fa06a49302 Update copyright year to 2025 (#23514) 2024-12-31 20:30:04 +01:00
Aaron van Geffen
6ee798337a Introduce EnumUtils header (#23407) 2024-12-15 17:39:52 +01:00
Aaron van Geffen
35e117aca2 Rename String methods to use lowerCamelCase 2024-12-11 22:49:37 +01:00
Aaron van Geffen
5442b20a7a Move StrLogicalCmp, SafeStrCpy, SafeStrCat to String.hpp 2024-12-11 20:42:43 +01:00
Michael Steenbeek
5397c816e2 Add Galician 2024-11-11 21:23:06 +01:00
Aaron van Geffen
8aeb1d2b98 Remove broken support for object string overrides as well 2024-10-30 22:58:47 +01:00
Aaron van Geffen
9257a9d62d Remove support for scenario overrides from language files 2024-10-30 22:58:47 +01:00
Gymnasiast
749b331187 Replace C string in scenario name handling 2024-10-30 18:04:45 +01:00
Aaron van Geffen
ece199176e Move UnitConversion from Util into its own compilation unit 2024-10-29 11:27:00 +01:00
Aaron van Geffen
80b63a5ae7 Add line breaks after template declarations (#23086)
* Add line breaks after template declarations

* Additional clang-format patches
2024-10-29 16:54:01 +01:00
Michael Steenbeek
8063c5caa7 Reduce casting for objects 2024-10-16 14:12:25 +02:00
AT41
6e7b489304 Added additional stats to Plugin interface
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2024-10-03 11:23:50 +00:00
Aaron van Geffen
9231870f6d Fix typo in constant STR_ERROR_HEIGHT_MAP_TOO_BIG 2024-09-23 15:07:15 +02:00
Aaron van Geffen
931f0705ce Introduce PeepNamesObjects for 'real' names of peeps (#22758)
* Add initial PeepNamesObject implementation

* Add peep names object to default objects

* Append peep names object to object list for older saves

* Deduplicate AppendRequiredObjects functions

* Remove built-in 'real name' tables

* Increment park version; introduce kPeepNamesObjectsVersion

* Update objects dependency to v1.4.8
2024-09-29 15:05:55 +02:00
Arnold Zhou
c161a3911a Fix #22072: Localisation: Separate objective date string from staff tenure date string (#22074)
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2024-09-28 15:13:48 +00:00
jason-mills
09b66e9075 Part of #21421: Update FontFamilies.h, audio.h with new constant notation (#22838)
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2024-09-28 07:01:10 -03:00
mrmbernardi
10699a204c Workaround warning produced in gcc 14.2.1 20240910 (#22823) 2024-09-25 18:15:53 +10:00
Aaron van Geffen
cf516db6dc Split StringTypes.h off from String.hpp; adjust header includes 2024-09-10 23:55:53 +02:00
Harry Hopkinson
7a403e0537 Add cheat to make guests ignore prices 2024-08-11 11:27:32 +00:00
Michael Steenbeek
f0c73cb9ef Specify track style icon and tooltip in RTD 2024-08-11 10:42:11 +00:00
Aaron van Geffen
05e56517ab Adopt existing namespaces into OpenRCT2 namespace (#22368)
* Put all of TitleSequenceManager into the same namespace

* Move RideConstructionState into the OpenRCT2 namespace

* Adopt existing namespaces into OpenRCT2 namespace

This adds `using namespace OpenRCT2` to compilation units where appropriate,
as a means to get the codebase to compile until these units have been placed
in a namespace of their own.
2024-07-26 09:59:58 +02:00
Duncan
06bb987979 Add missing string includes (#22378) 2024-07-25 10:56:32 +02:00
Aaron van Geffen
5f0c3d2ffd Add progress bars to loading saved games and scenarios 2024-07-14 22:18:31 +02:00
Aaron van Geffen
896eb4f488 Consolidate FormatStringIDLegacy, FormatStringToUpper into Formatting 2024-07-13 14:09:58 +02:00
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
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
51bcbe3710 Move UTF8 functions from localisation into core (#22278) 2024-07-12 19:21:15 +03:00