Administrative source import: native x86 compilation passed for 423 authored units. Source placement and submission states are migrated separately; this commit does not imply peer acceptance.
Previous head: 35d2a8cb36
Payload SHA256: 592f016d2730c5593bb653aa054c1e5f76a6df72c8f5a09e66f74876e2e33dee
23 lines
686 B
C++
23 lines
686 B
C++
#ifndef RAGNAROK_SOURCE_RENDER_DX7_RENDERERFOGDX7_H
|
|
#define RAGNAROK_SOURCE_RENDER_DX7_RENDERERFOGDX7_H
|
|
|
|
#include "Render/FogConfiguration.h"
|
|
|
|
#include <d3d.h>
|
|
|
|
class CRenderSystemBase;
|
|
|
|
HRESULT PerspectiveMatrixDX7(D3DMATRIX& matrix, float fov, float aspect, float nearPlane, float farPlane);
|
|
|
|
struct RendererFogDX7 {
|
|
int enabled;
|
|
int dirty;
|
|
int supported;
|
|
|
|
void Set(int value, IDirect3DDevice7* device, const D3DDEVICEDESC7& caps, FogConfiguration& configuration);
|
|
void Apply(IDirect3DDevice7* device, const D3DDEVICEDESC7& caps, float aspect, const FogConfiguration& configuration, CRenderSystemBase* renderSystem);
|
|
};
|
|
|
|
static_assert(sizeof(RendererFogDX7) == 12);
|
|
|
|
#endif
|