- Fix RsSet render-target upload check (indoor rendering corruption) - Minimap tracking/hover, world map refresh - Bag/bar item moves, swaps, equip, item sounds, spell on cursor - Character info stats, titles, model preview - Unit/player names (PLAYERNAMEDESC render, name strings, raid icons) - Nameplates: CGNamePlateFrame, CGSimpleHealthBar, unit glue, SmartScreenRect overlap solver - Floating combat text: WORLDTEXTSTRING, render batch, PlayerName text slots - Fix unescaped raid-icon texture path in PlayerNameInitialize Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
41 lines
846 B
C++
41 lines
846 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();
|
|
CImVector(uint8_t b, uint8_t g, uint8_t r, uint8_t a);
|
|
void InterpColor(int32_t t, const CImVector* src);
|
|
void InterpColorRGB(uint32_t t, const CImVector* src);
|
|
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;
|
|
}
|
|
|
|
// INLINED
|
|
inline CImVector::CImVector(uint8_t b, uint8_t g, uint8_t r, uint8_t a) {
|
|
this->b = b;
|
|
this->g = g;
|
|
this->r = r;
|
|
this->a = a;
|
|
}
|
|
|
|
#endif
|