122 Quad total = fireInt + policeInt + roadInt;
126 if (yumDuckets > total) {
137 }
else if (total > 0) {
139 assert(yumDuckets <= total);
144 if (yumDuckets > roadInt) {
149 yumDuckets -= roadInt;
151 if (yumDuckets > fireInt) {
156 yumDuckets -= fireInt;
158 if (yumDuckets > policeInt) {
167 yumDuckets -= policeInt;
176 if (yumDuckets > 0) {
203 if (yumDuckets > 0) {
208 ((float)yumDuckets) / ((float)
fireFund);
233 if (yumDuckets > 0) {
251 assert(yumDuckets == total);
274 showBudgetWindowAndStartWaiting();
286 Quad moreDough = (Quad)(
taxFund - total);
301 if (yumDuckets > total) {
303 Quad moreDough = (Quad)(
taxFund - total);
@ MESSAGE_NO_MONEY
YOUR CITY HAS GONE BROKE!