struct set*\r
curr_cdat_set(void);\r
struct set*\r
-curr_set(int);\r
+curr_set(void);\r
struct ref*\r
curr_ref(void);\r
struct model*\r
struct framesheet {\r
int width;\r
int height;\r
+ uint8_t filepath[FPATH_MAX];\r
int num_frames;\r
\r
};\r
/* NAMED spritesheet */\r
struct model {\r
struct name name;\r
- uint8_t filepath[PATH_MAX];\r
- struct framesheet spritesheet[8]; //one for each\r
+ struct framesheet spritesheet[8]; //one for each\r
};\r
\r
/* Vdat: Vdats are the video data of each object. They can not be\r
\r
struct set*\r
curr_set\r
-(int depth)\r
-{ int i;\r
- struct set* setp;\r
-\r
- for(i = 0; i <= depth; i++)\r
- { if(!(setp = setp->set_list[setp->num_sets]))\r
- { printf("You are trying to access a set that does not exist irmem.c\n");\r
- return NULL;\r
- }\r
- }\r
-\r
-\r
- return setp;\r
+()\r
+{ \r
+ return CURRENT_SET();\r
}\r
\r
struct ref*\r