Mercurial > vba-clojure
view src/common/vbalua.h @ 216:d7f2e0384d24
remove debug stuff from pokemon.clj
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Fri, 23 Mar 2012 19:29:09 -0500 |
parents | f9f4f1b99eed |
children |
line wrap: on
line source
1 #ifndef VBA_LUA_H2 #define VBA_LUA_H4 #if _MSC_VER > 10005 #pragma once6 #endif // _MSC_VER > 10008 enum LuaCallID9 {10 LUACALL_BEFOREEMULATION,11 LUACALL_AFTEREMULATION,12 LUACALL_BEFOREEXIT,14 LUACALL_COUNT15 };16 void CallRegisteredLuaFunctions(LuaCallID calltype);18 enum LuaMemHookType19 {20 LUAMEMHOOK_WRITE,21 LUAMEMHOOK_READ,22 LUAMEMHOOK_EXEC,23 LUAMEMHOOK_WRITE_SUB,24 LUAMEMHOOK_READ_SUB,25 LUAMEMHOOK_EXEC_SUB,27 LUAMEMHOOK_COUNT28 };29 void CallRegisteredLuaMemHook(unsigned int address, int size, unsigned int value, LuaMemHookType hookType);31 // Just forward function declarations33 void VBALuaFrameBoundary();34 int VBALoadLuaCode(const char *filename);35 int VBAReloadLuaCode();36 void VBALuaStop();37 int VBALuaRunning();39 int VBALuaUsingJoypad(int);40 int VBALuaReadJoypad(int);41 int VBALuaSpeed();42 bool8 VBALuaRerecordCountSkip();44 void VBALuaGui(uint8 *screen, int ppl, int width, int height);45 void VBALuaClearGui();47 char* VBAGetLuaScriptName();49 // And some interesting REVERSE declarations!50 char *VBAGetFreezeFilename(int slot);52 #endif // VBA_LUA_H