Modules now reside in Lua and are treated (almost) like normal objects.

Also added a way of getting a pointer to abstract module instances internally.
This commit is contained in:
rude
2009-09-02 21:18:13 +02:00
parent bea504af2b
commit 623e701549
22 changed files with 247 additions and 176 deletions
+2 -1
View File
@@ -33,6 +33,7 @@
// LOVE
#include <graphics/Graphics.h>
#include <image/Image.h>
#include <image/ImageData.h>
#include "Image.h"
@@ -518,7 +519,7 @@ namespace opengl
* Creates a screenshot of the view and saves it to the default folder.
* @param file The file to write the screenshot to.
**/
love::image::ImageData * newScreenshot(lua_State * L);
love::image::ImageData * newScreenshot(love::image::Image * image);
void push();
void pop();