REDRIVER2/src_rebuild/GAME/MEMCARD/SLOT.H
Ilya Shurumov c40d40bd22 - added sources rebuilt with TDR and partially decompiled intro sequence
- moved necessary data to new sources
- running intro with TOMB5 HLE emulator
2020-03-28 03:25:35 +06:00

93 lines
4.2 KiB
C

#ifndef SLOT_H
#define SLOT_H
extern struct MCSLOT * __6MCSLOTiiiiiiPc(struct MCSLOT *this, int port, int card, int iconX, int iconY, int clutX, int clutY, char *bufferPtr); // 0x000F523C
extern void card_start__6MCSLOT(struct MCSLOT *this); // 0x000F3644
extern void _._6MCSLOT(struct MCSLOT *this, int __in_chrg); // 0x000F52F0
extern void card_stop__6MCSLOT(struct MCSLOT *this); // 0x000F534C
extern int CheckCard__6MCSLOT(struct MCSLOT *this); // 0x000F5474
extern int card_event__6MCSLOTi(struct MCSLOT *this, int timeout); // 0x000F555C
extern void clear_event__6MCSLOT(struct MCSLOT *this); // 0x000F5610
extern unsigned int CardRemoved__6MCSLOT(struct MCSLOT *this); // 0x000F3828
extern unsigned int CardInserted__6MCSLOT(struct MCSLOT *this); // 0x000F3994
extern int FormatCard__6MCSLOT(struct MCSLOT *this); // 0x000F3B04
extern void ReadCardDir__6MCSLOT(struct MCSLOT *this); // 0x000F3C74
extern void invalidate_info__6MCSLOT(struct MCSLOT *this); // 0x000F5668
extern int ReadCardInfo__6MCSLOTPc(struct MCSLOT *this, char *managerFilename); // 0x000F3DB8
extern void download_icon__6MCSLOTR9BLOCKINFOiiiii(struct MCSLOT *this, struct BLOCKINFO *blockInfo, int iconX, int iconY, int clutX, int clutY, int icon); // 0x000F56FC
extern int CopyBlock__6MCSLOTi(struct MCSLOT *this, int block); // 0x000F5860
extern int ReadSlice__6MCSLOTiiP5SLICEP10FILEFORMAT(struct MCSLOT *this, int block, int slice, struct SLICE *slicePtr, struct FILEFORMAT *fileFormatPtr); // 0x000F41A0
extern int read_block__6MCSLOTiPcR9BLOCKINFO(struct MCSLOT *this, int block, char *bufferPtr, struct BLOCKINFO *blockInfo); // 0x000F43A0
extern int PasteBlock__6MCSLOT(struct MCSLOT *this); // 0x000F5918
extern int ReadHeader__6MCSLOTii(struct MCSLOT *this, int block, int slice); // 0x000F5968
extern int RenameCopyBlock__6MCSLOTP10FILEFORMAT(struct MCSLOT *this, struct FILEFORMAT *fileFormatPtr); // 0x000F5A60
extern int WriteSlice__6MCSLOTiiP5SLICEP10FILEFORMATPc(struct MCSLOT *this, int block, int slice, struct SLICE *slicePtr, struct FILEFORMAT *fileFormatPtr, char *bufferPtr); // 0x000F5B38
extern int write_block__6MCSLOTR9BLOCKINFOPc(struct MCSLOT *this, struct BLOCKINFO *blockInfo, char *bufferPtr); // 0x000F46B4
extern int CreateBlock__6MCSLOTP10FILEFORMATP5SLICE(struct MCSLOT *this, struct FILEFORMAT *fileFormatPtr, struct SLICE *slicePtr); // 0x000F49E8
extern int DeleteBlock__6MCSLOTi(struct MCSLOT *this, int block); // 0x000F502C
extern void SetPort__6MCSLOTii(struct MCSLOT *this, int port, int card); // 0x000F5C70
extern unsigned int BlocksShared__6MCSLOTii(struct MCSLOT *this, int block1, int block2); // 0x000F5D30
extern int GetBlockSize__6MCSLOTi(struct MCSLOT *this, int block); // 0x000F5DC8
extern unsigned int CardInfoRead__6MCSLOT(struct MCSLOT *this); // 0x000F5DFC
extern struct TIMSTRUCT * GetBlockIconPtr__6MCSLOTi(struct MCSLOT *this, int block); // 0x000F5E08
extern int GetNoUsedBlocks__6MCSLOT(struct MCSLOT *this); // 0x000F5E84
extern short * GetBlockTitlePtr__6MCSLOTi(struct MCSLOT *this, int block); // 0x000F5EA0
extern char * GetBlockFilenamePtr__6MCSLOTi(struct MCSLOT *this, int block); // 0x000F5EE4
extern int FilenameUsed__6MCSLOTPc(struct MCSLOT *this, char *filename); // 0x000F5F1C
extern int GetNumGremBlocks__6MCSLOTPc(struct MCSLOT *this, char *filename); // 0x000F5FBC
extern int InsertSliceIntoCopyBuffer__6MCSLOTiPccccT2(struct MCSLOT *this, int slice, char *sliceName, char icon0, int icon1, int icon2, char *dataPtr); // 0x000F6088
extern int ExtractSliceFromCopyBuffer__6MCSLOTiPc(struct MCSLOT *this, int slice, char *bufferPtr); // 0x000F61F0
extern char * GetSliceFilenamePtr__6MCSLOTii(struct MCSLOT *this, int block, int slice); // 0x000F628C
extern unsigned int SliceUsed__6MCSLOTii(struct MCSLOT *this, int block, int slice); // 0x000F633C
extern int GetNoUsedSlices__6MCSLOTi(struct MCSLOT *this, int block); // 0x000F63EC
extern int GetSliceIconRef__6MCSLOTiii(struct MCSLOT *this, int block, int slice, int ref); // 0x000F6448
extern int GetNoSlices__6MCSLOTi(struct MCSLOT *this, int block); // 0x000F64F4
extern unsigned int GremlinBlock__6MCSLOTi(struct MCSLOT *this, int block); // 0x000F6550
extern void Ascii2ShiftJis__FPsPc(short *dest, char *source); // 0x000F512C
#endif