Freeciv-3.2
Loading...
Searching...
No Matches
Data Structures | Macros
sprite.h File Reference
#include "sprite_g.h"
#include "graphics.h"

Go to the source code of this file.

Data Structures

struct  sprite
 

Macros

#define GET_SURF_REAL(m_sprite)   ((m_sprite)->psurface)
 
#define GET_SURF(m_sprite)   ((m_sprite) ? GET_SURF_REAL(m_sprite) : main_data.dummy)
 

Macro Definition Documentation

◆ GET_SURF

#define GET_SURF (   m_sprite)    ((m_sprite) ? GET_SURF_REAL(m_sprite) : main_data.dummy)

Definition at line 29 of file sprite.h.

◆ GET_SURF_REAL

#define GET_SURF_REAL (   m_sprite)    ((m_sprite)->psurface)

Definition at line 26 of file sprite.h.