Created
January 14, 2018 21:13
-
-
Save Abion47/c2b9d01f25b18e9ca31bdcb00520c84d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "interfaces/Map_Interface.hps" | |
#include "base/Inputhandler_Types.hps" | |
#include "helpers/helper_map.hps" | |
#include "helpers/helper_props.hps" | |
#include "helpers/helper_effects.hps" | |
#include "helpers/helper_audio.hps" | |
#include "helpers/helper_imgui.hps" | |
#include "helpers/helper_sequences.hps" | |
#include "helpers/helper_game.hps" | |
#include "helpers/helper_modules.hps" | |
#include "helpers/helper_ai.hps" | |
//-------------------------------------------------- | |
/*Place any global values here. These must be const variables as they will not be saved*/ | |
//-------------------------------------------------- | |
class cScrMap : iScrMap | |
{ | |
//-------------------------------------------- | |
////////////////////////////////////////////////////////////////////////////////////////// | |
// ============== | |
// MAIN CALLBACKS | |
// ============== | |
//{/////////////////////////////////////////////////////////////////////////////////////// | |
//------------------------------------------------------- | |
void Setup() {} | |
void OnStart() {} | |
void OnEnter() {} | |
void OnLeave() {} | |
void OnPlayerKilled(int alRecentDeaths, const tString&in asSource) {} | |
void OnAction(int alAction, bool abPressed) {} | |
float DrawDebugOutput(cGuiSet @apSet, iFontData @apFont, float afY) { return afY; } | |
//------------------------------------------------------- | |
//} END MAIN CALLBACKS | |
////////////////////////////////////////////////////////////////////////////////////////// | |
// ============== | |
// MAIN FUNCTIONS | |
// ============== | |
//{/////////////////////////////////////////////////////////////////////////////////////// | |
//------------------------------------------------------- | |
/*Put any variables that are used in more than one scene here.*/ | |
//------------------------------------------------------- | |
/*Put any functions that are used in more than one scene here.*/ | |
//------------------------------------------------------- | |
//} END MAIN FUNCTIONS | |
////////////////////////////////////////////////////////////////////////////////////////// | |
// ============== | |
// SCENE X *NAME OF SCENE* | |
// ============== | |
//{////////////////////////////////////////////////////////////////////////////////////// | |
///////////////////////////////////////// | |
// General | |
//{////////////////////////////////////// | |
//------------------------------------------------------- | |
/*Put any variables that are used by many events in Scene X here.*/ | |
//------------------------------------------------------- | |
/*Put any functions that are used in more than one event in Scene X here.*/ | |
//------------------------------------------------------- | |
//} END General | |
///////////////////////////////////////// | |
// Event *Name Of Event* | |
//{////////////////////////////////////// | |
//------------------------------------------------------- | |
/*Put any variables that are only used in Scene X, Event X here.*/ | |
//------------------------------------------------------- | |
/*Put any functionsthat are only used in Scene X, Event X here.*/ | |
//------------------------------------------------------- | |
//} END Event *Name Of Event* | |
//} END SCENE X | |
///////////////////////////////////////// | |
// ============== | |
// TERMINALS | |
// ============== | |
//{////////////////////////////////////// | |
//------------------------------------------------------- | |
///////////////////////////////////////// | |
// Terminal *Name Of Terminal* | |
//{////////////////////////////////////// | |
//------------------------------------------------------- | |
/*Put any variables that are only used Terminal here.*/ | |
//------------------------------------------------------- | |
/*Put any functions that are only used Terminal here.*/ | |
//------------------------------------------------------- | |
//} END Terminal *Name Of Terminal* | |
//} END TERMINALS | |
////////////////////////////////////////////////////////////////////////////////////////// | |
// ============== | |
// PROPERTIES | |
// ============== | |
//{/////////////////////////////////////////////////////////////////////////////////////// | |
//------------------------------------------------------- | |
/*Put any variables that are used throughout the map here.*/ | |
//------------------------------------------------------- | |
//} END PROPERTIES | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment