vkQuake2 doxygen  1.0 dev
d_if.inc
Go to the documentation of this file.
1 ;
2 ; d_ifacea.h
3 ;
4 ; Include file for asm driver interface.
5 ;
6 
7 ;
8 ; !!! note that this file must match the corresponding C structures in
9 ; d_iface.h at all times !!!
10 ;
11 
12 ; !!! if this is changed, it must be changed in r_shared.h too !!!
13 ALIAS_ONSEAM equ 00020h
14 
15 ; !!! if this is changed, it must be changed in d_iface.h too !!!
16 TURB_TEX_SIZE equ 64
17 
18 ; !!! if this is changed, it must be changed in d_iface.h too !!!
19 CYCLE equ 128
20 
21 ; !!! if this is changed, it must be changed in r_shared.h too !!!
22 MAXHEIGHT equ 1024
23 
24 ; !!! if this is changed, it must be changed in quakedef.h too !!!
25 CACHE_SIZE equ 32
26 
27 ; particle_t structure
28 ; !!! if this is changed, it must be changed in d_iface.h too !!!
29 ; driver-usable fields
30 pt_org equ 0
31 pt_color equ 12
32 ; drivers never touch the following fields
33 pt_next equ 16
34 pt_vel equ 20
35 pt_ramp equ 32
36 pt_die equ 36
37 pt_type equ 40
38 pt_size equ 44
39 
40 PARTICLE_Z_CLIP equ 8.0
41 
42 ; finalvert_t structure
43 ; !!! if this is changed, it must be changed in d_iface.h too !!!
44 fv_v equ 0 ; !!! if this is moved, cases where the !!!
45  ; !!! address of this field is pushed in !!!
46  ; !!! d_polysa.s must be changed !!!
47 fv_flags equ 24
48 fv_reserved equ 28
49 fv_size equ 32
50 fv_shift equ 5
51 
52 
53 ; stvert_t structure
54 ; !!! if this is changed, it must be changed in modelgen.h too !!!
55 stv_onseam equ 0
56 stv_s equ 4
57 stv_t equ 8
58 stv_size equ 12
59 
60 
61 ; trivertx_t structure
62 ; !!! if this is changed, it must be changed in modelgen.h too !!!
63 tv_v equ 0
65 tv_size equ 4
66 
67 ; affinetridesc_t structure
68 ; !!! if this is changed, it must be changed in d_iface.h too !!!
69 atd_pskin equ 0
70 atd_pskindesc equ 4
71 atd_skinwidth equ 8
72 atd_skinheight equ 12
73 atd_ptriangles equ 16
74 atd_pfinalverts equ 20
75 atd_numtriangles equ 24
76 atd_drawtype equ 28
77 atd_seamfixupX16 equ 32
78 atd_do_vis_thresh equ 36
79 atd_vis_thresh equ 40
80 atd_size equ 44
81 
pt_next
#define pt_next
Definition: d_ifacea.h:30
affinetridesc_t
Definition: r_local.h:326
CYCLE
#define CYCLE
Definition: asm_draw.h:16
tv_size
#define tv_size
Definition: d_ifacea.h:62
stv_s
#define stv_s
Definition: d_ifacea.h:53
CACHE_SIZE
#define CACHE_SIZE
Definition: d_ifacea.h:22
pt_type
#define pt_type
Definition: d_ifacea.h:34
MAXHEIGHT
#define MAXHEIGHT
Definition: d_ifacea.h:19
pt_color
#define pt_color
Definition: d_ifacea.h:28
pt_org
#define pt_org
Definition: d_ifacea.h:27
note
Definition: jar_mod.h:120
C
#define C(label)
Definition: asm_i386.h:8
PARTICLE_Z_CLIP
#define PARTICLE_Z_CLIP
Definition: d_ifacea.h:37
pt_size
#define pt_size
Definition: d_ifacea.h:35
finalvert_s
Definition: r_local.h:292
atd_pskindesc
#define atd_pskindesc
Definition: d_ifacea.h:67
fv_size
#define fv_size
Definition: d_ifacea.h:46
stv_onseam
#define stv_onseam
Definition: d_ifacea.h:52
stv_size
#define stv_size
Definition: d_ifacea.h:55
atd_pskin
#define atd_pskin
Definition: d_ifacea.h:66
atd_numtriangles
#define atd_numtriangles
Definition: d_ifacea.h:72
fv_reserved
#define fv_reserved
Definition: d_ifacea.h:45
pt_ramp
#define pt_ramp
Definition: d_ifacea.h:32
atd_pfinalverts
#define atd_pfinalverts
Definition: d_ifacea.h:71
pt_vel
#define pt_vel
Definition: d_ifacea.h:31
tv_lightnormalindex
#define tv_lightnormalindex
Definition: d_ifacea.h:61
TURB_TEX_SIZE
#define TURB_TEX_SIZE
Definition: d_ifacea.h:13
atd_ptriangles
#define atd_ptriangles
Definition: d_ifacea.h:70
particle_t
Definition: ref.h:89
stv_t
#define stv_t
Definition: d_ifacea.h:54
atd_skinwidth
#define atd_skinwidth
Definition: d_ifacea.h:68
tv_v
#define tv_v
Definition: d_ifacea.h:60
atd_skinheight
#define atd_skinheight
Definition: d_ifacea.h:69
atd_size
#define atd_size
Definition: d_ifacea.h:75
atd_drawtype
#define atd_drawtype
Definition: d_ifacea.h:73
fv_shift
#define fv_shift
Definition: d_ifacea.h:47
fv_flags
#define fv_flags
Definition: d_ifacea.h:44
pt_die
#define pt_die
Definition: d_ifacea.h:33
pushed
pushed_t pushed[MAX_EDICTS]
Definition: g_phys.c:391
fields
field_t fields[]
Definition: g_save.c:28
atd_seamfixupX16
#define atd_seamfixupX16
Definition: d_ifacea.h:74
fv_v
#define fv_v
Definition: d_ifacea.h:41