comparison mm7_data.h @ 138:a8ec7e1e18b6

Sliding downhill & relative subs. how it's done: each time you get a little bit pushed in the air along terrain normal, and then falling to the gravity, gradually sliding downwards. nice trick
author Nomad
date Tue, 12 Feb 2013 00:22:30 +0200
parents b5c3f448cd74
children cca78efb377e
comparison
equal deleted inserted replaced
137:a2ddaf0e4d8a 138:a8ec7e1e18b6
1606 extern int dword_76D534_terrain_cell_world_pos_around_party_z; // weak 1606 extern int dword_76D534_terrain_cell_world_pos_around_party_z; // weak
1607 extern int dword_76D538_terrain_cell_world_pos_around_party_x; // weak 1607 extern int dword_76D538_terrain_cell_world_pos_around_party_x; // weak
1608 extern int dword_76D53C_terrain_cell_world_pos_around_party_x; // weak 1608 extern int dword_76D53C_terrain_cell_world_pos_around_party_x; // weak
1609 extern int dword_76D540_terrain_cell_world_pos_around_party_x; // weak 1609 extern int dword_76D540_terrain_cell_world_pos_around_party_x; // weak
1610 extern int dword_76D544_terrain_cell_world_pos_around_party_x; // weak 1610 extern int dword_76D544_terrain_cell_world_pos_around_party_x; // weak
1611 extern int dword_76D548_terrain_cell_world_pos_around_party_y; // weak 1611 //extern int dword_76D548_terrain_cell_world_pos_around_party_y; // weak
1612 extern int dword_76D54C_terrain_cell_world_pos_around_party_y; // weak 1612 //extern int dword_76D54C_terrain_cell_world_pos_around_party_y; // weak
1613 extern int dword_76D550_terrain_cell_world_pos_around_party_y; // weak 1613 //extern int dword_76D550_terrain_cell_world_pos_around_party_y; // weak
1614 extern int dword_76D554_terrain_cell_world_pos_around_party_y; // weak 1614 //extern int dword_76D554_terrain_cell_world_pos_around_party_y; // weak
1615 extern int dword_76D558_terrain_cell_world_pos_around_party_z; // weak 1615 //extern int dword_76D558_terrain_cell_world_pos_around_party_z; // weak
1616 extern int dword_76D55C_terrain_cell_world_pos_around_party_z; // weak 1616 //extern int dword_76D55C_terrain_cell_world_pos_around_party_z; // weak
1617 extern int dword_76D560_terrain_cell_world_pos_around_party_z; // weak 1617 //extern int dword_76D560_terrain_cell_world_pos_around_party_z; // weak
1618 extern int dword_76D564_terrain_cell_world_pos_around_party_z; // weak 1618 //extern int dword_76D564_terrain_cell_world_pos_around_party_z; // weak
1619 extern int dword_76D568_terrain_cell_world_pos_around_party_x; // weak 1619 //extern int dword_76D568_terrain_cell_world_pos_around_party_x; // weak
1620 extern int dword_76D56C_terrain_cell_world_pos_around_party_x; // weak 1620 //extern int dword_76D56C_terrain_cell_world_pos_around_party_x; // weak
1621 extern int dword_76D570_terrain_cell_world_pos_around_party_x; // weak 1621 //extern int dword_76D570_terrain_cell_world_pos_around_party_x; // weak
1622 extern int dword_76D574_terrain_cell_world_pos_around_party_x; // weak 1622 //extern int dword_76D574_terrain_cell_world_pos_around_party_x; // weak
1623 extern char byte_76D5C0; 1623 extern char byte_76D5C0;
1624 extern struct unk_F7B60C stru_76D578; 1624 extern struct unk_F7B60C stru_76D578;
1625 extern struct unk_F7B60C stru_76D590; 1625 extern struct unk_F7B60C stru_76D590;
1626 extern struct unk_F7B60C stru_76D5A8; 1626 extern struct unk_F7B60C stru_76D5A8;
1627 extern int terrain_76D5C8[128]; 1627 extern int terrain_76D5C8[128];
2161 bool __fastcall _46BFFA_check_object_intercept(unsigned int uLayingItemID, signed int a2); 2161 bool __fastcall _46BFFA_check_object_intercept(unsigned int uLayingItemID, signed int a2);
2162 void __cdecl _46CC4B_check_event_triggers(); 2162 void __cdecl _46CC4B_check_event_triggers();
2163 int _46CEC3_get_floor_level(int x, int y, int z, unsigned int uSectorID, unsigned int *pFaceID); 2163 int _46CEC3_get_floor_level(int x, int y, int z, unsigned int uSectorID, unsigned int *pFaceID);
2164 int __fastcall sub_46D49E_prolly_get_world_y_under_party(int a1, signed int a2, int a3, int a4, int *a5, int *a6, int a7); 2164 int __fastcall sub_46D49E_prolly_get_world_y_under_party(int a1, signed int a2, int a3, int a4, int *a5, int *a6, int a7);
2165 int __fastcall sub_46D8E3(int a1, signed int a2, int a3, int a4); 2165 int __fastcall sub_46D8E3(int a1, signed int a2, int a3, int a4);
2166 signed __int64 __fastcall _46DCC8_get_gravity_direction_outdoor(int a1, int a2, Vec3_int_ *a3); 2166 void ODM_GetTerrainNormalAt(int pos_x, int pos_z, Vec3_int_ *out);
2167 unsigned int __fastcall sub_46DEF2(signed int a2, unsigned int uLayingItemID); 2167 unsigned int __fastcall sub_46DEF2(signed int a2, unsigned int uLayingItemID);
2168 int __fastcall _46DF1A_collide_against_actor(int, int); // weak 2168 int __fastcall _46DF1A_collide_against_actor(int, int); // weak
2169 void __cdecl _46E0B2_collide_against_decorations(); 2169 void __cdecl _46E0B2_collide_against_decorations();
2170 void __fastcall _46E26D_collide_against_sprites(signed int a1, signed int a2); 2170 void __fastcall _46E26D_collide_against_sprites(signed int a1, signed int a2);
2171 int __thiscall _46E44E_collide_against_faces_and_portals(unsigned int b1); // idb 2171 int __thiscall _46E44E_collide_against_faces_and_portals(unsigned int b1); // idb
2223 char __fastcall sr_sub_481DB2(RenderVertexSoft *a1, signed int a2, stru148 *a3); 2223 char __fastcall sr_sub_481DB2(RenderVertexSoft *a1, signed int a2, stru148 *a3);
2224 void __cdecl ResetStru148s(); 2224 void __cdecl ResetStru148s();
2225 void __cdecl sub_481ED9_MessWithOutdoorCamera(); 2225 void __cdecl sub_481ED9_MessWithOutdoorCamera();
2226 bool __fastcall sub_481EFA(RenderVertexSoft *a1, RenderVertexSoft *a2, RenderVertexSoft *a3, RenderVertexSoft *a4, int a5); 2226 bool __fastcall sub_481EFA(RenderVertexSoft *a1, RenderVertexSoft *a2, RenderVertexSoft *a3, RenderVertexSoft *a4, int a5);
2227 signed int __fastcall sub_481FC9(RenderVertexSoft *_ECX, RenderVertexSoft *a2, RenderVertexSoft *a3, stru148 *a4); 2227 signed int __fastcall sub_481FC9(RenderVertexSoft *_ECX, RenderVertexSoft *a2, RenderVertexSoft *a3, stru148 *a4);
2228 bool __fastcall GetTerrainHeightsAroundParty(int a1, int a2); 2228 bool IsTerrainSlopeTooHigh(int pos_x, int pos_y);
2229 int __fastcall GetTerrainHeightsAroundParty2(int a1, int a2, int *a3, int a4); 2229 int __fastcall GetTerrainHeightsAroundParty2(int a1, int a2, int *a3, int a4);
2230 struct stru148 *__fastcall sr_sub_4829B9(RenderVertexSoft *a1, RenderVertexSoft *a2, RenderVertexSoft *a3, stru148 *a4, int a5); 2230 struct stru148 *__fastcall sr_sub_4829B9(RenderVertexSoft *a1, RenderVertexSoft *a2, RenderVertexSoft *a3, stru148 *a4, int a5);
2231 signed int __cdecl const_1_0(); 2231 signed int __cdecl const_1_0();
2232 signed int __thiscall sr_sub_482A94(struct Span *_this); 2232 signed int __thiscall sr_sub_482A94(struct Span *_this);
2233 signed int __fastcall sr_sub_482E07(struct Span *a1, unsigned __int16 *pRenderTarget); // idb 2233 signed int __fastcall sr_sub_482E07(struct Span *a1, unsigned __int16 *pRenderTarget); // idb