Menu

Home

TeHe

To make the parser work you have to register your lua functions by using the lua_register() in your source code.

example:

/* IP_SetEquipText(Slot, Text[])
   Sets the description text that appears if the item is highlighted in the
   equipment screen.  This should specify what it does when equipped. */
lua_register(pLuaState, "IP_SetEquipText", &Hook_IP_SetEquipText);

the multiline comment above the lua_register will be shown as a tooltip in the auto-completer menu.

By default, the program includes an examples. These are stored in the "Data/fuctions.xml". Users are free to clean the file and parse their own project (options->auto-completer).


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.