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 -3
View File
@@ -52,9 +52,9 @@ namespace sound
void * getData() const;
int getSize() const;
int getChannels() const;
int getBits() const;
int getSampleRate() const;
virtual int getChannels() const;
virtual int getBits() const;
virtual int getSampleRate() const;
void setSample(int i, float sample);
float getSample(int i) const;
+6 -1
View File
@@ -130,8 +130,13 @@ namespace sound
luax_register_gc(L, "love.sound", instance);
return luax_register_module(L, wrap_Sound_functions, wrap_Sound_types, "sound");
return luax_register_module(L, wrap_Sound_functions, wrap_Sound_types, 0, "sound");
}
} // sound
} // love
int luaopen_love_sound(lua_State * L)
{
return love::sound::wrap_Sound_open(L);
}
+3
View File
@@ -22,6 +22,7 @@
#define LOVE_SOUND_WRAP_SOUND_H
// LOVE
#include <common/config.h>
#include "Sound.h"
#include "wrap_SoundData.h"
#include "wrap_Decoder.h"
@@ -38,3 +39,5 @@ namespace sound
} // love
#endif // LOVE_SOUND_WRAP_SOUND_H
extern "C" LOVE_EXPORT int luaopen_love_sound(lua_State * L);