7DRL 2025 progress

This commit is contained in:
John McCardle 2025-03-08 10:42:17 -05:00
commit 6be474da08
16 changed files with 856 additions and 80 deletions

View file

@ -28,7 +28,6 @@ sf::Sprite PyTexture::sprite(int index, sf::Vector2f pos, sf::Vector2f s)
PyObject* PyTexture::pyObject()
{
std::cout << "Find type" << std::endl;
auto type = (PyTypeObject*)PyObject_GetAttrString(McRFPy_API::mcrf_module, "Texture");
PyObject* obj = PyTexture::pynew(type, Py_None, Py_None);