Helper structure for rendering the terrains. More...
#include <display.hpp>
Public Member Functions | |
| tblit (const tdrawing_layer layer, const map_location &loc, const int x, const int y, const surface &surf, const SDL_Rect &clip) | |
| tblit (const tdrawing_layer layer, const map_location &loc, const int x, const int y, const std::vector< surface > &surf, const SDL_Rect &clip) | |
| int | x () const |
| int | y () const |
| const std::vector< surface > & | surf () const |
| const SDL_Rect & | clip () const |
| bool | operator< (const tblit &rhs) const |
Private Attributes | |
| int | x_ |
| x screen coordinate to render at. More... | |
| int | y_ |
| y screen coordinate to render at. More... | |
| std::vector< surface > | surf_ |
| surface(s) to render. More... | |
| SDL_Rect | clip_ |
| The clipping area of the source if omitted the entire source is used. More... | |
| drawing_buffer_key | key_ |
Helper structure for rendering the terrains.
Definition at line 1003 of file display.hpp.
|
inline |
Definition at line 1018 of file display.hpp.
|
inline |
Definition at line 1025 of file display.hpp.
|
inline |
Definition at line 1039 of file display.hpp.
References clip_.
|
inline |
Definition at line 1042 of file display.hpp.
References key_.
|
inline |
Definition at line 1038 of file display.hpp.
References surf_.
|
inline |
Definition at line 1033 of file display.hpp.
References x_.
|
inline |
Definition at line 1034 of file display.hpp.
References y_.
|
private |
The clipping area of the source if omitted the entire source is used.
Definition at line 1051 of file display.hpp.
Referenced by clip().
|
private |
Definition at line 1056 of file display.hpp.
Referenced by operator<().
|
private |
|
private |
|
private |
1.8.8