annotate src/win32/WinMiscUtil.h @ 6:458a4f18f3cd

working on lua generation
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Mar 2012 10:48:33 -0600
parents f9f4f1b99eed
children
rev   line source
rlm@1 1 #ifndef VBA_WIN32_WINMISCUTIL_H
rlm@1 2 #define VBA_WIN32_WINMISCUTIL_H
rlm@1 3
rlm@1 4 #if _MSC_VER > 1000
rlm@1 5 #pragma once
rlm@1 6 #endif // _MSC_VER > 1000
rlm@1 7
rlm@1 8 extern const char IDS_ROM_DIR[];
rlm@1 9 extern const char IDS_GBXROM_DIR[];
rlm@1 10 extern const char IDS_BATTERY_DIR[];
rlm@1 11 extern const char IDS_SAVE_DIR[];
rlm@1 12 extern const char IDS_MOVIE_DIR[];
rlm@1 13 extern const char IDS_CHEAT_DIR[];
rlm@1 14 extern const char IDS_LUA_DIR[];
rlm@1 15 extern const char IDS_IPS_DIR[];
rlm@1 16 extern const char IDS_AVI_DIR[];
rlm@1 17 extern const char IDS_WAV_DIR[];
rlm@1 18 extern const char IDS_CAPTURE_DIR[];
rlm@1 19 extern const char IDS_WATCH_DIR[];
rlm@1 20
rlm@1 21 extern bool winFileExists(const CString &filename);
rlm@1 22 extern bool winIsDriveRoot(const CString &file);
rlm@1 23 extern CString winGetOriginalFilename(const CString &file);
rlm@1 24 extern CString winGetDirFromFilename(const CString &file);
rlm@1 25 extern CString winGetSavestateFilename(const CString &LogicalRomName, int nID);
rlm@1 26 extern CString winGetSavestateMenuString(const CString &LogicalRomName, int nID);
rlm@1 27 extern CString winGetDestDir(const CString &TargetDirReg);
rlm@1 28 extern CString winGetDestFilename(const CString &LogicalRomName, const CString &TargetDirReg, const CString &ext);
rlm@1 29 extern void winCorrectPath(CString &path);
rlm@1 30 extern void winCorrectPath(char *path);
rlm@1 31
rlm@1 32 int winScreenCapture(int captureNumber = 0);
rlm@1 33 bool winImportGSACodeFile(CString& fileName);
rlm@1 34 void winLoadCheatList(const char *name);
rlm@1 35 void winSaveCheatList(const char *name);
rlm@1 36 void winLoadCheatListDefault();
rlm@1 37 void winSaveCheatListDefault();
rlm@1 38 bool winReadBatteryFile();
rlm@1 39 bool winWriteBatteryFile();
rlm@1 40 bool winEraseBatteryFile();
rlm@1 41 bool winReadSaveGame(const char *name);
rlm@1 42 bool winWriteSaveGame(const char *name);
rlm@1 43 bool winEraseSaveGame(const char *name);
rlm@1 44
rlm@1 45 #endif // VBA_WIN32_WINMISCUTIL_H