Commit graph

6 commits

Author SHA1 Message Date
Ilari Liusvaara
b0bb6053a9 Add new lua hooks
Add new lua hooks:
- on_rewind
- on_frame_emulated

Additionally, on_paint now has a parameter.
2012-03-06 05:11:50 +02:00
Ilari Liusvaara
dfe264f629 Lua: input.keyhook 2012-01-17 21:35:49 +02:00
Ilari Liusvaara
ec20694f7b Pack movie data in memory
Instead of using full 2*100 bytes for each subframe of movie data, pack
it in controller-dependent way, reducing the memory usage to 7-20 bytes
per subframe (90-96% reduction).
2012-01-09 21:55:55 +02:00
Ilari Liusvaara
3edb715eb8 Call lua_close()
Prevents Valgrind from complaining about some memory leaks...
2011-11-29 11:46:58 +02:00
Ilari Liusvaara
5138e9f8a9 Lua on_frame() callback 2011-11-10 21:20:34 +02:00
Ilari Liusvaara
044691d555 Move files around a lot 2011-11-06 14:41:41 +02:00
Renamed from generic/lua.hpp (Browse further)