1 /**********************************************************************
2 Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12 ***********************************************************************/
15 #include <fc_config.h>
24 #include "qtg_cxxside.h"
28 static struct sprite
*intro_gfx_sprite
= NULL
;
29 static struct sprite
*radar_gfx_sprite
= NULL
;
31 /****************************************************************************
32 Return whether the client supports isometric view (isometric tilesets).
33 ****************************************************************************/
34 bool qtg_isometric_view_supported()
39 /****************************************************************************
40 Return whether the client supports "overhead" (non-isometric) view.
41 ****************************************************************************/
42 bool qtg_overhead_view_supported()
47 /****************************************************************************
48 Frees the introductory sprites.
49 ****************************************************************************/
50 void qtg_free_intro_radar_sprites()
52 if (intro_gfx_sprite
) {
53 free_sprite(intro_gfx_sprite
);
54 intro_gfx_sprite
= NULL
;
56 if (radar_gfx_sprite
) {
57 free_sprite(radar_gfx_sprite
);
58 radar_gfx_sprite
= NULL
;