Batch #1492 by ragnarok-clanker: 1 byte-identical, 0 confirmed by peer review. - fn_02316 ClearDirectDrawModes: byte-identical Merged automatically: every function is byte-identical to the original.
24 lines
550 B
C++
24 lines
550 B
C++
#ifndef RAGNAROK_SOURCE_RENDER_DX7_RENDERERPRESENTATIONDX7_H
|
|
#define RAGNAROK_SOURCE_RENDER_DX7_RENDERERPRESENTATIONDX7_H
|
|
|
|
#include <memory>
|
|
#include <windows.h>
|
|
|
|
class DeviceOwnerDX7;
|
|
struct RendererBackBuffer;
|
|
class CSurface;
|
|
class CRenderSystemBase;
|
|
|
|
struct RendererPresentationDX7 {
|
|
unsigned& frame;
|
|
unsigned& samples;
|
|
unsigned& lastTick;
|
|
unsigned& rate;
|
|
RendererBackBuffer& backBuffer;
|
|
|
|
void Present(DeviceOwnerDX7& owner, bool wait);
|
|
float FPS() const;
|
|
void DrawFPS(CRenderSystemBase* system, int width, int height);
|
|
};
|
|
|
|
#endif
|