mirror of
https://github.com/H-uru/korman.git
synced 2025-07-13 18:17:38 -04:00
Implement SoundEmit modifier
This sound emitter modifier is almost as fully functional as PlasmaMAX's various sound emitter components. Additional functionality was added to C korlib so that artists can specify OGG Vorbis sound files. If korlib is not compiled, only WAVE sounds can be utilized in Korman. This fixes some of the more fiddly bugs related to exporting to CWE that were seen in PyPRP. Sound nodes to be implemented...
This commit is contained in:
@ -15,16 +15,23 @@
|
||||
*/
|
||||
|
||||
#include "buffer.h"
|
||||
#include "sound.h"
|
||||
#include "texture.h"
|
||||
|
||||
extern "C" {
|
||||
|
||||
static PyMethodDef korlib_Methods[] = {
|
||||
{ _pycs("inspect_vorbisfile"), (PyCFunction)inspect_vorbisfile, METH_VARARGS, NULL },
|
||||
|
||||
{ NULL, NULL, 0, NULL },
|
||||
};
|
||||
|
||||
static PyModuleDef korlib_Module = {
|
||||
PyModuleDef_HEAD_INIT, /* m_base */
|
||||
"_korlib", /* m_name */
|
||||
"C++ korlib implementation",/* m_doc */
|
||||
0, /* m_size */
|
||||
NULL, /* m_methods */
|
||||
korlib_Methods, /* m_methods */
|
||||
NULL, /* m_reload */
|
||||
NULL, /* m_traverse */
|
||||
NULL, /* m_clear */
|
||||
|
Reference in New Issue
Block a user