Searched refs:ModDefaultStats (Results 1 – 5 of 5) sorted by relevance
/dports/games/wyrmgus/Wyrmgus-3.5.4/src/game/ |
H A D | game.cpp | 894 if (type.ModDefaultStats.find(Map.Info.Filename) != type.ModDefaultStats.end()) { in WriteMapSetup() 896 if (type.ModDefaultStats[Map.Info.Filename].Costs[j] != 0) { in WriteMapSetup() 897 …"Costs\", %d, \"%s\")\n", mod_file.c_str(), type.Ident.c_str(), type.ModDefaultStats[Map.Info.File… in WriteMapSetup() 901 if (type.ModDefaultStats[Map.Info.Filename].ImproveIncomes[j] != 0) { in WriteMapSetup() 905 …::const_iterator iterator = type.ModDefaultStats[Map.Info.Filename].UnitStock.begin(); iterator !=… in WriteMapSetup() 913 if (type.ModDefaultStats[Map.Info.Filename].Variables[j].Value != 0) { in WriteMapSetup() 914 …c_str(), type.Ident.c_str(), UnitTypeVar.VariableNameLookup[j], type.ModDefaultStats[Map.Info.File… in WriteMapSetup() 916 if (type.ModDefaultStats[Map.Info.Filename].Variables[j].Max != 0) { in WriteMapSetup() 917 …c_str(), type.Ident.c_str(), UnitTypeVar.VariableNameLookup[j], type.ModDefaultStats[Map.Info.File… in WriteMapSetup() 919 …ModDefaultStats[Map.Info.Filename].Variables[j].Enable != 0 && (type.ModDefaultStats[Map.Info.File… in WriteMapSetup() [all …]
|
/dports/games/wyrmgus/Wyrmgus-3.5.4/src/unit/ |
H A D | script_unittype.cpp | 4108 if (type->ModDefaultStats.find(mod_file) == type->ModDefaultStats.end()) { in SetModStat() 4115 type->MapDefaultStat.Costs[resId] -= type->ModDefaultStats[mod_file].Costs[resId]; in SetModStat() 4117 type->Stats[player].Costs[resId] -= type->ModDefaultStats[mod_file].Costs[resId]; in SetModStat() 4120 type->ModDefaultStats[mod_file].Costs[resId] = value; in SetModStat() 4122 type->MapDefaultStat.Costs[resId] += type->ModDefaultStats[mod_file].Costs[resId]; in SetModStat() 4135 type->ModDefaultStats[mod_file].ImproveIncomes[resId] = value; in SetModStat() 4150 type->ModDefaultStats[mod_file].SetUnitStock(unit_type, value); in SetModStat() 4167 type->ModDefaultStats[mod_file].Variables[variable_index].Value = value; in SetModStat() 4181 type->ModDefaultStats[mod_file].Variables[variable_index].Max = value; in SetModStat() 4195 type->ModDefaultStats[mod_file].Variables[variable_index].Increase = value; in SetModStat() [all …]
|
H A D | unittype.cpp | 1917 …::string, CUnitStats>::iterator iterator = type.ModDefaultStats.begin(); iterator != type.ModDefau… in UpdateUnitStats()
|
/dports/games/wyrmgus/Wyrmgus-3.5.4/src/stratagus/ |
H A D | script.cpp | 3634 if (UnitTypes[i]->ModDefaultStats.find(mod_file) != UnitTypes[i]->ModDefaultStats.end()) { in DisableMod() 3635 UnitTypes[i]->ModDefaultStats.erase(mod_file); in DisableMod()
|
/dports/games/wyrmgus/Wyrmgus-3.5.4/src/include/unit/ |
H A D | unittype.h | 1027 std::map<std::string, CUnitStats> ModDefaultStats; variable
|