#include <sprite.h>
Inheritance diagram for CL_SpriteProvider:
Public Methods | |
| CL_SpriteProvider (const char *surface_id, CL_InputSourceProvider *datafile) | |
| virtual | ~CL_SpriteProvider () |
| virtual unsigned int | get_width () const |
| virtual unsigned int | get_height () const |
| virtual unsigned int | get_pitch () const |
| virtual unsigned int | get_num_frames () const |
| retval: A pointer that points to the beginning of the target pixel data. | |
| virtual CL_Palette* | get_palette () const |
| virtual bool | uses_src_colorkey () const |
| retval: The y-offset of the surface data. | |
| virtual unsigned int | get_src_colorkey () const |
| virtual unsigned int | get_red_mask () const |
| virtual unsigned int | get_green_mask () const |
| virtual unsigned int | get_blue_mask () const |
| virtual unsigned int | get_alpha_mask () const |
| virtual unsigned int | get_depth () const |
| virtual bool | is_indexed () const |
| virtual void* | get_data () const |
| virtual void | perform_lock () |
| virtual void | perform_unlock () |
Static Public Methods | |
| CL_Surface* | create (const char *surface_id, CL_InputSourceProvider *datafile) |
Protected Methods | |
| void | load_data () |
Protected Attributes | |
| std::string | surface_id |
| CL_InputSourceProvider* | provider |
| void* | surface_data |
| int | width |
| int | height |
| int | no_sprs |
| int | transcol |
| CL_Palette* | palette |
| unsigned int | red_mask |
| unsigned int | green_mask |
| unsigned int | blue_mask |
| unsigned int | alpha_mask |
| unsigned int | bpp |
| bool | m_is_indexed |
Definition at line 32 of file sprite.h.
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from CL_Target. |
|
|
Reimplemented from CL_Target. |
|
|
Reimplemented from CL_Target. |
|
|
Reimplemented from CL_Target. |
|
|
Reimplemented from CL_Target. |
|
|
Reimplemented from CL_Target. |
|
|
retval: A pointer that points to the beginning of the target pixel data.
Reimplemented from CL_Target. |
|
|
Reimplemented from CL_Target. |
|
|
Reimplemented from CL_Target. |
|
|
Reimplemented from CL_Target. |
|
|
Reimplemented from CL_SurfaceProvider. |
|
|
Reimplemented from CL_Target. |
|
|
Reimplemented from CL_Target. |
|
|
|
|
|
Reimplemented from CL_SurfaceProvider_Generic. |
|
|
Reimplemented from CL_SurfaceProvider_Generic. |
|
|
retval: The y-offset of the surface data.
Reimplemented from CL_SurfaceProvider. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.6 written by Dimitri van Heesch,
© 1997-2001