Bind stadium construction and historical data to scoped engine offers (by Codex)
This commit is contained in:
1 parent
dfb972abbd
commit
0edf208405
22 files changed
+1037
-40
No files matched your search
@@ -1672,6 +1672,8 @@ bool pay_construction(ModernState& g, int manager, uint32_t price, bool sponsor,
|
||||
return paid;
|
||||
}
|
||||
|
||||
int periphery_build_weeks(int object) {if(object<0||object>=14)throw FormatError("stadium: invalid periphery object");return kPeripheryDays[object];}
|
||||
|
||||
bool build_periphery(ModernState& g, int manager, int object, uint32_t price, WatcomRandom& rand,
|
||||
const ConstructionNoticeHook& notice) {
|
||||
if (!modern::pay_construction(g, manager, price, true, rand, notice)) return false;
|
||||
|
||||
Reference in new issue
Block a user