|
Product parts
|
|
Virtual File system
|
| Virtual Render |
| Virtual Machine |
| |
|
Demo Games
|
| |
|
3D Engine
|
|
gvSystem(dx9)
|
|
|
|
Link
|
 |
|
|
gm_grp_driver.h File Reference
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
|
Classes |
| struct | _v_hb3 |
| | vertex default format. More...
|
| class | gm_grp_driver |
| | graphic driver class More...
|
| class | gm_grp_driver_opengl |
| | opengl driver. for x86 win32 opengl. for x86 linux opengl. not yet!!!! More...
|
| class | gm_grp_driver_hb3 |
| | for hitbox3 board More...
|
| class | gm_grp_driver_znt |
| | for zenith game board. More...
|
Defines |
| #define | gv_primtype_trilist 0 |
| | for hb3 only.
|
| #define | gv_primtype_trifan 1 |
| #define | gv_primtype_tristrip 2 |
| #define | gv_primtype_rectlist 3 |
| #define | gv_rstate_cull_dir_cw (1 << 13) |
| | 8192 ../2 ../2..
|
| #define | gv_rstate_cull_back_face (1 << 12) |
| #define | gv_rstate_dither (1 << 11) |
| #define | gv_rstate_fog (1 << 10) |
| #define | gv_rstate_zwrite (1 << 9) |
| #define | gv_rstate_ztest (1 << 8) |
| #define | gv_rstate_blend (1 << 7) |
| #define | gv_rstate_afilter (1 << 6) |
| #define | gv_rstate_bilinear (1 << 5) |
| #define | gv_rstate_shade (1 << 4) |
| | vertex color.
|
| #define | gv_rstate_colorkey (1 << 3) |
| | color key enable.
|
| #define | gv_rstate_multitex (1 << 2) |
| #define | gv_rstate_tex (1 << 1) |
| | tex
|
| #define | gv_rstate_pc (1 << 0) |
| #define | gv_blend_zero 0x01 |
| #define | gv_blend_one 0x11 |
| #define | gv_blend_src_color 0x02 |
| #define | gv_blend_inv_src_color 0x12 |
| #define | gv_blend_src_alpha 0x04 |
| #define | gv_blend_inv_src_alpha 0x14 |
| #define | gv_blend_dst_color 0x08 |
| #define | gv_blend_inv_dst_color 0x18 |
Typedefs |
| typedef _v_hb3 | v_hb3 |
| | vertex default format.
|
| typedef v_hb3 | v |
Functions |
| void | vValue (v *vp, float x, float y, float z) |
| | vertex setting.
|
| void | vValueScale (v *vp, float fscale) |
| | vertex scale.
|
| void | vColor (v *vp, float a, float r, float g, float b) |
| | vertex color.
|
| void | vColorAlpha (v *vp, int alpha) |
| | vertex alpha color
|
| void | vUV (v *vp, float a, float b) |
| | vertex uv.
|
| int | vColorAlphaGet (v *vp) |
| | get vertex alpha value.
|
| void | vColorCopy (v *a, v *b) |
| | copy vertex color.
|
| void | vClear (v *vp) |
| | clear vertex.
|
| void | vReUV0 (v *vp, float w, float h) |
| | not use.
|
| void | vReUV1 (v *vp, float w, float h) |
| | not use.
|
| void | vTrashValue (v *vp, float a, float b, float c, float d) |
| | not use.
|
Define Documentation
| #define gv_blend_dst_color 0x08 |
| #define gv_blend_inv_dst_color 0x18 |
| #define gv_blend_inv_src_alpha 0x14 |
| #define gv_blend_inv_src_color 0x12 |
| #define gv_blend_one 0x11 |
| #define gv_blend_src_alpha 0x04 |
| #define gv_blend_src_color 0x02 |
| #define gv_blend_zero 0x01 |
| #define gv_primtype_rectlist 3 |
| #define gv_primtype_trifan 1 |
| #define gv_primtype_trilist 0 |
| #define gv_primtype_tristrip 2 |
| #define gv_rstate_afilter (1 << 6) |
| #define gv_rstate_bilinear (1 << 5) |
| #define gv_rstate_blend (1 << 7) |
| #define gv_rstate_colorkey (1 << 3) |
| #define gv_rstate_cull_back_face (1 << 12) |
| #define gv_rstate_cull_dir_cw (1 << 13) |
| #define gv_rstate_dither (1 << 11) |
| #define gv_rstate_fog (1 << 10) |
| #define gv_rstate_multitex (1 << 2) |
| #define gv_rstate_pc (1 << 0) |
| #define gv_rstate_shade (1 << 4) |
| #define gv_rstate_tex (1 << 1) |
| #define gv_rstate_ztest (1 << 8) |
| #define gv_rstate_zwrite (1 << 9) |
Typedef Documentation
Function Documentation
| void vColor |
( |
v * |
vp, |
|
|
float |
a, |
|
|
float |
r, |
|
|
float |
g, |
|
|
float |
b | |
|
) |
| | |
| void vColorAlpha |
( |
v * |
vp, |
|
|
int |
alpha | |
|
) |
| | |
| int vColorAlphaGet |
( |
v * |
vp |
) |
|
| void vColorCopy |
( |
v * |
a, |
|
|
v * |
b | |
|
) |
| | |
| void vReUV0 |
( |
v * |
vp, |
|
|
float |
w, |
|
|
float |
h | |
|
) |
| | |
| void vReUV1 |
( |
v * |
vp, |
|
|
float |
w, |
|
|
float |
h | |
|
) |
| | |
| void vTrashValue |
( |
v * |
vp, |
|
|
float |
a, |
|
|
float |
b, |
|
|
float |
c, |
|
|
float |
d | |
|
) |
| | |
| void vUV |
( |
v * |
vp, |
|
|
float |
a, |
|
|
float |
b | |
|
) |
| | |
| void vValue |
( |
v * |
vp, |
|
|
float |
x, |
|
|
float |
y, |
|
|
float |
z | |
|
) |
| | |
| void vValueScale |
( |
v * |
vp, |
|
|
float |
fscale | |
|
) |
| | |
|