1
0
mirror of https://github.com/narzoul/DDrawCompat synced 2024-12-30 08:55:36 +01:00

29 lines
486 B
C++

#pragma once
namespace D3dDdi
{
class Resource;
}
namespace Overlay
{
namespace Steam
{
struct Resources
{
D3dDdi::Resource* rtResource;
D3dDdi::Resource* bbResource;
UINT bbSubResourceIndex;
};
void flush();
Resources getResources();
HWND getWindow();
void init(const wchar_t* origDDrawModulePath);
void installHooks();
bool isOverlayOpen();
void onDestroyWindow(HWND hwnd);
void render(D3dDdi::Resource& resource, unsigned subResourceIndex);
}
}