mirror of
https://github.com/glest/glest-source.git
synced 2025-08-11 19:04:00 +02:00
first steps for sdl2 ( still many compile errors )
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
struct SDL_Surface;
|
||||
struct SDL_Window;
|
||||
class ctx;
|
||||
|
||||
using namespace std;
|
||||
@@ -32,7 +32,7 @@ protected:
|
||||
|
||||
string filename;
|
||||
string filenameFallback;
|
||||
SDL_Surface *surface;
|
||||
SDL_Window *window;
|
||||
int x;
|
||||
int y;
|
||||
int width;
|
||||
@@ -60,7 +60,7 @@ public:
|
||||
VideoPlayer(VideoLoadingCallbackInterface *loadingCB,
|
||||
string filename,
|
||||
string filenameFallback,
|
||||
SDL_Surface *surface, int x, int y,
|
||||
SDL_Window *window, int x, int y,
|
||||
int width, int height, int colorBits,
|
||||
bool loop, string pluginsPath,bool verboseEnabled=false);
|
||||
virtual ~VideoPlayer();
|
||||
|
Reference in New Issue
Block a user