cs sdk v 1.14 released

Home  |  Product  |  Documents  |  Tutorials  |  FAQ |   Download  |   Forum |   Contacts  |   Link  


  Cross Suit

 Cross Suit SDK

 Documents
      classes
 Starting...
           Tutorials

 LUA tutorials

   Support

  Forum
  q&a

 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

Definition at line 99 of file gm_grp_driver.h.

#define gv_blend_inv_dst_color   0x18

Definition at line 100 of file gm_grp_driver.h.

#define gv_blend_inv_src_alpha   0x14

Definition at line 98 of file gm_grp_driver.h.

#define gv_blend_inv_src_color   0x12

Definition at line 96 of file gm_grp_driver.h.

#define gv_blend_one   0x11

Definition at line 94 of file gm_grp_driver.h.

#define gv_blend_src_alpha   0x04

Definition at line 97 of file gm_grp_driver.h.

#define gv_blend_src_color   0x02

Definition at line 95 of file gm_grp_driver.h.

#define gv_blend_zero   0x01

Definition at line 93 of file gm_grp_driver.h.

#define gv_primtype_rectlist   3

Definition at line 66 of file gm_grp_driver.h.

#define gv_primtype_trifan   1

Definition at line 64 of file gm_grp_driver.h.

#define gv_primtype_trilist   0

for hb3 only.

Definition at line 63 of file gm_grp_driver.h.

#define gv_primtype_tristrip   2

Definition at line 65 of file gm_grp_driver.h.

#define gv_rstate_afilter   (1 << 6)

Definition at line 80 of file gm_grp_driver.h.

#define gv_rstate_bilinear   (1 << 5)

Definition at line 81 of file gm_grp_driver.h.

#define gv_rstate_blend   (1 << 7)

Definition at line 79 of file gm_grp_driver.h.

#define gv_rstate_colorkey   (1 << 3)

color key enable.

Definition at line 85 of file gm_grp_driver.h.

#define gv_rstate_cull_back_face   (1 << 12)

Definition at line 72 of file gm_grp_driver.h.

#define gv_rstate_cull_dir_cw   (1 << 13)

8192 ../2 ../2..

Definition at line 70 of file gm_grp_driver.h.

#define gv_rstate_dither   (1 << 11)

Definition at line 74 of file gm_grp_driver.h.

#define gv_rstate_fog   (1 << 10)

Definition at line 76 of file gm_grp_driver.h.

#define gv_rstate_multitex   (1 << 2)

Definition at line 87 of file gm_grp_driver.h.

#define gv_rstate_pc   (1 << 0)

Definition at line 90 of file gm_grp_driver.h.

#define gv_rstate_shade   (1 << 4)

vertex color.

Definition at line 83 of file gm_grp_driver.h.

#define gv_rstate_tex   (1 << 1)

tex

Definition at line 89 of file gm_grp_driver.h.

#define gv_rstate_ztest   (1 << 8)

Definition at line 78 of file gm_grp_driver.h.

#define gv_rstate_zwrite   (1 << 9)

Definition at line 77 of file gm_grp_driver.h.


Typedef Documentation

typedef v_hb3 v

Definition at line 124 of file gm_grp_driver.h.

typedef struct _v_hb3 v_hb3

vertex default format.


Function Documentation

void vClear ( v vp  ) 

clear vertex.

void vColor ( v vp,
float  a,
float  r,
float  g,
float  b 
)

vertex color.

void vColorAlpha ( v vp,
int  alpha 
)

vertex alpha color

int vColorAlphaGet ( v vp  ) 

get vertex alpha value.

void vColorCopy ( v a,
v b 
)

copy vertex color.

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.

void vUV ( v vp,
float  a,
float  b 
)

vertex uv.

void vValue ( v vp,
float  x,
float  y,
float  z 
)

vertex setting.

void vValueScale ( v vp,
float  fscale 
)

vertex scale.


Copyright(C) gvSystem & GamePlus All Rights Reserved.