Home
last modified time | relevance | path

Searched refs:_timeLeft (Results 1 – 25 of 38) sorted by relevance

12

/dports/games/libretro-scummvm/scummvm-7b1e929/engines/bladerunner/
H A Ditem_pickup.cpp49 _timeLeft = 3000u; in setup()
71 _timeLeft = 0u; in reset()
76 if (_timeLeft == 0u) { in tick()
84 timeDiff = MIN(MIN<uint32>(timeDiff, 67u), _timeLeft); in tick()
85 _timeLeft = (_timeLeft < timeDiff) ? 0 : (_timeLeft - timeDiff); in tick()
87 if (_timeLeft >= 2000u) { in tick()
88 _scale = 1.0f - (((2000.0f - _timeLeft) / 1000.0f) * ((2000.0f - _timeLeft) / 1000.0f)); in tick()
89 } else if (_timeLeft < 1000u) { in tick()
90 _scale = 1.0f - (((1000.0f - _timeLeft) / 1000.0f) * ((1000.0f - _timeLeft) / 1000.0f)); in tick()
105 if (_timeLeft == 0u) { in draw()
H A Ditem_pickup.h43 uint32 _timeLeft; variable
/dports/games/scummvm/scummvm-2.5.1/engines/bladerunner/
H A Ditem_pickup.cpp49 _timeLeft = 3000u; in setup()
71 _timeLeft = 0u; in reset()
76 if (_timeLeft == 0u) { in tick()
84 timeDiff = MIN(MIN<uint32>(timeDiff, 67u), _timeLeft); in tick()
85 _timeLeft = (_timeLeft < timeDiff) ? 0 : (_timeLeft - timeDiff); in tick()
87 if (_timeLeft >= 2000u) { in tick()
88 _scale = 1.0f - (((2000.0f - _timeLeft) / 1000.0f) * ((2000.0f - _timeLeft) / 1000.0f)); in tick()
89 } else if (_timeLeft < 1000u) { in tick()
90 _scale = 1.0f - (((1000.0f - _timeLeft) / 1000.0f) * ((1000.0f - _timeLeft) / 1000.0f)); in tick()
105 if (_timeLeft == 0u) { in draw()
H A Ditem_pickup.h43 uint32 _timeLeft; variable
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/zvision/scripting/effects/
H A Dtimer_effect.cpp36 _timeLeft = 0; in TimerNode()
39 _timeLeft = timeInSeconds * 1000; in TimerNode()
41 _timeLeft = timeInSeconds * 100; in TimerNode()
50 int32 timeLeft = _timeLeft / (_engine->getGameId() == GID_NEMESIS ? 1000 : 100); in ~TimerNode()
56 _timeLeft -= deltaTimeInMillis; in process()
58 if (_timeLeft <= 0) in process()
74 stream->writeUint32LE(_timeLeft); in serialize()
78 _timeLeft = stream->readUint32LE(); in deserialize()
H A Dregion_effect.cpp37 _timeLeft = 0; in RegionNode()
45 _timeLeft -= deltaTimeInMillis; in process()
47 if (_timeLeft <= 0) { in process()
48 _timeLeft = _delay; in process()
H A Dregion_effect.h50 int32 _timeLeft;
H A Dtimer_effect.h54 int32 _timeLeft;
/dports/games/scummvm/scummvm-2.5.1/engines/zvision/scripting/effects/
H A Dtimer_effect.cpp36 _timeLeft = 0; in TimerNode()
39 _timeLeft = timeInSeconds * 1000; in TimerNode()
41 _timeLeft = timeInSeconds * 100; in TimerNode()
50 int32 timeLeft = _timeLeft / (_engine->getGameId() == GID_NEMESIS ? 1000 : 100); in ~TimerNode()
56 _timeLeft -= deltaTimeInMillis; in process()
58 if (_timeLeft <= 0) in process()
74 stream->writeUint32LE(_timeLeft); in serialize()
78 _timeLeft = stream->readUint32LE(); in deserialize()
H A Dregion_effect.cpp37 _timeLeft = 0; in RegionNode()
45 _timeLeft -= deltaTimeInMillis; in process()
47 if (_timeLeft <= 0) { in process()
48 _timeLeft = _delay; in process()
H A Dregion_effect.h50 int32 _timeLeft;
H A Dtimer_effect.h54 int32 _timeLeft;
/dports/devel/smc/smc_4_3_0/examples/Java/EX5/
H A DTask.java60 _timeLeft = _runtime; in Task()
108 return(_timeLeft); in getTimeLeft()
268 _timeLeft - in timeUpdate()
296 if (_timeLeft > 0) in setRunTimer()
298 setTimer("Done", _timeLeft); in setRunTimer()
310 if (_timeLeft > 1000) in setStartTime()
327 _timeLeft = in setStopTime()
328 _timeLeft - in setStopTime()
330 if (_timeLeft < 0) in setStopTime()
332 _timeLeft = 0; in setStopTime()
[all …]
/dports/devel/smc/smc_4_3_0/examples/Ant/EX5/src/
H A DTask.java60 _timeLeft = _runtime; in Task()
108 return(_timeLeft); in getTimeLeft()
268 _timeLeft - in timeUpdate()
296 if (_timeLeft > 0) in setRunTimer()
298 setTimer("Done", _timeLeft); in setRunTimer()
310 if (_timeLeft > 1000) in setStartTime()
327 _timeLeft = in setStopTime()
328 _timeLeft - in setStopTime()
330 if (_timeLeft < 0) in setStopTime()
332 _timeLeft = 0; in setStopTime()
[all …]
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/bladerunner/ui/
H A Dkia_section_load.cpp48 _timeLeft = 0u; in KIASectionLoad()
89 _timeLeft = 800u; in open()
108 if (_timeLeft == 0u) { in draw()
118 _timeLeft = 800u; in draw()
126 if (_timeLeft) { in draw()
128 if (timeDiff >= _timeLeft) { in draw()
136 _timeLeft = (_timeLeft < timeDiff) ? 0u : (_timeLeft - timeDiff); in draw()
H A Dkia_section_save.cpp59 _timeLeft = 0u; in KIASectionSave()
133 _timeLeft = 800u; in open()
188 if (_timeLeft == 0u) { in draw()
198 _timeLeft = 800u; in draw()
206 if (_timeLeft) { in draw()
208 if (timeDiff >= _timeLeft) { in draw()
216 _timeLeft = (_timeLeft < timeDiff) ? 0u : (_timeLeft - timeDiff); in draw()
H A Dkia_section_load.h47 uint32 _timeLeft; variable
/dports/games/scummvm/scummvm-2.5.1/engines/bladerunner/ui/
H A Dkia_section_load.cpp48 _timeLeft = 0u; in KIASectionLoad()
89 _timeLeft = 800u; in open()
108 if (_timeLeft == 0u) { in draw()
118 _timeLeft = 800u; in draw()
126 if (_timeLeft) { in draw()
128 if (timeDiff >= _timeLeft) { in draw()
136 _timeLeft = (_timeLeft < timeDiff) ? 0u : (_timeLeft - timeDiff); in draw()
H A Dkia_section_save.cpp59 _timeLeft = 0u; in KIASectionSave()
133 _timeLeft = 800u; in open()
188 if (_timeLeft == 0u) { in draw()
198 _timeLeft = 800u; in draw()
206 if (_timeLeft) { in draw()
208 if (timeDiff >= _timeLeft) { in draw()
216 _timeLeft = (_timeLeft < timeDiff) ? 0u : (_timeLeft - timeDiff); in draw()
H A Dkia_section_load.h47 uint32 _timeLeft; variable
/dports/devel/smc/smc_4_3_0/examples/Tcl/EX5/
H A DTASK.TCL80 set _timeLeft $_time;
207 return -code ok [expr [expr [expr $_time - $_timeLeft] / \
426 set TimeLeft [expr $_timeLeft - \
455 if {$_timeLeft > 0} {
479 if {$_timeLeft > 1000} {
499 set _timeLeft [expr $_timeLeft - \
502 if {$_timeLeft < 0} {
503 set _timeLeft 0;
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/executor/
H A Dasync_timer_mock.cpp42 AsyncTimerMockImpl::AsyncTimerMockImpl(Milliseconds expiration) : _timeLeft(expiration) {} in AsyncTimerMockImpl()
51 if (_timeLeft != kZeroMilliseconds) { in asyncWait()
69 if (time >= _timeLeft) { in fastForward()
70 _timeLeft = kZeroMilliseconds; in fastForward()
73 _timeLeft -= time; in fastForward()
85 return _timeLeft; in timeLeft()
94 _timeLeft = expiration; in expireAfter()
/dports/www/phpsysinfo/phpsysinfo-3.3.4/includes/to/device/
H A Dclass.UPSDevice.inc.php138 private $_timeLeft = null; variable in UPSDevice
539 return $this->_timeLeft;
553 $this->_timeLeft = $timeLeft;
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/avalanche/
H A Dtimer.cpp47 while ((i < 7) && (_times[i]._timeLeft != 0)) { in addTimer()
57 _times[i]._timeLeft = duration; in addTimer()
71 if (_times[i]._timeLeft <= 0) in updateTimer()
74 _times[i]._timeLeft--; in updateTimer()
76 if (_times[i]._timeLeft == 0) { in updateTimer()
211 _times[i]._timeLeft = 0; // Cancel this one! in loseTimer()
698 _times[i]._timeLeft = 0; in resetVariables()
/dports/games/scummvm/scummvm-2.5.1/engines/avalanche/
H A Dtimer.cpp47 while ((i < 7) && (_times[i]._timeLeft != 0)) { in addTimer()
57 _times[i]._timeLeft = duration; in addTimer()
71 if (_times[i]._timeLeft <= 0) in updateTimer()
74 _times[i]._timeLeft--; in updateTimer()
76 if (_times[i]._timeLeft == 0) { in updateTimer()
213 _times[i]._timeLeft = 0; // Cancel this one! in loseTimer()
706 _times[i]._timeLeft = 0; in resetVariables()

12