Creating a GameMode

From Serious Sam's Bogus Detour
Revision as of 15:21, 18 April 2017 by Myran (talk | contribs) (Created page with "===Standard functions=== void Start(uint8, SValue@, StartMode) SValue@ Save() void AddPlayer(uint8) void RemovePlayer(uint8, bool) void UpdateFr...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Standard functions

   void Start(uint8, SValue@, StartMode)
   SValue@ Save()
   
   void AddPlayer(uint8)
   void RemovePlayer(uint8, bool)
   
   void UpdateFrame(int, GameInput&, MenuInput&)
   void UpdatePausedFrame(int, GameInput&, MenuInput&)
   void PreRenderFrame(int)
   void RenderFrame(int, SpriteBatch&)
   
   void ResizeWindow(int, int, float)
   void Paused(bool)
   
   vec2 GetCameraPos(int)
   vec4 GetVignette(int)


Menu functions

   void LobbyCreated(bool loadingSave)
   void LobbyInviteAccepted()
   void LobbyEntered()
   
   void LobbyDataUpdate()
   void LobbyMemberDataUpdate(uint8)
   void LobbyList(array<uint64>@)
   
   void SetMenuState(MenuState)
   bool MenuBack()
   void ShowMessage(MenuMessage)
   
   void OnBindingInput(ControllerType, int)
   void ChatMessage(uint8, string)