UFO: Alien Invasion
Loading...
Searching...
No Matches
cl_team.h
Go to the documentation of this file.
1
4
5/*
6Copyright (C) 2002-2025 UFO: Alien Invasion.
7
8This program is free software; you can redistribute it and/or
9modify it under the terms of the GNU General Public License
10as published by the Free Software Foundation; either version 2
11of the License, or (at your option) any later version.
12
13This program is distributed in the hope that it will be useful,
14but WITHOUT ANY WARRANTY; without even the implied warranty of
15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16
17See the GNU General Public License for more details.
18
19You should have received a copy of the GNU General Public License
20along with this program; if not, write to the Free Software
21Foundation, 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
30typedef struct actorSkin_s {
32 int idx;
33
35 char* id;
36
39
45
46void CL_GenerateCharacter(character_t* chr, const char* teamDefName);
48const char* CL_ActorGetSkillString(const int skill);
49
50void TEAM_InitStartup(void);
51
53unsigned int CL_GetActorSkinCount(void);
54
linkedList_t * chrDisplayList
List of currently displayed or equipable characters.
Definition cl_team.cpp:38
void TEAM_InitStartup(void)
Definition cl_team.cpp:339
void CL_UpdateCharacterValues(const character_t *chr)
Definition cl_team.cpp:218
unsigned int CL_GetActorSkinCount(void)
Get number of registered actorskins.
Definition cl_team.cpp:63
actorSkin_t * CL_AllocateActorSkin(const char *name)
Allocate a skin from the cls structure.
Definition cl_team.cpp:44
const char * CL_ActorGetSkillString(const int skill)
Return the skill string for the given skill level.
Definition cl_team.cpp:165
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
QGL_EXTERN GLuint GLsizei GLsizei GLint GLenum GLchar * name
Definition r_gl.h:110
#define MAX_VAR
Definition shared.h:36
char name[MAX_VAR]
Definition cl_team.h:38
char * id
Definition cl_team.h:35
bool multiplayer
Definition cl_team.h:43
bool singleplayer
Definition cl_team.h:41
Describes a character with all its attributes.
Definition chr_shared.h:388