Refactor hudlib hooks to hooklib
HUD hooks now meet the standard of hooklib. HUD registry magic numbers are gone. HUD hooks may also be added using addHook. addHook('HUD', fn[, type]) hud.add still exists, but the intention is to remove it eventually.
Showing
- src/f_finale.c 2 additions, 1 deletionsrc/f_finale.c
- src/hu_stuff.c 1 addition, 1 deletionsrc/hu_stuff.c
- src/lua_hook.h 11 additions, 0 deletionssrc/lua_hook.h
- src/lua_hooklib.c 47 additions, 0 deletionssrc/lua_hooklib.c
- src/lua_hud.h 1 addition, 5 deletionssrc/lua_hud.h
- src/lua_hudlib.c 30 additions, 212 deletionssrc/lua_hudlib.c
- src/st_stuff.c 3 additions, 2 deletionssrc/st_stuff.c
- src/y_inter.c 1 addition, 1 deletionsrc/y_inter.c
Loading
Please register or sign in to comment