MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / getCameraXZ

Function getCameraXZ

TheForceEngine/TFE_DarkForces/hud.cpp:1234–1246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1232 }
1233
1234 void getCameraXZ(fixed16_16* x, fixed16_16* z)
1235 {
1236 if (s_drawAutomap)
1237 {
1238 *x = s_mapX0;
1239 *z = s_mapZ0;
1240 }
1241 else
1242 {
1243 *x = s_eyePos.x;
1244 *z = s_eyePos.z;
1245 }
1246 }
1247
1248 void displayHudMessage(Font* font, DrawRect* rect, s32 x, s32 y, u8* msg, u8* framebuffer)
1249 {

Callers 1

hud_drawMessageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected