aboutsummaryrefslogtreecommitdiffstats
path: root/craftmine.php
diff options
context:
space:
mode:
Diffstat (limited to 'craftmine.php')
-rw-r--r--craftmine.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/craftmine.php b/craftmine.php
index 242e1fd..9a8806b 100644
--- a/craftmine.php
+++ b/craftmine.php
@@ -6,6 +6,7 @@ require_once("inc/shop.inc");
require_once("inc/craftmine.inc");
require_once("inc/dungeon.inc");
require_once("inc/savegame.inc");
+require_once("inc/perso.inc");
session_start(); // Must be placed *BEFORE* $_SESSION is actually used and *AFTER* all classes are imported
@@ -48,9 +49,13 @@ switch($op) {
case "getCraftMine": sendCraftMine(); break;
case "buildShop": buildShop(); break;
case "buyItem": buyItem(); break;
+ case "useItem": useItem(); break;
case "buildDungeon" : buildDungeon(); break;
case "launchDungeon" : launchDungeon(); break;
case "exitDungeon" : exitDungeon(); break;
+ case "sendDungeonProgress" : sendDungeonProgress(); break;
+ case "updatePerso" : updatePerso(); break;
+ case "sendPerso" : sendPerso(); break;
case "saveGame": saveGame(); break;
case "downSave": downSave(); break;
case "listSaves": listSaves(); break;