Adjusted PySFML to work with the current SFML2 branch.

Note that it's just compatible. A lot of the new functionality is still in the pipeline.

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1308 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
tankbo 2009-12-07 11:53:38 +00:00
parent fb7470cbc3
commit 839c80556d
29 changed files with 544 additions and 354 deletions

View file

@ -28,14 +28,15 @@
#include <Python.h>
#include <SFML/Graphics/Drawable.hpp>
#include <SFML/Graphics/RenderQueue.hpp>
#include "RenderWindow.hpp"
#include "RenderQueue.hpp"
class CustomDrawable : public sf::Drawable
{
protected :
virtual void Render(sf::RenderTarget& Target) const;
protected :
virtual void Render(sf::RenderTarget& Target, sf::RenderQueue& Queue) const;
public :
PySfRenderWindow *RenderWindow;
PyObject *RenderFunction;