Home
last modified time | relevance | path

Searched refs:maxhealth (Results 1 – 25 of 87) sorted by relevance

1234

/dports/games/libretro-prboom/libretro-prboom-cc80175/src/
H A Dp_inter.h41 #define MAXHEALTH maxhealth
60 extern int maxhealth;
H A Dp_inter.c59 int maxhealth = 100; // was MAXHEALTH as a #define, used only in this module variable
216 if (player->health >= maxhealth) in P_GiveBody()
219 if (player->health > maxhealth) in P_GiveBody()
220 player->health = maxhealth; in P_GiveBody()
332 if (player->health > (maxhealth * 2)) in P_TouchSpecialThing()
333 player->health = (maxhealth * 2); in P_TouchSpecialThing()
/dports/games/prboom/prboom-2.5.0/src/
H A Dp_inter.h45 #define MAXHEALTH maxhealth
64 extern int maxhealth;
H A Dp_inter.c62 int maxhealth = 100; // was MAXHEALTH as a #define, used only in this module variable
223 if (player->health >= maxhealth) in P_GiveBody()
226 if (player->health > maxhealth) in P_GiveBody()
227 player->health = maxhealth; in P_GiveBody()
335 if (player->health > (maxhealth * 2)) in P_TouchSpecialThing()
336 player->health = (maxhealth * 2); in P_TouchSpecialThing()
/dports/games/prboom-plus/prboom-plus-2.5.1.3/src/
H A Dp_inter.h45 #define MAXHEALTH maxhealth
64 extern int maxhealth;
/dports/games/xonotic/Xonotic/source/qcsrc/client/hud/panel/
H A Dhealtharmor.qc82 int maxhealth = autocvar_hud_panel_healtharmor_maxhealth;
91 float maxtotal = maxhealth + maxarmor;
194 … autocvar_hud_panel_healtharmor_progressbar_health, health_beforedamage/maxhealth, is_vertical, he…
207 …et, mySize, autocvar_hud_panel_healtharmor_progressbar_health, p_health/maxhealth, is_vertical, he…
210 … mySize, health, "health", is_vertical, health_iconalign, HUD_Get_Num_Color(health, maxhealth), 1);
/dports/games/sauerbraten/sauerbraten/src/fpsgame/
H A Dgame.h369 int health, maxhealth; member
376 fpsstate() : maxhealth(100), aitype(AI_NONE), skill(0) {} in fpsstate()
401 case I_BOOST: return maxhealth<is.max || health<maxhealth; in canpickup()
402 case I_HEALTH: return health<maxhealth; in canpickup()
419 maxhealth = min(maxhealth+is.info, is.max); in pickup()
421 health = min(health+is.add, maxhealth); in pickup()
439 maxhealth = 100; in respawn()
440 health = maxhealth; in respawn()
H A Drender.cpp238 … if(d->maxhealth>100) icons += (min(d->maxhealth, boost.max) - 100 + boost.info-1) / boost.info; in renderstatusicons()
254 for(int i = 100; i < min(d->maxhealth, boost.max); i += boost.info) in renderstatusicons()
287 float size = scale*sqrtf(max(d->health, d->maxhealth)/100.0f); in renderstatusbars()
288 float fill = float(d->health)/d->maxhealth; in renderstatusbars()
/dports/games/vavoom/vavoom-1.33/progs/common/linespec/
H A DEntityEx.Misc.vc2943 int maxhealth = 0;
2957 count = (saveHealth + maxhealth - 1) / maxhealth;
2960 saved += maxhealth;
2977 int maxhealth = 0;
2991 count = (saveHealth + maxhealth - 1) / maxhealth;
2994 saved += maxhealth;
3010 int maxhealth = 0;
3024 count = (saveHealth + maxhealth - 1) / maxhealth;
3042 int maxhealth = 0;
3056 count = (saveHealth + maxhealth - 1) / maxhealth;
[all …]
/dports/games/zdoom/zdoom-2.8.1/src/
H A Dp_interaction.cpp787 int maxhealth = 0; in UseHealthItems() local
793 if (Items[i]->health > maxhealth) in UseHealthItems()
796 maxhealth = Items[i]->health; in UseHealthItems()
801 int count = (saveHealth + maxhealth-1) / maxhealth; in UseHealthItems()
804 saved += maxhealth; in UseHealthItems()
805 saveHealth -= maxhealth; in UseHealthItems()
880 int maxhealth = 0; in P_AutoUseStrifeHealth() local
886 if (Items[i]->health > maxhealth) in P_AutoUseStrifeHealth()
889 maxhealth = Items[i]->Amount; in P_AutoUseStrifeHealth()
/dports/games/ecwolf/ecwolf-1.3.3-src/src/thingdef/
H A Dthingdef_properties.cpp321 HANDLE_PROPERTY(maxhealth) in HANDLE_PROPERTY() argument
323 INT_PARAM(maxhealth, 0); in HANDLE_PROPERTY()
324 ((APlayerPawn *)defaults)->maxhealth = maxhealth; in HANDLE_PROPERTY()
603 DEFINE_PROP_PREFIX(maxhealth, PlayerPawn, Player, I),
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/strife/
H A Dp_inter.c235 int maxhealth; in P_GiveBody() local
238 maxhealth = MAXHEALTH + player->stamina; in P_GiveBody()
245 if(player->health >= maxhealth) in P_GiveBody()
250 if(player->health >= maxhealth) in P_GiveBody()
251 player->health = maxhealth; in P_GiveBody()
272 healing = (-num * maxhealth) / MAXHEALTH; in P_GiveBody()
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/strife/
H A Dp_inter.c235 int maxhealth; in P_GiveBody() local
238 maxhealth = MAXHEALTH + player->stamina; in P_GiveBody()
245 if(player->health >= maxhealth) in P_GiveBody()
250 if(player->health >= maxhealth) in P_GiveBody()
251 player->health = maxhealth; in P_GiveBody()
272 healing = (-num * maxhealth) / MAXHEALTH; in P_GiveBody()
/dports/games/duel/duel/runDir/data/ships/
H A Dpulsar.shp15 maxhealth 45
H A Dgladiator.shp18 maxhealth 100
H A Dmule.shp18 maxhealth 250
H A Dmiggy.shp16 maxhealth 50
H A DmiggyBoosted.shp17 maxhealth 50
H A Dmule_mk2.shp22 maxhealth 250
H A Dray.shp20 maxhealth 160
/dports/games/ecwolf/ecwolf-1.3.3-src/src/g_shared/
H A Da_playerpawn.h80 int32_t maxhealth; variable
/dports/games/openjk/OpenJK-07675e2/codemp/cgame/
H A Dcg_saga.c1000 int maxAmmo = 0, clNum = -1, health = 1, maxhealth = 1, ammo = 1; in CG_ParseSiegeExtendedDataEntry() local
1027 maxhealth = atoi(s); in CG_ParseSiegeExtendedDataEntry()
1045 cg_siegeExtendedData[clNum].maxhealth = maxhealth; in CG_ParseSiegeExtendedDataEntry()
/dports/games/fightorperish/fop-0.5/src/
H A Dfop.c93 int plyx[4], plyy[4], score[4], oldplyx[4], oldplyy[4], health[4], maxhealth[4], bombs[4], keys[4],… variable
675 if (health[i] > maxhealth[i]) in game()
676 health[i] = maxhealth[i]; in game()
943 health[i] = maxhealth[i]; in game()
944 maxhealth[i] += (MAXHEALTH / 4); in game()
945 if (maxhealth[i] > MAXHEALTH) in game()
946 maxhealth[i] = MAXHEALTH; in game()
1113 dest.w = (maxhealth[i] * (TILEW * 4)) / MAXHEALTH; in game()
1834 maxhealth[i] = (MAXHEALTH / 3) * char_healths[plytype[i]]; in startgame()
1837 health[i] = maxhealth[i]; in startgame()
/dports/games/openjk/OpenJK-07675e2/codemp/game/
H A Dbg_saga.h82 int maxhealth; member
/dports/games/blackshadeselite/blackshadeselite/Source/
H A DPerson.h131 float maxhealth; variable

1234