naev 0.11.5
slots.h
1/*
2 * See Licensing and Copyright notice in naev.h
3 */
4#pragma once
5
6#include "opengl_tex.h"
7
8/* Load/exit. */
9int sp_load (void);
10void sp_cleanup (void);
11
12/* Stuff. */
13unsigned int sp_get( const char *name );
14const char *sp_display( unsigned int sp );
15const char *sp_description( unsigned int sp );
16int sp_required( unsigned int spid );
17int sp_exclusive( unsigned int spid );
18int sp_locked( unsigned int spid );
19const glTexture * sp_icon( unsigned int spid );
int sp_locked(unsigned int spid)
Gets whether or not a slot property is locked.
Definition slots.c:199
unsigned int sp_get(const char *name)
Gets the id of a slot property.
Definition slots.c:133
const char * sp_description(unsigned int spid)
Gets the description of a slot property (in English).
Definition slots.c:169
void sp_cleanup(void)
Cleans up after the slot properties.
Definition slots.c:114
int sp_load(void)
Initializes the slot properties.
Definition slots.c:45
const glTexture * sp_icon(unsigned int spid)
Gets the icon associated with the slot.
Definition slots.c:209
const char * sp_display(unsigned int spid)
Gets the display name of a slot property (in English).
Definition slots.c:159
int sp_required(unsigned int spid)
Gets whether or not a slot property is required.
Definition slots.c:179
int sp_exclusive(unsigned int spid)
Gets whether or not a slot property is exclusive.
Definition slots.c:189
Abstraction for rendering sprite sheets.
Definition opengl_tex.h:36