This commit is contained in:
d1str4ught
2025-08-18 19:46:48 +02:00
parent 65582e25ec
commit 4be475f111
1334 changed files with 456590 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
#include "stdafx.h"
#include "../gamelib/FlyingObjectManager.h"
PyObject * flyUpdate(PyObject * poSelf, PyObject * poArgs)
{
CFlyingManager::Instance().Update();
return Py_BuildNone();
}
PyObject * flyRender(PyObject * poSelf, PyObject * poArgs)
{
CFlyingManager::Instance().Render();
return Py_BuildNone();
}
void initfly()
{
static PyMethodDef s_methods[] =
{
{ "Update", flyUpdate, METH_VARARGS },
{ "Render", flyRender, METH_VARARGS },
{ NULL, NULL, NULL },
};
Py_InitModule("fly", s_methods);
}