The main screen of the Freq maker, where the player picks a prefab Freq or a random one, opens the custom screen, types the name of the Freq, and saves it.
More...
|
| | FreqMakerMainScreen (DataArray *pData) |
| | Construct the screen from its script description.
|
| | ~FreqMakerMainScreen () override |
| | Destroy the screen.
|
| bool | DispatchPriv (Message *pMsg) override |
| | Route chosen buttons, focus changes, controller buttons, and the end of the entry, and pass on every other message.
|
| void | Enter (UIScreen *pPrevScreen, float fTime) override |
| | Show the Freq and list the prefabs, then start the entry.
|
| void | Exit (UIScreen *pNextScreen, float fTime) override |
| | Start the exit, and turn the camera to the bust of the Freq unless the custom screen follows.
|
| void | Undo () override |
| | Restore the profile the screen started from and forget the name.
|
| int | ReceiveKeyboardText (const char *pszText) override |
| | Receive the name the player typed, and go to the save screen when saving waits for it.
|
| DataArray * | FindPrefab (const char *pszPrefab) |
| | Find the description of a prefab among the prefabs and locked_prefabs of the metagame configuration.
|
| void | OpenKeyboard () |
| | Open the keyboard to type the name, starting from the current name or player_1.
|
| void | ShowSaveHelp (UIComponent *pComponent) |
| | Show the help of the save button, naming the memory card.
|
| void | GotoSave () |
| | Give the first player the name and mark the profile as the player's own, then go to the save screen.
|
| bool | HandleFocusChange (UIComponentFocusChangeMsg *pMsg) |
| | Show the help of the component that received the focus.
|
| bool | HandleTransitionComplete (UITransitionCompleteMsg *pMsg) |
| | Show the help of the focused component once this screen has entered.
|
| bool | HandleSelect (UIComponentSelectMsg *pMsg) |
| | Go to the save screen when save was chosen with the cross button.
|
| bool | HandleSelectStart (UIComponentSelectStartMsg *pMsg) |
| | Act on a button about to be chosen.
|
| bool | HandleJoypad (JoypadInputMsg *pMsg) |
| | Return to the Freq menu on the triangle button, through f_maker_lose_main_changes when the Freq changed.
|
| void | SetSaveStarted (int nSaveStarted) |
| void | SetEditing (int nEditing) |
| void | SetFreqName (const char *pszFreqName) |
| void | SetProfile (Campaign profile) |
| | FreqMakerUndoScreen (DataArray *pData) |
| | Construct the screen from its script description.
|
| | FreqScreen (DataArray *pData) |
| | Construct a screen from its script description.
|
| | ~FreqScreen () override |
| | Destroy the screen.
|
| bool | DispatchPriv (Message *pMsg) override |
| | Play the sound of a chosen component, follow a shortcut, and keep unused controllers out.
|
| void | Draw () override |
| | Draw what goes under each panel, then the panels.
|
| void | Exit (UIScreen *pNextScreen, float fTime) override |
| | Move the projector to the next screen's place and start the exit.
|
| void | Enter (UIScreen *pPrevScreen, float fTime) override |
| | Play the entry sound, show or hide the projector, and start the entry.
|
| virtual const char * | Title () |
| | Report the localised title of the screen, the token <name>_TITLE.
|
| virtual void | PlayButtonSound (int nButton) |
| | Play the menu sound of a controller button.
|
| bool | HandleSelectStart (UIComponentSelectStartMsg *pMsg) |
| | Play the sound of the button that chooses a component.
|
| bool | HandleTransitionComplete (UITransitionCompleteMsg *pMsg) |
| | Choose the component the shortcuts section of the metagame configuration lists for the screen.
|
| bool | HandleJoypad (JoypadInputMsg *pMsg) |
| | Pass on a controller button of a controller the players use, and swallow any other.
|
| | UIScreen (DataArray *pData) |
| | Construct a screen from its script description.
|
| | ~UIScreen () override |
| | Destroy the screen.
|
| bool | Dispatch (Message *pMsg) override |
| | Offer a message to the manager, then handle it here, then pass a navigation message on.
|
| bool | DispatchPriv (Message *pMsg) override |
| | Follow the transition of a pressed button or a chosen component.
|
| virtual void | Poll (float fTime) |
| | Advance the panels to a time, and finish the exit or the entry once their animations stop.
|
| virtual void | Print (PrnStream &stream) |
| | Write a description of the screen, its panels, and its transitions.
|
| void | ClearTransitions () |
| | Empty the transition table.
|
| void | AddTransition (const char *pszComponent, int nButton, const char *pszScreen) |
| | Append an entry to the transition table.
|
| void | AddPanel (UIPanel *pPanel) |
| | Add a panel to the screen.
|
| bool | HandleJoypad (JoypadInputMsg *pMsg) |
| | Follow the transition of a pressed controller button.
|
| bool | HandleSelect (UIComponentSelectMsg *pMsg) |
| | Follow the transition of a component chosen with the cross button.
|
| void | SetFocus (UIPanel *pPanel) |
| | Move the focus to a panel.
|
| UIComponent * | FindComponent (const char *pszName) |
| | Find a component on any of the screen's panels.
|
| Transition * | FindTransition (UIComponent *pComponent, bool bFail) |
| | Find the transition of a component.
|
| Transition * | FindTransition (int nButton, bool bFail) |
| | Find the transition of a controller button.
|
| void | Load () |
| | Load the panels.
|
| void | Unload () |
| | Unload the panels.
|
| bool | IsLoaded () |
| | Report whether every panel has loaded.
|
| const char * | GetName () const |
| const char * | GetGroup () const |
| UIPanel * | GetFocusPanel () const |
| UIScreen * | GetNextScreen () const |
| UIScreen * | GetPrevScreen () const |
| const std::map< const char *, UIPanel *, StrLess > & | GetPanels () const |
| void * | operator new (size_t nSize) |
| | Allocate a sink from the pool heaps under the tag "MsgSink".
|
| void | operator delete (void *pBlock) |
| | Return a sink to the pool heaps.
|
| virtual | ~MsgSink () |
| void * | operator new (size_t size) |
| | Allocate from the main heap under the name MsgSink.
|
| void | operator delete (void *mem) |
| | Return memory to its heap.
|
| virtual | ~MsgSink () |
| | Destroy the sink.
|
| virtual | ~KeyboardUser () |
| | Destroy the mix-in.
|
The main screen of the Freq maker, where the player picks a prefab Freq or a random one, opens the custom screen, types the name of the Freq, and saves it.
The RTTI records the class as deriving from FreqMakerUndoScreen and from KeyboardUser at +0x70. The object is 0x1c0 bytes and its vtables are at 0x003cfeb8 and, for KeyboardUser, 0x003cfe98. The metagame registers the class for the screen type f_maker_main_screen, and the front-end description's f_maker screen is one. Its f_maker panel has the buttons prefabs, random, custom, name, and save, and its f_maker_p AvatarPanel shows the Freq of the first player. The screen edits the Freq in place.
FreqConfirmScreen prepares the screen before it opens. Saving hands the Freq to the fmaker_save_freq SaveEditedFreqScreen, or to fmaker_save_freq_net online.