MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / getFreeWorkshops

Method getFreeWorkshops

src/Savegame/Base.cpp:782–785  ·  view source on GitHub ↗

* Return workshop space not used by a Production * @return workshop space not used by a Production */

Source from the content-addressed store, hash-verified

780 * @return workshop space not used by a Production
781*/
782int Base::getFreeWorkshops () const
783{
784 return getAvailableWorkshops() - getUsedWorkshops();
785}
786
787/**
788 * Return psilab space not in use

Callers 5

lstProdClickMethod · 0.80
setAssignedEngineerMethod · 0.80
moreEngineerMethod · 0.80
fillProductionListMethod · 0.80
ManufactureStartStateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected