diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-10-23 19:17:05 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-10-23 20:30:14 +0200 |
commit | 4c378295ed83f92f9b7fcbd71f1d2c1a0ad48744 (patch) | |
tree | acd6b6367d5273c841b1da5f32931ebf97b7d425 /crawl-ref/source/jobs.h | |
parent | 921c44bb1d1e0ddea50fffe518a214f626a9d11b (diff) | |
download | crawl-ref-4c378295ed83f92f9b7fcbd71f1d2c1a0ad48744.tar.gz crawl-ref-4c378295ed83f92f9b7fcbd71f1d2c1a0ad48744.zip |
Use species_type/job_type instead of int.
Diffstat (limited to 'crawl-ref/source/jobs.h')
-rw-r--r-- | crawl-ref/source/jobs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/jobs.h b/crawl-ref/source/jobs.h index f885418f65..70d87ab67b 100644 --- a/crawl-ref/source/jobs.h +++ b/crawl-ref/source/jobs.h @@ -5,9 +5,9 @@ int ng_num_classes(); job_type get_class(const int index); int get_class_index_by_abbrev(const char *abbrev); const char *get_class_abbrev(int which_job); -int get_class_by_abbrev(const char *abbrev); +job_type get_class_by_abbrev(const char *abbrev); int get_class_index_by_name(const char *name); const char *get_class_name(int which_job); -int get_class_by_name(const char *name); +job_type get_class_by_name(const char *name); #endif |