Rev 6523 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6523 | Rev 8063 | ||
---|---|---|---|
Line 73... | Line 73... | ||
73 | enabled dd ? ;int |
73 | enabled dd ? ;int |
74 | next dd ? ;struct GLLight* |
74 | next dd ? ;struct GLLight* |
75 | prev dd ? ;struct GLLight* |
75 | prev dd ? ;struct GLLight* |
76 | ends |
76 | ends |
Line 77... | Line -... | ||
77 | - | ||
78 | offs_ligh_ambient equ 0 ;V4 |
- | |
79 | offs_ligh_diffuse equ 16 ;V4 |
- | |
80 | offs_ligh_specular equ 32 ;V4 |
- | |
81 | offs_ligh_position equ 48 ;V4 |
- | |
82 | offs_ligh_spot_direction equ 64 ;V3 |
- | |
83 | offs_ligh_spot_exponent equ 76 ;dd ? |
- | |
84 | offs_ligh_spot_cutoff equ 80 ;dd ? |
- | |
85 | offs_ligh_attenuation equ 84 ;rd 3 |
- | |
86 | offs_ligh_cos_spot_cutoff equ 96 ;dd ? |
- | |
87 | offs_ligh_norm_spot_direction equ 100 ;V3 |
- | |
88 | offs_ligh_norm_position equ 112 ;V3 |
- | |
89 | offs_ligh_enabled equ 124 ;dd ? |
- | |
90 | offs_ligh_next equ 128 ;dd ? |
- | |
91 | offs_ligh_prev equ 132 ;dd ? |
- | |
92 | 77 | ||
93 | struct GLMaterial |
78 | struct GLMaterial |
94 | emission V4 |
79 | emission V4 |
95 | ambient V4 |
80 | ambient V4 |
96 | diffuse V4 |
81 | diffuse V4 |
Line 100... | Line 85... | ||
100 | ; computed values |
85 | ; computed values |
101 | shininess_i dd ? ;int |
86 | shininess_i dd ? ;int |
102 | do_specular dd ? ;int |
87 | do_specular dd ? ;int |
103 | ends |
88 | ends |
Line 104... | Line -... | ||
104 | - | ||
105 | offs_mate_emission equ 0 ;V4 |
- | |
106 | offs_mate_ambient equ 16 ;V4 |
- | |
107 | offs_mate_diffuse equ 32 ;V4 |
- | |
108 | offs_mate_specular equ 48 ;V4 |
- | |
109 | offs_mate_shininess equ 64 ;dd |
- | |
110 | offs_mate_shininess_i equ 68 ;dd |
- | |
111 | offs_mate_do_specular equ 72 ;dd |
- | |
112 | 89 | ||
113 | struct GLViewport |
90 | struct GLViewport |
114 | xmin dd ? ;int |
91 | xmin dd ? ;int |
115 | ymin dd ? ;int |
92 | ymin dd ? ;int |
116 | xsize dd ? ;int |
93 | xsize dd ? ;int |
Line 153... | Line 130... | ||
153 | pc V4 ; coordinates in the normalized volume |
130 | pc V4 ; coordinates in the normalized volume |
154 | clip_code dd ? ;int ; clip code |
131 | clip_code dd ? ;int ; clip code |
155 | zp ZBufferPoint ; integer coordinates for the rasterization |
132 | zp ZBufferPoint ; integer coordinates for the rasterization |
156 | ends |
133 | ends |
Line 157... | Line -... | ||
157 | - | ||
158 | offs_vert_edge_flag equ 0 |
- | |
159 | offs_vert_normal equ 4 |
- | |
160 | offs_vert_coord equ 16 |
- | |
161 | offs_vert_tex_coord equ 32 |
- | |
162 | offs_vert_color equ 48 |
- | |
163 | offs_vert_ec equ 64 |
- | |
164 | offs_vert_pc equ 80 |
- | |
165 | offs_vert_clip_code equ 96 |
- | |
166 | offs_vert_zp equ 100 |
- | |
167 | 134 | ||
168 | struct GLImage |
135 | struct GLImage |
169 | pixmap dd ? ;void* |
136 | pixmap dd ? ;void* |
170 | xsize dd ? ;int |
137 | xsize dd ? ;int |
171 | ysize dd ? ;int |
138 | ysize dd ? ;int |