6e8fbca745
match the genesis editor version 1.3.0.653.
37 lines
519 B
C++
37 lines
519 B
C++
#ifndef __editstatus_H__
|
|
#define __editstatus_H__
|
|
|
|
#ifdef __GENESIS_EDITOR__
|
|
# define __EDIT_STATUS__ 1
|
|
#else
|
|
# define __EDIT_STATUS__ 0
|
|
#endif
|
|
|
|
#if __EDIT_STATUS__
|
|
|
|
namespace App
|
|
{
|
|
class EditStatus
|
|
{
|
|
public:
|
|
static bool IsPlayingGame();
|
|
|
|
static void SetPlayingGame(bool play);
|
|
private:
|
|
static bool bPlayingGame;
|
|
};
|
|
|
|
inline bool EditStatus::IsPlayingGame()
|
|
{
|
|
return bPlayingGame;
|
|
}
|
|
|
|
inline void EditStatus::SetPlayingGame(bool play)
|
|
{
|
|
bPlayingGame = play;
|
|
}
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif //__editstatus_H__
|