diff options
author | Reimar <Reimar@Leike.name> | 2015-12-10 11:29:12 +0100 |
---|---|---|
committer | Reimar <Reimar@Leike.name> | 2015-12-10 11:29:12 +0100 |
commit | ef61b47e141fde828d73e085e758939e4cfcfe31 (patch) | |
tree | a914e21c9391ad6c0dc673ef7217771c175c2d7e | |
parent | 722fc3c56dde0acb7a7748d6cc2430f2f3cced95 (diff) | |
download | RCade-ef61b47e141fde828d73e085e758939e4cfcfe31.tar RCade-ef61b47e141fde828d73e085e758939e4cfcfe31.tar.gz RCade-ef61b47e141fde828d73e085e758939e4cfcfe31.tar.bz2 RCade-ef61b47e141fde828d73e085e758939e4cfcfe31.tar.xz RCade-ef61b47e141fde828d73e085e758939e4cfcfe31.zip |
defaulkt acc no longer in save folder
-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(); |