Участник
- Статус
- Оффлайн
- Регистрация
- 30 Авг 2020
- Сообщения
- 705
- Реакции
- 402
glow_manager.h
Код:
#pragma once
#include "DLL_MAIN.h"
#include <stdint.h>
class CGlowObjectManager
{
public:
class GlowObjectDefinition_t
{
public:
int32_t m_nNextFreeSlot;
class IBasePlayer *m_pEntity;
union
{
Vector m_vGlowcolor_t; //0x0008 + 0x4
struct
{
float m_flRed; //0x8 + 0x4
float m_flGreen; //0xC + 0x4
float m_flBlue; //0x10 + 0x4
};
};
float m_flGlowAlpha;
uint8_t pad_0014[4];
float m_flSomeFloatThingy;
uint8_t pad_001C[4];
float m_flAnotherFloat;
bool m_bRenderWhenOccluded; //0x18 + 0x10 = 0x28
bool m_bRenderWhenUnoccluded; //0x29
bool m_bFullBloomRender;
uint8_t pad_0027[5];
int32_t m_bPulsatingChams;
int32_t m_nSplitScreenSlot;
bool IsUnused() const { return m_nNextFreeSlot != GlowObjectDefinition_t::ENTRY_IN_USE; }
static const int END_OF_FREE_LIST = -1;
static const int ENTRY_IN_USE = -2;
};
GlowObjectDefinition_t *m_GlowObjectDefinitions;
int max_size;
int pad;
int size;
GlowObjectDefinition_t *m_Unknown;
int currentObjects;
};