7 typedef struct AgsGameData
{
10 size_t charactercount
;
11 size_t inventorycount
;
17 typedef struct AgsDataFile
{
22 size_t globalvarcount
;
27 off_t spriteflagsstart
;
33 int ADF_find_datafile(const char *dir
, char *fnbuf
, size_t flen
);
34 int ADF_open(ADF
* a
, const char *filename
);
35 void ADF_close(ADF
* a
);
37 ASI
* ADF_open_objectfile(ADF
* a
, char* fn
);
38 ASI
* ADF_get_script(ADF
* a
, size_t index
);
39 ASI
* ADF_get_global_script(ADF
* a
);
40 ASI
* ADF_get_dialog_script(ADF
* a
);
41 size_t ADF_get_scriptcount(ADF
* a
);
42 #define ADF_get_spritecount(A) (A)->numsprites
43 #define ADF_get_spriteflagsstart(A) (A)->spriteflagsstart
45 #pragma RcB2 DEP "DataFile.c"