- 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]>
30 lines
517 B
C++
30 lines
517 B
C++
#ifndef ENGINE_SOURCE_TEMPEST_CIMVECTOR_H
|
|
#define ENGINE_SOURCE_TEMPEST_CIMVECTOR_H
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
|
|
class C3Vector;
|
|
|
|
class CImVector {
|
|
public:
|
|
/* 0000 */ uint8_t b;
|
|
/* 0001 */ uint8_t g;
|
|
/* 0002 */ uint8_t r;
|
|
/* 0003 */ uint8_t a;
|
|
|
|
CImVector();
|
|
void Set(float a, float r, float g, float b);
|
|
CImVector& operator=(const C3Vector& color);
|
|
};
|
|
|
|
// INLINED
|
|
inline CImVector::CImVector() {
|
|
this->b = 0;
|
|
this->g = 0;
|
|
this->r = 0;
|
|
this->a = 0;
|
|
}
|
|
|
|
#endif
|