diff options
-rw-r--r-- | sql/updates/2254_world.sql | 24 | ||||
-rw-r--r-- | src/shared/Database/CMakeLists.txt | 3 |
2 files changed, 14 insertions, 13 deletions
diff --git a/sql/updates/2254_world.sql b/sql/updates/2254_world.sql index 0741985ebfe..929dbfc9985 100644 --- a/sql/updates/2254_world.sql +++ b/sql/updates/2254_world.sql @@ -1,13 +1,13 @@ -DELETE FROM `command` WHERE `name` IN ('server difftime', 'addmove', 'Mod32Value', 'allowmove', 'reload tickets', 'npc tempadd', 'gobject tempadd', 'gobject addtemp', 'npc addtemp');
-INSERT INTO `command` VALUES
-('gobject tempadd','2','Adds a temporary gameobject that is not saved to DB.'),
-('npc tempadd','2','Adds temporary NPC, not saved to database.');
-UPDATE `command` SET `name`="ahbotoption" WHERE `name`="ahbotoptions";
-DELETE FROM `command` WHERE `name` LIKE "path%";
-DELETE FROM `command` WHERE `name` LIKE "wp%";
-INSERT INTO `command` VALUES
-('wp load',2,'Syntax: .wp load $pathid\nLoad pathid number for selected creature. Creature must have no waypoint data.'),
-('wp event',2,'Syntax: .wp event $subcommand\nType .path event to see the list of possible subcommands or .help path event $subcommand to see info on subcommands.'),
-('wp unload',2,'Syntax: .wp unload\nUnload path for selected creature.'),
-('wp show',2,'Syntax: .wp show $option\nOptions:\non $pathid (or selected creature with loaded path) - Show path\noff - Hide path\ninfo $slected_waypoint - Show info for selected waypoint.'),
+DELETE FROM `command` WHERE `name` IN ('server difftime', 'addmove', 'Mod32Value', 'allowmove', 'reload tickets', 'npc tempadd', 'gobject tempadd', 'gobject addtemp', 'npc addtemp'); +INSERT INTO `command` VALUES +('gobject tempadd','2','Adds a temporary gameobject that is not saved to DB.'), +('npc tempadd','2','Adds temporary NPC, not saved to database.'); +UPDATE `command` SET `name`="ahbotoption" WHERE `name`="ahbotoptions"; +DELETE FROM `command` WHERE `name` LIKE "path%"; +DELETE FROM `command` WHERE `name` LIKE "wp%"; +INSERT INTO `command` VALUES +('wp load',2,'Syntax: .wp load $pathid\nLoad pathid number for selected creature. Creature must have no waypoint data.'), +('wp event',2,'Syntax: .wp event $subcommand\nType .path event to see the list of possible subcommands or .help path event $subcommand to see info on subcommands.'), +('wp unload',2,'Syntax: .wp unload\nUnload path for selected creature.'), +('wp show',2,'Syntax: .wp show $option\nOptions:\non $pathid (or selected creature with loaded path) - Show path\noff - Hide path\ninfo $slected_waypoint - Show info for selected waypoint.'), ('wp mod',2,'Syntax: .wp mod\nType .path mod to see the list of possible subcommands or .help path mod $subcommand to see info on subcommands.'),
\ No newline at end of file diff --git a/src/shared/Database/CMakeLists.txt b/src/shared/Database/CMakeLists.txt index b2f97760a9d..d4d9e82b0db 100644 --- a/src/shared/Database/CMakeLists.txt +++ b/src/shared/Database/CMakeLists.txt @@ -1,5 +1,4 @@ SET(trinitydatabase_STAT_SRCS - DBCFileLoader.h DBCStore.h Database.cpp Database.h @@ -28,6 +27,8 @@ SET(trinitydatabase_STAT_SRCS SqlDelayThread.h SqlOperations.cpp SqlOperations.h + DBCFileLoader.cpp + DBCFileLoader.h ) add_library(trinitydatabase STATIC ${trinitydatabase_STAT_SRCS}) |