comparison mm7_data.h @ 2006:30c2b575d25c

signed fixes DamagePlayerFromMonster -1 indexing
author zipi
date Wed, 06 Nov 2013 13:06:02 +0000
parents 985fff9fb62d
children 664146d9b101
comparison
equal deleted inserted replaced
2005:8fa26b63244a 2006:30c2b575d25c
792 extern int uCPUSpeed; // weak 792 extern int uCPUSpeed; // weak
793 extern char cMM7GameCDDriveLetter; // idb 793 extern char cMM7GameCDDriveLetter; // idb
794 extern void *ptr_6A0D08; 794 extern void *ptr_6A0D08;
795 extern int _6A0D0C_txt_lod_loading; // weak 795 extern int _6A0D0C_txt_lod_loading; // weak
796 extern int _6A0D10_txt_lod_loading__unused; // weak 796 extern int _6A0D10_txt_lod_loading__unused; // weak
797 extern enum MENU_STATE uCurrentMenuID; 797 extern enum MENU_STATE sCurrentMenuID;
798 extern unsigned int uGameState; 798 extern unsigned int uGameState;
799 extern int uDefaultTravelTime_ByFoot; // weak 799 extern int uDefaultTravelTime_ByFoot; // weak
800 extern int day_attrib; // weak 800 extern int day_attrib; // weak
801 extern int day_fogrange_1; // weak 801 extern int day_fogrange_1; // weak
802 extern int day_fogrange_2; // weak 802 extern int day_fogrange_2; // weak
1105 void back_to_game(); 1105 void back_to_game();
1106 void GUI_MainMenuMessageProc(); 1106 void GUI_MainMenuMessageProc();
1107 double get_shading_dist_mist(); 1107 double get_shading_dist_mist();
1108 void Vec3_short__to_RenderVertexSoft(struct RenderVertexSoft *_this, struct Vec3_short_ *a2); 1108 void Vec3_short__to_RenderVertexSoft(struct RenderVertexSoft *_this, struct Vec3_short_ *a2);
1109 void area_of_effect__damage_evaluate(); 1109 void area_of_effect__damage_evaluate();
1110 void __fastcall DamagePlayerFromMonster(unsigned int uObjID, int a2, struct Vec3_int_ *pPos, unsigned int a4); 1110 void __fastcall DamagePlayerFromMonster(unsigned int uObjID, int a2, struct Vec3_int_ *pPos, signed int a4);
1111 void __fastcall sub_43A97E(unsigned int uLayingItemID, signed int a2); // idb 1111 void __fastcall sub_43A97E(unsigned int uLayingItemID, signed int a2); // idb
1112 double __fastcall sub_43AE12(signed int a1); 1112 double __fastcall sub_43AE12(signed int a1);
1113 int __fastcall _43AFE3_calc_spell_damage(int a1, int a2, signed int a3, int a4); 1113 int __fastcall _43AFE3_calc_spell_damage(int a1, int a2, signed int a3, int a4);
1114 void __fastcall sub_43B057(unsigned int uObjID, unsigned int uActorID, struct Vec3_int_ *pVelocity); 1114 void __fastcall sub_43B057(unsigned int uObjID, unsigned int uActorID, struct Vec3_int_ *pVelocity);
1115 void sub_43B1B0(signed int a1, unsigned int a2, struct Vec3_int_ *pVelocity, signed int a4); 1115 void sub_43B1B0(signed int a1, unsigned int a2, struct Vec3_int_ *pVelocity, signed int a4);
1219 int __fastcall GetTerrainHeightsAroundParty2(int a1, int a2, int *a3, int a4); 1219 int __fastcall GetTerrainHeightsAroundParty2(int a1, int a2, int *a3, int a4);
1220 void sub_487DA9(); 1220 void sub_487DA9();
1221 double GetFogDensityByTime(struct OutdoorLocation *_this); 1221 double GetFogDensityByTime(struct OutdoorLocation *_this);
1222 bool __fastcall HSV2RGB(float *a1, float *a2, float *a3, float a4, float a5, float a6); 1222 bool __fastcall HSV2RGB(float *a1, float *a2, float *a3, float a4, float a5, float a6);
1223 void __fastcall RGB2HSV(float *a1, float *a2, float a3, float a4, float a5, float *a6); 1223 void __fastcall RGB2HSV(float *a1, float *a2, float a3, float a4, float a5, float *a6);
1224 unsigned int ReplaceHSV(unsigned int uColor, float a2, float gamma, float a4); 1224 signed int ReplaceHSV(unsigned int uColor, float a2, float gamma, float a4);
1225 bool PlayerCreation_Choose4Skills(); 1225 bool PlayerCreation_Choose4Skills();
1226 int PlayerCreation_GetUnspentAttributePointCount(); 1226 int PlayerCreation_GetUnspentAttributePointCount();
1227 void LoadPlayerPortraintsAndVoices(); 1227 void LoadPlayerPortraintsAndVoices();
1228 void ReloadPlayerPortraits(int player_id, int face_id); 1228 void ReloadPlayerPortraits(int player_id, int face_id);
1229 void sub_491E3A(); 1229 void sub_491E3A();