- MOUSEBUTTON/MOUSEMODE move to Engine/Source/Event/Types.h (WoW/Source/Console/Types.h removed; COLOR_T is in ConsoleBase/Types.h). - CRange and CBoundingBox move to Tempest (CRange.h, CBoundingBox.h); World.h includes them. - TEXTURECACHE moves to Gxu/GxuFontMiscClasses.h (its code is in the Gxu font range, 0x6C8E70+); CACHEENTRY stays in WoW/Common/TextureCache.h. - CGxDevice.h, CGxFont.h, M2Model.h, Event and Os drop their WoW includes. Build clean on Win32/x64 (known Wow.exe link gaps only); verify unchanged. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
31 lines
1.5 KiB
C++
31 lines
1.5 KiB
C++
#ifndef ENGINE_SOURCE_EVENT_EVENT_H
|
|
#define ENGINE_SOURCE_EVENT_EVENT_H
|
|
|
|
#include <cstdint>
|
|
#include "Engine/Source/Event/Types.h"
|
|
|
|
HEVENTCONTEXT EventCreateContextEx(int32_t interactive, EVENTHANDLERFUNC initializeHandler, EVENTHANDLERFUNC destroyHandler, uint32_t idleTime, uint32_t debugFlags);
|
|
void EventDestroy();
|
|
void EventDoMessageLoop();
|
|
HEVENTCONTEXT EventGetCurrentContext();
|
|
void EventInitialize(uint32_t threadCount, int32_t netServer);
|
|
void EventInitiateShutdown();
|
|
void EventInputGetMousePosition(float* x, float* y);
|
|
int32_t EventInputProcess(HEVENTCONTEXT contextHandle);
|
|
int32_t EventIsButtonDown(MOUSEBUTTON button);
|
|
int32_t EventIsKeyDown(KEY key);
|
|
void EventKillTimer(uint32_t id, EVENTHANDLERFUNC handler, const char* name);
|
|
void EventPostClose();
|
|
void EventPostCloseEx(HEVENTCONTEXT contextHandle);
|
|
int32_t EventQueuePost(HEVENTCONTEXT contextHandle, EVENTID id, const void* data, uint32_t bytes);
|
|
void EventRegister(EVENTID id, EVENTHANDLERFUNC handler);
|
|
void EventRegisterEx(EVENTID id, EVENTHANDLERFUNC handler, void* param, float priority);
|
|
void EventSetConfirmCloseCallback(int32_t (*callback)(void*), void* param);
|
|
void EventSetMouseMode(MOUSEMODE mode, uint32_t holdButton);
|
|
uint32_t EventSetTimer(uint32_t delay, EVENTHANDLERFUNC handler, void* param);
|
|
uint32_t EventSetTimer(uint32_t delay, EVENTHANDLERGUIDFUNC handler, uint64_t guid, void* param);
|
|
void EventUnregister(EVENTID id, EVENTHANDLERFUNC handler);
|
|
void EventUnregisterEx(EVENTID id, EVENTHANDLERFUNC handler, void* param, uint32_t flags);
|
|
|
|
#endif
|