diff --git a/main/source/mod/AvHHud.h b/main/source/mod/AvHHud.h index 8ef2ff9..81b5051 100644 --- a/main/source/mod/AvHHud.h +++ b/main/source/mod/AvHHud.h @@ -397,6 +397,9 @@ public: int GameStatus(const char* pszName, int iSize, void* pbuf); int MiniMap(const char* pszName, int iSize, void* pbuf); + // tankefugl: 0000971 + int IssueOrder(const char* pszName, int iSize, void* pbuf); + // :tankefugl int Progress(const char* pszName, int iSize, void* pbuf); int SetGmma(const char* pszName, int iSize, void* pbuf); int SetSelect(const char* pszName, int iSize, void* pbuf); @@ -440,12 +443,20 @@ private: void DrawMouseCursor(int inBaseX, int inBaseY); void DrawOrders(); void DrawHelpIcons(); + // tankefugl: 0000971 + void DrawTeammateOrders(); + // tankefugl: 0000992 + void DrawDisplayOrder(); + void SetDisplayOrder(int inOrderType, int inOrderIndex, string inText1, string inText2, string inText3); + // :tankefugl void DrawHUDStructureNotification(); void DrawInfoLocationText(); void DrawPlayerNames(); void DrawReticleInfo(); void DrawToolTips(); - void DrawWorldSprite(int inSpriteHandle, int inRenderMode, vec3_t inWorldPosition, int inFrame, float inWorldSize); + // tankefugl: 0000971 -- added inAlpha + void DrawWorldSprite(int inSpriteHandle, int inRenderMode, vec3_t inWorldPosition, int inFrame, float inWorldSize, float inAlpha = 1.0f); + // :tankefugl void DrawOrderIcon(const AvHOrder& inOrder); void DrawOrderText(const AvHOrder& inOrder); int GetFrameForOrderType(AvHOrderType inOrderType) const; @@ -584,6 +595,20 @@ private: OrderListType mOrders; //AvHOrderType mOrderMode; + // tankefugl: 0000971 + map< int, TeammateOrderType > mTeammateOrder; + // tankefugl: 0000992 + float mDisplayOrderTime; + int mDisplayOrderType; + int mDisplayOrderIndex; + string mDisplayOrderText1; + string mDisplayOrderText2; + string mDisplayOrderText3; + int mCurrentOrderTarget; + int mCurrentOrderType; + float mCurrentOrderTime; + // :tankefugl + AvHMessageID mTechEvent; AvHMessageID mAlienAbility; AvHMessageID mGroupEvent; @@ -671,6 +696,10 @@ private: HSPRITE mMarineOrderIndicator; HSPRITE mMarineUpgradesSprite; + // tankefugl: 0000971 + HSPRITE mTeammateOrderSprite; + // :tankefugl + typedef map SpriteListType; SpriteListType mActionButtonSprites; //SpriteListType mHelpSprites;