1 2 3 4 5 6 7 8 9 10 11 12 13
#pragma once class CCutsceneMgr { static bool &ms_running; static bool &ms_cutsceneProcessing; public: static bool IsRunning(void) { return ms_running; } static bool IsCutsceneProcessing(void) { return ms_cutsceneProcessing; } static Bool &ms_running; };