RCRPG/C++98: Difference between revisions
Content added Content deleted
(Created page with "Yet another C++ RCRPG, this one has some tweaks thou: * You can lose: If you try to break one of the cave's boundary walls, your sledge will break. If that happens in a room t...") |
|||
Line 78: | Line 78: | ||
} |
} |
||
actions.insert( std::make_pair( hashStr( nw ), it->second ) ); |
actions.insert( std::make_pair( hashStr( nw ), it->second ) ); |
||
std::cout << "Done\n"; |
|||
} |
} |
||
bool parse( std::string a, command& cmd ) { |
bool parse( std::string a, command& cmd ) { |
||
Line 260: | Line 261: | ||
void setName( std::string n ) { |
void setName( std::string n ) { |
||
name = n; |
name = n; |
||
std::cout << "OK\n"; |
|||
} |
} |
||
std::vector<treasure> tak( keyWord k ) { |
std::vector<treasure> tak( keyWord k ) { |