Searched refs:NUMOF_DAYS_IN_MONTH (Results 1 – 21 of 21) sorted by relevance
222 int day = total_time % NUMOF_DAYS_IN_MONTH +1; // 1..NUMOF_DAYS_IN_MONTH in updateDate()223 day = 1 + ( 29 * day / NUMOF_DAYS_IN_MONTH ); // 1..30 in updateDate()346 if (total_time % NUMOF_DAYS_IN_MONTH == (NUMOF_DAYS_IN_MONTH - 1)) { in print_stats()352 if (total_time % (NUMOF_DAYS_IN_MONTH/5) == NUMOF_DAYS_IN_MONTH / 5 - 1) { in print_stats()
92 …( total_time % ( NUMOF_DAYS_IN_MONTH * getConfig()->skipMonthsFast ) ) == NUMOF_DAYS_IN_MONTH - 1 … in execute_timestep()
532 int days = total_time % NUMOF_DAYS_IN_MONTH +1; // 1..NUMOF_DAYS_IN_MONTH in mps_global_housing()
163 monthgraph_pop[0] = ((int) (log ((tpopulation / NUMOF_DAYS_IN_MONTH) in updateData()
532 …1 + ((total_time % NUMOF_DAYS_IN_YEAR) / NUMOF_DAYS_IN_MONTH), current_year(total_time), total_mon… in saveGameStats()
95 if (total_time % NUMOF_DAYS_IN_MONTH == 0) { in do_time_step()204 if (total_time % NUMOF_DAYS_IN_MONTH == (NUMOF_DAYS_IN_MONTH - 1)) { in do_periodic_events()214 housed_population = (tpopulation / NUMOF_DAYS_IN_MONTH); in end_of_month_update()227 … * (1 + (tpopulation * (1. / NUMOF_DAYS_IN_MONTH / 120 / (TECH_LEVEL_LOSS - 200))))); in end_of_month_update()235 … * (1 + (tpopulation * (1. / NUMOF_DAYS_IN_MONTH / 120 / (TECH_LEVEL_LOSS - 100))))); in end_of_month_update()
132 #define NUMOF_DAYS_IN_MONTH 100 macro133 #define NUMOF_DAYS_IN_YEAR (NUMOF_DAYS_IN_MONTH*12)289 #define DAYS_BETWEEN_COVER (NUMOF_DAYS_IN_MONTH*3)800 #define DAYS_BETWEEN_SHANTY (NUMOF_DAYS_IN_MONTH*5)
29 return months[(current_time % NUMOF_DAYS_IN_YEAR) / NUMOF_DAYS_IN_MONTH]; in current_month()
406 housed_population = tpopulation / ((total_time % NUMOF_DAYS_IN_MONTH) + 1); in load_city_2()
282 housed_population = tpopulation / NUMOF_DAYS_IN_MONTH; in load_city_old()
62 if (total_time % NUMOF_DAYS_IN_MONTH == 0) { in do_time_step()252 if (total_time % NUMOF_DAYS_IN_MONTH == (NUMOF_DAYS_IN_MONTH - 1)) { in do_periodic_events()270 housed_population = (tpopulation / NUMOF_DAYS_IN_MONTH); in end_of_month_update()285 *(1./NUMOF_DAYS_IN_MONTH/120 in end_of_month_update()296 *(1./NUMOF_DAYS_IN_MONTH/120 in end_of_month_update()
216 #define NUMOF_DAYS_IN_MONTH 100 macro217 #define NUMOF_DAYS_IN_YEAR (NUMOF_DAYS_IN_MONTH*12)398 #define DAYS_BETWEEN_COVER (NUMOF_DAYS_IN_MONTH*3)1011 #define DAYS_BETWEEN_SHANTY (NUMOF_DAYS_IN_MONTH*5)
18 return _(months[(current_time % NUMOF_DAYS_IN_YEAR) / NUMOF_DAYS_IN_MONTH]); in current_month()
1655 if (total_time % NUMOF_DAYS_IN_MONTH == (NUMOF_DAYS_IN_MONTH - 1)) { in print_stats()1678 if (total_time % NUMOF_DAYS_IN_MONTH == 1) { in print_stats()1742 i = ((tstarving_population / NUMOF_DAYS_IN_MONTH) in print_stats()1743 * 1000) / ((tpopulation / NUMOF_DAYS_IN_MONTH) + 1); in print_stats()1746 sprintf (s, "%5d ", tfood_in_markets / NUMOF_DAYS_IN_MONTH); in print_stats()1748 i = ((tunemployed_population / NUMOF_DAYS_IN_MONTH) in print_stats()1749 * 1000) / ((tpopulation / NUMOF_DAYS_IN_MONTH) + 1); in print_stats()2039 monthgraph_pop[0] = ((int) (log ((tpopulation / NUMOF_DAYS_IN_MONTH) in do_history_linegraph()
497 housed_population = tpopulation / NUMOF_DAYS_IN_MONTH; in load_city()
70 if ((total_time % NUMOF_DAYS_IN_MONTH) == 0) in do_tip()
212 if ((total_time % NUMOF_DAYS_IN_MONTH) == NUMOF_DAYS_IN_MONTH - 1) in do_industry_l()
178 if ((total_time % NUMOF_DAYS_IN_MONTH) == NUMOF_DAYS_IN_MONTH - 1) in do_industry_h()
55 if ((total_time % NUMOF_DAYS_IN_MONTH) == 0) { in do_tip()
167 if ((total_time % NUMOF_DAYS_IN_MONTH) == NUMOF_DAYS_IN_MONTH - 1) { in do_industry_l()
134 if ((total_time % NUMOF_DAYS_IN_MONTH) == NUMOF_DAYS_IN_MONTH - 1) { in do_industry_h()