Home
last modified time | relevance | path

Searched refs:IsValidTownEffect (Results 1 – 3 of 3) sorted by relevance

/dports/games/openttd/openttd-12.1/src/script/api/
H A Dscript_cargo.hpp85 static bool IsValidTownEffect(TownEffect towneffect_type);
H A Dscript_town.cpp124 if (!ScriptCargo::IsValidTownEffect(towneffect_id)) return -1; in GetLastMonthReceived()
134 EnforcePrecondition(false, ScriptCargo::IsValidTownEffect(towneffect_id)); in SetCargoGoal()
142 if (!ScriptCargo::IsValidTownEffect(towneffect_id)) return UINT32_MAX; in GetCargoGoal()
H A Dscript_cargo.cpp25 /* static */ bool ScriptCargo::IsValidTownEffect(TownEffect towneffect_type) in IsValidTownEffect() function in ScriptCargo