Files
wowdecomp/Engine/Source/Tempest/C2Vector.h
T
SatyandClaude Opus 5.5 e287ae2e10 Gx pass 2: CGxDevice vtable (84 slots) and 34 base virtuals
- Full virtual interface in binary slot order; overloads verified at slots 9/10 and 15/16
- Folded empty base virtuals defined without OFFSET; guessed names for slots 24/25, 49/50, 61, 81-83
- Base virtuals: DeviceCreate x2, DeviceSetFormat, gamma, screenshot, render target, Prim*, Buf*, callbacks,
  NotifyOn*, ITexMarkAsUpdated, QueryCreate/Destroy, XformSetProjection, cursor getters
- g_theGxDevicePtr; GxWindowProc returns intptr_t; callbacks are __fastcall
- C2Vector() and CImVector() zero-initialize (inline only)
- Gx enums EGxBuffer/EGxOverride/EGxQueryParam/EGxTexCommand/EGxWM moved to Gx/Types.h

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

27 lines
409 B
C++

#ifndef ENGINE_SOURCE_TEMPEST_C2VECTOR_H
#define ENGINE_SOURCE_TEMPEST_C2VECTOR_H
#include <cstddef>
#include <cstdint>
class C3Vector;
class C2Vector {
public:
/* 0000 */ float x;
/* 0004 */ float y;
C2Vector();
C2Vector(const C3Vector& v);
void Normalize();
void NormalizeSafe();
};
// INLINED
inline C2Vector::C2Vector() {
this->x = 0.0f;
this->y = 0.0f;
}
#endif