]>
Dogcows Code - chaz/yoink/blob - src/moof/sprite.hh
2 /*] Copyright (c) 2009-2011, Charles McGarvey [*****************************
3 **] All rights reserved.
5 * Distributable under the terms and conditions of the 2-clause BSD license;
6 * see the file COPYING for a complete text of the license.
8 *****************************************************************************/
10 #ifndef _MOOF_SPRITE_HH_
11 #define _MOOF_SPRITE_HH_
15 #include <moof/image.hh>
16 #include <moof/math.hh>
21 * Image-loading and OpenGL texture loading.
32 explicit sprite(const std::string
& name
, int tile
= image::no_tile
);
33 explicit sprite(const image_handle
& image
, int tile
= image::no_tile
);
34 explicit sprite(const sprite
& sprite
, int tile
= image::no_tile
);
36 void image(const std::string
& name
);
40 static void reset_binding();
42 void draw(const vector3 vertices
[4]) const;
53 #endif // _MOOF_SPRITE_HH_
This page took 0.038196 seconds and 4 git commands to generate.