X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fmapobjects%2Fmodels.qh;h=e1fb9095a16eebf15a537e19f16b4d134895aef3;hb=885c7f4d3ed9a1c0ded2fab0b289120dfda75ba5;hp=50170e251b5fb8cb518fe24e7fe1fbd22b08f34a;hpb=ec98f5c9d50f267779fed871c9eb094a52064219;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