webperimental: killstack decides stack protects.
[freeciv.git] / client / gui-stub / graphics.c
blob59d74a5a6bf640140f56661d0675eff984cf7807
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)
6 any later version.
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 ***********************************************************************/
14 #ifdef HAVE_CONFIG_H
15 #include <fc_config.h>
16 #endif
18 #include <stdlib.h>
20 /* client */
21 #include "tilespec.h"
23 /* gui main header */
24 #include "gui_stub.h"
26 #include "graphics.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)
35 /* PORTME */
36 return FALSE;
39 /****************************************************************************
40 Load the introductory graphics.
41 ****************************************************************************/
42 void load_intro_gfx(void)
44 /* PORTME */
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)
54 /* PORTME */
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;