- 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]>
27 lines
409 B
C++
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
|