Home
last modified time | relevance | path

Searched refs:special_game_type (Results 1 – 22 of 22) sorted by relevance

/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/
H A Dgamemode.cpp8 std::string special_game_name( special_game_type id ) in special_game_name()
11 case special_game_type::NONE: in special_game_name()
12 case special_game_type::NUM_SPECIAL_GAME_TYPES: in special_game_name()
14 case special_game_type::TUTORIAL: in special_game_name()
16 case special_game_type::DEFENSE: in special_game_name()
23 std::unique_ptr<special_game> get_special_game( special_game_type id ) in get_special_game()
27 case special_game_type::NONE: in get_special_game()
30 case special_game_type::TUTORIAL: in get_special_game()
33 case special_game_type::DEFENSE: in get_special_game()
H A Dgamemode.h13 std::string special_game_name( special_game_type id );
14 std::unique_ptr<special_game> get_special_game( special_game_type id );
18 virtual special_game_type id() { in id()
19 return special_game_type::NONE; in id()
H A Dgamemode_tutorial.h59 special_game_type id() override {
60 return special_game_type::TUTORIAL;
H A Dgamemode_defense.h61 special_game_type id() override { in id()
62 return special_game_type::DEFENSE; in id()
H A Dworldfactory.h17 enum class special_game_type; variable
96 WORLDPTR make_new_world( special_game_type special_type );
H A Dmain_menu.cpp532 … for( int i = 1; i < static_cast<int>( special_game_type::NUM_SPECIAL_GAME_TYPES ); i++ ) { in opening_screen()
533 … std::string spec_name = special_game_name( static_cast<special_game_type>( i ) ); in opening_screen()
654 sel2 = static_cast<int>( special_game_type::NUM_SPECIAL_GAME_TYPES ) - 2; in opening_screen()
658 if( sel2 < static_cast<int>( special_game_type::NUM_SPECIAL_GAME_TYPES ) - 2 ) { in opening_screen()
668 … if( sel2 >= 0 && sel2 < static_cast<int>( special_game_type::NUM_SPECIAL_GAME_TYPES ) - 1 ) { in opening_screen()
674 … g->gamemode = get_special_game( static_cast<special_game_type>( sel2 + 1 ) ); in opening_screen()
676 … WORLDPTR world = world_generator->make_new_world( static_cast<special_game_type>( sel2 + 1 ) ); in opening_screen()
H A Denums.h138 enum class special_game_type : int {
H A Dworldfactory.cpp194 WORLDPTR worldfactory::make_new_world( special_game_type special_type ) in make_new_world()
198 case special_game_type::TUTORIAL: in make_new_world()
201 case special_game_type::DEFENSE: in make_new_world()
H A Dgame.h610 special_game_type gametype() const;
H A Dgame.cpp655 return gamemode && gamemode->id() != special_game_type::NONE; in has_gametype()
658 special_game_type game::gametype() const in gametype()
660 return gamemode ? gamemode->id() : special_game_type::NONE; in gametype()
H A Dovermap.cpp1458 if( g->gametype() == special_game_type::DEFENSE ) { in generate()
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/
H A Dgamemode.cpp8 std::string special_game_name( special_game_type id ) in special_game_name()
11 case special_game_type::NONE: in special_game_name()
12 case special_game_type::NUM_SPECIAL_GAME_TYPES: in special_game_name()
14 case special_game_type::TUTORIAL: in special_game_name()
16 case special_game_type::DEFENSE: in special_game_name()
23 std::unique_ptr<special_game> get_special_game( special_game_type id ) in get_special_game()
27 case special_game_type::NONE: in get_special_game()
30 case special_game_type::TUTORIAL: in get_special_game()
33 case special_game_type::DEFENSE: in get_special_game()
H A Dgamemode.h13 std::string special_game_name( special_game_type id );
14 std::unique_ptr<special_game> get_special_game( special_game_type id );
18 virtual special_game_type id() { in id()
19 return special_game_type::NONE; in id()
H A Dgamemode_tutorial.h59 special_game_type id() override {
60 return special_game_type::TUTORIAL;
H A Dgamemode_defense.h61 special_game_type id() override { in id()
62 return special_game_type::DEFENSE; in id()
H A Dworldfactory.h17 enum class special_game_type; variable
96 WORLDPTR make_new_world( special_game_type special_type );
H A Dmain_menu.cpp532 … for( int i = 1; i < static_cast<int>( special_game_type::NUM_SPECIAL_GAME_TYPES ); i++ ) { in opening_screen()
533 … std::string spec_name = special_game_name( static_cast<special_game_type>( i ) ); in opening_screen()
654 sel2 = static_cast<int>( special_game_type::NUM_SPECIAL_GAME_TYPES ) - 2; in opening_screen()
658 if( sel2 < static_cast<int>( special_game_type::NUM_SPECIAL_GAME_TYPES ) - 2 ) { in opening_screen()
668 … if( sel2 >= 0 && sel2 < static_cast<int>( special_game_type::NUM_SPECIAL_GAME_TYPES ) - 1 ) { in opening_screen()
674 … g->gamemode = get_special_game( static_cast<special_game_type>( sel2 + 1 ) ); in opening_screen()
676 … WORLDPTR world = world_generator->make_new_world( static_cast<special_game_type>( sel2 + 1 ) ); in opening_screen()
H A Denums.h138 enum class special_game_type : int {
H A Dworldfactory.cpp194 WORLDPTR worldfactory::make_new_world( special_game_type special_type ) in make_new_world()
198 case special_game_type::TUTORIAL: in make_new_world()
201 case special_game_type::DEFENSE: in make_new_world()
H A Dgame.h610 special_game_type gametype() const;
H A Dgame.cpp655 return gamemode && gamemode->id() != special_game_type::NONE; in has_gametype()
658 special_game_type game::gametype() const in gametype()
660 return gamemode ? gamemode->id() : special_game_type::NONE; in gametype()
H A Dovermap.cpp1458 if( g->gametype() == special_game_type::DEFENSE ) { in generate()