Path: blob/master/RSDKv5/RSDK/Core/Legacy/ModAPILegacy.hpp
1174 views
12namespace Legacy3{45#if RETRO_USE_MOD_LOADER67#define LEGACY_PLAYERNAME_COUNT (0x10)89extern char modTypeNames[OBJECT_COUNT][0x40];10extern char modScriptPaths[OBJECT_COUNT][0x40];11extern uint8 modScriptFlags[OBJECT_COUNT];12extern uint8 modObjCount;1314namespace v415{1617// Native Functions18void RefreshEngine();19void GetModCount();20void GetModName(int32 *textMenu, int32 *highlight, uint32 *id, int32 *unused);21void GetModDescription(int32 *textMenu, int32 *highlight, uint32 *id, int32 *unused);22void GetModAuthor(int32 *textMenu, int32 *highlight, uint32 *id, int32 *unused);23void GetModVersion(int32 *textMenu, int32 *highlight, uint32 *id, int32 *unused);24void GetModActive(uint32 *id, int32 *unused);25void SetModActive(uint32 *id, int32 *active);26void MoveMod(uint32 *id, int32 *up);2728void ExitGame();29void FileExists(int32 *unused, const char *filePath);3031void AddGameAchievement(int32 *unused, const char *name);32void SetAchievementDescription(uint32 *id, const char *desc);33void ClearAchievements();34void GetAchievementCount();35void GetAchievementName(uint32 *id, int32 *textMenu);36void GetAchievementDescription(uint32 *id, int32 *textMenu);37void GetAchievement(uint32 *id, void *unused);3839void GetScreenWidth();40void SetScreenWidth(int32 *width, int32 *unused);41void GetWindowScale();42void SetWindowScale(int32 *scale, int32 *unused);43void GetWindowScaleMode();44void SetWindowScaleMode(int32 *mode, int32 *unused);45void GetWindowFullScreen();46void SetWindowFullScreen(int32 *fullscreen, int32 *unused);47void GetWindowBorderless();48void SetWindowBorderless(int32 *borderless, int32 *unused);49void GetWindowVSync();50void SetWindowVSync(int32 *enabled, int32 *unused);51void ApplyWindowChanges();52} // namespace v45354#endif5556} // namespace Legacy5758