DEADSOFTWARE

more tree/grid debug commands
[d2df-sdl.git] / src / game / g_console.pas
index ec4ce69c581bf64fac766588ee135ac577d5285e..729bf956f956201f4c7a3787d9e1e59e4cdb98b4 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,19 @@ begin
   AddCommand('d_player', DebugCommands);
   AddCommand('d_joy', DebugCommands);
 
+  AddCommand('pf_draw_frame', ProfilerCommands);
+  AddCommand('pf_update_frame', ProfilerCommands);
+  AddCommand('pf_coldet', ProfilerCommands);
+  AddCommand('r_sq_draw', ProfilerCommands);
+  AddCommand('r_sq_use_grid', ProfilerCommands);
+  AddCommand('r_sq_use_tree', ProfilerCommands);
+  AddCommand('dbg_sq_coldet', ProfilerCommands);
+
+  AddCommand('t_dump_node_queries', ProfilerCommands);
+
+  AddCommand('sq_use_grid', ProfilerCommands);
+  AddCommand('sq_use_tree', ProfilerCommands);
+
   AddCommand('p1_name', GameCVars);
   AddCommand('p2_name', GameCVars);
   AddCommand('p1_color', GameCVars);