29 void update(
float deltaTime)
override;
79 std::array<Day, 32>
days{};
Season calendar: a month grid with the club's fixtures, breaks and club events, the month's agenda an...
Definition calendar_scene.h:25
std::vector< Entry > entries
Definition calendar_scene.h:72
std::array< Day, 32 > days
Definition calendar_scene.h:79
int first_weekday
Definition calendar_scene.h:78
int days_in_month
Definition calendar_scene.h:77
GameDateValue season_first
Definition calendar_scene.h:73
std::vector< std::size_t > month_entries
Definition calendar_scene.h:80
SceneID getID() const override
Gets the ID of the scene.
Definition calendar_scene.h:30
int shown_month
Definition calendar_scene.h:76
void renderAgenda(float width)
Definition calendar_scene.cpp:563
int shown_year
Definition calendar_scene.h:75
int selected_day
Definition calendar_scene.h:81
void refresh() override
Rebuilds cached view models from the game state.
Definition calendar_scene.cpp:108
GameDateValue today
Definition calendar_scene.h:74
void renderGrid(float width)
Definition calendar_scene.cpp:308
void update(float deltaTime) override
Updates scene logic.
Definition calendar_scene.cpp:103
void renderToolbar()
Definition calendar_scene.cpp:272
void renderDay(float width)
Definition calendar_scene.cpp:497
bool isToday(int day) const
Definition calendar_scene.cpp:243
void renderContent() override
Draws the page body inside the content region.
Definition calendar_scene.cpp:249
std::string month_title
Definition calendar_scene.h:82
NavSection navSection() const override
Sidebar entry highlighted for this screen.
Definition calendar_scene.h:34
void showMonth(int year, int month)
Definition calendar_scene.cpp:204
friend class GameFlowTest_GUIFlowLifecycle_Test
Definition calendar_scene.h:41
Main view manager for the GUI. Handles scenes and overlays.
Definition gui_view.h:29
Base class for every in-career screen.
Definition management_scene.h:93
SceneID
Identifiers for different GUI scenes.
Definition gui_scene.h:24
bool day
Definition match_stadium_3d.cpp:447
NavSection
Screens of the management shell. The sidebar groups them into a few hubs (Home, Inbox,...
Definition nav_history.h:26
One entry of the season agenda.
Definition season_agenda.h:37
What happens on one day of the shown month.
Definition calendar_scene.h:58
std::uint16_t kinds
Definition calendar_scene.h:60
bool winter
Definition calendar_scene.h:62
bool international
Definition calendar_scene.h:61
int fixture
Definition calendar_scene.h:59
One agenda entry, pre-formatted.
Definition calendar_scene.h:45
TeamID opponent
Definition calendar_scene.h:53
std::string score
Definition calendar_scene.h:49
int outcome
Definition calendar_scene.h:52
std::string line
Definition calendar_scene.h:50
std::string detail
Definition calendar_scene.h:48
AgendaEvent event
Definition calendar_scene.h:46
std::string date
Definition calendar_scene.h:51
std::string title
Definition calendar_scene.h:47
Represents a specific date in the game world.
Definition gamedate.h:20
uint16_t TeamID
Type alias for Team identifiers.
Definition types.h:18