File: command.h

package info (click to toggle)
crawl 2%3A0.7.1-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 30,420 kB
  • ctags: 23,018
  • sloc: cpp: 244,317; ansic: 16,144; perl: 2,214; makefile: 984; python: 488; objc: 250; ruby: 200; sh: 140
file content (35 lines) | stat: -rw-r--r-- 792 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
 *  File:       command.h
 *  Summary:    Misc commands.
 *  Written by: Linley Henzell
 */


#ifndef COMMAND_H
#define COMMAND_H

#include "enum.h"

void adjust();
void list_weapons();
void list_armour();
void list_jewellery();

void swap_inv_slots(int slot1, int slot2, bool verbose);

void show_levelmap_help();
void show_pickup_menu_help();
void show_targeting_help();
void show_interlevel_travel_branch_help();
void show_interlevel_travel_depth_help();
void show_stash_search_help();
void show_butchering_help();
void list_commands(int hotkey = 0, bool do_redraw_screen = false);
#ifdef WIZARD
int list_wizard_commands(bool do_redraw_screen = false);
#endif

// XXX: Actually defined in main.cc; we may want to move this to command.cc.
void process_command(command_type cmd);

#endif