Home
last modified time | relevance | path

Searched refs:game_state (Results 1 – 25 of 266) sorted by relevance

1234567891011

/dports/games/openomf/openomf-c36c421/include/game/
H A Dgame_state.h15 void game_state_free(game_state *gs);
17 void game_state_render(game_state *gs);
18 void game_state_debug(game_state *gs);
19 void game_state_static_tick(game_state *gs);
20 void game_state_dynamic_tick(game_state *gs);
23 scene* game_state_get_scene(game_state *gs);
29 int game_state_num_players(game_state *gs);
30 void game_state_init_demo(game_state *gs);
31 int game_state_ms_per_dyntick(game_state *gs);
37 void _setup_ai(game_state *gs, int player_id);
[all …]
/dports/games/xrick/xrick-021212/src/
H A Dgame.c151 if (game_state != INTRO_MAIN && game_state != INTRO_MAP && in game_toggleCheat()
152 game_state != GAMEOVER && game_state != GETNAME && in game_toggleCheat()
156 game_state != XRICK && game_state != EXIT) { in game_toggleCheat()
218 game_state = XRICK; in game_run()
273 game_state = EXIT; in frame()
293 game_state = EXIT; in frame()
476 game_state = EXIT; in frame()
500 game_state = PLAY0; in frame()
512 game_state = PLAY0; in frame()
534 game_state = EXIT; in frame()
[all …]
/dports/games/libretro-xrick/xrick-libretro-0aad6c6/src/
H A Dgame.c150 if (game_state != INTRO_MAIN && game_state != INTRO_MAP && in game_toggleCheat()
151 game_state != GAMEOVER && game_state != GETNAME && in game_toggleCheat()
155 game_state != XRICK && game_state != EXIT) { in game_toggleCheat()
214 game_state = XRICK; in game_run()
266 game_state = EXIT; in frame()
286 game_state = EXIT; in frame()
469 game_state = EXIT; in frame()
493 game_state = PLAY0; in frame()
505 game_state = PLAY0; in frame()
527 game_state = EXIT; in frame()
[all …]
/dports/games/sgt-puzzles/puzzles-20220128.c43a34f/
H A Dnullgame.c32 struct game_state { struct
100 game_state *state = snew(game_state); in new_game()
107 static game_state *dup_game(const game_state *state) in dup_game()
109 game_state *ret = snew(game_state); in dup_game()
116 static void free_game(game_state *state) in free_game()
121 static char *solve_game(const game_state *state, const game_state *currstate, in solve_game()
132 static char *game_text_format(const game_state *state) in game_text_format()
137 static game_ui *new_ui(const game_state *state) in new_ui()
172 static game_state *execute_move(const game_state *state, const char *move) in execute_move()
219 const game_state *oldstate, const game_state *state, in game_redraw()
[all …]
H A Dpuzzles.h93 typedef struct game_state game_state; typedef
523 game_state *st, game_state *st2);
644 game_state *(*dup_game)(const game_state *state);
645 void (*free_game)(game_state *state);
647 char *(*solve)(const game_state *orig, const game_state *curr,
651 char *(*text_format)(const game_state *state);
652 game_ui *(*new_ui)(const game_state *state);
661 game_state *(*execute_move)(const game_state *state, const char *move);
673 float (*anim_length)(const game_state *oldstate,
675 float (*flash_length)(const game_state *oldstate,
[all …]
H A Dlightup.c114 struct game_state { struct
368 game_state *ret = snew(game_state); in new_state()
382 static game_state *dup_game(const game_state *state) in dup_game()
384 game_state *ret = snew(game_state); in dup_game()
450 static bool grid_lit(game_state *state) in grid_lit()
1266 game_state *scopy; in solve_sub()
1706 static char *solve_game(const game_state *state, const game_state *currstate, in solve_game()
1709 game_state *solved; in solve_game()
1954 static game_state *execute_move(const game_state *state, const char *move) in execute_move()
2169 const game_state *oldstate, const game_state *state, in game_redraw()
[all …]
H A Drange.c95 struct game_state { struct
197 static game_state *dup_game(const game_state *state) in dup_game()
199 game_state *ret = snew(game_state); in dup_game()
309 static char *solve_game(const game_state *orig, const game_state *curpos, in solve_game()
607 game_state *newstate; in solver_reasoning_recursion()
700 game_state state; in new_game_desc()
802 game_state *dupstate; in newdesc_strip_clues()
1115 game_state *state = snew(game_state); in new_game()
1515 static game_state *execute_move(const game_state *state, const char *move) in execute_move()
1519 game_state *ret; in execute_move()
[all …]
H A Dsingles.c100 struct game_state { struct
272 game_state *state = snew(game_state); in blank_game()
293 static game_state *dup_game(const game_state *state) in dup_game()
565 static char *game_state_diff(const game_state *src, const game_state *dst, in game_state_diff()
1187 static char *solve_game(const game_state *state, const game_state *currstate, in solve_game()
1224 game_state *state, game_state *tosolve) in new_game_is_good()
1430 game_state *state = NULL; in new_game()
1544 static game_state *execute_move(const game_state *state, const char *move) in execute_move()
1699 const game_state *oldstate, const game_state *state, in game_redraw()
1882 game_state *s; in start_soak()
[all …]
H A Dsignpost.c53 struct game_state { struct
283 static bool check_nums(game_state *orig, game_state *copy, bool only_immutable) in check_nums()
445 game_state *state = snew(game_state); in blank_game()
465 static void dup_game_to(game_state *to, const game_state *from) in dup_game_to()
482 static game_state *dup_game(const game_state *state) in dup_game()
1232 static int solve_single(game_state *state, game_state *copy, int *from) in solve_single()
1564 static game_state *execute_move(const game_state *state, const char *move) in execute_move()
1574 game_state *tmp; in execute_move()
2041 const game_state *oldstate, const game_state *state, in game_redraw()
2328 game_state *state; in start_soak()
[all …]
H A Dfifteen.c45 struct game_state { struct
329 game_state *state = snew(game_state); in new_game()
359 static game_state *dup_game(const game_state *state) in dup_game()
361 game_state *ret = snew(game_state); in dup_game()
376 static void free_game(game_state *state) in free_game()
382 static char *solve_game(const game_state *state, const game_state *currstate, in solve_game()
730 static game_state *execute_move(const game_state *from, const char *move) in execute_move()
733 game_state *ret; in execute_move()
892 const game_state *oldstate, const game_state *state, in game_redraw()
1135 game_state *state; in main()
[all …]
H A Dmagnets.c267 struct game_state { struct
298 game_state *ret = snew(game_state); in new_state()
321 static game_state *dup_game(const game_state *src) in dup_game()
323 game_state *dest = snew(game_state); in dup_game()
1409 static char *game_state_diff(const game_state *src, const game_state *dst, in game_state_diff()
1459 static char *solve_game(const game_state *state, const game_state *currstate, in solve_game()
1867 static game_state *execute_move(const game_state *state, const char *move) in execute_move()
2198 const game_state *oldstate, const game_state *state, in game_redraw()
2463 void doprint(game_state *state) in doprint()
2479 game_state *s, *s2; in start_soak()
[all …]
H A Dunruly.c143 struct game_state { struct
356 game_state *state = snew(game_state); in blank_state()
413 static game_state *dup_game(const game_state *state) in dup_game()
1257 static char *solve_game(const game_state *state, const game_state *currstate, in solve_game()
1366 game_state *state; in new_game_desc()
1410 game_state *solver; in new_game_desc()
1446 game_state *solver; in new_game_desc()
1653 static game_state *execute_move(const game_state *state, const char *move) in execute_move()
1660 game_state *ret; in execute_move()
1851 const game_state *oldstate, const game_state *state, in game_redraw()
[all …]
/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/
H A Dstate.cc27 game_state::game_state() in game_state() function in game_state
81 void game_state::reset_game() in reset_game()
191 void game_state::zero_turns_taken() in zero_turns_taken()
294 void game_state::reset_cmd_repeat() in reset_cmd_repeat()
300 void game_state::reset_cmd_again() in reset_cmd_again()
326 bool game_state::is_god_acting() const in is_god_acting()
372 void game_state::dec_god_acting() in dec_god_acting()
399 void game_state::clear_god_acting() in clear_god_acting()
413 bool game_state::is_mon_acting() const in is_mon_acting()
448 void game_state::clear_mon_acting() in clear_mon_acting()
[all …]
/dports/games/alephone/alephone-release-20190331/Source_Files/Misc/
H A Dinterface.cpp251 struct game_state { struct
296 static struct game_state game_state; variable
367 game_state.flags= 0; in initialize_game_state()
384 game_state.phase= 0; in force_game_state_change()
392 …if( (game_state.user==_single_player || game_state.user==_network_player) && (game_state.state==_g… in player_controlling_game()
403 game_state.suppress_background_tasks= !game_state.suppress_background_tasks; in toggle_suppression_of_background_tasks()
1260 game_state.flags= 0; in display_main_menu()
1673 game_state.phase= 0; in display_epilogue()
2248 game_state.flags= 0; in start_game()
2293game_state.state==_game_in_progress || game_state.state==_switch_demo || game_state.state==_revert… in finish_game()
[all …]
/dports/games/ctris/ctris-0.42.1/
H A Dctris.c5 char game_state = RUNNING_STATE, old_style_keys = 0, counterclockwise_rotation = 0, highscore_file_… variable
16 if(game_state != RUNNING_STATE && game_state != QUIT_STATE) in handle_quit_signal()
21 game_state = SIGNALED_QUIT_STATE; in handle_quit_signal()
71 game_state = QUIT_STATE; in main()
80 game_state = QUIT_STATE; in main()
92 game_state = QUIT_STATE; in main()
105 if(game_state != RUNNING_STATE) in main()
116 } while(game_state == QUIT_STATE && play_again() == 0); in main()
H A Dgame.c103 if (game_state == QUIT_STATE) in game_engine()
135 game_state = PAUSED_STATE; in game_engine()
137 game_state = RUNNING_STATE; in game_engine()
138 while(game_state == RUNNING_STATE) in game_engine()
147 while(game_state == RUNNING_STATE) in game_engine()
218 game_state = PAUSED_STATE; in game_engine()
221 game_state = RUNNING_STATE; in game_engine()
224 game_state = QUIT_STATE; in game_engine()
242 game_state = GAME_OVER_STATE; in game_engine()
245 game_state = QUIT_STATE; in game_engine()
[all …]
/dports/games/sgt-puzzles/puzzles-20220128.c43a34f/unfinished/
H A Dseparate.c110 struct game_state { struct
658 game_state *state = snew(game_state); in new_game()
665 static game_state *dup_game(const game_state *state) in dup_game()
667 game_state *ret = snew(game_state); in dup_game()
674 static void free_game(game_state *state) in free_game()
679 static char *solve_game(const game_state *state, const game_state *currstate, in solve_game()
690 static char *game_text_format(const game_state *state) in game_text_format()
695 static game_ui *new_ui(const game_state *state) in new_ui()
730 static game_state *execute_move(const game_state *state, const char *move) in execute_move()
777 const game_state *oldstate, const game_state *state, in game_redraw()
[all …]
/dports/games/openomf/openomf-c36c421/src/console/
H A Dconsole_cmd.c25 int console_cmd_history(game_state *gs, int argc, char **argv) { in console_cmd_history()
40 int console_cmd_clear(game_state *gs, int argc, char **argv) { in console_cmd_clear()
49 int console_cmd_quit(game_state *gs, int argc, char **argv) { in console_cmd_quit()
54 int console_cmd_help(game_state *gs, int argc, char **argv) { in console_cmd_help()
78 int console_cmd_scene(game_state *gs, int argc, char **argv) { in console_cmd_scene()
92 int console_cmd_har(game_state *gs, int argc, char **argv) { in console_cmd_har()
140 int console_cmd_win(game_state *gs, int argc, char **argv) { in console_cmd_win()
151 int console_cmd_lose(game_state *gs, int argc, char **argv) { in console_cmd_lose()
162 int console_cmd_stun(game_state *gs, int argc, char **argv) { in console_cmd_stun()
174 int console_cmd_rein(game_state *gs, int argc, char **argv) { in console_cmd_rein()
[all …]
/dports/games/openomf/openomf-c36c421/src/game/
H A Dgame_state.c276 scene* game_state_get_scene(game_state *gs) { in game_state_get_scene()
300 void game_state_render(game_state *gs) { in game_state_render()
389 void game_state_debug(game_state *gs) { in game_state_debug()
518 void game_state_call_collide(game_state *gs) { in game_state_call_collide()
534 void game_state_cleanup(game_state *gs) { in game_state_cleanup()
548 void game_state_call_move(game_state *gs) { in game_state_call_move()
613 void game_state_static_tick(game_state *gs) { in game_state_static_tick()
724 int game_state_num_players(game_state *gs) { in game_state_num_players()
801 void reconfigure_controller(game_state *gs) { in reconfigure_controller()
817 void game_state_init_demo(game_state *gs) { in game_state_init_demo()
[all …]
/dports/games/wordwarvi/wordwarvi-1.0.4/
H A Dwordwarvi.c2501 } game_state; variable
5513 x1 = o->x - game_state.x + (game_state.direction * 15); in xmas_player_draw()
11377 game_state.x += game_state.vx;
11378 game_state.y += game_state.vy;
11395 game_state.go[i].move(&game_state.go[i]);
11447 game_state.health = game_state.max_player_health;
11483 memset(&game_state.go[0], 0, sizeof(game_state.go));
11515 game_state.health = game_state.max_player_health;
12042 game_state.sound_effects_on = !game_state.sound_effects_on;
12070 game_state.direction = -game_state.direction;
[all …]
/dports/games/frogatto/frogatto-1.3.1/src/
H A Dtbs_server.cpp23 game_state = game::create(value); in game_info()
42 if(!g->game_state) { in adopt_ajax_socket()
67 g->game_state->add_player(user); in adopt_ajax_socket()
69 g->game_state->add_ai_player(user); in adopt_ajax_socket()
75 const game_context context(g->game_state.get()); in adopt_ajax_socket()
76 g->game_state->setup_game(); in adopt_ajax_socket()
90 if(gm->game_state->game_id() == id) { in adopt_ajax_socket()
259 g->game_state->process(); in heartbeat()
375 if(!g->game_state->started()) { in quit_games()
376 g->game_state->remove_player(cli_info.user); in quit_games()
[all …]
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/gcc.dg/analyzer/
H A Dpr103526.c4 struct game_state { struct
11 static struct game_state * argument
14 struct game_state tmp = {0}; in game_new()
15 struct game_state *rval = NULL; in game_new()
34 game_free(struct game_state *game) in game_free()
45 struct game_state *game; in main()
/dports/emulators/cannonball/cannonball-0.34/src/main/engine/
H A Doutrun.cpp115 if (game_state >= GS_START1 && game_state <= GS_INGAME) in tick()
199 switch (game_state) in jump_table()
299 switch (game_state) in main_switch()
321 game_state = GS_BEST1; in main_switch()
343 game_state = GS_LOGO; in main_switch()
366 game_state = GS_MUSIC; in main_switch()
422 game_state++; in main_switch()
437 game_state++; in main_switch()
525 game_state = GS_MAP; in main_switch()
580 game_state = GS_INIT; in main_switch()
[all …]
/dports/games/wesnoth/wesnoth-1.14.17/src/
H A Dgame_state.cpp45 game_state::game_state(const config & level, play_controller & pc, const ter_data_cache & tdata) : in game_state() function in game_state
73 game_state::game_state(const config & level, play_controller & pc, game_board& board) : in game_state() function in game_state
101 game_state::~game_state() {} in ~game_state()
139 void game_state::place_sides_in_preferred_locations(const config& level) in place_sides_in_preferred_locations()
174 void game_state::init(const config& level, play_controller & pc) in init()
232 void game_state::set_game_display(game_display * gd) in set_game_display()
237 void game_state::write(config& cfg) const in write()
325 bool game_state::can_recruit_from(const unit& leader) const in can_recruit_from()
383 bool game_state::side_can_recruit_on(int side, map_location hex) const in side_can_recruit_on()
400 game_events::wmi_manager& game_state::get_wml_menu_items() in get_wml_menu_items()
[all …]
/dports/games/crack-attack/crack-attack-1.1.14/src/
H A DCommunicator.h73 uint32 game_state; variable
105 if (!(send_buffer.game_state & GS_UNPAUSED)) in signalPaused()
106 send_buffer.game_state |= GS_PAUSED; in signalPaused()
108 send_buffer.game_state &= ~GS_UNPAUSED; in signalPaused()
113 if (!(send_buffer.game_state & GS_PAUSED)) in signalUnpaused()
114 send_buffer.game_state |= GS_UNPAUSED; in signalUnpaused()
116 send_buffer.game_state &= ~GS_PAUSED; in signalUnpaused()
224 work_buffer.game_state = htonl(buffer.game_state); in commSend()
243 buffer.game_state = ntohl(work_buffer.game_state); in commRecv()

1234567891011