Xonotic
models.qh
Go to the documentation of this file.
1 #pragma once
2 
3 .float modelscale;
4 
5 #ifdef CSQC
6 entityclass(Wall);
7 classfield(Wall) .float lip;
8 classfield(Wall) .float bgmscriptangular;
10 classfield(Wall) .float loddistance1, loddistance2;
11 classfield(Wall) .vector saved;
12 
13 void Ent_Wall_Draw(entity this);
14 
15 void Ent_Wall_Remove(entity this);
16 #endif
17 
18 // Needed for interactive clientwalls
19 .bool inactive; // Clientwall disappears when inactive
21 // If fade_start > fade_end, fadeout will be inverted
22 // fade_vertical_offset is a vertival offset for player position
float default_solid
Definition: models.qh:24
float alpha_max
Definition: models.qh:20
entity() spawn
float fade_start
Definition: models.qh:23
#define classfield(name)
Definition: oo.qh:52
int lodmodelindex0
float alpha_min
Definition: models.qh:20
float fade_vertical_offset
Definition: models.qh:23
int lodmodelindex2
float lip
Definition: subs.qh:40
bool inactive
Definition: models.qh:19
int lodmodelindex1
#define entityclass(...)
Definition: oo.qh:47
float modelscale
Definition: models.qh:3
float fade_end
Definition: models.qh:23