]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/client/items/items.qh
items: alpha calculation rework
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / items / items.qh
1 #pragma once
2
3 const int AMMO_COUNT = 4; // amount of ammo types to show in the ammo panel
4
5 .float onground_time;
6
7 float  autocvar_cl_items_fadedist = 500;
8 float  autocvar_cl_items_vehicle_alpha = 0.75;
9 vector autocvar_cl_items_vehicle_color = '2 0.5 0.5';
10 float  autocvar_cl_animate_items = 1;
11 float  autocvar_cl_ghost_items = 0.45;
12 vector autocvar_cl_ghost_items_color = '-1 -1 -1';
13 vector autocvar_cl_weapon_stay_color = '2 0.5 0.5';
14 float  autocvar_cl_weapon_stay_alpha = 0.75;
15 float  autocvar_cl_simple_items = 0;
16 string autocvar_cl_simpleitems_postfix = "_simple";
17 .float  spawntime;
18 .float  gravity;
19 .vector colormod;
20
21 void ItemDraw(entity this);