MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / InitializeUPV

Function InitializeUPV

TombEngine/Objects/TR3/Vehicles/upv.cpp:163–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161 }
162
163 void InitializeUPV(short itemNumber)
164 {
165 auto* UPVItem = &g_Level.Items[itemNumber];
166 UPVItem->Data = UPVInfo();
167 auto* UPV = GetUPVInfo(UPVItem);
168
169 UPV->Flags = UPV_FLAG_SURFACE;
170 }
171
172 void UPVPlayerCollision(short itemNumber, ItemInfo* laraItem, CollisionInfo* coll)
173 {

Callers

nothing calls this directly

Calls 2

UPVInfoClass · 0.85
GetUPVInfoFunction · 0.85

Tested by

no test coverage detected