Home
last modified time | relevance | path

Searched refs:spellCharge (Results 1 – 10 of 10) sorted by relevance

/dports/games/scummvm/scummvm-2.5.1/engines/griffon/
H A Dengine.cpp65 spellCharge[i] = 0; in reset()
223 _player.spellCharge[i] += 1 * _player.level * 0.01 * _fpsr; in updateEngine()
224 if (_player.spellCharge[i] > 100) in updateEngine()
225 _player.spellCharge[i] = 100; in updateEngine()
H A Dsaveload.cpp105 INPUT("%f", &_player.spellCharge[i]); in loadGameStream()
179 INPUT("%f", &_playera.spellCharge[i]); in loadPlayer()
222 PRINT("%f", _player.spellCharge[i]); in saveGameStream()
H A Dinput.cpp175 if (_curItem == 5 && _player.spellCharge[0] == 100) { in checkInputs()
178 _player.spellCharge[0] = 0; in checkInputs()
195 _player.spellCharge[_curItem - 5] = 0; in checkInputs()
206 if (ABS(_player.spellCharge[_curItem - 5] - 100) < kEpsilon) { in checkInputs()
H A Ddraw.cpp255 hud_recalc(_player.spellCharge[i], 14, 100), 2, in drawHud()
256 … ABS(_player.spellCharge[i] - 100) < kEpsilon ? RGB(255, 128, 32) : RGB(0, 224, 64)); in drawHud()
398 hud_recalc(_player.spellCharge[i], 14, 100), 2, in drawHud()
399 … ABS(_player.spellCharge[i] - 100) < kEpsilon ? RGB(255, 128, 32) : RGB(0, 224, 64)); in drawHud()
H A Dgriffon.h169 float spellCharge[5]; member
H A Dcombat.cpp116 _player.spellCharge[0] = 0; in attack()
H A Dlogic.cpp1646 _player.spellCharge[f1] = 0; in updateSpells()
/dports/games/aquaria/Aquaria-OSE-v1.002-22-g84366ad/Aquaria/
H A DAvatar.h124 float spellCharge; variable
H A DAvatar.cpp732 spellCharge = 0; in AvatarState()
2066 …if ((dsq->continuity.form == FORM_ENERGY) && ((core->mouse.buttons.right && state.spellCharge > 0.… in updateTargets()
3285 state.spellCharge = 0; in startCharge()
3436 state.spellCharge = 0; in endCharge()
6086 …if (revertTimer > 0 && getVectorToCursor(true).isLength2DIn(minMouse) && state.spellCharge < rever… in onUpdate()
6170 state.spellCharge += dt; in onUpdate()
6175 if (state.spellCharge > 1.5f && chargeLevelAttained <1) in onUpdate()
6185 if (state.spellCharge >= 1.4f && chargeLevelAttained<1) in onUpdate()
6201 if (state.spellCharge >= 1.5f && chargeLevelAttained<2) in onUpdate()
6217 if (state.spellCharge >= 0.9f && chargeLevelAttained<2) in onUpdate()
H A DScriptInterface.cpp3600 luaReturnNum(dsq->game->avatar->state.spellCharge); in luaFunc()