/dports/games/freedoko/FreeDoko_0.7.19/src/basetypes/ |
H A D | game_type.cpp | 41 switch(game_type) { in to_string() 130 gettext(GameType const game_type) in gettext() argument 172 switch (game_type) { in is_with_unknown_teams() 191 switch (game_type) { in is_normal() 211 switch (game_type) { in is_marriage() 230 switch (game_type) { in is_poverty() 252 return ( is_color_solo(game_type) in is_real_solo() 266 return ( is_real_solo(game_type) in is_solo() 280 switch (game_type) { in is_color_solo() 327 switch (game_type) { in is_single_picture_solo() [all …]
|
H A D | game_type.h | 99 string to_string(GameType game_type) noexcept; 100 string gettext(GameType game_type); 101 ostream& operator<<(ostream& ostr, GameType game_type); 104 bool is_with_unknown_teams(GameType game_type) noexcept; 105 bool is_normal(GameType game_type) noexcept; 106 bool is_poverty(GameType game_type) noexcept; 107 bool is_marriage(GameType game_type) noexcept; 108 bool is_solo(GameType game_type) noexcept; 109 bool is_real_solo(GameType game_type) noexcept; 110 bool is_color_solo(GameType game_type) noexcept; [all …]
|
/dports/games/pysolfc/PySolFC-2.14.1/pysollib/ |
H A D | gamedb.py | 161 def _gen_select(title, game_type): argument 162 def _callback(gi, gt=game_type): 163 return gi.si.game_type == gt 170 game_type=GT_BELEAGUERED_CASTLE), 200 gi.si.game_type not in gt), 204 gi.si.game_type in gt), 232 gi.si.game_type == gt), 544 game_flags = game_type & ~1023 545 game_type = game_type & 1023 604 gi_si = Struct(game_type=game_type, game_flags=game_flags, [all …]
|
H A D | hint.py | 733 self.game_type = game_type 861 game_type = self.game_type 1011 game_type = self.game_type 1053 if 'preset' in game_type: 1055 if 'sbb' in game_type: 1057 if 'sm' in game_type: 1059 if 'esf' in game_type: 1231 game_type = self.game_type 1242 game_type=game_type['preset'], 1349 self.game_type = game_type [all …]
|
/dports/games/battletanks/btanks-0.9.8083/engine/menu/ |
H A D | start_server_menu.cpp | 81 RTConfig->game_type = GameTypeCTF; in start() 91 RTConfig->game_type = GameTypeTeamDeathMatch; in start() 96 if (map.game_type != GameTypeDeathMatch) in start() 97 throw_ex(("menu game type == deathmatch, map game type: %d", (int)map.game_type)); in start() 98 RTConfig->game_type = map.game_type; in start() 102 if (map.game_type != GameTypeCooperative) in start() 103 throw_ex(("menu game type == cooperative, map game type: %d", (int)map.game_type)); in start() 104 RTConfig->game_type = map.game_type; in start() 111 if (RTConfig->game_type != GameTypeCooperative && RTConfig->game_type != GameTypeRacing) { in start()
|
H A D | map_desc.h | 36 GameType game_type; member 40 …ase, const std::string &name, const std::string &object, const GameType game_type, const int slots… in MapDesc() 41 …base(base), name(name), object_restriction(object), game_type(game_type), slots(slots), supports_c… in MapDesc()
|
/dports/games/tali/tali-40.4/src/ |
H A D | yahtzee.h | 39 #define H_2P (game_type == GAME_YAHTZEE ? -1 : 6) /* 2 pair same color */ 40 #define H_3 (game_type == GAME_YAHTZEE ? 6 : 7) /* 3 of a kind */ 41 #define H_4 (game_type == GAME_YAHTZEE ? 7 : 12) /* 4 of a kind */ 43 #define H_FS (game_type == GAME_YAHTZEE ? -1 : 9) /* Full house same color */ 44 #define H_FL (game_type == GAME_YAHTZEE ? -1 : 10) /* Flush: all came color */ 45 #define H_SS (game_type == GAME_YAHTZEE ? 9 : -1) /* Small straight */ 46 #define H_LS (game_type == GAME_YAHTZEE ? 10 : 11) /* Large straight */ 47 #define H_YA (game_type == GAME_YAHTZEE ? 11 : 13) /* 5 of a kind */ 48 #define H_CH (game_type == GAME_YAHTZEE ? 12 : 14) /* Chance */ 145 extern GameType game_type;
|
/dports/games/freedoko/FreeDoko_0.7.19/src/game/ |
H A D | reservation.cpp | 50 this->game_type = game_type_from_string(*p); in Reservation() 53 if (this->game_type == GameType::marriage) { in Reservation() 83 return ( lhs.game_type == rhs.game_type in operator ==() 84 … && lhs.game_type == GameType::marriage ? (lhs.marriage_selector == rhs.marriage_selector) : true in operator ==() 100 ostr << "game type: " << reservation.game_type << '\n'; in operator <<() 101 if (reservation.game_type == GameType::marriage) in operator <<()
|
/dports/games/freedoko/FreeDoko_0.7.19/src/player/ai/ |
H A D | solo_decision.cpp | 45 SoloDecision::create(GameType const game_type, in create() argument 49 switch (game_type) { in create() 93 SoloDecision::SoloDecision(Ai const& ai, GameType const game_type) : in SoloDecision() argument 95 game_type_(game_type) in SoloDecision() 105 SoloDecision::game_type() const in game_type() function in SoloDecision 115 auto const game_type = this->game_type(); in is_duty_solo() local 118 if ( is_color_solo(game_type) in is_duty_solo() 124 if ( is_picture_solo(game_type) in is_duty_solo()
|
/dports/games/black-hole-solver/black-hole-solver-1.10.1/ |
H A D | solver_common.h | 70 enum GAME_TYPE game_type; member 86 settings.game_type = GAME__UNKNOWN; in parse_cmd_line() 138 settings.game_type = GAME__BH; in parse_cmd_line() 142 settings.game_type = GAME__GOLF; in parse_cmd_line() 147 settings.game_type = GAME__ALL; in parse_cmd_line() 213 if (settings.game_type == GAME__UNKNOWN) in parse_cmd_line() 264 const enum GAME_TYPE game_type = settings.game_type; in solve_filename() local 266 ((game_type == GAME__BH) ? BHS__BLACK_HOLE__NUM_COLUMNS in solve_filename() 267 : (game_type == GAME__GOLF) ? BHS__GOLF__NUM_COLUMNS in solve_filename() 272 : (game_type == GAME__GOLF) in solve_filename() [all …]
|
H A D | multi_solver_stats.c | 33 const enum GAME_TYPE game_type = settings.game_type; in output_stats_filename() local 35 ((game_type == GAME__BH) ? BHS__BLACK_HOLE__NUM_COLUMNS in output_stats_filename() 36 : (game_type == GAME__GOLF) ? BHS__GOLF__NUM_COLUMNS in output_stats_filename() 41 ((game_type == GAME__BH) ? BHS__BLACK_HOLE__MAX_NUM_CARDS_IN_COL in output_stats_filename() 42 : (game_type == GAME__GOLF) in output_stats_filename() 45 ((game_type == GAME__BH) ? BHS__BLACK_HOLE__BITS_PER_COL in output_stats_filename()
|
/dports/games/gbrainy/gbrainy-2.4.3/src/Core/Main/ |
H A D | GameSessionPlayList.cs | 32 GameSession.Types game_type; field in gbrainy.Core.Main.GameSessionPlayList 39 game_type = GameSession.Types.AllGames; in GameSessionPlayList() 79 get {return game_type; } 81 if (game_type == value) 84 game_type = value; 107 if ((game_type & GameSession.Types.Custom) != GameSession.Types.Custom) in BuildListIfIsDirty() 116 if ((game_type & GameSession.Types.Custom) == GameSession.Types.Custom) in BuildPlayList() 125 if ((game_type & GameSession.Types.AllGames) == GameSession.Types.AllGames) in BuildPlayList() 131 logic = (game_type & GameSession.Types.LogicPuzzles) == GameSession.Types.LogicPuzzles; in BuildPlayList() 132 calculation = (game_type & GameSession.Types.Calculation) == GameSession.Types.Calculation; in BuildPlayList() [all …]
|
/dports/games/py-pychess/pychess-1.0.2/lib/pychess/ic/managers/ |
H A D | ICCBoardManager.py | 151 game_type = GAME_TYPES["w%s" % wild] 153 game_type = GAME_TYPES[rtype.lower()] 158 player.ratings[game_type.rating_type] = rating 171 game_type=game_type, 187 game.game_type = GAME_TYPES["examined"] 224 game_type = GAME_TYPES[rtype.lower()] 227 if player.ratings[game_type.rating_type] != rating: 228 player.ratings[game_type.rating_type] = rating 238 game_type=game_type, 331 game.game_type.variant_type in ( [all …]
|
H A D | BoardManager.py | 629 game_type = GAME_TYPES[match_type] 648 game_type=game_type, 807 game_type = GAME_TYPES[game_type] 839 game_type.fics_name) 959 game_type=game_type, 1022 game_type = GAME_TYPES["blitz"] 1029 game_type = GAME_TYPES[gametype] 1053 game_type=game_type, 1084 game_type=game_type, 1092 game.game_type) [all …]
|
H A D | AdjournManager.py | 107 game_type = match.groups()[3] 116 private = game_type[0] == "p" 117 rated = game_type[2] == "r" 182 game_type = match.groups()[6] 189 private = game_type[0] == "p" 190 rated = game_type[2] == "r" 200 game_type=gametype, 237 game_type = match.groups()[5] 240 private = game_type[0] == "p" 241 rated = game_type[2] == "r" [all …]
|
/dports/games/py-pychess/pychess-1.0.2/lib/pychess/ic/ |
H A D | FICSObjects.py | 110 if game_type: 522 assert game_type is None or game_type is GAME_TYPES_BY_FICS_NAME["wild"] \ 523 or game_type in GAME_TYPES.values(), game_type 528 self.game_type = game_type 608 game_type = self.game_type 629 game_type, argument 926 self.game_type != game.game_type and not \ 929 self.game_type = game.game_type 973 game_type=game_type, 1035 game_type=game_type, [all …]
|
/dports/games/exult/exult-snapshot-v1.7.0.20211128/shapes/ |
H A D | shapevga.h | 45 void Read_Shapeinf_text_data_file(bool editing, Exult_Game game_type); 46 void Read_Bodies_text_data_file(bool editing, Exult_Game game_type); 47 void Read_Paperdoll_text_data_file(bool editing, Exult_Game game_type); 48 void Write_Shapeinf_text_data_file(Exult_Game game_type); 49 void Write_Bodies_text_data_file(Exult_Game game_type); 50 void Write_Paperdoll_text_data_file(Exult_Game game_type);
|
/dports/games/freedoko/FreeDoko_0.7.19/src/player/ai/solo_decision/ |
H A D | single_picture.cpp | 76 …add(_("SoloDecision::information::%s::%u loosing tricks in %s", _(this->game_type()), n, _(color))… in lower_points_bound() 79 …this->rationale_.add(_("SoloDecision::information::%s::%u loosing points", _(this->game_type()), l… in lower_points_bound() 94 …add(_("SoloDecision::information::%s::%u trumps, less then %u", _(this->game_type()), trumps, 5u)); in heuristic_winning_tricks() 98 …::%u winning trump tricks + %u aces - %u solo aces: %i points", _(this->game_type()), this->winnin… in heuristic_winning_tricks() 123 …nformation::%s::%u trumps + %u aces - %u solo aces: %i points", _(this->game_type()), this->count_… in heuristic_loosing_tricks() 136 …add(_("SoloDecision::information::%s::%u trumps, less then %u", _(this->game_type()), trumps, 5u)); in heuristic_trumps_and_aces() 140 …oDecision::information::%s::%u trumps + %u aces, less then %u", _(this->game_type()), trumps, aces… in heuristic_trumps_and_aces() 144 …->rationale_.add(_("SoloDecision::information::%s::not enough good trumps", _(this->game_type()))); in heuristic_trumps_and_aces() 148 …SoloDecision::information::%s::%u trumps + %u aces: %i points", _(this->game_type()), trumps, aces… in heuristic_trumps_and_aces() 351 auto cards = this->hand().cards(color, this->game_type()); in loosing_tricks() [all …]
|
H A D | color.cpp | 93 …this->rationale_.add(_("SoloDecision::information::%s::swines: %i points", _(this->game_type()), p… in estimated_points_for_special_cards() 102 …ationale_.add(_("SoloDecision::information::%s::hyperswines: %i points", _(this->game_type()), p)); in estimated_points_for_special_cards() 112 …this->rationale_.add(_("SoloDecision::information::%s::dullen: %i points", _(this->game_type()), p… in estimated_points_for_special_cards() 133 …this->rationale_.add(_("SoloDecision::information::%s::%u queens: %i points", _(this->game_type())… in estimated_points_for_queens() 184 …d(_("SoloDecision::information::%s::%u fehl colors: %i points", _(this->game_type()), fehl_colors,… in estimated_points_for_fehl_colors() 236 if (hand.count(color, this->game_type()) > 3) in estimated_points_for_color_aces_with_nines() 240 …this->rationale_.add(_("SoloDecision::information::%s::ace in %s: %i points", _(this->game_type())… in estimated_points_for_color_aces_with_nines() 253 if (hand.count(color, this->game_type()) > 2) in estimated_points_for_color_aces_without_nines() 257 …this->rationale_.add(_("SoloDecision::information::%s::ace in %s: %i points", _(this->game_type())… in estimated_points_for_color_aces_without_nines()
|
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/nuvie/core/ |
H A D | game.cpp | 84 game_type = type; in Game() 218 clock = new GameClock(config, game_type); in loadGame() 228 font_manager->init(game_type); in loadGame() 246 if (game_type == NUVIE_GAME_U6) { in loadGame() 254 switch (game_type) { in loadGame() 308 portrait = newPortrait(game_type, config); in loadGame() 327 if (game_type == NUVIE_GAME_U6) { in loadGame() 332 if (game_type == NUVIE_GAME_U6) { in loadGame() 390 if (game_type == NUVIE_GAME_MD) in init_converse_gump_settings() 392 else if (game_type == NUVIE_GAME_SE) in init_converse_gump_settings() [all …]
|
/dports/games/bstone/bstone-1.1.9/src/ |
H A D | jm_free.cpp | 462 GameType game_type) in get_ref_vgahead_offset_count() argument 464 switch (game_type) { in get_ref_vgahead_offset_count() 486 GameType game_type) in get_file_names() argument 530 switch (game_type) { in get_file_names() 548 GameType game_type) in get_file_extension() argument 554 switch (game_type) { in get_file_extension() 572 GameType game_type) in are_files_exist() argument 588 GameType game_type) in get_vgahead_offset_count() argument 608 GameType game_type) in check_vgahead_offset_count() argument 615 GameType game_type) in set_game_type() argument [all …]
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/network/ |
H A D | gtrack.cpp | 75 PXO_ADD_DATA(gph->game_type); in SerializeGamePacket() 173 PXO_GET_DATA(gph->game_type); in DeserializeGamePacket() 196 PXO_GET_DATA(games->game_type); in DeserializeGamePacket() 218 PXO_GET_DATA(games->game_type); in DeserializeGamePacket() 292 GameListReq.game_type = static_cast<unsigned char>(gametype); in InitGameTrackerClient() 296 TrackAckPacket.game_type = static_cast<unsigned char>(gametype); in InitGameTrackerClient() 419 if(GameBuffer[i].game_type==GT_UNUSED) in IdleGameTracker() 428 gl6.game_type = gl4->game_type; in IdleGameTracker() 510 if (game.game_type != GT_UNUSED) { in GetGameList() 512 game.game_type = GT_UNUSED; in GetGameList() [all …]
|
/dports/games/qstat/qstat-2.17/ |
H A D | config.c | 348 char *token, *game_type, *extend_type; in pf_top_level() local 360 game_type = next_token_dup(); in pf_top_level() 361 if (game_type == NULL) { in pf_top_level() 366 force_lower_case(game_type); in pf_top_level() 384 context->type = game_type; in pf_top_level() 439 if (get_config_type(game_type) == NULL) { in pf_top_level() 443 context->gametype->type_string = game_type; in pf_top_level() 874 get_server_type(char *game_type) in get_server_type() argument 878 result = get_builtin_type(game_type); in get_server_type() 883 return (get_config_type(game_type)); in get_server_type() [all …]
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/wxfred2/ |
H A D | missionspecseditor.cpp | 41 if (the_Mission->game_type & MISSION_TYPE_SINGLE) { in BEGIN_EVENT_TABLE() 46 } else if (the_Mission->game_type & MISSION_TYPE_MULTI) { in BEGIN_EVENT_TABLE() 51 if (the_Mission->game_type & MISSION_TYPE_MULTI_COOP) in BEGIN_EVENT_TABLE() 53 else if (the_Mission->game_type & MISSION_TYPE_MULTI_TEAMS) in BEGIN_EVENT_TABLE() 55 else if (the_Mission->game_type & MISSION_TYPE_MULTI_DOGFIGHT) in BEGIN_EVENT_TABLE() 57 } else if (the_Mission->game_type & MISSION_TYPE_TRAINING) { in BEGIN_EVENT_TABLE()
|
/dports/games/lbreakout2/lbreakout2-2.6.5/game/ |
H A D | game.c | 100 Game *game_create( int game_type, int diff, int rel_warp_limit ) in game_create() argument 105 game->game_type = game_type; in game_create() 106 if ( game_type == GT_LOCAL ) in game_create() 125 game->paddle_count = (game_type==GT_NETWORK)?2:1; in game_create() 133 if ( game_type == GT_NETWORK ) in game_create() 184 if (level->type==LT_NORMAL && game->game_type == GT_NETWORK && game->brick_count == 0 ) in game_init() 201 if ( game->game_type == GT_LOCAL ) in game_init() 344 if ( cur_game->game_type == GT_LOCAL ) { in game_update() 361 if ( cur_game->game_type == GT_LOCAL ) { in game_update() 368 if ( cur_game->game_type == GT_NETWORK ) { in game_update() [all …]
|