Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
seeker.qh File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Seeker

Macros

#define X(BEGIN, P, END, class, prefix)

Functions

 MODEL (SEEKER_ITEM, W_Model("g_seeker.md3"))
 MODEL (SEEKER_VIEW, W_Model("h_seeker.iqm"))
 MODEL (SEEKER_WORLD, W_Model("v_seeker.md3"))
 REGISTER_WEAPON (SEEKER, NEW(Seeker))
Sound SND_SEEKEREXP_RANDOM (float rnd)
Sound SND_TAGEXP_RANDOM (float rnd)
 SOUND (SEEKER_FIRE, W_Sound("seeker_fire"))
 SOUND (SEEKER_FLAC_FIRE, W_Sound("flac_fire"))
 SOUND (SEEKER_ROCKET_FLY, W_Sound("tag_rocket_fly"))
 SOUND (SEEKEREXP1, W_Sound("seekerexp1"))
 SOUND (SEEKEREXP2, W_Sound("seekerexp2"))
 SOUND (SEEKEREXP3, W_Sound("seekerexp3"))
 SOUND (TAG_FIRE, W_Sound("tag_fire"))
 SOUND (TAG_IMPACT, W_Sound("tag_impact"))
 SOUND (TAGEXP1, W_Sound("tagexp1"))
 SOUND (TAGEXP2, W_Sound("tagexp2"))
 SOUND (TAGEXP3, W_Sound("tagexp3"))
 STATIC_INIT (g_seeker_trackers)

Variables

IntrusiveList g_seeker_trackers
entity tag_target
float tag_time
entity wps_tag_tracker

Macro Definition Documentation

◆ X

#define X ( BEGIN,
P,
END,
class,
prefix )

Definition at line 46 of file seeker.qh.

46#define X(BEGIN, P, END, class, prefix) \
47 BEGIN(class) \
48 P(class, prefix, flac_ammo, float, NONE) \
49 P(class, prefix, flac_animtime, float, NONE) \
50 P(class, prefix, flac_damage, float, NONE) \
51 P(class, prefix, flac_edgedamage, float, NONE) \
52 P(class, prefix, flac_force, float, NONE) \
53 P(class, prefix, flac_lifetime, float, NONE) \
54 P(class, prefix, flac_lifetime_rand, float, NONE) \
55 P(class, prefix, flac_radius, float, NONE) \
56 P(class, prefix, flac_refire, float, NONE) \
57 P(class, prefix, flac_speed, float, NONE) \
58 P(class, prefix, flac_speed_up, float, NONE) \
59 P(class, prefix, flac_speed_z, float, NONE) \
60 P(class, prefix, flac_spread, float, NONE) \
61 P(class, prefix, missile_accel, float, NONE) \
62 P(class, prefix, missile_ammo, float, NONE) \
63 P(class, prefix, missile_animtime, float, NONE) \
64 P(class, prefix, missile_count, float, NONE) \
65 P(class, prefix, missile_damageforcescale, float, NONE) \
66 P(class, prefix, missile_damage, float, NONE) \
67 P(class, prefix, missile_decel, float, NONE) \
68 P(class, prefix, missile_delay, float, NONE) \
69 P(class, prefix, missile_edgedamage, float, NONE) \
70 P(class, prefix, missile_force, float, NONE) \
71 P(class, prefix, missile_health, float, NONE) \
72 P(class, prefix, missile_lifetime, float, NONE) \
73 P(class, prefix, missile_proxy, float, NONE) \
74 P(class, prefix, missile_proxy_delay, float, NONE) \
75 P(class, prefix, missile_proxy_maxrange, float, NONE) \
76 P(class, prefix, missile_radius, float, NONE) \
77 P(class, prefix, missile_refire, float, NONE) \
78 P(class, prefix, missile_smart, float, NONE) \
79 P(class, prefix, missile_smart_mindist, float, NONE) \
80 P(class, prefix, missile_smart_trace_max, float, NONE) \
81 P(class, prefix, missile_smart_trace_min, float, NONE) \
82 P(class, prefix, missile_speed, float, NONE) \
83 P(class, prefix, missile_speed_max, float, NONE) \
84 P(class, prefix, missile_speed_up, float, NONE) \
85 P(class, prefix, missile_speed_z, float, NONE) \
86 P(class, prefix, missile_spread, float, NONE) \
87 P(class, prefix, missile_turnrate, float, NONE) \
88 P(class, prefix, pickup_ammo, float, NONE) \
89 P(class, prefix, reload_ammo, float, NONE) \
90 P(class, prefix, reload_time, float, NONE) \
91 P(class, prefix, switchdelay_drop, float, NONE) \
92 P(class, prefix, switchdelay_raise, float, NONE) \
93 P(class, prefix, tag_ammo, float, NONE) \
94 P(class, prefix, tag_animtime, float, NONE) \
95 P(class, prefix, tag_damageforcescale, float, NONE) \
96 P(class, prefix, tag_health, float, NONE) \
97 P(class, prefix, tag_lifetime, float, NONE) \
98 P(class, prefix, tag_refire, float, NONE) \
99 P(class, prefix, tag_speed, float, NONE) \
100 P(class, prefix, tag_spread, float, NONE) \
101 P(class, prefix, tag_tracker_lifetime, float, NONE) \
102 P(class, prefix, type, float, NONE) \
103 P(class, prefix, weaponreplace, string, NONE) \
104 P(class, prefix, weaponstartoverride, float, NONE) \
105 P(class, prefix, weaponstart, float, NONE) \
106 P(class, prefix, weaponthrowable, float, NONE) \
107 END()

Function Documentation

◆ MODEL() [1/3]

MODEL ( SEEKER_ITEM ,
W_Model("g_seeker.md3")  )

◆ MODEL() [2/3]

MODEL ( SEEKER_VIEW ,
W_Model("h_seeker.iqm")  )

◆ MODEL() [3/3]

MODEL ( SEEKER_WORLD ,
W_Model("v_seeker.md3")  )

◆ REGISTER_WEAPON()

REGISTER_WEAPON ( SEEKER ,
NEW(Seeker)  )

◆ SND_SEEKEREXP_RANDOM()

Sound SND_SEEKEREXP_RANDOM ( float rnd)

Definition at line 20 of file seeker.qh.

20 {
21 return REGISTRY_GET(Sounds, SND_SEEKEREXP1.m_id + rint(rnd * 2));
22}
float rint(float f)
#define REGISTRY_GET(id, i)
Definition registry.qh:43

References REGISTRY_GET, and rint().

◆ SND_TAGEXP_RANDOM()

Sound SND_TAGEXP_RANDOM ( float rnd)

Definition at line 12 of file seeker.qh.

12 {
13 return REGISTRY_GET(Sounds, SND_TAGEXP1.m_id + rint(rnd * 2));
14}

References REGISTRY_GET, and rint().

◆ SOUND() [1/11]

SOUND ( SEEKER_FIRE ,
W_Sound("seeker_fire")  )

◆ SOUND() [2/11]

SOUND ( SEEKER_FLAC_FIRE ,
W_Sound("flac_fire")  )

◆ SOUND() [3/11]

SOUND ( SEEKER_ROCKET_FLY ,
W_Sound("tag_rocket_fly")  )

◆ SOUND() [4/11]

SOUND ( SEEKEREXP1 ,
W_Sound("seekerexp1")  )

◆ SOUND() [5/11]

SOUND ( SEEKEREXP2 ,
W_Sound("seekerexp2")  )

◆ SOUND() [6/11]

SOUND ( SEEKEREXP3 ,
W_Sound("seekerexp3")  )

◆ SOUND() [7/11]

SOUND ( TAG_FIRE ,
W_Sound("tag_fire")  )

◆ SOUND() [8/11]

SOUND ( TAG_IMPACT ,
W_Sound("tag_impact")  )

◆ SOUND() [9/11]

SOUND ( TAGEXP1 ,
W_Sound("tagexp1")  )

◆ SOUND() [10/11]

SOUND ( TAGEXP2 ,
W_Sound("tagexp2")  )

◆ SOUND() [11/11]

SOUND ( TAGEXP3 ,
W_Sound("tagexp3")  )

◆ STATIC_INIT()

STATIC_INIT ( g_seeker_trackers )

Definition at line 121 of file seeker.qh.

#define IL_NEW()
IntrusiveList g_seeker_trackers
Definition seeker.qh:120

References g_seeker_trackers, and IL_NEW.

Variable Documentation

◆ g_seeker_trackers

IntrusiveList g_seeker_trackers

Definition at line 120 of file seeker.qh.

Referenced by STATIC_INIT(), W_Seeker_Attack(), W_Seeker_Tag_Touch(), and W_Seeker_Tagged_Info().

◆ tag_target

entity tag_target

Definition at line 117 of file seeker.qh.

Referenced by W_Seeker_Tracker_Think().

◆ tag_time

float tag_time

Definition at line 118 of file seeker.qh.

◆ wps_tag_tracker

entity wps_tag_tracker

Definition at line 117 of file seeker.qh.

Referenced by W_Seeker_Tag_Touch().