/dports/games/ufoai/ufoai-2.5-source/src/client/cgame/campaign/ |
H A D | cp_ufo.cpp | 54 ufo++; in UFO_GetNext() 67 while ((ufo = UFO_GetNext(ufo)) != nullptr) { in UFO_GetNextOnGeoscape() 428 GEO_CalcLine(ufo->pos, dest, &ufo->route); in UFO_SearchAircraftTarget() 457 GEO_CalcLine(ufo->pos, dest, &ufo->route); in UFO_SendPursuingAircraft() 476 GEO_CalcLine(ufo->pos, dest, &ufo->route); in UFO_SendToDestination() 568 for (ufo = ccs.ufos; ufo < ccs.ufos + ccs.numUFOs; ufo++) { in UFO_DestroyUFOs_f() 583 for (ufo = ccs.ufos; ufo < ccs.ufos + ccs.numUFOs; ufo++) { in UFO_ListOnGeoscape_f() 584 …Printf("..%s (%s) - status: %i - pos: %.0f:%0.f\n", ufo->name, ufo->id, ufo->status, ufo->pos[0], … in UFO_ListOnGeoscape_f() 586 ufo->route.numPoints, ufo->point, ufo->time, ufo->route.distance, ufo->stats[AIR_STATS_SPEED]); in UFO_ListOnGeoscape_f() 705 ufo->damage = ufo->stats[AIR_STATS_DAMAGE]; in UFO_AddToGeoscape() [all …]
|
H A D | cp_uforecovery.cpp | 47 US_Foreach(ufo) { in UR_ProcessActive() 83 US_Foreach(ufo) { in US_GetStoredUFOByIDX() 85 return ufo; in US_GetStoredUFOByIDX() 116 storedUFO_t ufo; in US_StoreUFO() local 118 Q_strncpyz(ufo.id, ufoTemplate->id, sizeof(ufo.id)); in US_StoreUFO() 119 ufo.comp = CP_GetComponentsByID(ufo.id); in US_StoreUFO() 120 assert(ufo.comp); in US_StoreUFO() 148 assert(ufo); in US_RemoveStoredUFO() 227 if (!ufo) in US_TransferUFO() 368 ufo.ufoTemplate = AIR_GetAircraft(ufo.id); in US_LoadXML() [all …]
|
H A D | cp_radar.cpp | 142 if (radar->ufos[i] == ufo) in RADAR_IsUFOSensored() 163 radar->ufos[radar->numUFOs] = ufo; in RADAR_AddUFO() 179 if (radar->ufos[i] == ufo) in RADAR_RemoveUFO() 201 if (radar->ufos[i] == ufo) { in RADAR_NotifyUFORemovedFromOneRadar() 357 RADAR_AddUFO(&base->radar, ufo); in RADAR_AddDetectedUFOToEveryRadar() 427 RADAR_AddUFO(radar, ufo); in RADAR_CheckUFOSensored() 446 RADAR_RemoveUFO(radar, ufo); in RADAR_CheckUFOSensored() 458 aircraft_t* ufo; in RADAR_SetRadarAfterLoading() local 460 ufo = nullptr; in RADAR_SetRadarAfterLoading() 461 while ((ufo = UFO_GetNext(ufo)) != nullptr) { in RADAR_SetRadarAfterLoading() [all …]
|
/dports/x11-fonts/py-glyphsLib/glyphsLib-3.1.4/tests/builder/ |
H A D | features_test.py | 30 ufo = defcon.Font() 32 return ufo 40 ufo, = to_ufos(font) 41 return font, ufo 45 ufo = defcon.Font() 55 ufo = defcon.Font() 75 ufo = defcon.Font() 98 ufo = defcon.Font() 124 ufo = defcon.Font() 150 ufo = defcon.Font() [all …]
|
H A D | to_glyphs_test.py | 37 ufo = defcon.Font() 57 ufo = defcon.Font() 78 ufo = defcon.Font() 99 ufo = defcon.Font() 119 ufo = defcon.Font() 120 ufo.newGlyph("T") 121 ufo.newGlyph("e") 122 ufo.newGlyph("o") 221 for obj in [ufo, ufo["a"]]: 486 to_glyphs([ufo]) [all …]
|
H A D | custom_params_test.py | 44 self.ufo = Font() 51 self.builder.to_ufo_custom_params(self.ufo, self.font) 64 self.ufo.info.openTypeOS2Selection = None 75 self.ufo.info.openTypeOS2Selection = [] 108 self.ufo = Font() 169 _set_default_params(self.ufo) 233 self.ufo.info.xHeight = 300 239 self.assertEqual(self.ufo.info.xHeight, 300) 244 self.ufo.features.text = dedent( 267 self.ufo.features.text, [all …]
|
H A D | lib_and_user_data_test.py | 158 ufo = defcon.Font() 173 ufo, = to_ufos(font) 179 ufo = defcon.Font() 195 ufo, = to_ufos(font) 213 ufo, = to_ufos(font) 225 ufo = defcon.Font() 227 a = ufo.newGlyph("a") 256 ufo, = to_ufos(font) 315 ufo = defcon.Font() 316 a = ufo.newGlyph("a") [all …]
|
H A D | builder_test.py | 351 ufo = ufos[0] 401 ufo = ufos[0] 429 ufo = ufos[0] 443 glyph = ufo["yodyod"] 655 for ufo in ufos: 685 for ufo in ufos: 712 for ufo in ufos: 737 for ufo in ufos: 914 ufo, = to_ufos(font) 936 ufo, = to_ufos(font) [all …]
|
/dports/x11-fonts/py-glyphsLib/glyphsLib-3.1.4/Lib/glyphsLib/builder/ |
H A D | masters.py | 29 ufo = source.font 30 ufo.info.ascender = master.ascender 31 ufo.info.capHeight = master.capHeight 33 ufo.info.xHeight = master.xHeight 47 ufo.info.year = year 50 ufo.info.note = note 86 ufo = source.font 110 master.xHeight = ufo.info.xHeight 115 if ufo.info.italicAngle: 124 if ufo.info.year is not None: [all …]
|
H A D | font.py | 56 ufo = self.ufo_module.Font() 57 source.font = ufo 64 ufo.info.unitsPerEm = units_per_em 69 ufo.info.copyright = copyright 79 ufo.glyphOrder = glyph_order 82 self.to_ufo_family_user_data(ufo) 111 ufo = source.font 112 info = ufo.info 114 if APP_VERSION_LIB_KEY in ufo.lib: 140 self.to_glyphs_family_names(ufo) [all …]
|
H A D | custom_params.py | 148 def __init__(self, ufo): argument 149 self._owner = ufo 224 def to_ufo(self, glyphs, ufo): argument 411 def to_ufo(self, glyphs, ufo): argument 550 def to_ufo(self, glyphs, ufo): argument 678 ufo = ufo._owner 682 if name not in ufo: 705 ufo_proxy = UFOProxy(ufo) 714 _set_default_params(ufo) 719 ufo_proxy = UFOProxy(ufo) [all …]
|
H A D | names.py | 22 def to_ufo_names(self, ufo, master, family_name): argument 28 ufo.lib[GLYPHS_PREFIX + "weight"] = weight 30 ufo.lib[GLYPHS_PREFIX + "width"] = width 37 ufo.info.familyName = family_name 38 ufo.info.styleName = styleName 105 def to_glyphs_family_names(self, ufo, merge=False): argument 108 self.font.familyName = ufo.info.familyName 115 def to_glyphs_master_names(self, ufo, master): argument 116 name = ufo.info.styleName 117 weight = ufo.lib.get(GLYPHS_PREFIX + "weight") [all …]
|
/dports/x11-fonts/py-ufo2ft/ufo2ft-2.5.0/tests/filters/ |
H A D | filters_test.py | 64 ufo = MockFont(lib={}) 70 def ufo(): function 71 ufo = MockFont(lib={}) 76 return ufo 79 def test_loadFilters_pre(ufo): argument 81 pre, post = loadFilters(ufo) 110 loadFilters(ufo) 119 loadFilters(ufo) 156 loadFilters(ufo) 165 loadFilters(ufo) [all …]
|
/dports/print/py-fontbakery/fontbakery-0.8.4/tests/profiles/ |
H A D | ufo_sources_test.py | 17 ufo = defcon.Font() 19 ufo.save(ufo_path) 20 return (ufo, ufo_path) 42 ufo, _ = empty_ufo_font 49 ufo.info.ascender = 800 51 ufo.info.xHeight = 500 52 ufo.info.capHeight = 700 55 assert_PASS(check(ufo), 63 ufo, _ = empty_ufo_font 77 assert_PASS(check(ufo), [all …]
|
/dports/x11-fonts/py-ufo2ft/ufo2ft-2.5.0/tests/featureWriters/ |
H A D | markFeatureWriter_test.py | 23 ufo = FontClass() 25 liga = ufo.newGlyph("f_i") 34 return ufo 80 ufo = FontClass() 101 ufo = FontClass() 131 ufo = FontClass() 147 ufo = FontClass() 163 ufo = FontClass() 338 ufo = FontClass() 401 ufo = FontClass() [all …]
|
H A D | kernFeatureWriter_test.py | 19 ufo = cls() 21 glyph = ufo.newGlyph(name) 25 ufo.groups.update(groups) 27 ufo.kerning.update(kerning) 30 return ufo 71 ufo = FontClass() 142 ufo = FontClass() 144 ufo.newGlyph(name) 193 ufo = FontClass() 664 ufo = FontClass() [all …]
|
/dports/x11-fonts/py-ufo2ft/ufo2ft-2.5.0/tests/ |
H A D | featureCompiler_test.py | 35 ufo = FontClass() 48 ufo = FontClass() 69 ufo = FontClass() 88 ufo = FontClass() 89 ufo.newGlyph("f") 111 ufo = FontClass() 112 ufo.newGlyph("f") 158 ufo = FontClass() 159 ufo.newGlyph("a") 160 ufo.newGlyph("v") [all …]
|
H A D | preProcessor_test.py | 13 from cu2qu.ufo import CURVE_TYPE_LIB_KEY 21 def glyph_has_qcurve(ufo, glyph_name): argument 24 for contour in ufo[glyph_name] 32 ufo = FontClass(getpath("TestFont.ufo")) 36 assert not glyph_has_qcurve(ufo, "c") 38 assert CURVE_TYPE_LIB_KEY not in ufo.lib 43 ufo = FontClass(getpath("TestFont.ufo")) 46 assert not glyph_has_qcurve(ufo, "c") 53 assert glyph_has_qcurve(ufo, "c") 63 assert glyph_has_qcurve(ufo, "c") [all …]
|
/dports/games/openxcom/OpenXcom-1.0/src/Savegame/ |
H A D | AlienMission.cpp | 168 if (ufo) in think() 249 return ufo; in spawnUfo() 298 return ufo; in spawnUfo() 318 return ufo; in spawnUfo() 402 ufo.setLandId(0); in ufoReachedWaypoint() 415 addScore(ufo.getLongitude(), ufo.getLatitude(), engine); in ufoReachedWaypoint() 423 if (!rules.locateCity(ufo.getLongitude(), ufo.getLatitude())) in ufoReachedWaypoint() 465 MatchBaseCoordinates(ufo.getLongitude(), ufo.getLatitude())); in ufoReachedWaypoint() 478 if (ufo.getDetected() && ufo.getLandId() == 0) in ufoReachedWaypoint() 532 addScore(ufo.getLongitude(), ufo.getLatitude(), engine); in ufoLifting() [all …]
|
/dports/games/nInvaders/ninvaders-0.1.1/ |
H A D | ufo.c | 36 ufoClear(ufo.posX, ufo.posY); // clear old position of player in ufoReset() 39 ufo.posY = UFOPOSY; // set vertical Position in ufoReset() 40 ufo.posX = SCREENWIDTH - UFOWIDTH;// set horizontal Position in ufoReset() 48 ufoClear(ufo.posX, ufo.posY); // clear sprite in ufoMove() 49 ufo.posX = posX; in ufoMove() 51 ufoDisplay(ufo.posX, ufo.posY); in ufoMove() 61 if (ufo.posX > 1) { in ufoMoveLeft() 63 ufoMove(ufo.posX - 1); in ufoMoveLeft() 94 if (shotX >= ufo.posX && shotX <= ufo.posX + UFOWIDTH -1) { in ufoHitCheck()
|
/dports/print/py-ufolib2/ufoLib2-0.11.4/tests/objects/ |
H A D | test_object_lib.py | 5 ufo = Font() 8 guideline_lib = ufo.objectLib(ufo.info.guidelines[1]) 11 ufo.newGlyph("component") 12 glyph = ufo.newGlyph("test") 41 ufo.save(tmp_path / "test.ufo") 63 ufo = Font() 66 _ = ufo.objectLib(ufo.info.guidelines[0]) 67 guideline_lib = ufo.objectLib(ufo.info.guidelines[1]) 71 ufo.newGlyph("component") 72 glyph = ufo.newGlyph("test") [all …]
|
/dports/x11-fonts/py-ufo2ft/ufo2ft-2.5.0/Lib/ufo2ft/ |
H A D | preProcessor.py | 32 self.ufo = ufo 35 self.glyphSet = {g.name: g for g in ufo} 37 self.glyphSet = copyGlyphSet(ufo) 45 ufo = self.ufo 48 func(ufo, glyphSet) 169 from cu2qu.ufo import DEFAULT_MAX_ERR 174 self.glyphSets = [{g.name: g for g in ufo} for ufo in ufos] 176 self.glyphSets = [copyGlyphSet(ufo) for ufo in ufos] 179 for ufo in ufos] 184 from cu2qu.ufo import fonts_to_quadratic [all …]
|
H A D | __init__.py | 38 ufo, argument 85 ufo, 95 ufo, 104 ufo, 121 ufo, argument 145 ufo, 163 ufo, 205 for ufo, glyphSet in zip(ufos, glyphSets): 214 ufo, 228 ufo, argument [all …]
|
/dports/lang/racket/racket-8.3/share/pkgs/frtime/demos/ |
H A D | ufo.rkt | 5 (define ufo-x 16 (define ufo-y ; bob up and down 5 pixels around center of window 18 (define ufo-bright ; flash light and dark 20 (define ufo-color 21 (make-rgb ufo-bright ufo-bright ufo-bright)) 25 (make-circle (make-posn ufo-x ufo-y) 10 ufo-color) 26 (make-rect (make-posn (- ufo-x 20) (- ufo-y 2)) 27 40 4 ufo-color)))
|
/dports/games/neverball/neverball-1.6.0/data/ball/ufo/ |
H A D | ufo-outer.map | 11 "model" "ball/ufo/ufo-glass.obj" 17 "model" "ball/ufo/ufo-body.obj" 22 "material" "ball/ufo/thruster" 23 "model" "ball/ufo/ufo-thrusters.obj" 62 "material" "ball/ufo/alien" 63 "model" "ball/ufo/ufo-alien.obj" 73 "image" "ball/ufo/poof-blue"
|