Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2014
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. void fun_doGameWeekTick()
  2. {
  3. ++gametime_totalWeeks;
  4. ++game_weeks;
  5. if ( game_weeks > 15 )
  6. {
  7. game_weeks = 0;
  8. city_inform[ciid].newcomersThisMonth = 0;
  9. ++city_inform[ciid].monthsSinceFestival;
  10. fun_calculateHealthRate();
  11. fun_handleRandomEvents();
  12. fun_collectMonthlyTaxes();
  13. fun_payMonthlyWages();
  14. fun_payMonthlyInterest();
  15. fun_payMonthlySalary();
  16. sub_45DAE0();
  17. fun_handleDistantBattleEvent();
  18. fun_handleInvasionEvent();
  19. fun_checkRequestsEvent();
  20. fun_checkDemandChangesEvent();
  21. fun_checkPriceChangesEvent();
  22. fun_decreaseMonthsLeftToGovernAfterWin();
  23. sub_4BBD90();
  24. sub_4DE900();
  25. sub_47F400();
  26. sub_478CE0(0, 0, setting_map_width - 1, setting_map_height - 1);
  27. fun_determineGroundType();
  28. fun_sortAndCompactPlayerMessages();
  29. ++gametime_month;
  30. fun_updateRatings(0);
  31. fun_handleExpandEmpireEvent();
  32. byte_660585 = 0;
  33. dword_8E1484 = 0;
  34. ++gametime_year;
  35. fun_gametick_requestBirthsDeaths_calculateHousingTypes();
  36. fun_recordMonthlyPopulation();
  37. fun_holdFestival();
  38. fun_calculateCityHappinessAndCrime();
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement