lua: gui.addmessage(string msg)

This commit is contained in:
goyuken 2012-09-23 14:43:33 +00:00
parent 2e19d31d33
commit ce482e24ad
1 changed files with 6 additions and 0 deletions

View File

@ -354,6 +354,7 @@ namespace BizHawk.MultiClient
"drawPie",
"drawIcon",
"drawImage",
"addmessage",
};
public static string[] EmuFunctions = new string[]
@ -646,6 +647,11 @@ namespace BizHawk.MultiClient
Global.OSD.ClearGUIText();
}
public void gui_addmessage(object luaStr)
{
Global.OSD.AddMessage(luaStr.ToString());
}
public DisplaySurface luaSurface;
/// <summary>