X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fwall.qh;h=16f87fdd977900c31f4df09d2d995d2dfbf39df1;hb=892550d1f8d9e76649b118ff54255c033de6d8b0;hp=984b54c88423d848bdc3356951f91d536aa0829a;hpb=f2c50fe4e6218a0a1bb0ca078ee122c5ba6a238d;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/wall.qh b/qcsrc/client/wall.qh index 984b54c88..16f87fdd9 100644 --- a/qcsrc/client/wall.qh +++ b/qcsrc/client/wall.qh @@ -1,15 +1,23 @@ -#ifndef WALL_H -#define WALL_H +#ifndef CLIENT_WALL_H +#define CLIENT_WALL_H -.float lip; -.float bgmscriptangular; -.int lodmodelindex0, lodmodelindex1, lodmodelindex2; -.float loddistance1, loddistance2; -.vector saved; +entityclass(Wall); +class(Wall) .float lip; +class(Wall) .float bgmscriptangular; +class(Wall) .int lodmodelindex0, lodmodelindex1, lodmodelindex2; +class(Wall) .float loddistance1, loddistance2; +class(Wall) .vector saved; -void Ent_Wall_Draw(); +// Needed for interactive clientwalls +.float 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(); -void Ent_Wall(); #endif