Home
last modified time | relevance | path

Searched refs:FindState (Results 1 – 25 of 185) sorted by relevance

12345678

/dports/games/zdoom/zdoom-2.8.1/src/g_hexen/
H A Da_spike.cpp50 SetState (FindState ("BloodThrustRaise")); in Activate()
52 SetState (FindState ("ThrustRaise")); in Activate()
62 SetState (FindState ("BloodThrustLower")); in Deactivate()
64 SetState (FindState ("ThrustLower")); in Deactivate()
110 actor->SetState (actor->FindState ("BloodThrustInit2"), true); in DEFINE_ACTION_FUNCTION()
112 actor->SetState (actor->FindState ("ThrustInit2"), true); in DEFINE_ACTION_FUNCTION()
134 self->SetState (self->FindState ("BloodThrustInit1"), true); in DEFINE_ACTION_FUNCTION()
136 self->SetState (self->FindState ("ThrustInit1"), true); in DEFINE_ACTION_FUNCTION()
H A Da_fighteraxe.cpp45 return Ammo1->Amount ? FindState ("SelectGlow") : Super::GetUpState(); in IMPLEMENT_CLASS()
50 return Ammo1->Amount ? FindState ("DeselectGlow") : Super::GetDownState(); in GetDownState()
55 return Ammo1->Amount ? FindState ("ReadyGlow") : Super::GetReadyState(); in GetReadyState()
60 return Ammo1->Amount ? FindState ("FireGlow") : Super::GetAtkState(hold); in GetAtkState()
79 P_SetPsprite (player, ps_weapon, player->ReadyWeapon->FindState ("ReadyGlow")); in DEFINE_ACTION_FUNCTION()
103 P_SetPsprite (player, ps_weapon, player->ReadyWeapon->FindState ("Ready")); in DEFINE_ACTION_FUNCTION()
127 P_SetPsprite (player, ps_weapon, player->ReadyWeapon->FindState ("SelectGlow")); in DEFINE_ACTION_FUNCTION()
151 P_SetPsprite (player, ps_weapon, player->ReadyWeapon->FindState ("Select")); in DEFINE_ACTION_FUNCTION()
175 P_SetPsprite (player, ps_weapon, player->ReadyWeapon->FindState ("FireGlow")); in DEFINE_ACTION_FUNCTION()
274 P_SetPsprite (player, ps_weapon, player->ReadyWeapon->FindState ("Fire") + 5); in DEFINE_ACTION_FUNCTION()
H A Da_serpent.cpp101 self->SetState (self->FindState ("Hump")); in DEFINE_ACTION_FUNCTION()
123 self->SetState (self->FindState ("Attack")); in DEFINE_ACTION_FUNCTION()
129 self->SetState (self->FindState ("Walk")); in DEFINE_ACTION_FUNCTION()
135 self->SetState (self->FindState ("Walk")); in DEFINE_ACTION_FUNCTION()
139 self->SetState (self->FindState ("Attack")); in DEFINE_ACTION_FUNCTION()
270 self->SetState (self->FindState(NAME_Death)); in DEFINE_ACTION_FUNCTION()
H A Da_heresiarch.cpp269 self->SetState (self->FindState(NAME_Pain)); in DEFINE_ACTION_FUNCTION()
288 actor->SetState (actor->FindState(NAME_Pain)); in DEFINE_ACTION_FUNCTION()
335 parent->SetState (parent->FindState("Attack1")); in DEFINE_ACTION_FUNCTION()
350 parent->SetState (parent->FindState("Attack2")); in DEFINE_ACTION_FUNCTION()
527 target->SetState (target->FindState("Attack2")); in CastSorcererSpell()
761 mo->SetState (mo->FindState("Orbit")); in DEFINE_ACTION_FUNCTION()
769 mo->SetState (mo->FindState("Orbit")); in DEFINE_ACTION_FUNCTION()
800 self->SetState (self->FindState(NAME_Death)); in DEFINE_ACTION_FUNCTION()
808 self->SetState (self->FindState(NAME_Death)); in DEFINE_ACTION_FUNCTION()
896 self->SetState (self->FindState(NAME_Death)); in DEFINE_ACTION_FUNCTION()
[all …]
H A Da_clericstaff.cpp88 FState * newstate = weapon->FindState("Drain"); in DEFINE_ACTION_FUNCTION()
112 P_SetPsprite (player, ps_weapon, weapon->FindState ("Drain")); in DEFINE_ACTION_FUNCTION()
193 P_SetPsprite (self->player, ps_weapon, self->player->ReadyWeapon->FindState ("Blink")); in DEFINE_ACTION_FUNCTION()
/dports/games/vavoom/vavoom-1.33/progs/common/linespec/
H A DSigil.vc194 Player.SetViewState(ps_weapon, Wpn.FindState('Ready1'));
197 Player.SetViewState(ps_weapon, Wpn.FindState('Ready2'));
200 Player.SetViewState(ps_weapon, Wpn.FindState('Ready3'));
203 Player.SetViewState(ps_weapon, Wpn.FindState('Ready4'));
206 Player.SetViewState(ps_weapon, Wpn.FindState('Ready5'));
268 Player.SetViewState(ps_weapon, Wpn.FindState('Select1'));
302 Player.SetViewState(ps_weapon, Wpn.FindState('Fire1'));
305 Player.SetViewState(ps_weapon, Wpn.FindState('Fire2'));
308 Player.SetViewState(ps_weapon, Wpn.FindState('Fire3'));
311 Player.SetViewState(ps_weapon, Wpn.FindState('Fire4'));
[all …]
H A DFWeapAxe.vc39 return Ammo1.Amount > 0 ? FindState('GlowSelect') : ::GetUpState();
50 return Ammo1.Amount > 0 ? FindState('GlowDeselect') : ::GetDownState();
61 return Ammo1.Amount > 0 ? FindState('GlowReady') : ::GetReadyState();
72 return Ammo1.Amount > 0 ? FindState('GlowFire') : // Glowing axe
92 Player.SetViewState(ps_weapon, Wpn.FindState('GlowReady'));
116 Player.SetViewState(ps_weapon, Wpn.FindState('Ready'));
140 Player.SetViewState(ps_weapon, Wpn.FindState('GlowSelect'));
164 Player.SetViewState(ps_weapon, Wpn.FindState('Select'));
H A DThrustFloorDown.vc89 SetState(FindState('BloodyUp'));
91 SetState(FindState('Up'));
125 SetState(FindState('BloodyDown'));
127 SetState(FindState('Down'));
237 SetState(FindState('BloodyRaise'));
239 SetState(FindState('Raise'));
256 SetState(FindState('BloodyLower'));
258 SetState(FindState('Lower'));
H A DScriptedMarine.vc134 MissileState = FindState('AtkDummy');
138 MeleeState = FindState('AtkFist');
142 MeleeState = FindState('AtkBerserk');
146 MeleeState = FindState('AtkChainsaw');
150 MissileState = FindState('AtkPistol');
154 MissileState = FindState('AtkShotgun');
166 MissileState = FindState('AtkRocket');
170 MissileState = FindState('AtkPlasma');
174 MissileState = FindState('AtkRailgun');
178 MissileState = FindState('AtkBfg');
[all …]
H A DCustomInventory.vc37 state S = FindState('Pickup');
39 if ((IsOk || !S) && FindState('Use'))
59 return CallStateChain(Source, FindState('Drop'));
70 return CallStateChain(Owner, FindState('Use'));
H A DWeapon.vc157 state ReadyState = FindState('Ready');
454 return FindState('Select');
465 return FindState('Deselect');
476 return FindState('Ready');
490 S = FindState('Hold');
494 S = FindState('Fire');
510 S = FindState('AltHold');
514 S = FindState('AltFire');
574 if (Mode == FIRE_Secondary && !FindState('AltFire'))
H A DEntityEx.Damage.vc336 state WoundState = FindState('Wound', DmgType, false);
361 SetState(FindState('Pain', DmgType, false));
377 SetState(FindState('Pain', DmgType, false));
456 if (FindState('Death') || !HasSpecialStates('Death'))
464 if (FindState('Death', 'Ice', true))
476 return FindState('Death', DmgType) ? damage : -1;
727 DeathState = FindState('Death', DamageType, true);
730 DeathState = FindState('GenericFreezeDeath');
744 DeathState = FindState('Death', 'Extreme', true);
749 DeathState = FindState('Death');
[all …]
H A DSwitchableDecoration.vc41 SetState(FindState('Active'));
53 SetState(FindState('Inactive'));
H A DActor.Strife.vc325 SetState(FindState('LookCeiling'));
329 SetState(FindState('LookFloor'));
344 SetState(FindState('SeeFloor'));
349 SetState(FindState('Drop'));
364 SetState(FindState('Drop'));
627 SetState(FindState('Grenade'));
646 SetState(FindState('Jump'));
658 SetState(FindState('Jump'));
865 if (emitter.FindState('Pain'))
867 emitter.SetState(emitter.FindState('Pain'));
[all …]
H A DInventory.vc168 SetState(FindState('Held'));
346 Copy.SetState(Copy.FindState('HoldAndDestroy'));
529 SetState(FindState('HoldAndDestroy'));
545 SetState(FindState('HideSpecial'));
554 SetState(FindState('DormantPickup'));
963 Player.SetViewState(ps_flash, Wpn.FindState('Flash'));
1470 Player.SetViewState(ps_flash, Wpn.FindState('Flash'));
1513 Player.SetViewState(ps_flash, Wpn.FindState('Flash'));
1553 Player.SetViewState(ps_flash, Wpn.FindState('Flash'));
1629 Player.SetViewState(ps_flash, Wpn.FindState('Flash'));
[all …]
/dports/games/zdoom/zdoom-2.8.1/src/g_strife/
H A Da_stalker.cpp18 self->SetState (self->FindState("SeeFloor")); in DEFINE_ACTION_FUNCTION()
22 self->SetState (self->FindState("Drop")); in DEFINE_ACTION_FUNCTION()
31 state = self->FindState("LookCeiling"); in DEFINE_ACTION_FUNCTION()
35 state = self->FindState("LookFloor"); in DEFINE_ACTION_FUNCTION()
53 self->SetState (self->FindState("Drop")); in DEFINE_ACTION_FUNCTION()
H A Da_rebels.cpp66 drop->SetState(drop->FindState(NAME_Drop)); in IMPLEMENT_CLASS()
118 self->SetState(self->FindState(NAME_Death)); in DEFINE_ACTION_FUNCTION()
/dports/games/ecwolf/ecwolf-1.3.3-src/src/g_shared/
H A Da_inventory.cpp115 const Frame *hide = FindState(NAME_Hide); in GoAway()
507 if(!FindState(NAME_AltFire)) in CheckAmmo()
552 ret = FindState(NAME_Hold); in GetAtkState()
554 ret = FindState(NAME_Fire); in GetAtkState()
559 ret = FindState(NAME_AltHold); in GetAtkState()
561 ret = FindState(NAME_AltFire); in GetAtkState()
568 return FindState(NAME_Select); in GetUpState()
573 return FindState(NAME_Deselect); in GetDownState()
578 return FindState(NAME_Ready); in GetReadyState()
583 return FindState(NAME_Reload); in GetReloadState()
[all …]
/dports/games/zdoom/zdoom-2.8.1/src/g_heretic/
H A Da_dsparil.cpp102 self->SetState (self->FindState("Missile2")); in DEFINE_ACTION_FUNCTION()
121 mo->SetState (mo->FindState("Rise")); in DEFINE_ACTION_FUNCTION()
154 actor->SetState (actor->FindState("Teleport")); in P_DSparilTeleport()
271 self->SetState (self->FindState(NAME_Death)); in DEFINE_ACTION_FUNCTION()
302 self->SetState (self->FindState("DeathLoop")); in DEFINE_ACTION_FUNCTION()
H A Da_ironlich.cpp110 baseFire->SetState (baseFire->FindState("NoGrow")); in DEFINE_ACTION_FUNCTION()
155 self->SetState (self->FindState(NAME_Death)); in DEFINE_ACTION_FUNCTION()
210 self->SetState (self->FindState("NoGrow")); in DEFINE_ACTION_FUNCTION()
/dports/games/zdoom/zdoom-2.8.1/src/
H A Dp_states.cpp275 FState *FActorInfo::FindState (int numnames, FName *names, bool exact) const in FindState() function in FActorInfo
317 return FindState(namelist.Size(), &namelist[0], exact); in FindStateByString()
421 FState * FStateDefinitions::FindState(const char * name) in FindState() function in FStateDefinitions
489 FState *state = FindState("Spawn"); in InstallStates()
505 defaults->SpawnState = info->FindState(NAME_Spawn); in InstallStates()
506 defaults->SeeState = info->FindState(NAME_See); in InstallStates()
509 defaults->MeleeState = info->FindState(NAME_Melee); in InstallStates()
510 defaults->MissileState = info->FindState(NAME_Missile); in InstallStates()
692 if (type==mytype) state = FindState (label); in ResolveGotoLabel()
H A Dinfo.h248 FState *FindState (int numnames, FName *names, bool exact=false) const;
250 FState *FindState (FName name) const in FindState() function
252 return FindState(1, &name); in FindState()
/dports/games/zdoom/zdoom-2.8.1/src/thingdef/
H A Dthingdef.cpp256 FState * ready = ti->ActorInfo->FindState(NAME_Ready); in FinishActor()
257 FState * select = ti->ActorInfo->FindState(NAME_Select); in FinishActor()
258 FState * deselect = ti->ActorInfo->FindState(NAME_Deselect); in FinishActor()
259 FState * fire = ti->ActorInfo->FindState(NAME_Fire); in FinishActor()
/dports/games/zdoom/zdoom-2.8.1/src/g_doom/
H A Da_doomweaps.cpp81 P_SetPsprite (self->player, ps_flash, weapon->FindState(NAME_Flash)); in DEFINE_ACTION_FUNCTION()
257 P_SetPsprite (player, ps_flash, weapon->FindState(NAME_Flash)); in DEFINE_ACTION_FUNCTION()
288 P_SetPsprite (player, ps_flash, weapon->FindState(NAME_Flash)); in DEFINE_ACTION_FUNCTION()
400 FState *flash = weapon->FindState(NAME_Flash); in DEFINE_ACTION_FUNCTION()
404 FState * atk = weapon->FindState(NAME_Fire); in DEFINE_ACTION_FUNCTION()
487 FState *flash = weapon->FindState(NAME_Flash); in DEFINE_ACTION_FUNCTION()
516 FState *flash = weapon->FindState(NAME_Flash); in FireRailgun()
/dports/games/zdoom/zdoom-2.8.1/src/g_shared/
H A Da_pickups.cpp666 SetState (FindState("HoldAndDestroy")); in GoAwayAndDie()
765 SetState (FindState("Held")); in BecomeItem()
919 HideSpecialState = FindState("HideSpecial"); in Hide()
922 HideDoomishState = FindState("HideDoomish"); in Hide()
927 HideDoomishState = FindState("HideDoomish"); in Hide()
930 HideSpecialState = FindState("HideSpecial"); in Hide()
1396 copy->SetState (copy->FindState("HoldAndDestroy")); in TryPickup()
1575 return CallStateChain (dropper, FindState(NAME_Drop)); in IMPLEMENT_CLASS()
1586 return CallStateChain (Owner, FindState(NAME_Use)); in Use()
1597 FState *pickupstate = FindState(NAME_Pickup); in TryPickup()
[all …]

12345678