naev 0.10.4
Functions | Variables
player_gui.c File Reference

Handles the GUIs the player owns. More...

#include "player_gui.h"
#include "array.h"
#include "log.h"
#include "nstring.h"

Go to the source code of this file.

Functions

void player_guiCleanup (void)
 Cleans up the player's GUI list. More...
 
int player_guiAdd (char *name)
 Adds a gui to the player. More...
 
void player_guiRm (char *name)
 Removes a player GUI. More...
 
int player_guiCheck (char *name)
 Check if player has a GUI. More...
 
char ** player_guiList (void)
 Gets the list of GUIs. More...
 

Variables

static char ** gui_list = NULL
 

Detailed Description

Handles the GUIs the player owns.

Definition in file player_gui.c.

Function Documentation

◆ player_guiAdd()

int player_guiAdd ( char *  name)

Adds a gui to the player.

Definition at line 48 of file player_gui.c.

◆ player_guiCheck()

int player_guiCheck ( char *  name)

Check if player has a GUI.

Definition at line 98 of file player_gui.c.

◆ player_guiCleanup()

void player_guiCleanup ( void  )

Cleans up the player's GUI list.

Definition at line 35 of file player_gui.c.

◆ player_guiList()

char ** player_guiList ( void  )

Gets the list of GUIs.

Definition at line 116 of file player_gui.c.

◆ player_guiRm()

void player_guiRm ( char *  name)

Removes a player GUI.

Definition at line 87 of file player_gui.c.

Variable Documentation

◆ gui_list

char** gui_list = NULL
static

List of GUIs the player has.

Definition at line 28 of file player_gui.c.