UFO: Alien Invasion
Toggle main menu visibility
Loading...
Searching...
No Matches
cl_team.h
Go to the documentation of this file.
1
4
5
/*
6
Copyright (C) 2002-2025 UFO: Alien Invasion.
7
8
This program is free software; you can redistribute it and/or
9
modify it under the terms of the GNU General Public License
10
as published by the Free Software Foundation; either version 2
11
of the License, or (at your option) any later version.
12
13
This program is distributed in the hope that it will be useful,
14
but WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16
17
See the GNU General Public License for more details.
18
19
You should have received a copy of the GNU General Public License
20
along with this program; if not, write to the Free Software
21
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22
23
*/
24
25
#pragma once
26
27
#define MAX_WHOLETEAM 32
28
#define MAX_TEAMDATASIZE 32768
29
30
typedef
struct
actorSkin_s {
32
int
idx
;
33
35
char
*
id
;
36
38
char
name
[
MAX_VAR
];
39
41
bool
singleplayer
;
43
bool
multiplayer
;
44
}
actorSkin_t
;
45
46
void
CL_GenerateCharacter
(
character_t
* chr,
const
char
* teamDefName);
47
void
CL_UpdateCharacterValues
(
const
character_t
* chr);
48
const
char
*
CL_ActorGetSkillString
(
const
int
skill);
49
50
void
TEAM_InitStartup
(
void
);
51
52
actorSkin_t
*
CL_AllocateActorSkin
(
const
char
*
name
);
53
unsigned
int
CL_GetActorSkinCount
(
void
);
54
55
extern
linkedList_t
*
chrDisplayList
;
chrDisplayList
linkedList_t * chrDisplayList
List of currently displayed or equipable characters.
Definition
cl_team.cpp:38
TEAM_InitStartup
void TEAM_InitStartup(void)
Definition
cl_team.cpp:339
CL_UpdateCharacterValues
void CL_UpdateCharacterValues(const character_t *chr)
Definition
cl_team.cpp:218
CL_GetActorSkinCount
unsigned int CL_GetActorSkinCount(void)
Get number of registered actorskins.
Definition
cl_team.cpp:63
CL_AllocateActorSkin
actorSkin_t * CL_AllocateActorSkin(const char *name)
Allocate a skin from the cls structure.
Definition
cl_team.cpp:44
CL_ActorGetSkillString
const char * CL_ActorGetSkillString(const int skill)
Return the skill string for the given skill level.
Definition
cl_team.cpp:165
CL_GenerateCharacter
void CL_GenerateCharacter(character_t *chr, const char *teamDefName)
Generates the skills and inventory for a character and for a 2x2 unit.
Definition
cl_team.cpp:235
name
QGL_EXTERN GLuint GLsizei GLsizei GLint GLenum GLchar * name
Definition
r_gl.h:110
MAX_VAR
#define MAX_VAR
Definition
shared.h:36
actorSkin_t
Definition
cl_team.h:30
actorSkin_t::name
char name[MAX_VAR]
Definition
cl_team.h:38
actorSkin_t::idx
int idx
Definition
cl_team.h:32
actorSkin_t::id
char * id
Definition
cl_team.h:35
actorSkin_t::multiplayer
bool multiplayer
Definition
cl_team.h:43
actorSkin_t::singleplayer
bool singleplayer
Definition
cl_team.h:41
character_t
Describes a character with all its attributes.
Definition
chr_shared.h:388
linkedList_t
Definition
list.h:30
src
client
cl_team.h
Generated on __DATE__ __TIME__ for UFO: Alien Invasion by
1.17.0