diff options
-rw-r--r-- | data/default/account.txt | 40 | ||||
-rw-r--r-- | main.cpp | 2 |
2 files changed, 41 insertions, 1 deletions
diff --git a/data/default/account.txt b/data/default/account.txt new file mode 100644 index 0000000..d5eda86 --- /dev/null +++ b/data/default/account.txt | |||
@@ -0,0 +1,40 @@ | |||
1 | Start-Account | ||
2 | 0 | ||
3 | 0 | ||
4 | 1 | ||
5 | Small Fighter | ||
6 | Hitpoints | ||
7 | 10 | ||
8 | 20 | ||
9 | 1 | ||
10 | 0 | ||
11 | Armor | ||
12 | 50 | ||
13 | 20 | ||
14 | 1 | ||
15 | 0 | ||
16 | Battery | ||
17 | 10 | ||
18 | 20 | ||
19 | 1 | ||
20 | 0 | ||
21 | Generator | ||
22 | 2 | ||
23 | 20 | ||
24 | 1 | ||
25 | 0 | ||
26 | Acceleration | ||
27 | 300 | ||
28 | 20 | ||
29 | 1 | ||
30 | 0 | ||
31 | Max Speed | ||
32 | 200 | ||
33 | 20 | ||
34 | 1 | ||
35 | 0 | ||
36 | 2 | ||
37 | Beamer 2 | ||
38 | empty Slot | ||
39 | 0 | ||
40 | 0 | ||
@@ -691,7 +691,7 @@ int GameHandler::game() | |||
691 | if(*acname != "") | 691 | if(*acname != "") |
692 | { | 692 | { |
693 | delete user; | 693 | delete user; |
694 | user = new Account("save/default account.txt"); | 694 | user = new Account("data/default/account.txt"); |
695 | user->name = *acname; | 695 | user->name = *acname; |
696 | menus[5]->refresh(); | 696 | menus[5]->refresh(); |
697 | menus[3]->refresh(); | 697 | menus[3]->refresh(); |