Home
last modified time | relevance | path

Searched refs:newLife (Results 1 – 11 of 11) sorted by relevance

/dports/games/zdoom/zdoom-2.8.1/src/g_hexen/
H A Da_clericstaff.cpp51 int newLife, max; in DEFINE_ACTION_FUNCTION() local
80 newLife = player->health+(damage>>3); in DEFINE_ACTION_FUNCTION()
81 newLife = newLife > max ? max : newLife; in DEFINE_ACTION_FUNCTION()
82 if (newLife > player->health) in DEFINE_ACTION_FUNCTION()
84 pmo->health = player->health = newLife; in DEFINE_ACTION_FUNCTION()
109 newLife = player->health+(damage>>4); in DEFINE_ACTION_FUNCTION()
110 newLife = newLife > max ? max : newLife; in DEFINE_ACTION_FUNCTION()
111 pmo->health = player->health = newLife; in DEFINE_ACTION_FUNCTION()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/scripting/api/objs/
H A Dparticle.cpp94 float newLife = -1.0f; variable
95 if (!ade_get_args(L, "o|f", l_Particle.GetPtr(&ph), &newLife))
106 if (newLife >= 0)
107 ph->Get().lock()->max_life = newLife;
/dports/games/vavoom/vavoom-1.33/progs/common/linespec/
H A DActor.HexenWeapons.vc362 int newLife;
385 newLife = Player.Health + (damage >> 3);
386 newLife = newLife > 100 ? 100 : newLife;
387 Health = newLife;
388 Player.Health = newLife;
/dports/games/scorched3d/scorched/src/common/target/
H A DTargetLife.cpp275 fixed newLife; in readMessage() local
281 if (!reader.getFromBuffer(newLife)) in readMessage()
316 setLife(newLife); in readMessage()
/dports/games/uhexen/uhexen-0.601/src/
H A Dp_pspr.c1512 int newLife; in A_CStaffCheck() local
1532 newLife = player->health+(damage>>3); in A_CStaffCheck()
1533 newLife = newLife > 100 ? 100 : newLife; in A_CStaffCheck()
1534 pmo->health = player->health = newLife; in A_CStaffCheck()
1550 newLife = player->health+(damage>>4); in A_CStaffCheck()
1551 newLife = newLife > 100 ? 100 : newLife; in A_CStaffCheck()
1552 pmo->health = player->health = newLife; in A_CStaffCheck()
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/hexen/
H A Dp_pspr.c1522 int newLife; in A_CStaffCheck() local
1542 newLife = player->health + (damage >> 3); in A_CStaffCheck()
1543 newLife = newLife > 100 ? 100 : newLife; in A_CStaffCheck()
1544 pmo->health = player->health = newLife; in A_CStaffCheck()
1560 newLife = player->health + (damage >> 4); in A_CStaffCheck()
1561 newLife = newLife > 100 ? 100 : newLife; in A_CStaffCheck()
1562 pmo->health = player->health = newLife; in A_CStaffCheck()
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/hexen/
H A Dp_pspr.c1522 int newLife; in A_CStaffCheck() local
1542 newLife = player->health + (damage >> 3); in A_CStaffCheck()
1543 newLife = newLife > 100 ? 100 : newLife; in A_CStaffCheck()
1544 pmo->health = player->health = newLife; in A_CStaffCheck()
1560 newLife = player->health + (damage >> 4); in A_CStaffCheck()
1561 newLife = newLife > 100 ? 100 : newLife; in A_CStaffCheck()
1562 pmo->health = player->health = newLife; in A_CStaffCheck()
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/plugins/hexen/src/
H A Dp_pspr.c1321 int damage, newLife; in A_CStaffCheck() local
1341 newLife = plr->health + (damage / 8); in A_CStaffCheck()
1342 newLife = (newLife > 100 ? 100 : newLife); in A_CStaffCheck()
1343 pmo->health = plr->health = newLife; in A_CStaffCheck()
1361 newLife = plr->health + (damage >> 4); in A_CStaffCheck()
1362 newLife = (newLife > 100 ? 100 : newLife); in A_CStaffCheck()
1363 pmo->health = plr->health = newLife; in A_CStaffCheck()
/dports/games/libretro-prboom/libretro-prboom-cc80175/src/
H A Dp_pspr.c1830 int newLife; in A_CStaffCheck() local
1850 newLife = player->health+(damage>>3); in A_CStaffCheck()
1851 newLife = newLife > 100 ? 100 : newLife; in A_CStaffCheck()
1852 pmo->health = player->health = newLife; in A_CStaffCheck()
1868 newLife = player->health+(damage>>4); in A_CStaffCheck()
1869 newLife = newLife > 100 ? 100 : newLife; in A_CStaffCheck()
1870 pmo->health = player->health = newLife; in A_CStaffCheck()
/dports/games/sdl-ball/SDL-Ball_src/
H A Dmain.cpp252 bool newLife; member
2881 gVar.newLife=1; in initNewGame()
4153 gVar.newLife=1; in main()
4272 gVar.newLife=1; in main()
4281 if(gVar.newLife) in main()
4283 gVar.newLife=0; in main()
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/parse/
H A Dlua.cpp11533 float newLife = -1.0f; variable
11534 if (!ade_get_args(L, "o|f", l_Particle.GetPtr(&ph), &newLife))
11545 if (newLife >= 0)
11546 ph->Get()->max_life = newLife;