Home
last modified time | relevance | path

Searched refs:fixedExpense (Results 1 – 6 of 6) sorted by relevance

/dports/games/7kaa/7kaa-2.15.4p1/src/
H A DOAI_ECO.cpp89 float fixedExpense = fixed_expense_365days(); in ai_should_spend() local
90 float stdCashLevel = MAX(fixedExpense,2000) * (150+pref_cash_reserve) / 100; in ai_should_spend()
97 if( 400 * (-trueProfit) / fixedExpense > importanceRating ) in ai_should_spend()
H A DOAI_DIPL.cpp834 float fixedExpense = fixed_expense_365days(); in think_demand_tribute_aid() local
865 if( cash < fixedExpense && fixedExpense != 0 ) in think_demand_tribute_aid()
866 requestRating -= int( (float) requestRating * cash / fixedExpense); in think_demand_tribute_aid()
871 if( cash >= fixedExpense ) in think_demand_tribute_aid()
874 …if( cash > fixedExpense * (50+pref_cash_reserve) / 300 && // if the nation is runing short of cas… in think_demand_tribute_aid()
885 requestRating = 20 + 50 * (int)(cash / fixedExpense); in think_demand_tribute_aid()
H A DOAI_TALK.cpp451 float fixedExpense = fixed_expense_365days(); in consider_sell_food() local
453 if( cash < fixedExpense ) in consider_sell_food()
454 offeredAmount += (int) (20 * (fixedExpense-cash) / fixedExpense); in consider_sell_food()
H A DOAI_BUIL.cpp305 float fixedExpense = fixed_expense_365days(); in ai_supported_inn_count() local
H A DONATIONB.cpp922 void NationBase::add_expense(int expenseType, float expenseAmt, int fixedExpense) in add_expense() argument
933 if( fixedExpense ) in add_expense()
/dports/games/7kaa/7kaa-2.15.4p1/include/
H A DONATIONB.h403 void add_expense(int expenseType, float expenseAmt, int fixedExpense=0);