/dports/math/units/units-2.16/ |
H A D | units.h | 103 struct unittype { struct 141 extern struct unittype *parameter_value; 145 extern struct unittype lastunit; 150 void freeunit(struct unittype *theunit); 151 void unitcopy(struct unittype *dest,struct unittype *src); 152 int divunit(struct unittype *left, struct unittype *right); 153 void invertunit(struct unittype *theunit); 154 int multunit(struct unittype *left, struct unittype *right); 156 int addunit(struct unittype *unita, struct unittype *unitb); 158 int unitpower(struct unittype *base, struct unittype *exponent); [all …]
|
H A D | parse.y | 31 struct unittype *result; 63 struct unittype * 66 struct unittype *unit; in getnewunit() 70 unit = (struct unittype *) in getnewunit() 71 mymalloc(sizeof(struct unittype),"(getnewunit)"); in getnewunit() 81 destroyunit(struct unittype *unit) in destroyunit() 89 struct unittype * 92 struct unittype *ret; in makenumunit() 114 struct unittype angleunit; in funcunit() 157 struct unittype *unit; [all …]
|
H A D | units.c | 307 struct unittype lastunit; 2085 unitcopy(struct unittype *dest, struct unittype *source) in unitcopy() 2097 multunit(struct unittype *left, struct unittype *right) in multunit() 2108 divunit(struct unittype *left, struct unittype *right) in divunit() 2283 compareunits(struct unittype *first, struct unittype *second, in compareunits() 2357 struct unittype one; in unit2num() 2373 struct unittype one; in unitdimless() 2517 unitpower(struct unittype *base, struct unittype *exponent) in unitpower() 2566 addunit(struct unittype *unita, struct unittype *unitb) in addunit() 2742 struct unittype unit; in showfunction() [all …]
|
H A D | parse.tab.c | 80 struct unittype *result; 112 struct unittype * 115 struct unittype *unit; in getnewunit() 119 unit = (struct unittype *) in getnewunit() 120 mymalloc(sizeof(struct unittype),"(getnewunit)"); in getnewunit() 130 destroyunit(struct unittype *unit) in destroyunit() 138 struct unittype * 141 struct unittype *ret; in makenumunit() 163 struct unittype angleunit; in funcunit() 270 struct unittype *unit; [all …]
|
/dports/games/wyrmsun/Wyrmsun-3.5.4/scripts/ |
H A D | wyr.lua | 39 function ConvertUnitType(unittype, civilization) 42 …f (civilization ~= GetUnitTypeData(unittype, "Civilization") and GetCivilizationClassUnitType(GetU… 50 return unittype 54 function CreateUnit(unittype, player, pos, z) 59 return OldCreateUnit(unittype, player, pos, z) 72 unittype = ConvertUnitType(unittype, GetPlayerData(player, "RaceName")) 75 return OldCreateUnit(unittype, player, pos, z) 78 function CreateUnitOnTop(unittype, player, on_top) 80 return OldCreateUnitOnTop(unittype, player, on_top) 88 unittype = ConvertUnitType(unittype, GetPlayerData(player, "RaceName")) [all …]
|
/dports/games/stratagus/stratagus-3.2.0/src/game/ |
H A D | trigger.cpp | 173 const CUnitType *unittype = TriggerGetUnitType(l); in CclGetNumUnitsAt() local 190 if (unittype == ANY_UNIT in CclGetNumUnitsAt() 193 || (unittype == unit.Type && !unit.Constructed)) { in CclGetNumUnitsAt() 230 const CUnitType *unittype = TriggerGetUnitType(l); in CclIfNearUnit() local 233 if (!unittype || !ut2) { in CclIfNearUnit() 260 if (unittype == ANY_UNIT in CclIfNearUnit() 263 || (unittype == unit.Type)) { in CclIfNearUnit() 299 const CUnitType *unittype = TriggerGetUnitType(l); in CclIfRescuedNearUnit() local 302 if (!unittype || !ut2) { in CclIfRescuedNearUnit() 327 if (unittype == ANY_UNIT in CclIfRescuedNearUnit() [all …]
|
/dports/games/spring/spring_98.0/AI/Skirmish/Shard/src/ |
H A D | TestAI.cpp | 87 unittype = SWIG_TypeQuery(this->L,"IUnit *"); in CTestAI() 197 SWIG_NewPointerObj(this->L,unit,unittype,0); in UnitGiven() 207 SWIG_NewPointerObj(this->L,unit,unittype,0); in UnitCreated() 217 SWIG_NewPointerObj(this->L,unit,unittype,0); in UnitBuilt() 227 SWIG_NewPointerObj(this->L,unit,unittype,0); in UnitDead() 237 SWIG_NewPointerObj(this->L,unit,unittype,0); in UnitIdle() 247 SWIG_NewPointerObj(this->L,unit,unittype,0); in UnitMoveFailed() 257 SWIG_NewPointerObj(this->L,unit,unittype,0); in UnitDamaged() 258 SWIG_NewPointerObj(this->L,attacker,unittype,0); in UnitDamaged() 265 SWIG_NewPointerObj(this->L,unit,unittype,1); in PushIUnit()
|
/dports/games/wargus/wargus-3.2.0/scripts/ |
H A D | wc2.lua | 101 function ConvertUnitType(unittype, race) 105 equiv = HumanEquivalent[unittype] 107 equiv = OrcEquivalent[unittype] 113 return unittype 118 function CreateUnit(unittype, player, pos) 120 return OldCreateUnit(unittype, player, pos) 130 return OldCreateUnit(unittype, player, pos) 137 unittype = ConvertUnitType(unittype, GetPlayerData(player, "RaceName")) 139 return OldCreateUnit(unittype, player, pos) 358 local unittype = ConvertUnitType("unit-peasant", GetPlayerData(player, "RaceName")) [all …]
|
/dports/games/wyrmgus/Wyrmgus-3.5.4/src/game/ |
H A D | trigger.cpp | 178 const CUnitType *unittype = TriggerGetUnitType(l); in CclGetNumUnitsAt() local 222 if (unittype == ANY_UNIT in CclGetNumUnitsAt() 225 || (unittype == unit.Type && !unit.UnderConstruction)) { in CclGetNumUnitsAt() 258 const CUnitType *unittype = TriggerGetUnitType(l); in CclIfNearUnit() local 263 if (!unittype || !ut2) { in CclIfNearUnit() 301 if (unittype == ANY_UNIT in CclIfNearUnit() 304 || (unittype == unit.Type)) { in CclIfNearUnit() 334 const CUnitType *unittype = TriggerGetUnitType(l); in CclIfRescuedNearUnit() local 337 if (!unittype || !ut2) { in CclIfRescuedNearUnit() 362 if (unittype == ANY_UNIT in CclIfRescuedNearUnit() [all …]
|
/dports/math/ploticus-nox11/pl240src/pltestsuite/ |
H A D | testpf_chron | 38 barwidth=line stubfmt=MMMdd unittype=datetime timefld=2 title="# hits per hour" \ 42 pl -prefab chron data=data15 x=1 tab=hour unittype=time xinc="1 hour" nearest=hour \ 47 pl -prefab chron data=data15 x=1 tab=hour unittype=time \ 54 mode=line unittype=datetime title="temperatures this week" \ 59 mode=line unittype=datetime datefmt=mm/dd/yyyy xinc="1 day" legendfmt=singleline \ 64 …mode=bars stack=yes barwidth=0.1 unittype=datetime datefmt=mm/dd/yyyy xinc="1 day" legendfmt=singl…
|
/dports/math/ploticus/pl240src/pltestsuite/ |
H A D | testpf_chron | 38 barwidth=line stubfmt=MMMdd unittype=datetime timefld=2 title="# hits per hour" \ 42 pl -prefab chron data=data15 x=1 tab=hour unittype=time xinc="1 hour" nearest=hour \ 47 pl -prefab chron data=data15 x=1 tab=hour unittype=time \ 54 mode=line unittype=datetime title="temperatures this week" \ 59 mode=line unittype=datetime datefmt=mm/dd/yyyy xinc="1 day" legendfmt=singleline \ 64 …mode=bars stack=yes barwidth=0.1 unittype=datetime datefmt=mm/dd/yyyy xinc="1 day" legendfmt=singl…
|
/dports/astro/qmapshack/qmapshack-V_1.16.1/src/qmapshack/device/ |
H A D | CDeviceTwoNav.cpp | 97 QString product, unittype; in readReginfo() local 117 unittype = val; in readReginfo() 122 if(!product.isEmpty() && !unittype.isEmpty()) in readReginfo() 124 setText(CGisListWks::eColumnName, QString("%1 (%2)").arg(product, unittype)); in readReginfo()
|
/dports/audio/festival/festival/lib/ |
H A D | clunits_build.scm | 248 (lambda (unittype) 249 (build_tree unittype clunits_params)) 253 (define (build_tree unittype clunits_params) 262 "." unittype)) 267 "." unittype) 274 unittype 280 unittype 286 unittype
|
/dports/misc/xiphos/xiphos-4.2.1/win32/extras/festival/lib/ |
H A D | clunits_build.scm | 248 (lambda (unittype) 249 (build_tree unittype clunits_params)) 253 (define (build_tree unittype clunits_params) 262 "." unittype)) 267 "." unittype) 274 unittype 280 unittype 286 unittype
|
/dports/games/freeciv-nox11/freeciv-2.6.6/client/ |
H A D | repodlgs_common.c | 117 unit_type_iterate(unittype) { in get_economy_report_units_data() 118 cost = utype_upkeep_cost(unittype, client.conn.playing, O_GOLD); in get_economy_report_units_data() 130 if (unit_type_get(punit) == unittype) { in get_economy_report_units_data() 144 entries[*num_entries_used].type = unittype; in get_economy_report_units_data()
|
/dports/games/freeciv/freeciv-2.6.6/client/ |
H A D | repodlgs_common.c | 117 unit_type_iterate(unittype) { in get_economy_report_units_data() 118 cost = utype_upkeep_cost(unittype, client.conn.playing, O_GOLD); in get_economy_report_units_data() 130 if (unit_type_get(punit) == unittype) { in get_economy_report_units_data() 144 entries[*num_entries_used].type = unittype; in get_economy_report_units_data()
|
/dports/games/stratagus/stratagus-3.2.0/src/unit/ |
H A D | script_unit.cpp | 699 CUnitType *unittype = CclGetUnitType(l); in CclCreateUnit() local 700 if (unittype == NULL) { in CclCreateUnit() 763 const CUnitType *unittype = TriggerGetUnitType(l); in CclTransformUnit() local 765 if (unittype && targetUnit) { in CclTransformUnit() 878 const CUnitType *unittype = TriggerGetUnitType(l); in CclOrderUnit() local 913 if (unittype == ANY_UNIT in CclOrderUnit() 916 || unittype == unit.Type) { in CclOrderUnit() 974 const CUnitType *unittype = TriggerGetUnitType(l); in CclKillUnit() local 1018 const CUnitType *unittype = TriggerGetUnitType(l); in CclKillUnitAt() local 1041 if (unittype == ANY_UNIT in CclKillUnitAt() [all …]
|
/dports/games/stratagus/stratagus-3.2.0/src/spell/ |
H A D | spell_summon.cpp | 101 CUnitType &unittype = *this->UnitType; in Cast() local 123 DebugPrint("Summoning a %s\n" _C_ unittype.Name.c_str()); in Cast() 129 target = MakeUnit(unittype, caster.Player); in Cast()
|
/dports/games/wyrmgus/Wyrmgus-3.5.4/src/spell/ |
H A D | spell_summon.cpp | 102 CUnitType &unittype = *this->UnitType; in Cast() local 127 DebugPrint("Summoning a %s\n" _C_ unittype.GetDefaultName(*caster.Player).c_str()); in Cast() 134 target = MakeUnit(unittype, caster.Player); in Cast()
|
/dports/games/wyrmgus/Wyrmgus-3.5.4/src/unit/ |
H A D | script_unit.cpp | 852 CUnitType *unittype = CclGetUnitType(l); in CclCreateUnit() local 853 if (unittype == nullptr) { in CclCreateUnit() 927 CUnitType *unittype = CclGetUnitType(l); in CclCreateUnitInTransporter() local 928 if (unittype == nullptr) { in CclCreateUnitInTransporter() 1001 if (unittype == nullptr) { in CclCreateUnitOnTop() 1056 if (unittype == nullptr) { in CclCreateBuildingAtRandomLocationNear() 1272 if (unittype == ANY_UNIT in CclOrderUnit() 1275 || unittype == unit.Type) { in CclOrderUnit() 1419 if (unittype == ANY_UNIT in CclKillUnitAt() 1422 || unittype == unit.Type) { in CclKillUnitAt() [all …]
|
/dports/games/spring/spring_98.0/AI/Skirmish/Shard/data/ai/preload/ |
H A D | api.lua | 175 …function map:FindClosestBuildSite(unittype,builderpos, searchradius, minimumdistance) -- returns P… 177 return game_engine:Map():FindClosestBuildSite(unittype,builderpos, searchradius, minimumdistance) 180 function map:CanBuildHere(unittype,position) -- returns boolean 182 return game_engine:Map():CanBuildHere(unittype,position)
|
/dports/games/spring/spring_98.0/AI/Skirmish/Shard/data/ai/ |
H A D | spothandler.lua | 23 function MetalSpotHandler:ClosestFreeSpot(unittype,position) 32 if game.map:CanBuildHere(unittype,p) then
|
/dports/math/ploticus-nox11/pl240src/prefabs/ |
H A D | chunk_area | 14 #if @context = chron && @unittype = date 18 #ifspec unittype xscaletype
|
/dports/math/ploticus/pl240src/prefabs/ |
H A D | chunk_area | 14 #if @context = chron && @unittype = date 18 #ifspec unittype xscaletype
|
/dports/games/spring/spring_98.0/AI/Skirmish/Shard/data/ai/ZK/ |
H A D | spothandler.lua | 44 function MetalSpotHandler:ClosestFreeSpot(unittype,position) 53 if game.map:CanBuildHere(unittype,p) then
|