DEADSOFTWARE

new console commands: "r_draw_grid" and "dbg_coldet_grid"
[d2df-sdl.git] / src / game / g_console.pas
index ec4ce69c581bf64fac766588ee135ac577d5285e..694a9fad058ad34ca3da9cfc42ec9e69d9f2213c 100644 (file)
@@ -13,7 +13,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *)
-{$INCLUDE g_amodes.inc}
+{$INCLUDE ../shared/a_modes.inc}
 unit g_console;
 
 interface
@@ -388,6 +388,11 @@ begin
   AddCommand('d_player', DebugCommands);
   AddCommand('d_joy', DebugCommands);
 
+  AddCommand('dpp', ProfilerCommands);
+  AddCommand('dpu', ProfilerCommands);
+  AddCommand('r_draw_grid', ProfilerCommands);
+  AddCommand('dbg_coldet_grid', ProfilerCommands);
+
   AddCommand('p1_name', GameCVars);
   AddCommand('p2_name', GameCVars);
   AddCommand('p1_color', GameCVars);