File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #include " OpenSHC/AI/AICState.hpp"
2+ #include " OpenSHC/AI/AITypeA.hpp"
3+
4+ #include " OpenSHC/Globals/DAT_GameState.hpp"
5+
6+ namespace OpenSHC {
7+ namespace AI {
8+
9+ // FUNCTION: STRONGHOLDCRUSADER 0x004CB120
10+ int AICState::getAIBuildInterval (int playerID)
11+
12+ {
13+ int const aiType = DAT_GameState::ptr->playerDataArray [playerID].aiType ;
14+ if (aiType == AITA_NULL ) {
15+ return 0 ;
16+ }
17+
18+ return this ->DAT_AICArray [(aiType - 1 )].buildInterval ;
19+ }
20+ }
21+ }
Original file line number Diff line number Diff line change @@ -16807,7 +16807,7 @@ SHC_3BB0A8C1_0x004CAD10 | 0.0% | Pending
1680716807SHC_3BB0A8C1_0x004CAE20 | 0.0% | Pending
1680816808SHC_3BB0A8C1_0x004CAEA0 | 0.0% | Pending
1680916809SHC_3BB0A8C1_0x004CB060 | 100.0% | Reimplemented
16810- SHC_3BB0A8C1_0x004CB120 | 0 .0% | Pending
16810+ SHC_3BB0A8C1_0x004CB120 | 100 .0% | Reimplemented
1681116811SHC_3BB0A8C1_0x004CB150 | 0.0% | Pending
1681216812SHC_3BB0A8C1_0x004CB180 | 0.0% | Pending
1681316813SHC_3BB0A8C1_0x004CB1B0 | 0.0% | Pending
You can’t perform that action at this time.
0 commit comments