Files
wowdecomp/WoW/Source/WorldClient/Barrier.cpp
T
SatyandClaude Opus 5.5 095603ff2b Client bring-up: login, realm list, world auth, character select
- Grunt login ported end to end (SRP6 challenge/proof, version checksum,
  realm list) and tested against a live server: authenticates, connects to
  the world server (auth session with proof-of-work, header crypt), receives
  the character list and shows character select
- Glue: realm list UI, character select (list, models, scripts), character
  create screen + name generator, delete/rename/decline, Enter World up to
  the loading screen; loading screen drawing and progress
- AccountData (times, update, upload/download), BannedAddOns, addon scan and
  addon info, client cache version, tutorial flags
- Shutdown path at login state: world/map/liquid/weather teardown, NetClient,
  ComSat, streaming stop; Logitech LCD no-device path in Ui/UILCD/Windows
- PCRE 5.0 vendored (core stock; chartables and the posix layer from 12340),
  ValidateName
- Fixes: TSGrowableArray::CalcChunkSize clamps to >= 8 (crash on char list),
  CWorldScene liquid renderer allocation, CMapFootprintTexture element ctor,
  pointer render states on x64, CFrustum/CWFrustum layout, M2 draw callback
  arguments, 37 class/struct forward-declaration mismatches
- IDB name sync (1217 names), verify aliases, harness large-element
  instantiation

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-28 02:39:56 +02:00

53 lines
1.4 KiB
C++

#include "Barrier.h"
#include "Engine/Source/Base/Handle.h"
#include "Engine/Source/Base/Status.h"
#include "Engine/Source/Model2/M2Model.h"
#include "Engine/Source/Gx/CGxTexFlags.h"
#include "Engine/Source/Services/Texture.h"
// STATIC: 0x00CD85F8
CM2Model* CBarrier::s_sparkles[4];
// STATIC: 0x00CD8608
CTexture* CBarrier::s_pattern;
// STATIC: 0x00CD860C
CTexture* CBarrier::s_mask;
// VERIFY: 6badcb93 manual
// OFFSET: 0x00799730
void CBarrier::Initialize() {
CGxTexFlags flags;
CStatus status;
flags.m_filter = GxTex_Linear;
flags.m_wrapU = 0;
flags.m_wrapV = 0;
CBarrier::s_mask = TextureCreate("XTextures\\FX\\LBTBarrierMask", flags, &status, 0);
flags.m_wrapU = 1;
flags.m_wrapV = 1;
CBarrier::s_pattern = TextureCreate("XTextures\\FX\\LBTBarrier", flags, &status, 0);
}
// VERIFY: f774ccf6 manual
// OFFSET: 0x0078F510
void CBarrier::Destroy() {
for (uint32_t i = 0; i < sizeof(CBarrier::s_sparkles) / sizeof(CBarrier::s_sparkles[0]); i++) {
if (CBarrier::s_sparkles[i]) {
CBarrier::s_sparkles[i]->Release();
CBarrier::s_sparkles[i] = nullptr;
}
}
if (CBarrier::s_mask) {
HandleClose(reinterpret_cast<HOBJECT>(CBarrier::s_mask));
CBarrier::s_mask = nullptr;
}
if (CBarrier::s_pattern) {
HandleClose(reinterpret_cast<HOBJECT>(CBarrier::s_pattern));
CBarrier::s_pattern = nullptr;
}
}