Mercurial > mm7
view Outdoor_stuff.h @ 1516:f3cd08b89476
Fix assertion error when exiting Harmondale's castle. Possibly original bug.
author | yoctozepto |
---|---|
date | Tue, 03 Sep 2013 21:23:39 +0200 |
parents | 6de9c1316852 |
children | 499761153844 |
line wrap: on
line source
#pragma once #include "VectorTypes.h" #include <array> struct ODMFace; /* 141 */ // stru148 #pragma pack(push, 1) struct Polygon { inline Polygon() { uNumVertices = 0; } int _479295(); void DrawBorderTiles(); //void _48276F_sr(); void _normalize_v_18(); void Create_48607B(struct stru149 *a2); float field_0; float field_4; float field_8; float field_C; float field_10; unsigned int uNumVertices; Vec3_int_ v_18; int field_24; int sTextureDeltaU; int sTextureDeltaV; __int16 flags; __int16 field_32; int field_34; struct stru149 *ptr_38; struct Texture *pTexture; struct Span *prolly_head; struct Span *prolly_tail; int **ptr_48; unsigned __int16 uTileBitmapID; __int16 field_4E; __int16 field_50; __int16 field_52; ODMFace *pODMFace; char dimming_level; char field_59; char field_5A; char field_5B; char terrain_grid_z; char terrain_grid_x; unsigned __int8 uBModelID; unsigned __int8 uBModelFaceID; struct Edge *pEdgeList1[20]; unsigned int uEdgeList1Size; struct Edge *pEdgeList2[20]; unsigned int uEdgeList2Size; char field_108; char field_109; char field_10A; char field_10B; }; #pragma pack(pop) extern std::array<struct Polygon, 2000 + 18000> array_77EC08; /* 142 */ #pragma pack(push, 1) struct stru149 { int _48616B(int a2, int a3, int a4, int a5, int a6, int a7); int _48653D(int a2, int a3, int a4, int a5, int a6, int a7); void Inverse_sky_48694B(); int field_0_party_dir_x; int field_4_party_dir_y; int field_8; int field_C; int field_10; int field_14; int field_18; int field_1C; int field_20; int field_24; int field_28; }; #pragma pack(pop) extern stru149 stru_8019C8; /* 143 */ #pragma pack(push, 1) struct Span { Span *pNext; struct Polygon *pParent; __int16 field_8; __int16 field_A; __int16 field_C; __int16 field_E; float field_10; float field_14; }; #pragma pack(pop) /* 144 */ #pragma pack(push, 1) struct Surf { float field_0; float field_4; float field_8; float field_C; float field_10; Surf *pNext; Surf *pPrev; struct Polygon *pParent; __int16 field_20; __int16 field_22; }; #pragma pack(pop) extern Surf stru_80C980; /* 145 */ #pragma pack(push, 1) struct Edge { float field_0; float field_4; int field_8; Surf *pSurf; Edge *pNext; Edge *pPrev; Edge *ptr_18; float field_1C; float field_20; float field_24; float field_28; float field_2C; float field_30; }; #pragma pack(pop) extern Edge defaultEdge; // weak extern Edge stru_80C9A4; extern Edge stru_80C9D8;