Added to level_pos the static method current(), similar to level_id::current(), and is_on(level_id lev), which returns true if the level_pos is on the given level_id.
WI4YVCM3FYASOD64PBGWRM2PUQGZRNNY4DWQIZRURYPVZDHYAMFQC
WF2DSJGR6PKLGQSXEFF4ZW4EZZFGMHXPXWUYAKYBPFJH6KJKAANQC
SDLKLUNFGVKDS55DDJZCBAVIB7NL3RRYPTACAY65SCUQKV6APFSAC
// Returns the level_pos of where the player is standing. static level_pos current();
// Returns the level_pos of where the player is standing.
static level_pos current();
} bool is_on( const level_id _id) { return id == _id;
}
bool is_on( const level_id _id)
{
return id == _id;
level_pos level_pos::current(){ return level_pos(level_id::current(), you.pos());}
level_pos level_pos::current()
return level_pos(level_id::current(), you.pos());