Factor out handling of variables populated from the database.
This reorganization is a first step toward handling database compilation separately.
This commit is contained in:
parent
e0f160d313
commit
df46df6979
11 changed files with 127 additions and 56 deletions
3
init.c
3
init.c
|
@ -7,6 +7,7 @@
|
|||
#include "main.h"
|
||||
#include "share.h"
|
||||
#include "funcs.h"
|
||||
#include "database.h"
|
||||
|
||||
/*
|
||||
* Initialisation
|
||||
|
@ -175,7 +176,7 @@ static void quick_io(void);
|
|||
void initialise(void) {
|
||||
if (oldstyle)
|
||||
printf("Initialising...\n");
|
||||
if(!quick_init()){raw_init(); report(); quick_save();}
|
||||
if(!quick_init()){raw_init(); report(); quick_save();}
|
||||
finish_init();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue