X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fmapobjects%2Fmodels.qh;h=e1fb9095a16eebf15a537e19f16b4d134895aef3;hb=969dc49d01d650a812706aba16c765af488605d0;hp=50170e251b5fb8cb518fe24e7fe1fbd22b08f34a;hpb=60b0e81cdaed847a7aac9d234f219937ab9462b2;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/mapobjects/models.qh b/qcsrc/common/mapobjects/models.qh index 50170e251..e1fb9095a 100644 --- a/qcsrc/common/mapobjects/models.qh +++ b/qcsrc/common/mapobjects/models.qh @@ -1,5 +1,7 @@ #pragma once +.float modelscale; + #ifdef CSQC entityclass(Wall); classfield(Wall) .float lip; @@ -8,15 +10,15 @@ classfield(Wall) .int lodmodelindex0, lodmodelindex1, lodmodelindex2; classfield(Wall) .float loddistance1, loddistance2; classfield(Wall) .vector saved; +void Ent_Wall_Draw(entity this); + +void Ent_Wall_Remove(entity this); +#endif + // Needed for interactive clientwalls -.float inactive; // Clientwall disappears when inactive +.bool inactive; // Clientwall disappears when inactive .float alpha_max, alpha_min; // If fade_start > fade_end, fadeout will be inverted // fade_vertical_offset is a vertival offset for player position .float fade_start, fade_end, fade_vertical_offset; .float default_solid; - -void Ent_Wall_Draw(entity this); - -void Ent_Wall_Remove(entity this); -#endif