1
0
mirror of https://github.com/jummy0/sb2-decomp synced 2025-03-21 15:12:10 +01:00
sb2-decomp/decor.cpp
HMVocaloid c79cf0e0dd Most Engine Code
Most of the engine code (being more or less copy and paste) is done.
2024-05-17 11:47:48 -04:00

59 lines
1017 B
C++

// CDecor.cpp
//
#include <windows.h>
#include <stdlib.h>
#include <stdio.h>
#include <ddraw.h>
#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();
}