naev
0.11.5
src
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. */
9
int
sp_load
(
void
);
10
void
sp_cleanup
(
void
);
11
12
/* Stuff. */
13
unsigned
int
sp_get
(
const
char
*name );
14
const
char
*
sp_display
(
unsigned
int
sp );
15
const
char
*
sp_description
(
unsigned
int
sp );
16
int
sp_required
(
unsigned
int
spid );
17
int
sp_exclusive
(
unsigned
int
spid );
18
int
sp_locked
(
unsigned
int
spid );
19
const
glTexture
*
sp_icon
(
unsigned
int
spid );
sp_locked
int sp_locked(unsigned int spid)
Gets whether or not a slot property is locked.
Definition
slots.c:199
sp_get
unsigned int sp_get(const char *name)
Gets the id of a slot property.
Definition
slots.c:133
sp_description
const char * sp_description(unsigned int spid)
Gets the description of a slot property (in English).
Definition
slots.c:169
sp_cleanup
void sp_cleanup(void)
Cleans up after the slot properties.
Definition
slots.c:114
sp_load
int sp_load(void)
Initializes the slot properties.
Definition
slots.c:45
sp_icon
const glTexture * sp_icon(unsigned int spid)
Gets the icon associated with the slot.
Definition
slots.c:209
sp_display
const char * sp_display(unsigned int spid)
Gets the display name of a slot property (in English).
Definition
slots.c:159
sp_required
int sp_required(unsigned int spid)
Gets whether or not a slot property is required.
Definition
slots.c:179
sp_exclusive
int sp_exclusive(unsigned int spid)
Gets whether or not a slot property is exclusive.
Definition
slots.c:189
glTexture
Abstraction for rendering sprite sheets.
Definition
opengl_tex.h:36
Generated by
1.12.0