From 5376efe7e63ef3c848a971ea845a16c7e030d153 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Fri, 1 Nov 2024 17:38:33 +0100 Subject: move Exception to backend --- frontend/cmd/equip.cpp | 2 +- frontend/cmd/get.cpp | 2 +- frontend/cmd/go.cpp | 2 +- frontend/cmd/hit.cpp | 2 +- frontend/cmd/put.cpp | 2 +- frontend/cmd/view.cpp | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'frontend/cmd') diff --git a/frontend/cmd/equip.cpp b/frontend/cmd/equip.cpp index 578db0e..238d287 100644 --- a/frontend/cmd/equip.cpp +++ b/frontend/cmd/equip.cpp @@ -1,9 +1,9 @@ #include "backend/ListIterator.h" #include "backend/Dungeon.h" +#include "backend/Exception.h" #include "../GameController.h" #include "../strings.h" -#include "../Exception.h" using namespace std; diff --git a/frontend/cmd/get.cpp b/frontend/cmd/get.cpp index 358bf1f..dd098d1 100644 --- a/frontend/cmd/get.cpp +++ b/frontend/cmd/get.cpp @@ -2,8 +2,8 @@ #include "../GameController.h" #include "../strings.h" -#include "../Exception.h" +#include "backend/Exception.h" #include "backend/print.h" #include "backend/GoldObject.h" #include "backend/Location.h" diff --git a/frontend/cmd/go.cpp b/frontend/cmd/go.cpp index 5fd7c93..185d727 100644 --- a/frontend/cmd/go.cpp +++ b/frontend/cmd/go.cpp @@ -1,10 +1,10 @@ #include "backend/Location.h" #include "backend/print.h" #include "backend/Dungeon.h" +#include "backend/Exception.h" #include "../GameController.h" #include "../strings.h" -#include "../Exception.h" using namespace std; diff --git a/frontend/cmd/hit.cpp b/frontend/cmd/hit.cpp index 677bf4e..8491758 100644 --- a/frontend/cmd/hit.cpp +++ b/frontend/cmd/hit.cpp @@ -3,10 +3,10 @@ #include "backend/RNG.h" #include "backend/print.h" #include "backend/Dungeon.h" +#include "backend/Exception.h" #include "../GameController.h" #include "../strings.h" -#include "../Exception.h" using namespace std; diff --git a/frontend/cmd/put.cpp b/frontend/cmd/put.cpp index 35de352..be3bcca 100644 --- a/frontend/cmd/put.cpp +++ b/frontend/cmd/put.cpp @@ -1,7 +1,7 @@ #include "../GameController.h" #include "../strings.h" -#include "../Exception.h" +#include "backend/Exception.h" #include "backend/print.h" #include "backend/Location.h" #include "backend/Dungeon.h" diff --git a/frontend/cmd/view.cpp b/frontend/cmd/view.cpp index 0f4f3d1..bd9e99b 100644 --- a/frontend/cmd/view.cpp +++ b/frontend/cmd/view.cpp @@ -1,7 +1,7 @@ #include "../GameController.h" #include "../strings.h" -#include "../Exception.h" +#include "backend/Exception.h" #include "backend/print.h" #include "backend/Location.h" #include "backend/Dungeon.h" -- cgit v1.2.3