rodecomp/Source/Render/TextureQuad.h
ragnarok-clanker 1a0c1375ed Decompile 5 functions in Source/Contents/World/WorldObjects.cpp, Source/Contents/Actors/RenderObject.cpp, ...
Batch #5424 by Yommy: 0 byte-identical, 5 confirmed by peer review.

- fn_21302 CGameMode::ShowGuildEmblem: logic confirmed by peer review
- fn_21303 CGameMode::SpawnCashEmotion: logic confirmed by peer review
- fn_21304 CGameMode::ApplyMapFog: logic confirmed by peer review
- fn_21305 CGameMode::SpawnGrannyCorpse: logic confirmed by peer review
- fn_21306 CGameMode::SpawnMandraAttack: logic confirmed by peer review

Peer-reviewed-by: willerthal, SapitoSucio
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
2026-10-30 12:52:28 +00:00

20 lines
399 B
C++

#ifndef RAGNAROK_SOURCE_RENDER_TEXTUREQUAD_H
#define RAGNAROK_SOURCE_RENDER_TEXTUREQUAD_H
#include <cstdint>
struct TextureRegion {
/* 0000 */ float left;
/* 0004 */ float top;
/* 0008 */ float right;
/* 000C */ float bottom;
};
extern float g_depthStart;
extern float g_depthEnd;
extern std::uint32_t g_worldOverlayColor;
extern float g_fogDensity;
float RhwToDepth(float rhw);
#endif