5 Commits

Author SHA1 Message Date
octacian
c7a43d973e Add recurring events
Add `hudlib.recur` and `hudlib.recur_stop`.
2017-04-06 16:56:37 -07:00
octacian
8fcabb7b37 Refactor hud.lua
Refactors HUD.lua to become the "main HUD API" which will be used by the more preferrable per-element APIs.
2017-03-27 17:19:26 -07:00
octacian
698bf28c5c Add hudlib.event to handle events
Lessens code duplication by dealing with all events in one function.
2017-03-27 16:58:53 -07:00
octacian
dc91b4fdf0 Add hudlib.parse_time
Parses a string with sets of time-indicating numbers and alpha-numeric characters into seconds.
2017-03-14 22:35:26 -07:00
octacian
741cdcbbaf Reorganize
In preparation for customized APIs for statbars and such. In need of an event handler. Moves api.lua to hud.lua, placing functions which apply to all HUD element types in api.lua. Moves documentation to the doc/ directory.
2017-03-14 20:28:48 -07:00