2019-05-30 19:24:47 +00:00
|
|
|
#pragma once
|
2019-07-10 09:36:47 +00:00
|
|
|
#include "common.h"
|
|
|
|
#include "math/Vector.h"
|
2019-05-30 19:24:47 +00:00
|
|
|
|
|
|
|
class CMovingThings
|
|
|
|
{
|
|
|
|
public:
|
2019-07-10 09:36:47 +00:00
|
|
|
static void Init();
|
|
|
|
static void Shutdown();
|
|
|
|
static void Update();
|
|
|
|
static void Render();
|
2019-05-30 19:24:47 +00:00
|
|
|
};
|
2019-07-10 09:36:47 +00:00
|
|
|
|
|
|
|
class CMovingThing
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
void Update();
|
|
|
|
void AddToList();
|
|
|
|
void RemoveFromList();
|
|
|
|
};
|
|
|
|
|
|
|
|
class CScrollBar
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
uint8 m_Counter;
|
|
|
|
const char* m_pMessage;
|
|
|
|
CVector m_Position;
|
|
|
|
uint32 m_MessageCurrentChar;
|
|
|
|
uint32 m_MessageLength;
|
|
|
|
CVector m_Size;
|
|
|
|
float m_fIntensity;
|
|
|
|
uint8 m_MessageBar[40];
|
|
|
|
uint8 m_Type;
|
|
|
|
bool m_bVisible;
|
|
|
|
uint8 m_uRed;
|
|
|
|
uint8 m_uGreen;
|
|
|
|
uint8 m_uBlue;
|
|
|
|
float m_fScale;
|
|
|
|
|
|
|
|
public:
|
|
|
|
void SetVisibility(bool visible) { m_bVisible = visible; }
|
|
|
|
bool IsVisible() { return m_bVisible; }
|
|
|
|
|
|
|
|
void Init(CVector, uint8, float, float, float, uint8, uint8, uint8, float);
|
|
|
|
void Update();
|
|
|
|
void Render();
|
|
|
|
};
|
|
|
|
|
|
|
|
class CTowerClock
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
CVector m_Position;
|
|
|
|
CVector m_Size;
|
|
|
|
float m_fDrawDistance;
|
|
|
|
float m_fScale;
|
|
|
|
uint8 m_uRed;
|
|
|
|
uint8 m_uGreen;
|
|
|
|
uint8 m_uBlue;
|
|
|
|
bool m_bVisible;
|
|
|
|
float m_fIntensity;
|
|
|
|
|
|
|
|
public:
|
|
|
|
void SetVisibility(bool visible) { m_bVisible = visible; }
|
|
|
|
bool IsVisible() { return m_bVisible; }
|
|
|
|
|
|
|
|
void Init(CVector, float, float, uint8, uint8, uint8, float, float);
|
|
|
|
void Update();
|
|
|
|
void Render();
|
|
|
|
};
|
|
|
|
|
|
|
|
class CDigitalClock
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
CVector m_Position;
|
|
|
|
CVector m_Size;
|
|
|
|
float m_fDrawDistance;
|
|
|
|
float m_fScale;
|
|
|
|
uint8 m_uRed;
|
|
|
|
uint8 m_uGreen;
|
|
|
|
uint8 m_uBlue;
|
|
|
|
bool m_bVisible;
|
|
|
|
float m_fIntensity;
|
|
|
|
|
|
|
|
public:
|
|
|
|
void SetVisibility(bool visible) { m_bVisible = visible; }
|
|
|
|
bool IsVisible() { return m_bVisible; }
|
|
|
|
|
|
|
|
void Init(CVector, float, float, uint8, uint8, uint8, float, float);
|
|
|
|
void Update();
|
|
|
|
void Render();
|
|
|
|
};
|