UFO: Alien Invasion
Toggle main menu visibility
Loading...
Searching...
No Matches
cp_ufopedia.h
Go to the documentation of this file.
1
5
6
/*
7
Copyright (C) 2002-2025 UFO: Alien Invasion.
8
9
This program is free software; you can redistribute it and/or
10
modify it under the terms of the GNU General Public License
11
as published by the Free Software Foundation; either version 2
12
of the License, or (at your option) any later version.
13
14
This program is distributed in the hope that it will be useful,
15
but WITHOUT ANY WARRANTY; without even the implied warranty of
16
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17
18
See the GNU General Public License for more details.
19
20
You should have received a copy of the GNU General Public License
21
along with this program; if not, write to the Free Software
22
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23
24
*/
25
26
#pragma once
27
28
#define MAX_PEDIACHAPTERS 16
29
30
typedef
struct
pediaChapter_s {
31
int
idx
;
32
char
*
id
;
33
char
*
name
;
34
struct
technology_s*
first
;
35
struct
technology_s*
last
;
36
}
pediaChapter_t
;
37
38
void
UP_InitStartup
(
void
);
39
void
UP_Shutdown
(
void
);
40
41
void
UP_ParseChapter
(
const
char
*
name
,
const
char
** text);
42
void
UP_OpenWith
(
const
char
*
name
);
43
void
UP_OpenCopyWith
(
const
char
*
name
);
44
void
UP_AircraftItemDescription
(
const
objDef_t
* item);
45
int
UP_GetUnreadMails
(
void
);
46
void
UP_OpenEventMail
(
const
char
* eventMailID);
UP_OpenWith
void UP_OpenWith(const char *name)
Opens the UFOpaedia from everywhere with the entry given through name.
Definition
cp_ufopedia.cpp:738
UP_OpenEventMail
void UP_OpenEventMail(const char *eventMailID)
Definition
cp_ufopedia.cpp:708
UP_Shutdown
void UP_Shutdown(void)
Definition
cp_ufopedia.cpp:1171
UP_GetUnreadMails
int UP_GetUnreadMails(void)
Sets the amount of unread/new mails.
Definition
cp_ufopedia.cpp:436
UP_ParseChapter
void UP_ParseChapter(const char *name, const char **text)
Parse the UFOpaedia chapters from scripts.
Definition
cp_ufopedia.cpp:1188
UP_OpenCopyWith
void UP_OpenCopyWith(const char *name)
Opens the UFOpaedia with the entry given through name, not deleting copies.
Definition
cp_ufopedia.cpp:752
UP_AircraftItemDescription
void UP_AircraftItemDescription(const objDef_t *item)
Prints the (UFOpaedia and other) description for aircraft items.
Definition
cp_ufopedia.cpp:228
UP_InitStartup
void UP_InitStartup(void)
Definition
cp_ufopedia.cpp:1157
name
QGL_EXTERN GLuint GLsizei GLsizei GLint GLenum GLchar * name
Definition
r_gl.h:110
objDef_t
Defines all attributes of objects used in the inventory.
Definition
inv_shared.h:264
pediaChapter_t
Definition
cp_ufopedia.h:30
pediaChapter_t::id
char * id
Definition
cp_ufopedia.h:32
pediaChapter_t::first
struct technology_s * first
Definition
cp_ufopedia.h:34
pediaChapter_t::idx
int idx
Definition
cp_ufopedia.h:31
pediaChapter_t::name
char * name
Definition
cp_ufopedia.h:33
pediaChapter_t::last
struct technology_s * last
Definition
cp_ufopedia.h:35
src
client
cgame
campaign
cp_ufopedia.h
Generated on __DATE__ __TIME__ for UFO: Alien Invasion by
1.17.0