lua: gui.addmessage(string msg)
This commit is contained in:
parent
2e19d31d33
commit
ce482e24ad
|
@ -354,6 +354,7 @@ namespace BizHawk.MultiClient
|
||||||
"drawPie",
|
"drawPie",
|
||||||
"drawIcon",
|
"drawIcon",
|
||||||
"drawImage",
|
"drawImage",
|
||||||
|
"addmessage",
|
||||||
};
|
};
|
||||||
|
|
||||||
public static string[] EmuFunctions = new string[]
|
public static string[] EmuFunctions = new string[]
|
||||||
|
@ -646,6 +647,11 @@ namespace BizHawk.MultiClient
|
||||||
Global.OSD.ClearGUIText();
|
Global.OSD.ClearGUIText();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void gui_addmessage(object luaStr)
|
||||||
|
{
|
||||||
|
Global.OSD.AddMessage(luaStr.ToString());
|
||||||
|
}
|
||||||
|
|
||||||
public DisplaySurface luaSurface;
|
public DisplaySurface luaSurface;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
Loading…
Reference in New Issue