Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
deathmatch.qh
Go to the documentation of this file.
1#pragma once
2
3#include <common/mapinfo.qh>
4
7 {
8 this.gametype_init(this, _("Deathmatch"),"dm","g_dm",GAMETYPE_FLAG_USEPOINTS | GAMETYPE_FLAG_PREFERRED,"","timelimit=15 pointlimit=30 leadlimit=0",_("Score as many frags as you can"));
9 }
10 METHOD(Deathmatch, m_isAlwaysSupported, bool(Gametype this, int spawnpoints, float diameter))
11 {
12 return true;
13 }
14 ATTRIB(Deathmatch, m_legacydefaults, string, "30 20 0");
virtual void m_isAlwaysSupported()
Definition deathmatch.qh:10
string m_legacydefaults
Definition deathmatch.qh:14
virtual void gametype_init()
Definition mapinfo.qh:117
const int GAMETYPE_FLAG_USEPOINTS
Definition mapinfo.qh:20
#define REGISTER_GAMETYPE(NAME, inst)
Definition mapinfo.qh:149
const int GAMETYPE_FLAG_PREFERRED
Definition mapinfo.qh:21
#define NEW(cname,...)
Definition oo.qh:117
#define INIT(cname)
Definition oo.qh:210
#define CLASS(...)
Definition oo.qh:145
#define ENDCLASS(cname)
Definition oo.qh:281
#define METHOD(cname, name, prototype)
Definition oo.qh:269
#define ATTRIB(...)
Definition oo.qh:148