Home
last modified time | relevance | path

Searched refs:RES_GOLD (Results 1 – 5 of 5) sorted by relevance

/dports/games/maxr/maxr-0.2.9/src/game/data/report/special/
H A Dsavedreportresourcechanged.cpp80 if (resourceType == RES_GOLD) text = "Text~Comp~Adjustments_Gold_Increased"; in getMessage()
86 if (resourceType == RES_GOLD) text = "Text~Comp~Adjustments_Gold_Decreased"; in getMessage()
/dports/games/maxr/maxr-0.2.9/src/game/data/map/
H A Dmap.cpp681 frequencies[RES_GOLD] = gameSetting.getGoldAmount(); in placeRessources()
745 amount[RES_GOLD] /= 0.4f; in placeRessources()
749 if (amount[RES_GOLD] < amount[type]) type = RES_GOLD; in placeRessources()
777 ((hasGold && i >= playerCount) || resSpotTypes[i] == RES_GOLD || type != RES_GOLD) && in placeRessources()
H A Dmap.h54 const int RES_GOLD = 3; variable
/dports/games/maxr/maxr-0.2.9/src/game/data/base/
H A Dbase.cpp102 return calcMaxProd (RES_GOLD); in getMaxGoldProd()
117 return calcMaxAllowedProd (RES_GOLD); in getMaxAllowedGoldProd()
231 case RES_GOLD: maxProd += building.MaxGoldProd; break; in calcMaxProd()
267 case RES_GOLD: in calcMaxAllowedProd()
681 sendSavedReport (server, cSavedReportResourceChanged (RES_GOLD, gold - GoldProd, false), owner); in checkOil()
/dports/games/maxr/maxr-0.2.9/src/game/data/units/
H A Dbuilding.cpp755 …sendSavedReport (server, cSavedReportResourceChanged (RES_GOLD, gold - SubBase->getGoldProd(), fal… in ServerStartWork()
1227 case RES_GOLD: MaxGoldProd += res->value; break; in CheckRessourceProd()
1236 case RES_GOLD: MaxGoldProd += res->value; break; in CheckRessourceProd()
1245 case RES_GOLD: MaxGoldProd += res->value; break; in CheckRessourceProd()
1254 case RES_GOLD: MaxGoldProd += res->value; break; in CheckRessourceProd()