|
|
1.1 root 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
64: tv_lightnormalindex equ 3
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:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.