Mercurial > hg > Members > kono > tree_dandy2
comparison sgoex.h @ 6:6541f0bebb81
cerium redering engine main routine.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 07 Dec 2010 18:11:38 +0900 |
parents | 01387a2e419e |
children | 972a7f233b23 |
comparison
equal
deleted
inserted
replaced
5:8afbbe129730 | 6:6541f0bebb81 |
---|---|
83 | 83 |
84 //extern GsSPRITE sprite[MAXOBJ]; | 84 //extern GsSPRITE sprite[MAXOBJ]; |
85 extern SpriteTable sptable[DEFOBJ]; | 85 extern SpriteTable sptable[DEFOBJ]; |
86 | 86 |
87 | 87 |
88 void Ginit(); | |
89 void Gfinish(void); | |
90 void Gdraw(void); | |
91 void *init_png(char *png_file); | |
92 void PutSprite(int zorder, short x, short y, int number); | 88 void PutSprite(int zorder, short x, short y, int number); |
93 //void PutSprite(); | |
94 void DefSprite(int number, char *name, float w, float h, int color, OBJECT *obj); | 89 void DefSprite(int number, char *name, float w, float h, int color, OBJECT *obj); |
95 void DefSpriteEx(int number, short middlex, short middley); | 90 void DefSpriteEx(int number, short middlex, short middley); |
96 void sound_init(void); | |
97 void view_init(int p); | |
98 void view_move(int x, int y, int z, int rx, int ry, int rz); | |
99 void model_init(int model_no, unsigned long *dop, int m1_x, int m1_y, | |
100 int m1_z, int m2_x, int m2_y, int m2_z); | |
101 char xml_model_init(int model_no, void *template_obj, int m1_x, int m1_y, | |
102 int m1_z, int m2_x, int m2_y, int m2_z); | |
103 void m2move(int model_no, int x, int y, int z, int rx, int ry, int rz); | |
104 void PutPolygon(int number); | |
105 void PutSpriteEx(int number, int x, int y, float scalex, float scaley, float angle); | 91 void PutSpriteEx(int number, int x, int y, float scalex, float scaley, float angle); |
106 //void PutSpriteEx(int zorder, short scalex, short scaley, long rotate); | |
107 | |
108 void sgoex_ps2_Set_camera(void); | |
109 void sgoex_ps2_Put_sprite(int num, float x, float y); | |
110 char sgoex_ps2_Create_sprites(void); | |
111 char sgoex_ps2_Init_xmlCube(char *redCube_file, | |
112 char *blueCube_file, | |
113 char *greenCube_file, char *yellowCube_file); | |
114 char sgoex_ps2_Init_xmlFloor(char *file_name); | |
115 void *sgoex_ps2_Get_redCube(void); | |
116 void *sgoex_ps2_Get_blueCube(void); | |
117 void *sgoex_ps2_Get_greenCube(void); | |
118 void *sgoex_ps2_Get_yellowCube(void); | |
119 void *sgoex_ps2_Get_xmlFloor(void); | |
120 void xml_floor_Finish(void); | |
121 | 92 |
122 | 93 |
123 /* Joypad - Below member are implemented in sgoex_ps2.c */ | 94 /* Joypad - Below member are implemented in sgoex_ps2.c */ |
124 extern SGO_PAD pad[2]; | 95 extern SGO_PAD pad[2]; |
125 //void Pad(void); | |
126 void Pad(); | 96 void Pad(); |
127 void keybord(); | 97 void keybord(); |
128 //void Pad1(SGO_PAD * padls); | |
129 //void Pad2(SGO_PAD * padls); | |
130 | |
131 //void GsSortBoxFill(GsBOXF * bp, GsOT * otp, unsigned int pri); | |
132 | |
133 /* dummies */ | |
134 // void init_tim( int tim_addr ); |