1#ifndef COASTLINE_EAR_WINDOW_H
2#define COASTLINE_EAR_WINDOW_H
4#if TGR_PLATFORM == TGR_PLATFORM_WIN
9#include <SDL3/SDL_video.h>
19#if TGR_PLATFORM == TGR_PLATFORM_WIN
24extern HWND g_hEarNotifyWindow;
31extern UINT g_uEarNotifyMessage;
38extern SDL_Window *g_hEarNotifyWindow;
46extern UINT g_uEarNotifyMessage;
54extern char g_earProductName[];
65#if TGR_PLATFORM == TGR_PLATFORM_WIN
The integer and floating-point types of the console, for headers shared with Windows.
BOOL __stdcall PostEarWindowMessage(WPARAM event, LPARAM notification)
Post an asynchronous playback notification to the assigned Windows window.
BOOL __stdcall EAR_DLL_AssignHwnd(HWND window)
Assign a valid window handle or search for the first enumerated window of this process.
void __stdcall ShowEarMessage(const char *message)
Show a message over the window of the game.
BOOL __stdcall EarAssignHwndExportWrapper(HWND window)
Forward notification-window assignment to EAR_DLL_AssignHwnd().