Home
last modified time | relevance | path

Searched refs:NUMOF_DAYS_IN_MONTH (Results 1 – 21 of 21) sorted by relevance

/dports/games/lincity-ng/lincity-ng-2.0/src/lincity-ng/
H A DScreenInterface.cpp222 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()
H A DMainLincity.cpp92 …( total_time % ( NUMOF_DAYS_IN_MONTH * getConfig()->skipMonthsFast ) ) == NUMOF_DAYS_IN_MONTH - 1 … in execute_timestep()
H A DMpsInterface.cpp532 int days = total_time % NUMOF_DAYS_IN_MONTH +1; // 1..NUMOF_DAYS_IN_MONTH in mps_global_housing()
H A DEconomyGraph.cpp163 monthgraph_pop[0] = ((int) (log ((tpopulation / NUMOF_DAYS_IN_MONTH) in updateData()
H A DDialog.cpp532 …1 + ((total_time % NUMOF_DAYS_IN_YEAR) / NUMOF_DAYS_IN_MONTH), current_year(total_time), total_mon… in saveGameStats()
/dports/games/lincity-ng/lincity-ng-2.0/src/lincity/
H A Dsimulate.cpp95 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()
H A Dlin-city.h132 #define NUMOF_DAYS_IN_MONTH 100 macro
133 #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)
H A Dlclib.cpp29 return months[(current_time % NUMOF_DAYS_IN_YEAR) / NUMOF_DAYS_IN_MONTH]; in current_month()
H A Dloadsave.cpp406 housed_population = tpopulation / ((total_time % NUMOF_DAYS_IN_MONTH) + 1); in load_city_2()
H A Dold_ldsvguts.cpp282 housed_population = tpopulation / NUMOF_DAYS_IN_MONTH; in load_city_old()
/dports/games/lincity/lincity-1.13.1/
H A Dsimulate.c62 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()
H A Dlin-city.h216 #define NUMOF_DAYS_IN_MONTH 100 macro
217 #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)
H A Dlclib.c18 return _(months[(current_time % NUMOF_DAYS_IN_YEAR) / NUMOF_DAYS_IN_MONTH]); in current_month()
H A Dscreen.c1655 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()
H A Dldsvguts.c497 housed_population = tpopulation / NUMOF_DAYS_IN_MONTH; in load_city()
/dports/games/lincity/lincity-1.13.1/modules/
H A Dtip.c70 if ((total_time % NUMOF_DAYS_IN_MONTH) == 0) in do_tip()
H A Dlight_industry.c212 if ((total_time % NUMOF_DAYS_IN_MONTH) == NUMOF_DAYS_IN_MONTH - 1) in do_industry_l()
H A Dheavy_industry.c178 if ((total_time % NUMOF_DAYS_IN_MONTH) == NUMOF_DAYS_IN_MONTH - 1) in do_industry_h()
/dports/games/lincity-ng/lincity-ng-2.0/src/lincity/modules/
H A Dtip.cpp55 if ((total_time % NUMOF_DAYS_IN_MONTH) == 0) { in do_tip()
H A Dlight_industry.cpp167 if ((total_time % NUMOF_DAYS_IN_MONTH) == NUMOF_DAYS_IN_MONTH - 1) { in do_industry_l()
H A Dheavy_industry.cpp134 if ((total_time % NUMOF_DAYS_IN_MONTH) == NUMOF_DAYS_IN_MONTH - 1) { in do_industry_h()