Complete disaster-recovery snapshot: engine/game source, game data assets, VC6 toolchain + DX SDKs, build outputs, deployed game, and _UNUSED archive. Large binaries in Git LFS; text preserved byte-for-byte (core.autocrlf=false, no eol attributes). See RECOVERY.md for the one-clone rebuild procedure.
38 lines
737 B
C++
38 lines
737 B
C++
|
|
#pragma once
|
|
|
|
#include "MW4.hpp"
|
|
#include "hudcomp.hpp"
|
|
|
|
namespace MechWarrior4
|
|
{
|
|
class HUDHelpArrow : public HUDComponent
|
|
{
|
|
protected:
|
|
typedef HUDComponent inherited;
|
|
|
|
Scalar m_Rotation;
|
|
void DrawImplementation(void);
|
|
Stuff::Time m_AlphaTime;
|
|
int m_Alpha;
|
|
|
|
Scalar m_GoalTime;
|
|
Scalar m_RotationDelta;
|
|
Scalar m_XDelta;
|
|
Scalar m_YDelta;
|
|
|
|
Scalar m_LastUpdate;
|
|
|
|
public:
|
|
HUDHelpArrow();
|
|
~HUDHelpArrow();
|
|
virtual void Update (Stuff::Time till);
|
|
|
|
void SetRot (Scalar rot)
|
|
{ m_Rotation = rot; }
|
|
|
|
void SetParams(Stuff::Scalar rotation, Stuff::Scalar x, Stuff::Scalar y, int color, int time = 0);
|
|
};
|
|
}
|
|
|