Batch #14947 by ragnarok-clanker: no function's compiled code changes; checked with 596 compiled unit(s), including every includer of Source/Client/Input/Language.h, Source/Client/Input/LanguageTC.h, Source/Client/Mode/CGameMode.h, Source/Client/Mode/CLoginMode.h, Source/Client/Mode/EquipWindowLook.h, Source/Client/Session.h, Source/Contents/Actors/GameActor.h, Source/Contents/Actors/GraffiSkill.h, Source/Contents/Actors/GrannyGameActor.h, Source/Contents/Actors/Pc.h, Source/Contents/Camera/Camera.h, Source/Contents/Effects/EffectEmitter.h, Source/Contents/Effects/EffectPrimitiveState.h, Source/Contents/FlyingShipRouteInfo.h, Source/Contents/Ground/GroundGeometry.h, Source/Contents/Ground/GroundSpatial.h, Source/Contents/Items/ItemInfo.h, Source/Render/SpriteQuad.h, Source/Resource/EZeffectResource.h, Source/Resource/Models/AnimatedModelResource.h, Source/Resource/Models/GrannyModelResource.h, Source/Resource/Models/ModelMesh.h, Source/Resource/World/WorldResource.h, Source/UI/Dialogs/UIChooseWnd.h, Source/UI/Items/UISpellListWnd.h, Source/UI/Lists/UIListBoxTemplate.h, Source/UI/MiniPartyGrid.h, Source/UI/Quest/UIOngoingQuestInfo.h, Source/UI/Text/UIAchWnd.h, Source/UI/Window/UIMonsterInfoWnd.h, Source/UI/Window/UINavigationWnd.h, Source/UI/Window/UINewMakeCharWnd.h, Source/UI/Window/UITalkboxTrapInputWnd.h, Source/UI/Window/UIWindowMgr.h.
45 lines
1.1 KiB
C++
45 lines
1.1 KiB
C++
#ifndef RAGNAROK_SOURCE_CONTENTS_GROUND_GROUNDSPATIAL_H
|
|
#define RAGNAROK_SOURCE_CONTENTS_GROUND_GROUNDSPATIAL_H
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
#include <vector>
|
|
|
|
class CTexture;
|
|
struct GroundLightmap;
|
|
|
|
struct GroundQuad {
|
|
GroundQuad();
|
|
|
|
/* 0000 */ float vertices[4][8];
|
|
/* 0080 */ std::uint32_t vertexOffset;
|
|
/* 0084 */ CTexture* texture;
|
|
/* 0088 */ CTexture* lightmapTexture;
|
|
/* 008C */ GroundLightmap* lightmap;
|
|
/* 0090 */ std::uint32_t color;
|
|
/* 0094 */ std::uint32_t selected;
|
|
/* 0098 */ std::uint32_t materialId;
|
|
};
|
|
|
|
struct GroundCell {
|
|
GroundCell();
|
|
|
|
/* 0000 */ float heights[4];
|
|
/* 0010 */ float corners[4][3];
|
|
/* 0040 */ GroundQuad* top;
|
|
/* 0044 */ GroundQuad* side1;
|
|
/* 0048 */ GroundQuad* side2;
|
|
/* 004C */ std::uint32_t frame;
|
|
/* 0050 */ unsigned char color[3];
|
|
/* 0053 */ unsigned char unknown_0053;
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(sizeof(GroundQuad) == 156);
|
|
static_assert(offsetof(GroundQuad, texture) == 0x84);
|
|
static_assert(offsetof(GroundQuad, lightmap) == 0x8C);
|
|
static_assert(offsetof(GroundQuad, selected) == 0x94);
|
|
static_assert(sizeof(GroundCell) == 84);
|
|
#endif
|
|
|
|
#endif
|