wavelength 1.0.0
Loading...
Searching...
No Matches
netlobbyconnect.h
Go to the documentation of this file.
1#pragma once
2
3#include "met/freqscreen.h"
4#include "msg/dnasstatusmsg.h"
7#include "script/dataarray.h"
8#include "ui/uiscreen.h"
10
17public:
25 explicit NetLobbyConnect(DataArray *pData);
26
33 ~NetLobbyConnect() override {
34 }
35
44 static UIScreen *New(DataArray *pData) {
45 return new NetLobbyConnect(pData);
46 }
47
56 bool DispatchPriv(Message *pMsg) override;
57
65 const char *Title() override {
66 return "";
67 }
68
69#ifdef VIDEO_STANDARD_PAL
77 void Enter(UIScreen *pPrevScreen, float fTime) override;
78
86 void Exit(UIScreen *pNextScreen, float fTime) override;
87#endif
88
89private:
90#ifdef VIDEO_STANDARD_PAL
98 bool HandleDNASStatus(DNASStatusMsg *pMsg);
99
110 void ShowDNAS(int nRunning, int nShow);
111#endif
112
123 bool HandleTransitionComplete(UITransitionCompleteMsg *pMsg);
124
135 bool HandleConnectResult(LobbyConnectResultMsg *pMsg);
136
147 bool HandleJoypad(JoypadInputMsg *pMsg);
148};
Reference-counted array of script data nodes.
Definition dataarray.h:20
void Enter(UIScreen *pPrevScreen, float fTime) override
Play the entry sound, show or hide the projector, and start the entry.
FreqScreen(DataArray *pData)
Construct a screen from its script description.
void Exit(UIScreen *pNextScreen, float fTime) override
Move the projector to the next screen's place and start the exit.
Message the controller poll sends when a button is pressed or released.
Definition joypadinputmsg.h:23
Result of NetLobby::Connect().
Definition lobbyconnectresultmsg.h:16
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:40
bool DispatchPriv(Message *pMsg) override
Route the result of the connection, the end of the entry, and the controller messages.
static UIScreen * New(DataArray *pData)
Produce a screen on the heap.
Definition netlobbyconnect.h:44
~NetLobbyConnect() override
Release the screen.
Definition netlobbyconnect.h:33
const char * Title() override
Report no title.
Definition netlobbyconnect.h:65
NetLobbyConnect(DataArray *pData)
Construct a screen.
One front-end screen, a set of panels shown together with one panel holding the focus.
Definition uiscreen.h:35
UIScreen(DataArray *pData)
Construct a screen from its script description.
Message a screen sends itself once its panels have finished their entry animations.
Definition uitransitioncompletemsg.h:23