1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-15 01:24:45 +02:00

New namespaces: GL2D (low-level OpenGL functions), Gfx (images and animation objects cooperating with the interface GL2D)

This commit is contained in:
paracelsus
2013-03-03 19:03:45 +00:00
parent 51d0af5060
commit 1e0f473761
57 changed files with 2245 additions and 907 deletions

View File

@ -41,10 +41,10 @@ class IShowable
{
public:
virtual void redraw()=0;
virtual void show(SDL_Surface * to) = 0;
virtual void showAll(SDL_Surface * to)
virtual void show() = 0;
virtual void showAll()
{
show(to);
show();
}
virtual ~IShowable(){}; //d-tor
};
@ -156,9 +156,9 @@ public:
void deactivate();
//called each frame to update screen
void show(SDL_Surface * to);
void show();
//called on complete redraw only
void showAll(SDL_Surface * to);
void showAll();
//request complete redraw of this object
void redraw();