Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-03-03 | Use callbacks for items, monsters and status effects | Thorbjørn Lindeijer | 1 | -0/+5 | |
Previously, global function names were defined in the respective XML definitions of items, monsters and status effects. This was reasonable when they all had the same state, but now they're sharing the single global Lua state. Now the Lua API provides access to the ItemClass, MonsterClass and StatusEffect instances, on which callbacks for both standard and custom events can be explicitly set. Reviewed-by: Erik Schilling | |||||
2010-11-14 | Renamed .hpp files into .h for consistency. | Yohann Ferreira | 1 | -0/+51 | |
Also added an header to the autoattack.{h,cpp} files. Big but trivial fix. |