Add loading screen with random WOWEE splash images

- Add loading screen system with stb_image for JPEG loading
- Two loading screen images (orc and dwarf) randomly selected
- Display loading screen while terrain data loads
- Cache WMO inverse matrices to reduce per-frame computation
- Stub WMO liquid rendering (needs coordinate system fix)
- Update spawn point to Stormwind Trade District
This commit is contained in:
Kelsi 2026-02-03 13:33:31 -08:00
parent 665a73e75f
commit 01bf3b4c08
14 changed files with 8395 additions and 165 deletions

View file

@ -126,10 +126,9 @@ private:
static constexpr float WOW_GRAVITY = -19.29f;
static constexpr float WOW_JUMP_VELOCITY = 7.96f;
// Default spawn position (on terrain near Stormwind)
// Terrain chunks are around X=[-9100, -9066], Y=[-533, 0]
glm::vec3 defaultPosition = glm::vec3(-9080.0f, -100.0f, 100.0f);
float defaultYaw = 180.0f; // Look south toward Stormwind gate
// Default spawn position (Stormwind Trade District)
glm::vec3 defaultPosition = glm::vec3(-8830.0f, 640.0f, 200.0f);
float defaultYaw = 0.0f; // Look north toward canals
float defaultPitch = -5.0f;
};