#include <sprite2.h>
Inheritance diagram for CL_Sprite2Provider:
Public Methods | |
| CL_Sprite2Provider (CL_InputSource *source) | |
| CL_Sprite2Provider (CL_SurfaceProvider *src, int x, int y, int width, int height, int *tcols, int tcols_num) | |
| virtual | ~CL_Sprite2Provider () |
| 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 bool | is_indexed () 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 void* | get_data () const |
| virtual void | perform_lock () |
| virtual void | perform_unlock () |
Protected Methods | |
| void | load_data (CL_InputSource *datafile) |
Protected Attributes | |
| std::string | surface_id |
| void* | surface_data |
| int | width |
| int | height |
| int | no_sprs |
| int | transcol |
| CL_Palette* | palette |
| EPixelFormat | pixelformat |
| 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 30 of file sprite2.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