/dports/games/sgt-puzzles/puzzles-20220128.c43a34f/ |
H A D | nullgame.c | 28 struct game_params { struct 36 static game_params *default_params(void) in default_params() argument 38 game_params *ret = snew(game_params); in default_params() 50 static void free_params(game_params *params) in free_params() 55 static game_params *dup_params(const game_params *params) in dup_params() 57 game_params *ret = snew(game_params); in dup_params() 62 static void decode_params(game_params *params, char const *string) in decode_params() 66 static char *encode_params(const game_params *params, bool full) in encode_params() 71 static config_item *game_configure(const game_params *params) in game_configure() 76 static game_params *custom_params(const config_item *cfg) in custom_params() [all …]
|
H A D | puzzles.h | 92 typedef struct game_params game_params; typedef 173 game_params *params; 300 void midend_set_params(midend *me, game_params *params); 301 game_params *midend_get_params(midend *me); 628 game_params *(*default_params)(void); 633 void (*free_params)(game_params *params); 634 game_params *(*dup_params)(const game_params *params); 636 config_item *(*configure)(const game_params *params); 637 game_params *(*custom_params)(const config_item *cfg); 666 const game_params *params, int tilesize); [all …]
|
H A D | mosaic.c | 72 struct game_params { struct 136 static game_params *default_params(void) in default_params() 138 game_params *ret = snew(game_params); in default_params() 154 game_params *res = snew(game_params); in game_fetch_preset() 166 static void free_params(game_params *params) in free_params() 171 static game_params *dup_params(const game_params *params) in dup_params() 173 game_params *ret = snew(game_params); in dup_params() 232 game_params *res = snew(game_params); in custom_params() 334 static void count_around(const game_params *params, in count_around() 405 static void mark_around(const game_params *params, in mark_around() [all …]
|
H A D | sixteen.c | 41 struct game_params { struct 55 static game_params *default_params(void) in default_params() argument 57 game_params *ret = snew(game_params); in default_params() 67 game_params *ret; in game_fetch_preset() 82 *params = ret = snew(game_params); in game_fetch_preset() 89 static void free_params(game_params *params) in free_params() 94 static game_params *dup_params(const game_params *params) in dup_params() 96 game_params *ret = snew(game_params); in dup_params() 133 static config_item *game_configure(const game_params *params) in game_configure() 161 static game_params *custom_params(const config_item *cfg) in custom_params() [all …]
|
H A D | fifteen.c | 41 struct game_params { struct 54 static game_params *default_params(void) in default_params() argument 56 game_params *ret = snew(game_params); in default_params() 73 static void free_params(game_params *params) in free_params() 78 static game_params *dup_params(const game_params *params) in dup_params() 80 game_params *ret = snew(game_params); in dup_params() 85 static void decode_params(game_params *ret, char const *string) in decode_params() 104 static config_item *game_configure(const game_params *params) in game_configure() 127 static game_params *custom_params(const config_item *cfg) in custom_params() 129 game_params *ret = snew(game_params); in custom_params() [all …]
|
H A D | samegame.c | 98 struct game_params { struct 131 struct game_params params; 138 static game_params *default_params(void) in default_params() 140 game_params *ret = snew(game_params); in default_params() 163 game_params *ret; in game_fetch_preset() 169 ret = snew(game_params); in game_fetch_preset() 179 static void free_params(game_params *params) in free_params() 184 static game_params *dup_params(const game_params *params) in dup_params() 186 game_params *ret = snew(game_params); in dup_params() 273 game_params *ret = snew(game_params); in custom_params() [all …]
|
H A D | flood.c | 45 struct game_params { struct 73 static game_params *default_params(void) in default_params() 75 game_params *ret = snew(game_params); in default_params() 85 struct game_params preset; 106 game_params *ret; in game_fetch_preset() 111 ret = snew(game_params); in game_fetch_preset() 118 static void free_params(game_params *params) in free_params() 123 static game_params *dup_params(const game_params *params) in dup_params() 125 game_params *ret = snew(game_params); in dup_params() 196 static game_params *custom_params(const config_item *cfg) in custom_params() [all …]
|
H A D | pegs.c | 51 struct game_params { struct 62 static game_params *default_params(void) in default_params() argument 64 game_params *ret = snew(game_params); in default_params() 72 static const struct game_params pegs_presets[] = { 82 game_params *ret; in game_fetch_preset() 88 ret = snew(game_params); in game_fetch_preset() 100 static void free_params(game_params *params) in free_params() 105 static game_params *dup_params(const game_params *params) in dup_params() 107 game_params *ret = snew(game_params); in dup_params() 170 static game_params *custom_params(const config_item *cfg) in custom_params() [all …]
|
H A D | flip.c | 45 struct game_params { struct 67 static game_params *default_params(void) in default_params() argument 69 game_params *ret = snew(game_params); in default_params() 77 static const struct game_params flip_presets[] = { 88 game_params *ret; in game_fetch_preset() 94 ret = snew(game_params); in game_fetch_preset() 105 static void free_params(game_params *params) in free_params() 110 static game_params *dup_params(const game_params *params) in dup_params() 112 game_params *ret = snew(game_params); in dup_params() 171 static game_params *custom_params(const config_item *cfg) in custom_params() [all …]
|
H A D | twiddle.c | 38 struct game_params { struct 55 static game_params *default_params(void) in default_params() argument 57 game_params *ret = snew(game_params); in default_params() 68 static void free_params(game_params *params) in free_params() 73 static game_params *dup_params(const game_params *params) in dup_params() 75 game_params *ret = snew(game_params); in dup_params() 84 game_params params; in game_fetch_preset() 105 static void decode_params(game_params *ret, char const *string) in decode_params() 150 static config_item *game_configure(const game_params *params) in game_configure() 191 static game_params *custom_params(const config_item *cfg) in custom_params() [all …]
|
H A D | untangle.c | 81 struct game_params { struct 91 game_params params; argument 119 static game_params *default_params(void) in default_params() 121 game_params *ret = snew(game_params); in default_params() 130 game_params *ret; in game_fetch_preset() 146 *params = ret = snew(game_params); in game_fetch_preset() 152 static void free_params(game_params *params) in free_params() 157 static game_params *dup_params(const game_params *params) in dup_params() 159 game_params *ret = snew(game_params); in dup_params() 196 static game_params *custom_params(const config_item *cfg) in custom_params() [all …]
|
H A D | cube.c | 185 struct game_params { struct 211 struct game_params params; argument 227 static game_params *default_params(void) in default_params() 229 game_params *ret = snew(game_params); in default_params() 240 game_params *ret = snew(game_params); in game_fetch_preset() 278 static void free_params(game_params *params) in free_params() 283 static game_params *dup_params(const game_params *params) in dup_params() 285 game_params *ret = snew(game_params); in dup_params() 511 static game_params *custom_params(const config_item *cfg) in custom_params() 513 game_params *ret = snew(game_params); in custom_params() [all …]
|
H A D | guess.c | 25 struct game_params { struct 40 game_params params; argument 49 static game_params *default_params(void) in default_params() 51 game_params *ret = snew(game_params); in default_params() 64 static void free_params(game_params *params) in free_params() 69 static game_params *dup_params(const game_params *params) in dup_params() 71 game_params *ret = snew(game_params); in dup_params() 78 game_params params; 105 game_params *defs = default_params(); in decode_params() 197 game_params *ret = snew(game_params); in custom_params() [all …]
|
/dports/games/minetest/minetest-5.4.1/src/ |
H A D | main.cpp | 208 GameStartData game_params; in main() local 211 game_params.is_dedicated_server = true; in main() 224 if (game_params.is_dedicated_server) in main() 632 if (game_params->socket_port == 0) in game_configure_port() 736 game_params->world_path = world_path; in auto_select_world() 794 if (!game_params->world_path.empty() in determine_subgame() 798 gamespec = game_params->game_spec; in determine_subgame() 814 gamespec = game_params->game_spec; in determine_subgame() 834 game_params->game_spec = gamespec; in determine_subgame() 908 Server server(game_params.world_path, game_params.game_spec, in run_dedicated_server() [all …]
|
/dports/games/pioneers/pioneers-15.6/client/gtk/ |
H A D | settingscreen.c | 99 const GameParams *game_params; in settings_create_content() local 115 game_params = get_game_params(); in settings_create_content() 116 if (game_params == NULL) { in settings_create_content() 176 if (game_params->sevens_rule == 0) { in settings_create_content() 178 } else if (game_params->sevens_rule == 1) { in settings_create_content() 180 } else if (game_params->sevens_rule == 2) { in settings_create_content() 194 game_params->use_dice_deck, NULL, FALSE); in settings_create_content() 214 if (game_params->island_discovery_bonus) { in settings_create_content() 227 (game_params-> in settings_create_content() 338 game_params->num_develop_type in settings_create_content() [all …]
|
H A D | identity.c | 99 const GameParams *game_params = get_game_params(); in calculate_width() local 100 if (game_params->num_build_type[build_type] <= 0) { in calculate_width() 128 const GameParams *game_params = get_game_params(); in calculate_identity_positions() local 135 if (game_params == NULL) in calculate_identity_positions() 163 const GameParams *game_params = get_game_params(); in draw_building_and_count() local 164 if (game_params->num_build_type[build_type] <= 0) { in draw_building_and_count() 258 const GameParams *game_params; in draw_identity_area_cb() local 279 game_params = get_game_params(); in draw_identity_area_cb() 280 if (game_params == NULL) in draw_identity_area_cb()
|
/dports/games/freeminer/freeminer-0.4.10.4/src/ |
H A D | main.cpp | 805 GameParams game_params; in main() local 835 if (game_params.is_dedicated_server) in main() 1205 if (game_params->socket_port == 0) in game_configure_port() 1369 if (game_params->world_path != "" in determine_subgame() 1403 game_params->game_spec = gamespec; in determine_subgame() 1488 game_params.world_path); in migrate_database() 1492 game_params.world_path); in migrate_database() 1497 game_params.world_path); in migrate_database() 1562 init_args(game_params, cmd_args); in run() 1812 if (game_params.world_path != "") in init_args() [all …]
|
/dports/games/freecell-solver/freecell-solver-6.2.0/ |
H A D | game_type_params.h | 25 #define SET_INSTANCE_GAME_PARAMS(instance) const_SLOT(game_params, instance) 31 #define INSTANCE_FREECELLS_NUM (instance->game_params.freecells_num) 32 #define LOCAL_FREECELLS_NUM (game_params.freecells_num) 40 #define INSTANCE_STACKS_NUM (instance->game_params.stacks_num) 41 #define LOCAL_STACKS_NUM (game_params.stacks_num) 49 #define INSTANCE_DECKS_NUM (instance->game_params.decks_num) 50 #define LOCAL_DECKS_NUM (game_params.decks_num) 71 #define INSTANCE_GAME_FLAGS (instance->game_params.game_flags) 73 ((instance)->game_params.game_flags & 0x3)
|
H A D | preset.c | 178 if (preset.game_params.freecells_num > MAX_NUM_FREECELLS) in fc_solve_apply_preset_by_ptr() 182 if (preset.game_params.stacks_num > MAX_NUM_STACKS) in fc_solve_apply_preset_by_ptr() 186 if (preset.game_params.decks_num > MAX_NUM_DECKS) in fc_solve_apply_preset_by_ptr() 191 instance->game_params = preset.game_params; in fc_solve_apply_preset_by_ptr()
|
/dports/games/pioneers/pioneers-15.6/client/common/ |
H A D | stock.c | 43 num_roads = game_params->num_build_type[BUILD_ROAD]; in stock_init() 44 num_ships = game_params->num_build_type[BUILD_SHIP]; in stock_init() 45 num_bridges = game_params->num_build_type[BUILD_BRIDGE]; in stock_init() 46 num_settlements = game_params->num_build_type[BUILD_SETTLEMENT]; in stock_init() 47 num_cities = game_params->num_build_type[BUILD_CITY]; in stock_init() 48 num_city_walls = game_params->num_build_type[BUILD_CITY_WALL]; in stock_init() 51 for (idx = 0; idx < G_N_ELEMENTS(game_params->num_develop_type); in stock_init() 53 num_develop += game_params->num_develop_type[idx]; in stock_init()
|
H A D | setup.c | 41 if (game_params->num_build_type[BUILD_ROAD] == 0) in setup_can_build_road() 60 if (game_params->num_build_type[BUILD_SHIP] == 0) in setup_can_build_ship() 79 if (game_params->num_build_type[BUILD_BRIDGE] == 0) in setup_can_build_bridge() 98 if (game_params->num_build_type[BUILD_SETTLEMENT] == 0) in setup_can_build_settlement()
|
H A D | callback.c | 320 return game_params == NULL in have_ships() 321 || game_params->num_build_type[BUILD_SHIP] > 0; in have_ships() 326 return game_params == NULL in have_bridges() 327 || game_params->num_build_type[BUILD_BRIDGE] > 0; in have_bridges() 332 return game_params == NULL in have_city_walls() 333 || game_params->num_build_type[BUILD_CITY_WALL] > 0; in have_city_walls() 338 return game_params; in get_game_params() 343 return game_params->resource_count; in game_resources() 348 return game_params->victory_points; in game_victory_points() 462 if (game_params->strict_trade in turn_can_trade()
|
/dports/games/sgt-puzzles/puzzles-20220128.c43a34f/unfinished/ |
H A D | separate.c | 106 struct game_params { struct 114 static game_params *default_params(void) in default_params() argument 116 game_params *ret = snew(game_params); in default_params() 128 static void free_params(game_params *params) in free_params() 133 static game_params *dup_params(const game_params *params) in dup_params() 135 game_params *ret = snew(game_params); in dup_params() 140 static void decode_params(game_params *params, char const *string) in decode_params() 156 static char *encode_params(const game_params *params, bool full) in encode_params() 163 static config_item *game_configure(const game_params *params) in game_configure() 168 static game_params *custom_params(const config_item *cfg) in custom_params() [all …]
|
H A D | sokoban.c | 123 struct game_params { struct 131 game_params p; argument 137 static game_params *default_params(void) in default_params() 139 game_params *ret = snew(game_params); in default_params() 147 static void free_params(game_params *params) in free_params() 152 static game_params *dup_params(const game_params *params) in dup_params() 154 game_params *ret = snew(game_params); in dup_params() 159 static const struct game_params sokoban_presets[] = { 167 game_params p, *ret; in game_fetch_preset() 228 game_params *ret = snew(game_params); in custom_params() [all …]
|
/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/webserver/ |
H A D | process_handler.py | 106 def __init__(self, game_params, username, logger): argument 107 self.game_params = game_params 158 if key not in self.game_params: 550 "game_id": self.game_params["id"], 573 game = self.game_params 604 def __init__(self, game_params, username, logger): argument 757 game = self.game_params 936 if self.game_params["morgue_url"] != None: 943 if self.game_params["morgue_url"] != None: 975 if "morgue_url" in self.game_params and self.game_params["morgue_url"]: [all …]
|