Freeciv-3.2
Loading...
Searching...
No Matches
themebackgrounds.h
Go to the documentation of this file.
1/***********************************************************************
2 Freeciv - Copyright (C) 2006 - The Freeciv Project
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.
7
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***********************************************************************/
13
14#ifndef FC__THEMEBACKGROUNDS_H
15#define FC__THEMEBACKGROUNDS_H
16
17/* SDL2 */
18#ifdef SDL2_PLAIN_INCLUDE
19#include <SDL.h>
20#else /* SDL2_PLAIN_INCLUDE */
21#include <SDL2/SDL.h>
22#endif /* SDL2_PLAIN_INCLUDE */
23
24/* utility */
25#include "registry.h"
26
54
56struct theme;
57
58SDL_Surface *theme_get_background(const struct theme *t, enum theme_background background);
59
60/* Functions used by the theme to allocate the background system. */
62
64
65#endif /* FC__THEMEBACKGROUNDS_H */
char * incite_cost
Definition comments.c:75
struct theme_background_system * theme_background_system_read(struct section_file *file)
theme_background
@ BACKGROUND_NEWCITYDLG
@ BACKGROUND_SCIENCEDLG
@ BACKGROUND_MAINPAGE
@ BACKGROUND_CITYGOVDLG
@ BACKGROUND_NATIONDLG
@ BACKGROUND_OPTIONDLG
@ BACKGROUND_REVOLUTIONDLG
@ BACKGROUND_CHANGERESEARCHDLG
@ BACKGROUND_STARTMENU
@ BACKGROUND_WLDLG
@ BACKGROUND_CONNECTDLG
@ BACKGROUND_JOINGAMEDLG
@ BACKGROUND_SPYSTEALDLG
@ BACKGROUND_MESSAGEWIN
@ BACKGROUND_USERPASSWDDLG
@ BACKGROUND_LAST
@ BACKGROUND_LOADGAMEDLG
@ BACKGROUND_UNITSREP
@ BACKGROUND_ECONOMYDLG
@ BACKGROUND_CHOOSEGOVERNMENTDLG
@ BACKGROUND_CONNLISTDLG
@ BACKGROUND_HELPDLG
@ BACKGROUND_CITYDLG
@ BACKGROUND_CITYREP
void theme_background_system_free(struct theme_background_system *backgrounds)
SDL_Surface * theme_get_background(const struct theme *t, enum theme_background background)
char * backgrounds[BACKGROUND_LAST]