UFO: Alien Invasion
Toggle main menu visibility
Loading...
Searching...
No Matches
cl_game_team.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.m
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
#include "
../../common/xml.h
"
29
30
#define NO_TEAM_SLOT_LOADED -1
31
bool
GAME_TeamGetFreeFilename
(
char
*
filename
,
size_t
size
);
32
bool
GAME_GetTeamFileName
(
unsigned
int
index
,
char
*
filename
,
size_t
filenameLength);
33
void
GAME_SaveTeam_f
(
void
);
34
void
GAME_LoadTeam_f
(
void
);
35
void
GAME_TeamSlotComments_f
(
void
);
36
void
GAME_TeamDelete_f
(
void
);
37
void
GAME_SaveTeamState_f
(
void
);
38
void
GAME_ToggleActorForTeam_f
(
void
);
39
void
GAME_AutoTeam_f
(
void
);
40
void
GAME_AutoTeam
(
const
char
* equipmentDefinitionID,
int
teamMembers);
41
void
GAME_UpdateTeamMenuParameters_f
(
void
);
42
void
GAME_ActorSelect_f
(
void
);
43
bool
GAME_LoadDefaultTeam
(
bool
force);
44
bool
GAME_SaveCharacter
(
xmlNode_t
* p,
const
character_t
* chr);
45
bool
GAME_LoadCharacter
(
xmlNode_t
* p,
character_t
* chr);
GAME_SaveCharacter
bool GAME_SaveCharacter(xmlNode_t *p, const character_t *chr)
saves a character to a given xml node
Definition
cl_game_team.cpp:691
GAME_SaveTeam_f
void GAME_SaveTeam_f(void)
Stores a team in a specified teamslot.
Definition
cl_game_team.cpp:293
GAME_TeamGetFreeFilename
bool GAME_TeamGetFreeFilename(char *filename, size_t size)
Searches a free team filename.
Definition
cl_game_team.cpp:276
GAME_UpdateTeamMenuParameters_f
void GAME_UpdateTeamMenuParameters_f(void)
Displays actor info and equipment and unused items in proper (filter) category.
Definition
cl_game_team.cpp:511
GAME_AutoTeam_f
void GAME_AutoTeam_f(void)
Definition
cl_game_team.cpp:68
GAME_SaveTeamState_f
void GAME_SaveTeamState_f(void)
Will remove those actors that should not be used in the team.
Definition
cl_game_team.cpp:112
GAME_TeamDelete_f
void GAME_TeamDelete_f(void)
Removes a user created team.
Definition
cl_game_team.cpp:124
GAME_TeamSlotComments_f
void GAME_TeamSlotComments_f(void)
Reads the comments from team files.
Definition
cl_game_team.cpp:141
GAME_LoadDefaultTeam
bool GAME_LoadDefaultTeam(bool force)
Definition
cl_game_team.cpp:436
GAME_ActorSelect_f
void GAME_ActorSelect_f(void)
Definition
cl_game_team.cpp:528
GAME_AutoTeam
void GAME_AutoTeam(const char *equipmentDefinitionID, int teamMembers)
Definition
cl_game_team.cpp:59
GAME_ToggleActorForTeam_f
void GAME_ToggleActorForTeam_f(void)
This will activate/deactivate the actor for the team.
Definition
cl_game_team.cpp:83
GAME_LoadTeam_f
void GAME_LoadTeam_f(void)
Loads the selected teamslot.
Definition
cl_game_team.cpp:458
GAME_GetTeamFileName
bool GAME_GetTeamFileName(unsigned int index, char *filename, size_t filenameLength)
Get the filename for the xth team in the file system.
Definition
cl_game_team.cpp:410
GAME_LoadCharacter
bool GAME_LoadCharacter(xmlNode_t *p, character_t *chr)
Loads a character from a given xml node.
Definition
cl_game_team.cpp:782
size
voidpf void uLong size
Definition
ioapi.h:42
filename
const char * filename
Definition
ioapi.h:41
index
QGL_EXTERN GLuint index
Definition
r_gl.h:110
character_t
Describes a character with all its attributes.
Definition
chr_shared.h:388
xml.h
xmlNode_t
#define xmlNode_t
Definition
xml.h:24
src
client
cgame
cl_game_team.h
Generated on __DATE__ __TIME__ for UFO: Alien Invasion by
1.17.0