UFO: Alien Invasion
Loading...
Searching...
No Matches
cl_game_team.h
Go to the documentation of this file.
1
5
6/*
7Copyright (C) 2002-2025 UFO: Alien Invasion.
8
9This program is free software; you can redistribute it and/or
10modify it under the terms of the GNU General Public License
11as published by the Free Software Foundation; either version 2
12of the License, or (at your option) any later version.
13
14This program is distributed in the hope that it will be useful,
15but WITHOUT ANY WARRANTY; without even the implied warranty of
16MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17
18See the GNU General Public License for more details.m
19
20You should have received a copy of the GNU General Public License
21along with this program; if not, write to the Free Software
22Foundation, 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
31bool GAME_TeamGetFreeFilename(char* filename, size_t size);
32bool GAME_GetTeamFileName(unsigned int index, char* filename, size_t filenameLength);
33void GAME_SaveTeam_f(void);
34void GAME_LoadTeam_f(void);
36void GAME_TeamDelete_f(void);
37void GAME_SaveTeamState_f(void);
39void GAME_AutoTeam_f(void);
40void GAME_AutoTeam(const char* equipmentDefinitionID, int teamMembers);
42void GAME_ActorSelect_f(void);
43bool GAME_LoadDefaultTeam(bool force);
44bool GAME_SaveCharacter(xmlNode_t* p, const character_t* chr);
bool GAME_SaveCharacter(xmlNode_t *p, const character_t *chr)
saves a character to a given xml node
void GAME_SaveTeam_f(void)
Stores a team in a specified teamslot.
bool GAME_TeamGetFreeFilename(char *filename, size_t size)
Searches a free team filename.
void GAME_UpdateTeamMenuParameters_f(void)
Displays actor info and equipment and unused items in proper (filter) category.
void GAME_AutoTeam_f(void)
void GAME_SaveTeamState_f(void)
Will remove those actors that should not be used in the team.
void GAME_TeamDelete_f(void)
Removes a user created team.
void GAME_TeamSlotComments_f(void)
Reads the comments from team files.
bool GAME_LoadDefaultTeam(bool force)
void GAME_ActorSelect_f(void)
void GAME_AutoTeam(const char *equipmentDefinitionID, int teamMembers)
void GAME_ToggleActorForTeam_f(void)
This will activate/deactivate the actor for the team.
void GAME_LoadTeam_f(void)
Loads the selected teamslot.
bool GAME_GetTeamFileName(unsigned int index, char *filename, size_t filenameLength)
Get the filename for the xth team in the file system.
bool GAME_LoadCharacter(xmlNode_t *p, character_t *chr)
Loads a character from a given xml node.
voidpf void uLong size
Definition ioapi.h:42
const char * filename
Definition ioapi.h:41
QGL_EXTERN GLuint index
Definition r_gl.h:110
Describes a character with all its attributes.
Definition chr_shared.h:388
#define xmlNode_t
Definition xml.h:24