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>
28 struct sprite
*intro_gfx_sprite
;
30 /****************************************************************************
31 Return whether the client supports given view type
32 ****************************************************************************/
33 bool gui_is_view_supported(enum ts_type type
)
39 /****************************************************************************
40 Load the introductory graphics.
41 ****************************************************************************/
42 void load_intro_gfx(void)
45 intro_gfx_sprite
= load_gfxfile(tileset_main_intro_filename(tileset
));
48 /****************************************************************************
49 Load the cursors (mouse substitute sprites), including a goto cursor,
50 an airdrop cursor, a nuke cursor, and a patrol cursor.
51 ****************************************************************************/
52 void load_cursors(void)
57 /****************************************************************************
58 Frees the introductory sprites.
59 ****************************************************************************/
60 void gui_free_intro_radar_sprites(void)
62 if (intro_gfx_sprite
) {
63 free_sprite(intro_gfx_sprite
);
64 intro_gfx_sprite
= NULL
;