comparison gSprite.h @ 124:6ef3b0efdeaf

test
author e085768
date Thu, 30 Jun 2011 12:43:18 +0900
parents 5219bf3d5e71
children c62fec1dd2f8
comparison
equal deleted inserted replaced
123:78665470f9f9 124:6ef3b0efdeaf
1 #ifndef GSPRITE_H 1 #ifndef GSPRITE_H
2 #define GSPRITE_H 2 #define GSPRITE_H
3
4 #include "Magoroku.h"
5
6 //+415.692169
7 #define TEST_Z_GRID -1000 // とりあえず
3 8
4 // enum_SpriteNameの略 9 // enum_SpriteNameの略
5 enum eSpName { 10 enum eSpName {
6 TITLE = 10, 11 TITLE = 10,
7 SELECT = 17, 12 SELECT = 17,
40 45
41 46
42 // extern とってみたけど、なにか不都合ありますか?:miya 47 // extern とってみたけど、なにか不都合ありますか?:miya
43 void gSprite_Init(); 48 void gSprite_Init();
44 void gSprite_Draw_Reset(); 49 void gSprite_Draw_Reset();
45 void gSprite_PutSprite(int number, int x, int y); 50
51 void gSprite_PutSprite(int number, int x, int y, int z);
46 //void gSprite_PutSpriteEx(int number, int x, int y, float w, float h); 52 //void gSprite_PutSpriteEx(int number, int x, int y, float w, float h);
47 void gSprite_PutSpriteEx(int number, int x, int y, float scalex, float scaley, float angle); 53 void gSprite_PutSpriteEx(int number, int x, int y, int z, float scalex, float scaley, float angle);
54
48 //void gSprite_DefSprite(int number, int tx, int ty, int tw, int th); 55 //void gSprite_DefSprite(int number, int tx, int ty, int tw, int th);
49 void gSprite_DefSprite(int number, const char *name, float w, float h, int color);//, OBJECT *obj); 56 void gSprite_DefSprite(int number, const char *name, float w, float h, int color);//, OBJECT *obj);
50 57
51 #endif 58 #endif
52 59
53 void flip(); 60 void flip();
61
62 // rootのポインターを返す
63 SceneGraphPtr getRootPtr( void );