]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/items/item/powerup.qh
Merge branch 'master' into Mario/turrets
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / items / item / powerup.qh
1 #ifdef SVQC
2     // For FL_POWERUP
3     #include "../../../server/constants.qh"
4 #endif
5
6 #ifndef POWERUP_H
7 #define POWERUP_H
8 #include "pickup.qh"
9 CLASS(Powerup, Pickup)
10 #ifdef SVQC
11     ATTRIB(Powerup, m_botvalue, int, 100000)
12     ATTRIB(Powerup, m_itemflags, int, FL_POWERUP)
13     ATTRIB(Powerup, m_respawntime, float(), GET(g_pickup_respawntime_powerup))
14     ATTRIB(Powerup, m_respawntimejitter, float(), GET(g_pickup_respawntimejitter_powerup))
15 #endif
16 ENDCLASS(Powerup)
17
18 #endif