Skip to content
Snippets Groups Projects
  • James R.'s avatar
    8d382e49
    Big Large Lua Hooklib Refactor · 8d382e49
    James R. authored
    * Hooks are no longer a mess of lua boiler plate. Helper functions reduce hooks
      to, at the most basic level, only two calls.
    * Lua tables (the array part) are used to index hooks. Such tables contain only
      hooks of the same type.
    * Hook types are defined in one place so you no longer need to sync up the enum
      and name array.
    8d382e49
    History
    Big Large Lua Hooklib Refactor
    James R. authored
    * Hooks are no longer a mess of lua boiler plate. Helper functions reduce hooks
      to, at the most basic level, only two calls.
    * Lua tables (the array part) are used to index hooks. Such tables contain only
      hooks of the same type.
    * Hook types are defined in one place so you no longer need to sync up the enum
      and name array.
lua_script.c 42.24 KiB