naev 0.12.6
difficulty.h
1/*
2 * See Licensing and Copyright notice in naev.h
3 */
4#pragma once
5
6#include "shipstats.h"
7
8typedef struct Difficulty_ {
9 char *name;
13 int def;
15
16int difficulty_load( void );
17void difficulty_free( void );
18
19const Difficulty *difficulty_cur( void );
20const Difficulty *difficulty_getAll( void );
21const Difficulty *difficulty_get( const char *name );
22void difficulty_setGlobal( const Difficulty *d );
23void difficulty_setLocal( const Difficulty *d );
24
25char *difficulty_display( const Difficulty *d );
26
27int difficulty_apply( ShipStats *s );
static const double d[]
Definition rng.c:263
ShipStatList * stats
Definition difficulty.h:12
char * description
Definition difficulty.h:10
char * name
Definition difficulty.h:9
Represents relative ship statistics as a linked list.
Definition shipstats.h:198
Represents ship statistics, properties ship can use.
Definition shipstats.h:229