1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-07 07:04:36 +01:00

Format NewsItem.h

This commit is contained in:
hdpoliveira
2020-05-11 00:32:14 -03:00
parent c9574c1070
commit d64b3bb152

View File

@@ -69,10 +69,22 @@ struct NewsItemQueue
bool IsEmpty() const;
void Init();
uint16_t IncrementTicks();
NewsItem& Current() { return Recent[0]; }
const NewsItem& Current() const { return Recent[0]; }
NewsItem& Oldest() { return Old[0]; }
const NewsItem& Oldest() const { return Old[0]; }
NewsItem& Current()
{
return Recent[0];
}
const NewsItem& Current() const
{
return Recent[0];
}
NewsItem& Oldest()
{
return Old[0];
}
const NewsItem& Oldest() const
{
return Old[0];
}
bool IsCurrentOld() const;
void MoveCurrentToOld();
NewsItem* FirstOpenSlot();