Home
last modified time | relevance | path

Searched refs:rct_string_id (Results 1 – 25 of 190) sorted by relevance

12345678

/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/localisation/
H A DLocalisation.h21 std::string format_string(rct_string_id format, const void* args);
22 void format_string(char* dest, size_t size, rct_string_id format, const void* args);
44 bool is_user_string_id(rct_string_id stringId);
61 extern const rct_string_id SpeedNames[5];
62 extern const rct_string_id ObjectiveNames[12];
63 extern const rct_string_id ResearchFundingLevelNames[4];
65 extern const rct_string_id RideInspectionIntervalNames[];
66 extern const rct_string_id PeepThoughts[174];
67 extern const rct_string_id DateDayNames[31];
68 extern const rct_string_id DateGameMonthNames[MONTH_COUNT];
[all …]
H A DLocalisationService.h38 std::stack<rct_string_id> _availableObjectStringIds;
57 const char* GetString(rct_string_id id) const;
58 std::tuple<rct_string_id, rct_string_id, rct_string_id> GetLocalisedScenarioStrings(
60rct_string_id GetObjectOverrideStringId(std::string_view legacyIdentifier, uint8_t index) const;
65 rct_string_id AllocateObjectString(const std::string& target);
66 void FreeObjectString(rct_string_id stringId);
H A DLocalisationService.cpp26 static constexpr rct_string_id NONSTEX_BASE_STRING_ID = 3463;
32 …for (rct_string_id stringId = NONSTEX_BASE_STRING_ID + MAX_OBJECT_CACHED_STRINGS; stringId >= NONS… in LocalisationService()
44 const char* LocalisationService::GetString(rct_string_id id) const in GetString()
112 std::tuple<rct_string_id, rct_string_id, rct_string_id> LocalisationService::GetLocalisedScenarioSt… in GetLocalisedScenarioStrings()
121 rct_string_id LocalisationService::GetObjectOverrideStringId(std::string_view legacyIdentifier, uin… in GetObjectOverrideStringId()
130 rct_string_id LocalisationService::AllocateObjectString(const std::string& target) in AllocateObjectString()
138 void LocalisationService::FreeObjectString(rct_string_id stringId) in FreeObjectString()
H A DLanguagePack.h25 virtual void RemoveString(rct_string_id stringId) abstract;
26 virtual void SetString(rct_string_id stringId, const std::string& str) abstract;
27 virtual const utf8* GetString(rct_string_id stringId) const abstract;
28 …virtual rct_string_id GetObjectOverrideStringId(std::string_view legacyIdentifier, uint8_t index) …
29 …virtual rct_string_id GetScenarioOverrideStringId(const utf8* scenarioFilename, uint8_t index) abs…
H A DLocalisation.cpp48 const rct_string_id SpeedNames[] = {
56 const rct_string_id ObjectiveNames[] = {
71 const rct_string_id ResearchFundingLevelNames[] = {
78 const rct_string_id MarketingCampaignNames[ADVERTISING_CAMPAIGN_COUNT][3] = {
87 const rct_string_id RideInspectionIntervalNames[] = {
97 const rct_string_id PeepThoughts[] = {
274 const rct_string_id DateDayNames[] = {
308 const rct_string_id DateGameMonthNames[MONTH_COUNT] = {
319 const rct_string_id DateGameShortMonthNames[MONTH_COUNT] = {
331 std::string format_string(rct_string_id format, const void* args) in format_string()
[all …]
H A DLanguage.cpp69 const char* language_get_string(rct_string_id id) in language_get_string()
93 bool language_get_localised_scenario_strings(const utf8* scenarioFilename, rct_string_id* outString… in language_get_localised_scenario_strings()
103 void language_free_object_string(rct_string_id stringId) in language_free_object_string()
109 rct_string_id language_allocate_object_string(const std::string& target) in language_allocate_object_string()
H A DFormatting.h203 bool IsRealNameStringId(rct_string_id id);
204 void FormatRealName(FormatBuffer& ss, rct_string_id id);
205 FmtString GetFmtStringById(rct_string_id id);
240 auto stringId = static_cast<rct_string_id>(arg0); in FormatString()
287 …template<typename... TArgs> static void FormatStringId(FormatBuffer& ss, rct_string_id id, TArgs&&… in FormatStringId()
293 template<typename... TArgs> std::string FormatStringId(rct_string_id id, TArgs&&... argN) in FormatStringId()
299 …template<typename... TArgs> size_t FormatStringId(char* buffer, size_t bufferLen, rct_string_id id… in FormatStringId()
308 size_t FormatStringLegacy(char* buffer, size_t bufferLen, rct_string_id id, const void* args);
H A DLanguage.h95 const char* language_get_string(rct_string_id id);
106 bool language_get_localised_scenario_strings(const utf8* scenarioFilename, rct_string_id* outString…
107 void language_free_object_string(rct_string_id stringId);
108 rct_string_id language_allocate_object_string(const std::string& target);
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2-ui/interface/
H A DViewportInteraction.cpp129 ft.Add<rct_string_id>(STR_STRING); in ViewportInteractionGetItemLeft()
315 rct_string_id stringId; in ViewportInteractionGetItemRight()
338 ft.Add<rct_string_id>(stringId); in ViewportInteractionGetItemRight()
342 rct_string_id stringId; in ViewportInteractionGetItemRight()
351 ft.Add<rct_string_id>(stringId); in ViewportInteractionGetItemRight()
396 ft.Add<rct_string_id>(wallEntry->name); in ViewportInteractionGetItemRight()
433 ft.Add<rct_string_id>(bannerEntry->name); in ViewportInteractionGetItemRight()
459 ft.Add<rct_string_id>(sceneryEntry->name); in ViewportInteractionGetItemRight()
478 ft.Add<rct_string_id>(STR_BROKEN); in ViewportInteractionGetItemRight()
500 ft.Add<rct_string_id>(wallEntry->name); in ViewportInteractionGetItemRight()
[all …]
H A DDropdown.h18 constexpr const rct_string_id SeparatorString = 0;
19 constexpr const rct_string_id FormatColourPicker = 0xFFFE;
20 constexpr const rct_string_id FormatLandPicker = 0xFFFF;
36 extern rct_string_id gDropdownItemsFormat[Dropdown::ItemsMaxSize];
61 constexpr Item(int32_t _expectedItemIndex, uint32_t _itemFormat, rct_string_id _stringId) in Item()
70 rct_string_id stringId;
73 constexpr Item ToggleOption(int32_t _expectedItemIndex, rct_string_id _stringId) in ToggleOption()
H A DWindow.h30 …rct_widgetindex callWidget, rct_string_id title, rct_string_id description, const Formatter& descr…
31 rct_string_id existingText, uintptr_t existingArgs, int32_t maxLength);
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2-ui/windows/
H A DResearch.cpp171 static constexpr const rct_string_id ResearchStageNames[] = {
299 ft.Add<rct_string_id>(STR_RESEARCH_UNKNOWN); in window_research_development_page_paint()
305 ft.Add<rct_string_id>(STR_RESEARCH_COMPLETED_AL); in window_research_development_page_paint()
311 ft.Add<rct_string_id>(STR_RESEARCH_STAGE_UNKNOWN); in window_research_development_page_paint()
318 rct_string_id label = STR_RESEARCH_TYPE_LABEL; in window_research_development_page_paint()
321 ft.Add<rct_string_id>(STR_RESEARCH_UNKNOWN); in window_research_development_page_paint()
336 ft.Add<rct_string_id>(rtd.Naming.Name); in window_research_development_page_paint()
341 ft.Add<rct_string_id>(rtd.Naming.Name); in window_research_development_page_paint()
379 rct_string_id lastDevelopmentFormat = STR_EMPTY; in window_research_development_page_paint()
396 ft.Add<rct_string_id>(rtd.Naming.Name); in window_research_development_page_paint()
[all …]
H A DScenarioSelect.cpp49 rct_string_id string_id;
505 ft.Add<rct_string_id>(STR_STRING); in window_scenarioselect_paint()
513 ft.Add<rct_string_id>(STR_STRING); in window_scenarioselect_paint()
522 rct_string_id rideTypeString = STR_NONE; in window_scenarioselect_paint()
528 ft.Add<rct_string_id>(rideTypeString); in window_scenarioselect_paint()
551 ft.Add<rct_string_id>(STR_STRING); in window_scenarioselect_paint()
608 rct_string_id format = isDisabled ? static_cast<rct_string_id>(STR_STRINGID) in window_scenarioselect_scrollpaint()
611 ft.Add<rct_string_id>(STR_STRING); in window_scenarioselect_scrollpaint()
635 ft.Add<rct_string_id>(STR_COMPLETED_BY); in window_scenarioselect_scrollpaint()
636 ft.Add<rct_string_id>(STR_STRING); in window_scenarioselect_scrollpaint()
[all …]
H A DEditorInventionsList.cpp31 static constexpr const rct_string_id WINDOW_TITLE = STR_INVENTION_LIST;
640 ft.Add<rct_string_id>(rideTypeName); in window_editor_inventions_list_scrollpaint()
647 ft.Add<rct_string_id>(itemNameId); in window_editor_inventions_list_scrollpaint()
656 ft.Add<rct_string_id>(itemNameId); in window_editor_inventions_list_scrollpaint()
673 rct_string_id stringId = researchItem->GetName(); in window_editor_inventions_list_drag_open()
681 rct_string_id args[] = { in window_editor_inventions_list_drag_open()
766 rct_string_id drawString; in window_editor_inventions_list_prepare_name()
767 rct_string_id stringId = researchItem->GetName(); in window_editor_inventions_list_prepare_name()
775 ft.Add<rct_string_id>(rideTypeName); in window_editor_inventions_list_prepare_name()
776 ft.Add<rct_string_id>(stringId); in window_editor_inventions_list_prepare_name()
[all …]
H A DWindow.h107 rct_window* window_error_open(rct_string_id title, rct_string_id message, const class Formatter& fo…
156 rct_window* call_w, rct_widgetindex call_widget, rct_string_id title, rct_string_id description,
157 …const Formatter& descriptionArgs, rct_string_id existing_text, uintptr_t existing_args, int32_t ma…
159 rct_window* call_w, rct_widgetindex call_widget, rct_string_id title, rct_string_id description,
H A DMapTooltip.cpp79 rct_string_id stringId; in window_map_tooltip_update_visibility()
80 std::memcpy(&stringId, _mapTooltipArgs.Data(), sizeof(rct_string_id)); in window_map_tooltip_update_visibility()
140 rct_string_id stringId; in window_map_tooltip_paint()
141 std::memcpy(&stringId, _mapTooltipArgs.Data(), sizeof(rct_string_id)); in window_map_tooltip_paint()
H A DTextInput.cpp46 rct_string_id _titleStringId = STR_NONE;
49 rct_string_id _descriptionStringId = STR_NONE;
93 void SetTitle(rct_string_id title, rct_string_id description, const Formatter& decriptionArgs) in SetTitle()
375 rct_window* call_w, rct_widgetindex call_widget, rct_string_id title, rct_string_id description, in window_text_input_raw_open()
405 rct_window* call_w, rct_widgetindex call_widget, rct_string_id title, rct_string_id description, in window_text_input_open()
406 …const Formatter& descriptionArgs, rct_string_id existing_text, uintptr_t existing_args, int32_t ma… in window_text_input_open()
H A DShortcutKeys.cpp21 static constexpr const rct_string_id WINDOW_TITLE = STR_SHORTCUTS_TITLE;
49 static constexpr const rct_string_id CHANGE_WINDOW_TITLE = STR_SHORTCUT_CHANGE_TITLE;
70 rct_string_id _shortcutLocalisedName{};
130 ft.Add<rct_string_id>(_shortcutLocalisedName); in OnDraw()
134 ft.Add<rct_string_id>(STR_STRING); in OnDraw()
162 rct_string_id StringId = STR_NONE;
517 ft.Add<rct_string_id>(STR_SHORTCUT_ENTRY_FORMAT); in DrawItem()
520 ft.Add<rct_string_id>(shortcut.StringId); in DrawItem()
524 ft.Add<rct_string_id>(STR_STRING); in DrawItem()
532 ft.Add<rct_string_id>(STR_STRING); in DrawItem()
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/ride/
H A DShopItem.h82 rct_string_id PriceLabel; // Balloon price:
83 rct_string_id Singular; // Balloon
84 rct_string_id Plural; // Balloons
85 rct_string_id Indefinite; // a Balloon
86 rct_string_id Display; // "Diamond Heights" Balloon
H A DRideData.h38 rct_string_id singular;
39 rct_string_id plural;
40 rct_string_id capitalised;
41 rct_string_id capitalised_plural;
42 rct_string_id count;
43 rct_string_id count_plural;
44 rct_string_id number;
332 extern const rct_string_id RideModeNames[static_cast<uint8_t>(RideMode::Count)];
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/world/
H A DConstructionClearance.cpp308rct_string_id stringId = sceneryEntry != nullptr ? sceneryEntry->name : static_cast<rct_string_id>… in map_obstruction_set_error_text()
309 ft.Add<rct_string_id>(stringId); in map_obstruction_set_error_text()
331rct_string_id stringId = wallEntry != nullptr ? wallEntry->name : static_cast<rct_string_id>(STR_E… in map_obstruction_set_error_text()
332 ft.Add<rct_string_id>(stringId); in map_obstruction_set_error_text()
340rct_string_id stringId = sceneryEntry != nullptr ? sceneryEntry->name : static_cast<rct_string_id>… in map_obstruction_set_error_text()
341 ft.Add<rct_string_id>(stringId); in map_obstruction_set_error_text()
H A DMoneyEffect.cpp141 std::pair<rct_string_id, money64> MoneyEffect::GetStringId() const in GetStringId()
143 rct_string_id spentStringId = Vertical ? STR_MONEY_EFFECT_SPEND_HIGHP : STR_MONEY_EFFECT_SPEND; in GetStringId()
144rct_string_id receiveStringId = Vertical ? STR_MONEY_EFFECT_RECEIVE_HIGHP : STR_MONEY_EFFECT_RECEI… in GetStringId()
145 rct_string_id stringId = receiveStringId; in GetStringId()
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/peep/
H A DPeep.cpp1292 ft.Add<rct_string_id>(STR_WALKING); in FormatActionTo()
1301 ft.Add<rct_string_id>( in FormatActionTo()
1307 ft.Add<rct_string_id>(STR_ON_RIDE).Add<rct_string_id>(STR_NONE); in FormatActionTo()
1313 ft.Add<rct_string_id>(STR_AT_RIDE); in FormatActionTo()
1321 ft.Add<rct_string_id>(STR_NONE); in FormatActionTo()
1359 ft.Add<rct_string_id>(STR_SITTING); in FormatActionTo()
1382 ft.Add<rct_string_id>(STR_WALKING); in FormatActionTo()
1429 ft.Add<rct_string_id>(STR_NONE); in FormatActionTo()
1443 ft.Add<rct_string_id>(STR_NONE); in FormatActionTo()
1457 ft.Add<rct_string_id>(STR_NONE); in FormatActionTo()
[all …]
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/actions/
H A DGameActionResult.cpp7 …Result::Result(GameActions::Status error, rct_string_id title, rct_string_id message, uint8_t* arg… in Result()
26 std::string operator()(const rct_string_id strId) const in operator ()()
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/interface/
H A DWidget.h67 uint32_t content = 0xFFFFFFFF, rct_string_id tooltip = STR_NONE)
84 uint32_t content = 0xFFFFFFFF, rct_string_id tooltip = STR_NONE)
89 constexpr rct_widget MakeTab(const ScreenCoordsXY& origin, rct_string_id tooltip = STR_NONE)
104 [[maybe_unused]] uint32_t content = 0xFFFFFFFF, rct_string_id tooltip = STR_NONE)
116 [[maybe_unused]] uint32_t content = 0xFFFFFFFF, rct_string_id tooltip = STR_NONE)

12345678