naev 0.10.4
unidiff.h
1/*
2 * See Licensing and Copyright notice in naev.h
3 */
4#pragma once
5
6#include "attributes.h"
7
8int diff_loadAvailable (void);
9NONNULL( 1 ) int diff_apply( const char *name );
10NONNULL( 1 ) void diff_remove( const char *name );
11void diff_clear (void);
12void diff_free (void);
13NONNULL( 1 ) int diff_isApplied( const char *name );
14void unidiff_universeDefer( int enable );
void unidiff_universeDefer(int enable)
Sets whether or not to defer universe change stuff.
Definition: unidiff.c:1832
int diff_apply(const char *name)
Applies a diff to the universe.
Definition: unidiff.c:282
void diff_remove(const char *name)
Removes a diff from the universe.
Definition: unidiff.c:1457
void diff_clear(void)
Removes all active diffs. (Call before economy_destroy().)
Definition: unidiff.c:1472
int diff_loadAvailable(void)
Loads available universe diffs.
Definition: unidiff.c:197
void diff_free(void)
Clean up after diff_loadAvailable().
Definition: unidiff.c:1485
int diff_isApplied(const char *name)
Checks if a diff is currently applied.
Definition: unidiff.c:255