Batch #1430 by Yommy: 1 byte-identical, 0 confirmed by peer review. - fn_02115 CRendererDX7::SetCamera: byte-identical Merged automatically: every function is byte-identical to the original. Adds to the build: Source/Render/RendererDX7.cpp, Source/Render/ScreenRectangle.cpp, Source/Render/ScreenGeometry.cpp, Source/Render/TextureQuad.cpp, Source/Render/UIRPDataDrawing.cpp
23 lines
637 B
C++
23 lines
637 B
C++
#ifndef RAGNAROK_SOURCE_RENDER_RENDERERDX7_H
|
|
#define RAGNAROK_SOURCE_RENDER_RENDERERDX7_H
|
|
|
|
#include "Render/Renderer.h"
|
|
|
|
class CRendererDX7 : public CRenderer {
|
|
public:
|
|
/* 025C */ unsigned char unknown_025C[0x14];
|
|
/* 0270 */ unsigned clearColor;
|
|
/* 0274 */ unsigned char unknown_0274[0x10];
|
|
|
|
void SetCamera(const float* eye, const float* target, const float* up) override;
|
|
void SetClearColor(unsigned color) override;
|
|
|
|
void SetTextureFormat(unsigned format);
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(sizeof(CRendererDX7) == 0x284);
|
|
static_assert(offsetof(CRendererDX7, clearColor) == 0x0270);
|
|
#endif
|
|
|
|
#endif
|