]>
Dogcows Code - chaz/yoink/blob - src/moof/sprite.hh
2 /*] Copyright (c) 2009-2010, Charles McGarvey [**************************
3 **] All rights reserved.
7 * Distributable under the terms and conditions of the 2-clause BSD license;
8 * see the file COPYING for a complete text of the license.
10 **************************************************************************/
12 #ifndef _MOOF_SPRITE_HH_
13 #define _MOOF_SPRITE_HH_
17 * Image-loading and OpenGL texture loading.
22 #include <moof/image.hh>
23 #include <moof/math.hh>
34 explicit sprite(const std::string
& name
, int tile
= image::no_tile
);
35 explicit sprite(const image_handle
& image
, int tile
= image::no_tile
);
36 explicit sprite(const sprite
& sprite
, int tile
= image::no_tile
);
38 void image(const std::string
& name
);
42 static void reset_binding();
44 void draw(const vector3 vertices
[4]) const;
56 #endif // _MOOF_SPRITE_HH_
This page took 0.037751 seconds and 4 git commands to generate.