Home
last modified time | relevance | path

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

/dports/games/maxr/maxr-0.2.9/src/game/data/map/
H A Dmap.cpp669 std::vector<int> resSpotTypes(landingPositions.size(), RES_METAL); in placeRessources()
673 …resSpots.push_back(T_2<int> ((position.x() & ~1) + (RES_METAL % 2), (position.y() & ~1) + ((RES_ME… in placeRessources()
679 frequencies[RES_METAL] = gameSetting.getMetalAmount(); in placeRessources()
743 amount[RES_METAL] /= 1.0f; in placeRessources()
747 int type = RES_METAL; in placeRessources()
H A Dmap.h52 const int RES_METAL = 1; variable
/dports/games/maxr/maxr-0.2.9/src/game/data/base/
H A Dbase.cpp97 return calcMaxProd (RES_METAL); in getMaxMetalProd()
112 return calcMaxAllowedProd (RES_METAL); in getMaxAllowedMetalProd()
229 case RES_METAL: maxProd += building.MaxMetalProd; break; in calcMaxProd()
251 case RES_METAL: in calcMaxAllowedProd()
679 …sendSavedReport (server, cSavedReportResourceChanged (RES_METAL, metal - MetalProd, false), owner); in checkOil()
/dports/games/maxr/maxr-0.2.9/src/game/data/units/
H A Dbuilding.cpp753 …sendSavedReport (server, cSavedReportResourceChanged (RES_METAL, metal - SubBase->getMetalProd(), … in ServerStartWork()
1226 case RES_METAL: MaxMetalProd += res->value; break; in CheckRessourceProd()
1235 case RES_METAL: MaxMetalProd += res->value; break; in CheckRessourceProd()
1244 case RES_METAL: MaxMetalProd += res->value; break; in CheckRessourceProd()
1253 case RES_METAL: MaxMetalProd += res->value; break; in CheckRessourceProd()
/dports/games/maxr/maxr-0.2.9/src/ui/graphical/game/widgets/
H A Dgamemapwidget.cpp1294 if (resource.typ == RES_METAL) in drawResources()