2019-06-12 13:46:02 +02:00
|
|
|
#pragma once
|
2019-06-15 01:34:19 +02:00
|
|
|
#include "Sprite2d.h"
|
|
|
|
|
|
|
|
struct CScriptRectangle
|
|
|
|
{
|
|
|
|
Bool m_bIsUsed;
|
|
|
|
Bool m_bIsAntialiased;
|
|
|
|
uint16 m_wTextureId;
|
|
|
|
CRect m_sRect;
|
|
|
|
CRGBA m_sColor;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct CTextLine
|
|
|
|
{
|
|
|
|
Float m_fScaleX;
|
|
|
|
Float m_fScaleY;
|
|
|
|
CRGBA m_sColor;
|
|
|
|
Bool m_bJustify;
|
|
|
|
Bool m_bCentered;
|
|
|
|
Bool m_bBackground;
|
|
|
|
Bool m_bBackgroundOnly;
|
|
|
|
Float m_fWrapX;
|
|
|
|
Float m_fCenterSize;
|
|
|
|
CRGBA m_sBackgroundColor;
|
|
|
|
Bool m_bTextProportional;
|
|
|
|
int32 field_29;
|
|
|
|
Bool m_bRightJustify;
|
|
|
|
int32 field_31;
|
|
|
|
int32 m_nFont;
|
|
|
|
Float field_36;
|
|
|
|
Float field_40;
|
|
|
|
wchar m_awText[500];
|
|
|
|
};
|
2019-06-12 13:46:02 +02:00
|
|
|
|
|
|
|
class CTheScripts
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static uint8 *ScriptSpace;//[160*1024]
|
2019-06-15 01:34:19 +02:00
|
|
|
static CTextLine* IntroTextLines;
|
|
|
|
static CScriptRectangle* IntroRectangles;
|
|
|
|
static CSprite2d* ScriptSprites;
|
2019-06-12 13:46:02 +02:00
|
|
|
};
|