STATE_TESTCREATE, // Creation test system SubStates (substates of top-level states) DO NOT USE THESE AS AN INDEX INTO ANY ARRAY! NUM_STATES, // ALWAYS KEEP THIS AT THE BOTTOM OF LIST OF SUBSTATES OF THE STATEMANAGER! I_StateMangement::pCa_SubStates_m array. STATE_MENU, // side by side as they ARE indices into the STATE_TEST, // NOTICE: All top-level states are substates of the Top-Level States (substates of M_StateManager) STATE_MANAGER = -1, // state manager itself is a state (see this as GAME_INIT) in the below substates field, add all your substates if you are using a 'Plus' state (state management) add your states enum under the proper system place files in proper system folder in a properly named game state folder setup your potential game state settings in the CONSTRUCTOR of your derived state // game settings have default settings, see C_GameState() ctor in state.cpp // none of these functions are pure virtual, so it's up to you if you want to use them or not // this function is pure virtual, so if you have a 'Plus' state, you MUST fill it out // So please think about it thoroughly before considering using another C_StateManager. NOTE: The M_StateManager is a C_StateManager and should be all we need for these kinds of states, I_GameStatePlus: state with game settings AND substate capabilities I_GameState: state with game settings (vram banks, BGs, palettes, etc) C_StateManager: basic state with state management abilities of the substates I_StatePlus: basic state with substate capabilities statename.cpp // where statename = your states name create the state files (interface and implementation) Steps required to add your own derived 'game' state: Structure will also be used in the State Machine core used by game entities. The game itself can be in at anytime (not to confuse that with I_GameState).
#Scribblenauts remix apk how to
Unused Text Instructions for how to add your own 'game' state, where I say 'game' to refer to actual states This game has hidden development-related text. Released internationally: October 11, 2011 This page is rather stubbly and could use some expansion.Īre you a bad enough dude to rescue this article?