22#ifndef ULTIMA3_VIEWS_TITLE_H
23#define ULTIMA3_VIEWS_TITLE_H
25#include "common/array.h"
26#include "graphics/managed_surface.h"
27#include "graphics/views/view.h"
33using namespace Graphics::Views;
40 int srcY, dstY, x, width, height;
63 PH_BOX1_SPARKLE, PH_BOX1_WAIT,
64 PH_BOX4_SPARKLE, PH_BOX4_WAIT,
65 PH_BOX5, PH_BOX5_WAIT,
66 PH_PIXEL_PATH, PH_PIXEL_PATH_WAIT,
67 PH_BOX6, PH_BOX6_WAIT,
68 PH_FLAG_ANIM, PH_FLAG_ANIM_WAIT,
71 PH_BOX3, PH_BOX3_WAIT,
75 Phase _phase = PH_BOX1_SPARKLE;
76 bool _keyPending =
false;
77 uint16 _prngState = 0x9DE3;
85 int _sparkleFrames = 1;
89 uint _pixelPathPos = 0;
95 bool _flagAlActive =
false;
107 bool isUpgraded()
const;
114 void drawBox(
const TitleBox &box,
bool sparkle,
int threshold);
118 void drawFlagFrame(
int bxParam,
int axParam);
119 void drawEnhancedFlagFrame(
int bxParam,
int axParam);
123 bool stepPixelPath();
127 bool stepFlagAnimation();
133 void playSoundBurst();
134 void showLogoScreen();
Definition: managed_surface.h:51
Definition: messages.h:118
Definition: messages.h:42
Definition: messages.h:54
Definition: messages.h:76
Definition: messages.h:50