Mercurial > mm7
comparison NPC.cpp @ 1458:934074e7fcc1
ModalWindow
__thiscall and __cdecl removed
Some random renames & refactors
author | Nomad |
---|---|
date | Wed, 21 Aug 2013 14:26:36 +0200 |
parents | 2423bc2af692 |
children | 2ca62c9e7b3c |
comparison
equal
deleted
inserted
replaced
1457:9dc33590f93e | 1458:934074e7fcc1 |
---|---|
901 return pNPCStats->pNewNPCData[57].Hired(); | 901 return pNPCStats->pNewNPCData[57].Hired(); |
902 } | 902 } |
903 | 903 |
904 //----- (00476395) -------------------------------------------------------- | 904 //----- (00476395) -------------------------------------------------------- |
905 //0x26 Wizard eye at skill level 2 | 905 //0x26 Wizard eye at skill level 2 |
906 bool __thiscall CheckHiredNPCSpeciality(unsigned int uProfession) | 906 bool CheckHiredNPCSpeciality(unsigned int uProfession) |
907 { | 907 { |
908 | 908 |
909 if ( bNoNPCHiring == 1 ) | 909 if ( bNoNPCHiring == 1 ) |
910 return 0; | 910 return 0; |
911 | 911 |
1140 } while ((decode_step<2)&&!break_loop); | 1140 } while ((decode_step<2)&&!break_loop); |
1141 } | 1141 } |
1142 } | 1142 } |
1143 | 1143 |
1144 //----- (00476750) -------------------------------------------------------- | 1144 //----- (00476750) -------------------------------------------------------- |
1145 void __cdecl InitializeAutonotes() | 1145 void InitializeAutonotes() |
1146 { | 1146 { |
1147 int i; | 1147 int i; |
1148 char* test_string; | 1148 char* test_string; |
1149 unsigned char c; | 1149 unsigned char c; |
1150 bool break_loop; | 1150 bool break_loop; |
1225 } | 1225 } |
1226 } | 1226 } |
1227 | 1227 |
1228 | 1228 |
1229 //----- (004768A9) -------------------------------------------------------- | 1229 //----- (004768A9) -------------------------------------------------------- |
1230 void __cdecl InitializeQuests() | 1230 void InitializeQuests() |
1231 { | 1231 { |
1232 int i; | 1232 int i; |
1233 char* test_string; | 1233 char* test_string; |
1234 unsigned char c; | 1234 unsigned char c; |
1235 bool break_loop; | 1235 bool break_loop; |