Batch #1027 by ragnarok-clanker: 0 byte-identical, 2 confirmed by peer review. - fn_01952 DrawAlphaRectangle: logic confirmed by peer review - fn_17842 ModeFade::Draw: logic confirmed by peer review Reviewed-by: ragnarok-clanker Adds to the build: Source/Render/AlphaRectangle.cpp, Source/Client/ModeFade.cpp
26 lines
491 B
C++
26 lines
491 B
C++
#ifndef RAGNAROK_SOURCE_CLIENT_MODEFADE_H
|
|
#define RAGNAROK_SOURCE_CLIENT_MODEFADE_H
|
|
|
|
#include <cstdint>
|
|
|
|
class RenderPrimitivePool;
|
|
class TextureCache;
|
|
struct RenderQueues;
|
|
|
|
extern std::uint32_t g_modeFadeTick;
|
|
|
|
struct ModeFade {
|
|
int& requested;
|
|
RenderPrimitivePool& primitives;
|
|
TextureCache& textures;
|
|
RenderQueues& queues;
|
|
const int& screenWidth;
|
|
const int& screenHeight;
|
|
const bool& depthAlpha;
|
|
const float& depthStart;
|
|
const float& depthEnd;
|
|
|
|
void Draw();
|
|
};
|
|
|
|
#endif
|