diff options
author | Adam Borowski <kilobyte@angband.pl> | 2010-07-28 22:02:05 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2010-07-29 11:02:06 +0200 |
commit | e2051631d3bf271a81b2ea519b47a8c9d960d049 (patch) | |
tree | 8f841ae1bb4e59598d985f67b01a39a3477a6726 /crawl-ref/source/travel.h | |
parent | 00e1bed5e9e13946537cb5a3eccf18aecc6ab6b3 (diff) | |
download | crawl-ref-e2051631d3bf271a81b2ea519b47a8c9d960d049.tar.gz crawl-ref-e2051631d3bf271a81b2ea519b47a8c9d960d049.zip |
Specify char signedness where it matters.
For passing arguments to a function, int is faster, too.
Diffstat (limited to 'crawl-ref/source/travel.h')
-rw-r--r-- | crawl-ref/source/travel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/travel.h b/crawl-ref/source/travel.h index 742bf2fbf2..e1e5ab054d 100644 --- a/crawl-ref/source/travel.h +++ b/crawl-ref/source/travel.h @@ -63,13 +63,13 @@ void travel_init_load_level(); void travel_init_new_level(); unsigned char is_waypoint(const coord_def &p); -command_type direction_to_command(char x, char y); +command_type direction_to_command(int x, int y); bool is_resting(void); void explore_pickup_event(int did_pickup, int tried_pickup); bool feat_is_traversable(dungeon_feature_type feat); bool is_unknown_stair(const coord_def &p); -void find_travel_pos(const coord_def& youpos, char *move_x, char *move_y, +void find_travel_pos(const coord_def& youpos, int *move_x, int *move_y, std::vector<coord_def>* coords = NULL); bool is_travelsafe_square(const coord_def& c, bool ignore_hostile = false); |