aboutsummaryrefslogtreecommitdiff
path: root/frontend/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/cmd')
-rw-r--r--frontend/cmd/cheat.cpp3
-rw-r--r--frontend/cmd/equip.cpp1
-rw-r--r--frontend/cmd/get.cpp1
-rw-r--r--frontend/cmd/hit.cpp1
-rw-r--r--frontend/cmd/put.cpp1
-rw-r--r--frontend/cmd/search.cpp1
-rw-r--r--frontend/cmd/use.cpp1
7 files changed, 9 insertions, 0 deletions
diff --git a/frontend/cmd/cheat.cpp b/frontend/cmd/cheat.cpp
index ed4e452..6f1c163 100644
--- a/frontend/cmd/cheat.cpp
+++ b/frontend/cmd/cheat.cpp
@@ -1,6 +1,9 @@
#include "../Player.h"
+#include "../print.h"
FollowupAction Player::cmd_cheat(Argv argv) {
+ this->cheating = !this->cheating;
+ lprtf("Cheats staan nu %s.\n", this->cheating ? "aan" : "uit");
return FollowupAction::NONE;
}
diff --git a/frontend/cmd/equip.cpp b/frontend/cmd/equip.cpp
index a713bd2..bcb261f 100644
--- a/frontend/cmd/equip.cpp
+++ b/frontend/cmd/equip.cpp
@@ -1,6 +1,7 @@
#include "../Player.h"
FollowupAction Player::cmd_equip(Argv argv) {
+ // TODO
return FollowupAction::UPDATE;
}
diff --git a/frontend/cmd/get.cpp b/frontend/cmd/get.cpp
index 8c8194b..b703a0e 100644
--- a/frontend/cmd/get.cpp
+++ b/frontend/cmd/get.cpp
@@ -1,6 +1,7 @@
#include "../Player.h"
FollowupAction Player::cmd_get(Argv argv) {
+ // TODO
return FollowupAction::NONE;
}
diff --git a/frontend/cmd/hit.cpp b/frontend/cmd/hit.cpp
index 740c348..17f9099 100644
--- a/frontend/cmd/hit.cpp
+++ b/frontend/cmd/hit.cpp
@@ -1,6 +1,7 @@
#include "../Player.h"
FollowupAction Player::cmd_hit(Argv argv) {
+ // TODO
return FollowupAction::UPDATE;
}
diff --git a/frontend/cmd/put.cpp b/frontend/cmd/put.cpp
index ebf30da..8a6c828 100644
--- a/frontend/cmd/put.cpp
+++ b/frontend/cmd/put.cpp
@@ -1,6 +1,7 @@
#include "../Player.h"
FollowupAction Player::cmd_put(Argv argv) {
+ // TODO
return FollowupAction::NONE;
}
diff --git a/frontend/cmd/search.cpp b/frontend/cmd/search.cpp
index 334c997..af22ca2 100644
--- a/frontend/cmd/search.cpp
+++ b/frontend/cmd/search.cpp
@@ -1,6 +1,7 @@
#include "../Player.h"
FollowupAction Player::cmd_search(Argv argv) {
+ // TODO
return FollowupAction::UPDATE;
}
diff --git a/frontend/cmd/use.cpp b/frontend/cmd/use.cpp
index fca40c3..a7955eb 100644
--- a/frontend/cmd/use.cpp
+++ b/frontend/cmd/use.cpp
@@ -1,6 +1,7 @@
#include "../Player.h"
FollowupAction Player::cmd_use(Argv argv) {
+ // TODO
return FollowupAction::NONE;
}