Home
last modified time | relevance | path

Searched refs:stockpileWeapon (Results 1 – 9 of 9) sorted by relevance

/dports/games/spring/spring_98.0/rts/Sim/Units/CommandAI/
H A DCommandAI.cpp54 CR_MEMBER(stockpileWeapon),
78 stockpileWeapon(0), in CCommandAI()
93 stockpileWeapon(0), in CCommandAI()
598 if (cmdID == CMD_STOCKPILE && !stockpileWeapon) in AllowedCommand()
707 stockpileWeapon->numStockpileQued += change; in ExecuteStateCommand()
708 if (stockpileWeapon->numStockpileQued < 0) { in ExecuteStateCommand()
709 stockpileWeapon->numStockpileQued = 0; in ExecuteStateCommand()
1473 stockpileWeapon=weapon; in AddStockpileWeapon()
1496 IntToString(stockpileWeapon->numStockpiled ) + "/" + in UpdateStockpileIcon()
1497 IntToString(stockpileWeapon->numStockpiled + stockpileWeapon->numStockpileQued); in UpdateStockpileIcon()
H A DCommandAI.h102 CWeapon* stockpileWeapon; variable
/dports/games/spring/spring_98.0/rts/ExternalAI/
H A DAICallback.cpp1678 if (!unit->stockpileWeapon || !teamHandler->Ally(unit->allyteam, allyTeam)) { in GetProperty()
1681 (*(int*)data) = unit->stockpileWeapon->numStockpiled; in GetProperty()
1685 if (!unit->stockpileWeapon || !teamHandler->Ally(unit->allyteam, allyTeam)) { in GetProperty()
1688 (*(int*)data) = unit->stockpileWeapon->numStockpileQued; in GetProperty()
/dports/games/spring/spring_98.0/rts/Sim/Units/
H A DUnit.h241 CWeapon* stockpileWeapon; variable
H A DUnit.cpp97 stockpileWeapon(NULL), in CUnit()
2312 CR_MEMBER(stockpileWeapon),
/dports/games/spring/spring_98.0/rts/Sim/Weapons/
H A DWeapon.cpp1268 owner->stockpileWeapon = this; in Init()
/dports/games/spring/spring_98.0/rts/Lua/
H A DLuaSyncedRead.cpp2634 if (unit->stockpileWeapon == NULL) { in GetUnitStockpile()
2637 lua_pushnumber(L, unit->stockpileWeapon->numStockpiled); in GetUnitStockpile()
2638 lua_pushnumber(L, unit->stockpileWeapon->numStockpileQued); in GetUnitStockpile()
2639 lua_pushnumber(L, unit->stockpileWeapon->buildPercent); in GetUnitStockpile()
H A DLuaSyncedCtrl.cpp1431 CWeapon* w = unit->stockpileWeapon; in SetUnitStockpile()
1443 unit->stockpileWeapon->buildPercent = percent; in SetUnitStockpile()
/dports/games/spring/spring_98.0/rts/Game/UI/
H A DGuiHandler.cpp3544 w = unit->stockpileWeapon; in DrawMapStuff()