Xonotic
fusionreactor.qh
Go to the documentation of this file.
1 #pragma once
2 
5 /* mins */ ATTRIB(FusionReactor, m_mins, vector, '-34 -34 0');
6 /* maxs */ ATTRIB(FusionReactor, m_maxs, vector, '34 34 90');
7 /* modelname */ ATTRIB(FusionReactor, mdl, string, "base.md3");
8 /* model */ ATTRIB_STRZONE(FusionReactor, model, string, strcat("models/turrets/", this.mdl));
9 /* head_model */ ATTRIB_STRZONE(FusionReactor, head_model, string, strcat("models/turrets/", "reactor.md3"));
10 /* netname */ ATTRIB(FusionReactor, netname, string, "fusreac");
11 /* fullname */ ATTRIB(FusionReactor, turret_name, string, _("Fusion Reactor"));
12 ENDCLASS(FusionReactor)
13 
14 #define X(BEGIN, P, END, class, prefix) \
15  BEGIN(class) \
16  TR_PROPS_COMMON(P, class, prefix) \
17  END()
18  TR_PROPS(X, FusionReactor, fusreac)
19 #undef X
20 
21 REGISTER_TURRET(FUSIONREACTOR, NEW(FusionReactor));
#define NEW(cname,...)
Definition: oo.qh:105
CLASS(Object) Object
Definition: oo.qh:318
#define TR_PROPS(L, class, prefix)
Definition: all.qh:44
const int TUR_FLAG_SUPPORT
Definition: turret.qh:130
string netname
Definition: powerups.qc:20
float spawnflags
Definition: progsdefs.qc:191
string model
Definition: csprogsdefs.qc:108
#define ATTRIB(...)
Definition: oo.qh:136
spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 f1 s1 strcat(_("Level %s: "), "^BG%s\3\, _("^BGPress ^F2%s^BG to enter the game"))
const int TUR_FLAG_AMMOSOURCE
Definition: turret.qh:131
entity this
Definition: self.qh:83
vector(float skel, float bonenum) _skel_get_boneabs_hidden
REGISTER_TURRET(FUSIONREACTOR, NEW(FusionReactor))
#define ENDCLASS(cname)
Definition: oo.qh:269
#define X(BEGIN, P, END, class, prefix)
#define ATTRIB_STRZONE(cname, name, type, val)
Definition: oo.qh:240
Definition: turret.qh:5