It's now possible to build each module individually (as a DLL).

This commit is contained in:
rude
2009-08-04 19:57:14 +02:00
parent 524ef5e118
commit 8e681b4204
59 changed files with 5315 additions and 400 deletions
+3 -2
View File
@@ -22,6 +22,7 @@
#define LOVE_FONT_GLYPH_DATA_H
// LOVE
#include <common/config.h>
#include <common/Data.h>
namespace love
@@ -66,12 +67,12 @@ namespace font
/**
* Gets the height of the glyph.
**/
int getHeight() const;
virtual int getHeight() const;
/**
* Gets the width of the glyph.
**/
int getWidth() const;
virtual int getWidth() const;
/**
* Gets the advance (the space the glyph takes up) of the glyph.
+7 -2
View File
@@ -82,9 +82,14 @@ namespace freetype
luax_register_gc(L, "love.font", instance);
return luax_register_module(L, wrap_Font_functions, wrap_Font_types, "font");
return luax_register_module(L, wrap_Font_functions, wrap_Font_types, 0, "font");
}
} // freetype
} // sound
} // font
} // love
int luaopen_love_font(lua_State * L)
{
return love::font::freetype::wrap_Font_open(L);
}
+3
View File
@@ -22,6 +22,7 @@
#define LOVE_FONT_FREETYPE_WRAP_FONT_H
// LOVE
#include <common/config.h>
#include "Font.h"
#include "wrap_Font.h"
@@ -40,3 +41,5 @@ namespace freetype
} // love
#endif // LOVE_FONT_FREETYPE_WRAP_FONT_H
extern "C" LOVE_EXPORT int luaopen_love_font(lua_State * L);