Mercurial > might-and-magic-trilogy
diff Outdoor_stuff.h @ 0:8b8875f5b359
Initial commit
author | Nomad |
---|---|
date | Fri, 05 Oct 2012 16:07:14 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Outdoor_stuff.h Fri Oct 05 16:07:14 2012 +0200 @@ -0,0 +1,152 @@ +#pragma once + + + + +/* 141 */ +#pragma pack(push, 1) +struct stru148 +{ + int _479295(); + void _4811A3(); + void _48276F_sr(); + void _486089_normalize_v_18(); + void _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; + 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 field_58; + char field_59; + char field_5A; + char field_5B; + char field_5C; + char field_5D; + 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) + +/* 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); + int _48694B(); + + int field_0; + int field_4; + 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 stru148 *pParent; + __int16 field_8; + __int16 field_A; + __int16 field_C; + __int16 field_E; + float field_10; + float field_14; +}; +#pragma pack(pop) +extern stru148 array_77EC08[2000]; + + + +/* 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 stru148 *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; + + + + + + + +