#include <externs.h>
Public Member Functions | |
| level_id () | |
| level_id (branch_type br, int dep, level_area_type ltype=LEVEL_DUNGEON) | |
| level_id (const level_id &ot) | |
| level_id (level_area_type ltype) | |
| unsigned short | packed_place () const |
| std::string | describe (bool long_name=false, bool with_number=true) const |
| void | clear () |
| int | absdepth () const |
| int | dungeon_absdepth () const |
| bool | is_valid () const |
| const level_id & | operator= (const level_id &id) |
| bool | operator== (const level_id &id) const |
| bool | operator!= (const level_id &id) const |
| bool | operator< (const level_id &id) const |
| bool | operator== (const branch_type _branch) const |
| bool | operator!= (const branch_type _branch) const |
| void | save (writer &) const |
| void | load (reader &) |
Static Public Member Functions | |
| static level_id | current () |
| static level_id | get_next_level_id (const coord_def &pos) |
| static level_id | parse_level_id (const std::string &s) throw (std::string) |
| static level_id | from_packed_place (const unsigned short place) |
Public Attributes | |
| branch_type | branch |
| int | depth |
| level_area_type | level_type |
| level_id::level_id | ( | ) | [inline] |
| level_id::level_id | ( | branch_type | br, | |
| int | dep, | |||
| level_area_type | ltype = LEVEL_DUNGEON | |||
| ) | [inline] |
| level_id::level_id | ( | const level_id & | ot | ) | [inline] |
| level_id::level_id | ( | level_area_type | ltype | ) | [inline] |
| level_id level_id::current | ( | ) | [static] |


| level_id level_id::parse_level_id | ( | const std::string & | s | ) | throw (std::string) [static] |

| level_id level_id::from_packed_place | ( | const unsigned short | place | ) | [static] |

| unsigned short level_id::packed_place | ( | ) | const |

| std::string level_id::describe | ( | bool | long_name = false, |
|
| bool | with_number = true | |||
| ) | const |

| void level_id::clear | ( | ) | [inline] |
| int level_id::absdepth | ( | ) | const |

| int level_id::dungeon_absdepth | ( | ) | const |

| bool level_id::is_valid | ( | ) | const [inline] |
| bool level_id::operator== | ( | const level_id & | id | ) | const [inline] |
| bool level_id::operator!= | ( | const level_id & | id | ) | const [inline] |

| bool level_id::operator< | ( | const level_id & | id | ) | const [inline] |
| bool level_id::operator== | ( | const branch_type | _branch | ) | const [inline] |
| bool level_id::operator!= | ( | const branch_type | _branch | ) | const [inline] |

| void level_id::save | ( | writer & | outf | ) | const |

| void level_id::load | ( | reader & | inf | ) |

| int level_id::depth |
1.5.6