2
#include "../TechnoType/Body.h"
4
DEFINE_HOOK(70A990, TechnoClass_DrawVeterancy, 5)
6
GET(TechnoClass *, T, ECX);
7
GET_STACK(Point2D *, XY, 0x4);
8
GET_STACK(RectangleStruct *, pRect, 0x8);
12
SHPStruct *iFile = FileSystem::PIPS_SHP;
14
TechnoTypeExt::ExtData *pTypeData = TechnoTypeExt::ExtMap.Find(T->GetTechnoType());
16
pTypeData->Insignia.BindTo(T);
17
SHPStruct *fCustom = pTypeData->Insignia.Get();
23
VeterancyStruct *XP = &T->Veterancy;
26
} else if(XP->IsVeteran()) {
31
if(iFrame != -1 && iFile) {
34
if(T->WhatAmI() != abs_Infantry) {
39
DSurface::Hidden_2->DrawSHP(
40
FileSystem::THEATER_PAL, iFile, iFrame, &offset, pRect, bf_Alpha | bf_400 | bf_200, 0, -2, 0, 1000, 0, 0, 0, 0, 0);