2#include <game/bases/d_base.hpp>
3#include <game/bases/d_resource.hpp>
4#include <game/bases/d_SmallScore.hpp>
5#include <game/sLib/s_GlobalData.hpp>
64 float mSmallScoreSize_4_3_X, mSmallScoreSize_4_3_Y;
65 float mSmallScoreSize_16_9_X, mSmallScoreSize_16_9_Y;
66 float mSmallGoalScoreSize_16_9_X, mSmallGoalScoreSize_16_9_Y;
67 float mSmallGoalScoreSize_4_3_X, mSmallGoalScoreSize_4_3_Y;
68 float mScissorSizeX, mScissorSizeY;
71 static const float c_SMALL_SCORE_SIZE_4_3_X, c_SMALL_SCORE_SIZE_4_3_Y;
72 static const float c_SMALL_SCORE_SIZE_16_9_X, c_SMALL_SCORE_SIZE_16_9_Y;
73 static const float c_SMALL_GOAL_SCORE_SIZE_4_3_X, c_SMALL_GOAL_SCORE_SIZE_4_3_Y;
74 static const float c_SMALL_GOAL_SCORE_SIZE_16_9_X, c_SMALL_GOAL_SCORE_SIZE_16_9_Y;
75 static const float c_SCISSOR_SIZE_X, c_SCISSOR_SIZE_Y;
dBase_c()
Constructs a new base.
virtual int execute()
do method for the execute operation.
int mSmallScoresIdx
The next free index in mSmallScores.
dSmallScore_c mGoalScores[PLAYER_COUNT]
The goal score popups.
int mGoalScoresIdx
The next free index in mGoalScores.
void GoalScoreExecute(const mVec3_c &pos, int playerType)
Updates the position of a goal score popup.
virtual int draw()
do method for the draw operation.
void CreateBlueNumber(const mVec3_c &pos, int popupType, int playerType)
Creates a blue small score popup.
dSmallScore_c mSmallScores[SMALL_SCORE_COUNT]
The regular small score popups.
static dSmallScoreManager_c * m_instance
The instance of the small score manager.
virtual int create()
do method for the create operation.
d2d::ResAccMultLoader_c mResLoader
The resource loader for the layout.
virtual int doDelete()
do method for the delete operation.
virtual ~dSmallScoreManager_c()
Destroys the base.
void CreateGoalScore(const mVec3_c &pos, int popupType, int playerType)
Creates a goal score popup.
dSmallScoreManager_c()
Constructs a new base.
void CreateSmallScore(const mVec3_c &pos, int popupType, int playerType)
Creates a small score popup.
void CreateRedNumber(const mVec3_c &pos, int playerType)
Creates a red number popup.
A three-dimensional floating point vector.
#define SMALL_SCORE_COUNT
The maximum number of small score popups visible simultaneously.