naev 0.10.4
slots.h
1/*
2 * See Licensing and Copyright notice in naev.h
3 */
4#pragma once
5
6/* Load/exit. */
7int sp_load (void);
8void sp_cleanup (void);
9
10/* Stuff. */
11unsigned int sp_get( const char *name );
12const char *sp_display( unsigned int sp );
13const char *sp_description( unsigned int sp );
14int sp_required( unsigned int spid );
15int sp_exclusive( unsigned int spid );
16int sp_locked( unsigned int spid );
int sp_locked(unsigned int spid)
Gets whether or not a slot property is locked.
Definition: slots.c:190
unsigned int sp_get(const char *name)
Gets the id of a slot property.
Definition: slots.c:124
const char * sp_description(unsigned int spid)
Gets the description of a slot property (in English).
Definition: slots.c:160
void sp_cleanup(void)
Cleans up after the slot properties.
Definition: slots.c:106
int sp_load(void)
Initializes the slot properties.
Definition: slots.c:44
const char * sp_display(unsigned int spid)
Gets the display name of a slot property (in English).
Definition: slots.c:150
int sp_required(unsigned int spid)
Gets whether or not a slot property is required.
Definition: slots.c:170
int sp_exclusive(unsigned int spid)
Gets whether or not a slot property is exclusive.
Definition: slots.c:180