|
Atrinik Client 2.5
|
#include <global.h>Go to the source code of this file.
Functions | |
| static void | upgrade_20_to_25 (const char *from, const char *to) |
| void | upgrader_init () |
Variables | |
| static const char *const | client_versions [] |
Migrates the settings from an older installation.
Definition in file upgrader.c.
| static void upgrade_20_to_25 | ( | const char * | from, |
| const char * | to | ||
| ) | [static] |
Upgrade 2.0 settings to 2.5.
This handles upgrading settings/keybindings from the old (2.0 and earlier) format to the new (2.5 and later) format.
| from | The old settings directory. |
| to | The new setting directory. |
Definition at line 47 of file upgrader.c.
| void upgrader_init | ( | ) |
Called before anything else on start, to check if we need to migrate settings.
Definition at line 338 of file upgrader.c.
const char* const client_versions[] [static] |
{
"2.0", "2.5"
}
Client versions we know about. The process how these are checked is explained in upgrader_init().
Definition at line 35 of file upgrader.c.
1.7.4