Commit graph

11 commits

Author SHA1 Message Date
Ilari Liusvaara
a77c6a4df6 Lua.cpp: Get rid of register-queue 2014-05-13 16:13:09 +03:00
Ilari Liusvaara
7ba7fc24f6 Use overcommit for palettes, bitmaps, dbitmaps and tilemaps
This makes the large size of these objects visible to Lua, hopefully
allowing Lua GC to make better decisions.
2014-03-31 12:42:33 +03:00
Ilari Liusvaara
e0827ce54f Add base support for Lua object overcommit 2014-03-31 11:31:25 +03:00
Ilari Liusvaara
4a027d5f4e Make compiler more anal and fix what comes up
Probably got multiple Lua crash bugs...
2014-03-29 20:43:58 +02:00
Ilari Liusvaara
fc95e85126 Pass dummy object parameter to do_unregister
This allows getting rid of proxy objects
2014-02-23 07:07:20 +02:00
Ilari Liusvaara
2e4502896f Fix some exception specifier mismatches 2014-01-30 12:36:02 +02:00
Ilari Liusvaara
67ed92de33 Lua: all_classes() 2014-01-29 12:57:42 +02:00
Ilari Liusvaara
85d78e2632 Lua: Give the print method as pointer instead of assuming T::print 2014-01-29 11:32:52 +02:00
Ilari Liusvaara
53d7bbd633 Lua: Make class methods take lua::parameters 2014-01-28 14:38:25 +02:00
Ilari Liusvaara
676dfe7ac8 Lua: Refactor classes
- Support static methods for classes
- Allow Lua to enumerate static and class methods
- Support dynamic class lookup
- Support class groups (in style of function groups)
2014-01-25 16:30:25 +02:00
Ilari Liusvaara
94114f1e2e Lua: Refactor lots of stuff
- Split lua-base.hpp into number of files.
- New Lua function parameters parser.
- Convert some Lua code files in order to test the stuff
2014-01-25 12:51:13 +02:00