diff mm7_data.h @ 2043:2ccf638342d6

int max_flight_height and GetCeilingHeight function
author Ritor1
date Tue, 26 Nov 2013 17:49:42 +0600
parents 664146d9b101
children 62a27b2cfcc2
line wrap: on
line diff
--- a/mm7_data.h	Mon Nov 25 17:09:39 2013 +0600
+++ b/mm7_data.h	Tue Nov 26 17:49:42 2013 +0600
@@ -885,7 +885,7 @@
 extern std::array<__int16, 777> word_720DB0_xs; // idb
 extern std::array<int, 20> dword_720E80;
 extern std::array<int, 20> dword_720ED0;
-extern std::array<int, 20> dword_720F20;
+extern std::array<int, 20> ceiling_height_level;
 extern std::array<__int16, 777> word_720F70; // idb
 extern std::array<__int16, 777> word_721040; // idb
 extern std::array<int, 777> dword_721110; // idb
@@ -1273,7 +1273,7 @@
 bool __fastcall _46BFFA_check_object_intercept(unsigned int uLayingItemID, signed int a2);
 int BLV_GetFloorLevel(int x, int y, int z, unsigned int uSectorID, unsigned int *pFaceID);
 int ODM_GetFloorLevel(int X, signed int Y, int Z, int, int *pOnWater, int *bmodel_pid, int bWaterWalk);
-int __fastcall sub_46D8E3(int a1, signed int a2, int a3, int a4);
+int GetCeilingHeight(int Party_X, signed int Party_Y, int Party_ZHeight, int pFaceID);
 void ODM_GetTerrainNormalAt(int pos_x, int pos_z, Vec3_int_ *out);
 unsigned int __fastcall sub_46DEF2(signed int a2, unsigned int uLayingItemID);
 void _46E0B2_collide_against_decorations();