aboutsummaryrefslogtreecommitdiffstats
path: root/src/brice.cpp
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2016-06-10 15:33:02 -0400
committerClyne Sullivan <tullivan99@gmail.com>2016-06-10 15:33:02 -0400
commit076c984c438bea2b34f8dd3a62bb31ebd2eb5282 (patch)
treeb0252c6c054a86eebdf00afccd0afa83e7ff911a /src/brice.cpp
parent1e9f6aaddb2d21045f5e7dc63d6312a4407b3a08 (diff)
actual game making
Diffstat (limited to 'src/brice.cpp')
-rw-r--r--src/brice.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/brice.cpp b/src/brice.cpp
index d5ac46d..de95f51 100644
--- a/src/brice.cpp
+++ b/src/brice.cpp
@@ -35,8 +35,10 @@ namespace game {
void briceClear(void) {
std::ofstream out ("brice.dat", std::ios::out);
+ const std::string defaultt = "1\nSlow\n1\n";
+ out.write(defaultt.data(), defaultt.size());
out.close();
- brice.clear();
+ briceLoad();
}
void briceSave(void) {