1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

Add a method for testing if a demo is playing

This commit is contained in:
Mathieu Schroeter 2018-06-13 23:11:29 +02:00
parent daf70260de
commit 967819a5b8
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -92,6 +92,7 @@ public:
CEvent ();
~CEvent ();
bool IsDemoPlaying ();
Point GetMousePos ();
void
Create (CPixmap * pPixmap, CDecor * pDecor, CSound * pSound, CMovie * pMovie);