// CDecor.cpp // #include #include #include #include #include "def.h" #include "resource.h" #include "pixmap.h" #include "sound.h" #include "decor.h" #include "action.h" #include "text.h" #include "misc.h" #include "fifo.h" #include "DECMOVE.h" //////////////////////////////////////////////////////////////////////////////// #define TEXTDELAY 10 // Constructor // Possibly incomplete CDecor::CDecor() { m_hWnd = NULL; m_pSound = NULL; m_pPixmap = NULL; m_time = 0; m_bAllMissions = FALSE; m_bInvincible = FALSE; m_bShowSecret = FALSE; m_bAccessBuild = FALSE; m_bNetPacked = FALSE; m_bNetMovePredict = TRUE; m_bNetDebug = FALSE; m_bMulti = FALSE; m_team = FALSE; m_netPacketsSent = 0; m_netPacketsSent2 = 0; m_netPacketsRecieved = 0; m_netPacketsRecieved2 = 0; Init(CHFLOOR, 0); BlupiFlush(); MoveFlush(); InitDrapeau(); } CDecor::~CDecor() { UndoClose(); }