--- deliantra/server/server/commands.C 2009/10/15 21:40:42 1.59 +++ deliantra/server/server/commands.C 2010/04/05 03:22:26 1.64 @@ -1,9 +1,9 @@ /* * This file is part of Deliantra, the Roguelike Realtime MMORPG. * - * Copyright (©) 2005,2006,2007,2008 Marc Alexander Lehmann / Robin Redeker / the Deliantra team - * Copyright (©) 2002,2007 Mark Wedel & Crossfire Development Team - * Copyright (©) 1992,2007 Frank Tore Johansen + * Copyright (©) 2005,2006,2007,2008,2009,2010 Marc Alexander Lehmann / Robin Redeker / the Deliantra team + * Copyright (©) 2002 Mark Wedel & Crossfire Development Team + * Copyright (©) 1992 Frank Tore Johansen * * Deliantra is free software: you can redistribute it and/or modify it under * the terms of the Affero GNU General Public License as published by the @@ -55,11 +55,13 @@ {"get", command_take, 1.0}, {"invoke", command_invoke, 1.0}, {"killpets", command_kill_pets, 1.0}, + {"lock", command_lock, 1.0}, /* locks items in inventory with command line or macro */ {"pickup", command_pickup, 1.0}, {"prepare", command_prepare, 1.0}, {"resistances", command_resistances, 1.0}, {"rotateshoottype", command_rotateshoottype, 1.0}, {"skills", command_skills, 0.5 / TICK}, /* shows player list of skills */ + {"unlock", command_unlock, 1.0}, /* unlock items in inventory with command line or in macro */ {"use_skill", command_uskill, 1.0}, {"ready_skill", command_rskill, 1.0}, {"search-items", command_search_items, 1.0}, @@ -82,6 +84,12 @@ {"southeast", command_southeast, 0.0}, {"southwest", command_southwest, 0.0}, {"northwest", command_northwest, 0.0}, + + {"mark" , command_mark , 0.0}, + {"run" , command_run , 1.0}, + {"run_stop" , command_run_stop , 0.0}, + {"fire" , command_fire , 1.0}, + {"fire_stop", command_fire_stop, 0.0}, }; const int CommandsSize = sizeof (Commands) / sizeof (CommArray_s); @@ -127,7 +135,7 @@ } void -init_commands (void) +init_commands () { qsort (Commands, CommandsSize, sizeof (CommArray_s), compare_A); qsort (WizCommands, WizCommandsSize, sizeof (CommArray_s), compare_A);