diff --git a/src/event.cxx b/src/event.cxx index 5201f93..57fcf29 100644 --- a/src/event.cxx +++ b/src/event.cxx @@ -1637,6 +1637,12 @@ CEvent::~CEvent () WriteInfo (); // lit le fichier "info.blp" } +bool +CEvent::IsDemoPlaying () +{ + return this->m_bDemoPlay; +} + // Retourne la position de la souris. Point diff --git a/src/event.h b/src/event.h index e177afb..64bbaf2 100644 --- a/src/event.h +++ b/src/event.h @@ -92,6 +92,7 @@ public: CEvent (); ~CEvent (); + bool IsDemoPlaying (); Point GetMousePos (); void Create (CPixmap * pPixmap, CDecor * pDecor, CSound * pSound, CMovie * pMovie);