Home
last modified time | relevance | path

Searched refs:GAME_SPEED (Results 51 – 75 of 94) sorted by relevance

1234

/dports/games/luola/luola-1.3.2/src/
H A Dselection.c329 if (delay >= GAME_SPEED) in select_level()
332 delay = GAME_SPEED - delay; in select_level()
H A Dgame.c399 if (delay >= GAME_SPEED) in game_eventloop()
402 delay = GAME_SPEED - delay; in game_eventloop()
/dports/games/spring/spring_98.0/rts/Sim/Path/Default/
H A DPathCache.cpp65 cq.timeout = gs->frameNum + GAME_SPEED * MAX_PATH_LIFETIME_SECS; in AddPath()
/dports/games/openbor4432/openbor-ba1eb4f/engine/
H A Dopenbor.c1078 var->lVal = GAME_SPEED; in getsyspropertybyindex()
15705 if(dt < GAME_SPEED / 2) in updatestatus()
20930 if(freezeall || !(e->blink && (time % (GAME_SPEED / 10)) < (GAME_SPEED / 20))) in display_ents()
21087 … (e->health <= e->per2 && (time % (GAME_SPEED / 10)) < (GAME_SPEED / 20))) in display_ents()
24580 if (stall < GAME_SPEED / 2) in common_attack_finish()
24582 stall = GAME_SPEED / 2; in common_attack_finish()
31284 if(interval > GAME_SPEED) in getinterval()
31288 if(interval > GAME_SPEED / 4) in getinterval()
31290 interval = GAME_SPEED / 4; in getinterval()
32978 done |= (time > GAME_SPEED * 8); in hallfame()
[all …]
/dports/games/openbor/openbor-3caaddd5/engine/
H A Dopenbor.c16249 if(dt < GAME_SPEED / 2) in updatestatus()
22325 if(freezeall || !(e->blink && (_time % (GAME_SPEED / 10)) < (GAME_SPEED / 20))) in display_ents()
27030 if (stall < GAME_SPEED / 2) in common_attack_finish()
27032 stall = GAME_SPEED / 2; in common_attack_finish()
29216 if(stall < GAME_SPEED / 5) in common_move()
34398 if(interval > GAME_SPEED) in getinterval()
34402 if(interval > GAME_SPEED / 4) in getinterval()
34404 interval = GAME_SPEED / 4; in getinterval()
36152 done |= (_time > GAME_SPEED * 8); in hallfame()
37114 exitdelay = _time + GAME_SPEED; in selectplayer()
[all …]
/dports/games/spring/spring_98.0/rts/Game/
H A DWaitCommandsAI.cpp526 duration = GAME_SPEED * (int)cmd.params[0]; in TimeWait()
630 1 + (std::max(0, (endFrame - gs->frameNum - 1)) / GAME_SPEED); in GetStateText()
633 SNPRINTF(buf, sizeof(buf), "%i", duration / GAME_SPEED); in GetStateText()
/dports/games/spring/spring_98.0/rts/Rendering/
H A DGlobalRendering.cpp105 , FPS(GAME_SPEED) in CGlobalRendering()
H A DQTPFSPathDrawer.cpp195 static const unsigned int MAX_DRAW_TIME = GAME_SPEED * 5; in DrawSearchExecution()
/dports/games/jfk/jfk-0.1.1/src/client/
H A Dlevel.cc318 layer[i][j]->move(micsecs * JFK::GAME_SPEED); in move_objects()
/dports/games/spring/spring_98.0/rts/Net/
H A DNetCommands.cpp157 consumeSpeedMult = GAME_SPEED * gs->speedFactor + lastNumQueuedSimFrames - (2 * gs->speedFactor); in UpdateNumQueuedSimFrames()
161 consumeSpeedMult = GAME_SPEED * gs->speedFactor + (numQueuedFrames/2) - 1; in UpdateNumQueuedSimFrames()
195 msgProcTimeLeft = (GAME_SPEED / float(gu->minFPS) * gs->wantedSpeedFactor) * 1000.0f; in UpdateNetMessageProcessingTimeLeft()
/dports/games/spring/spring_98.0/rts/Sim/Projectiles/WeaponProjectiles/
H A DTorpedoProjectile.cpp146 pos + gs->randVector(), pspeed, 40 + gs->randFloat() * GAME_SPEED, in Update()
H A DLaserProjectile.cpp49 maxLength = weaponDef->duration * (weaponDef->projectilespeed * GAME_SPEED); in CLaserProjectile()
/dports/games/spring/spring_98.0/rts/Lua/
H A DLuaSyncedRead.cpp852 const int dayFrames = GAME_SPEED * (24 * 60 * 60); in GetGameFrame()
861 const float seconds = gs->frameNum / (float)GAME_SPEED; in GetGameSeconds()
1360 HSTR_PUSH_NUMBER(L, "time", gs->frameNum / GAME_SPEED); in GetTeamStatsHistory()
1363 HSTR_PUSH_NUMBER(L, "time", stats.frame / GAME_SPEED); in GetTeamStatsHistory()
1436 const float pingScale = (GAME_SPEED * gs->speedFactor); in GetPlayerInfo()
3244 lua_pushnumber(L, (weapon->reloadTime / unit->reloadSpeed) / GAME_SPEED); in GetUnitWeaponState()
3262 lua_pushnumber(L, weapon->salvoDelay / GAME_SPEED); in GetUnitWeaponState()
3753 HSTR_PUSH_NUMBER(L, "maxSpeed", amt->GetMaxSpeed() * GAME_SPEED); in GetUnitMoveTypeData()
3754 HSTR_PUSH_NUMBER(L, "maxWantedSpeed", amt->GetMaxWantedSpeed() * GAME_SPEED); in GetUnitMoveTypeData()
3769 HSTR_PUSH_NUMBER(L, "wantedSpeed", groundmt->GetWantedSpeed() * GAME_SPEED); in GetUnitMoveTypeData()
[all …]
/dports/games/spring/spring_98.0/rts/System/
H A DSpringApp.cpp738 CBenchmark::startFrame = cmdline->GetInt("benchmarkstart") * 60 * GAME_SPEED; in ParseCmdLine()
740 CBenchmark::endFrame = CBenchmark::startFrame + cmdline->GetInt("benchmark") * 60 * GAME_SPEED; in ParseCmdLine()
/dports/games/spring/spring_98.0/rts/Sim/Weapons/
H A DBeamLaser.cpp96 salvoSize = int(weaponDef->beamtime * GAME_SPEED); in Init()
/dports/games/spring/spring_98.0/rts/Sim/MoveTypes/
H A DStrafeAirMoveType.cpp88 …pos.y + spd.y * 60.0f * math::fabs(frontdir.y) + std::min(0.0f, updir.y * 1.0f) * (GAME_SPEED * 5); in GetAileronDeflection()
89 const float maxPredictedHeight = groundHeight + 60.0f + math::fabs(rightdir.y) * (GAME_SPEED * 5); in GetAileronDeflection()
846 const bool forceUnlockYR = ((gs->frameNum - owner->lastFireWeapon) >= GAME_SPEED * 3); in UpdateFlying()
H A DGroundMoveType.cpp189 maxReverseSpeed = owner->unitDef->rSpeed / GAME_SPEED; in CGroundMoveType()
998 const float angle = (skidRotSpeed / GAME_SPEED) * (PI * 2.0f); in CalcSkidRot()
1124 if (avoideeDistSq >= Square(std::max(currentSpeed, 1.0f) * GAME_SPEED + avoidanceRadiusSum)) in GetObstacleAvoidanceDir()
2433 …oatMemberPtrs[MAXREVERSESPEED_MEMBER_IDX]) = *(reinterpret_cast<float*>(memberValue)) / GAME_SPEED; in SetMemberValue()
/dports/games/spring/spring_98.0/rts/Sim/Units/Scripts/
H A DUnitScript.cpp202 speed += accel * (float(GAME_SPEED) / divisor); in DoSpin()
204 speed -= accel * (float(GAME_SPEED) / divisor); in DoSpin()
597 40.0f + gu->RandFloat() * GAME_SPEED, in EmitSfx()
H A DCobInstance.cpp190 maxReloadTime *= GAME_SPEED; in Create()
/dports/games/openbor3482/openbor-2c1ecd7/engine/
H A Dopenbor.h69 #define GAME_SPEED 200 macro
71 #define COUNTER_SPEED (GAME_SPEED*2)
218 #define GRAB_STALL (GAME_SPEED * 8 / 10)
/dports/games/keeperrl/keeperrl-alpha23/
H A Dgui_builder.h79 …enum Alignment { LEFT, TOP_LEFT, BOTTOM_LEFT, MESSAGES, GAME_SPEED, MINIONS, IMMIGRATION, TUTORIAL… enumerator
/dports/games/spring/spring_98.0/rts/Sim/Units/UnitTypes/
H A DFactory.cpp147 …wantClose = (!IsStunned() && opening && (gs->frameNum >= (lastBuildUpdateFrame + GAME_SPEED * 7))); in Update()
/dports/games/openbor3711/openbor-6ec17fa/engine/
H A Dopenbor.h68 #define GAME_SPEED 200 macro
70 #define COUNTER_SPEED (GAME_SPEED*2)
219 #define GRAB_STALL (GAME_SPEED * 8 / 10)
/dports/games/openbor3979/openbor-2bcf25b/engine/
H A Dopenbor.h67 #define GAME_SPEED 200 macro
69 #define COUNTER_SPEED (GAME_SPEED*2)
220 #define GRAB_STALL (GAME_SPEED * 8 / 10)
/dports/games/spring/spring_98.0/rts/Sim/Projectiles/
H A DExplosionGenerator.cpp456 const float explSpeedMod = 0.7f + std::min(30.0f, damage) / GAME_SPEED; in Explosion()
495 speed * (0.7f + std::min(30.0f, damage) / GAME_SPEED), in Explosion()

1234