Rename INTENT_ACTION_UPDATE_NEWS_TICKER

This commit is contained in:
Aaron van Geffen committed 2026-08-17 20:23:58 +02:00
1 parent 3418b4f8bf
commit b52dc2d933
3 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -470,7 +470,7 @@ public:
WindowSceneryResetSelectedSceneryItems();
break;
case INTENT_ACTION_INVALIDATE_TICKER_NEWS:
case INTENT_ACTION_UPDATE_NEWS_TICKER:
WindowGameBottomToolbarInvalidateNewsItem();
break;
+4 -4
View File
@@ -116,7 +116,7 @@ void News::InitQueue(GameState_t& gameState)
warningThrottle = 0;
}
auto intent = Intent(INTENT_ACTION_INVALIDATE_TICKER_NEWS);
auto intent = Intent(INTENT_ACTION_UPDATE_NEWS_TICKER);
ContextBroadcastIntent(&intent);
}
@@ -163,7 +163,7 @@ void News::UpdateCurrentItem()
if (gameState.newsItems.isEmpty())
return;
auto intent = Intent(INTENT_ACTION_INVALIDATE_TICKER_NEWS);
auto intent = Intent(INTENT_ACTION_UPDATE_NEWS_TICKER);
ContextBroadcastIntent(&intent);
// Update the current news item
@@ -199,7 +199,7 @@ void News::ItemQueues::archiveCurrent()
_recent.pop_front();
// Invalidate current news item bar
auto intent = Intent(INTENT_ACTION_INVALIDATE_TICKER_NEWS);
auto intent = Intent(INTENT_ACTION_UPDATE_NEWS_TICKER);
ContextBroadcastIntent(&intent);
}
@@ -447,7 +447,7 @@ void News::DisableNewsItems(ItemType type, uint32_t assoc)
newsItem.setFlags(ItemFlags::hasButton);
if (&newsItem == &gameState.newsItems.current())
{
auto intent = Intent(INTENT_ACTION_INVALIDATE_TICKER_NEWS);
auto intent = Intent(INTENT_ACTION_UPDATE_NEWS_TICKER);
ContextBroadcastIntent(&intent);
}
}
+1 -1
View File
@@ -33,7 +33,7 @@ namespace OpenRCT2
INTENT_ACTION_INIT_SCENERY,
INTENT_ACTION_SET_DEFAULT_SCENERY_CONFIG,
INTENT_ACTION_REFRESH_SCENERY,
INTENT_ACTION_INVALIDATE_TICKER_NEWS,
INTENT_ACTION_UPDATE_NEWS_TICKER,
INTENT_ACTION_REFRESH_GUEST_LIST,
INTENT_ACTION_CLEAR_TILE_INSPECTOR_CLIPBOARD,
INTENT_ACTION_REFRESH_STAFF_LIST,