equal
deleted
inserted
replaced
16 byte FioReadByte(); |
16 byte FioReadByte(); |
17 uint16 FioReadWord(); |
17 uint16 FioReadWord(); |
18 uint32 FioReadDword(); |
18 uint32 FioReadDword(); |
19 void FioCloseAll(); |
19 void FioCloseAll(); |
20 void FioOpenFile(int slot, const char *filename); |
20 void FioOpenFile(int slot, const char *filename); |
21 void FioReadBlock(void *ptr, uint size); |
21 void FioReadBlock(void *ptr, size_t size); |
22 void FioSkipBytes(int n); |
22 void FioSkipBytes(int n); |
23 void FioCreateDirectory(const char *filename); |
23 void FioCreateDirectory(const char *filename); |
24 |
24 |
25 /** |
25 /** |
26 * The different kinds of subdirectories OpenTTD uses |
26 * The different kinds of subdirectories OpenTTD uses |
68 struct TarListEntry { |
68 struct TarListEntry { |
69 const char *filename; |
69 const char *filename; |
70 }; |
70 }; |
71 struct TarFileListEntry { |
71 struct TarFileListEntry { |
72 TarListEntry *tar; |
72 TarListEntry *tar; |
73 int size; |
73 size_t size; |
74 int position; |
74 size_t position; |
75 }; |
75 }; |
76 typedef std::map<std::string, TarListEntry *> TarList; |
76 typedef std::map<std::string, TarListEntry *> TarList; |
77 typedef std::map<std::string, TarFileListEntry> TarFileList; |
77 typedef std::map<std::string, TarFileListEntry> TarFileList; |
78 extern TarList _tar_list; |
78 extern TarList _tar_list; |
79 extern TarFileList _tar_filelist; |
79 extern TarFileList _tar_filelist; |