Lines Matching refs:dt_knight_t

275 typedef struct dt_knight_t  struct
330 } dt_knight_t; argument
372 static void _reset_board(dt_knight_t *d) in _reset_board()
411 self->data = calloc(1, sizeof(dt_knight_t)); in init()
412 dt_knight_t *d = (dt_knight_t *)self->data; in init()
449 dt_knight_t *d = (dt_knight_t *)self->data; in cleanup()
502 static inline void _kill_mystery_ship(dt_knight_t *d) in _kill_mystery_ship()
509 static inline void _add_mystery_ship(dt_knight_t *d) in _add_mystery_ship()
528 static void _destroy_bunker(dt_knight_t *d, int bunker_idx, int hit_x, int hit_y) in _destroy_bunker()
553 static gboolean _hit_bunker(dt_knight_t *d, const dt_knight_shot_t *shot) in _hit_bunker()
597 static void _walk_over_bunker(dt_knight_t *d, float x, float y, float w, float h) in _walk_over_bunker()
644 static gboolean _event_loop_game(dt_knight_t *d) in _event_loop_game()
927 static gboolean _event_loop_animation(dt_knight_t *d) in _event_loop_animation()
936 dt_knight_t *d = (dt_knight_t *)user_data; in _event_loop()
954 static gboolean _key_press(GtkWidget *w, GdkEventKey *event, dt_knight_t *d);
955 static gboolean _key_release(GtkWidget *w, GdkEventKey *event, dt_knight_t *d);
959 dt_knight_t *d = (dt_knight_t *)self->data; in enter()
996 dt_knight_t *d = (dt_knight_t *)self->data; in leave()
1049 static void _show_top_line(dt_knight_t *d, cairo_t *cr, int32_t w, int32_t h) in _show_top_line()
1056 static void _show_score_1(dt_knight_t *d, cairo_t *cr, int32_t w, int32_t h) in _show_score_1()
1063 static void _show_score_2(dt_knight_t *d, cairo_t *cr, int32_t w, int32_t h) in _show_score_2()
1071 static void _show_high_score(dt_knight_t *d, cairo_t *cr, int32_t w, int32_t h) in _show_high_score()
1078 static void _show_credit(dt_knight_t *d, cairo_t *cr, int32_t w, int32_t h) in _show_credit()
1086 static void _show_lifes(dt_knight_t *d, cairo_t *cr, int32_t w, int32_t h) in _show_lifes()
1108 static void _show_bunkers(dt_knight_t *d, cairo_t *cr, int32_t w, int32_t h) in _show_bunkers()
1122 static void _show_aliens(dt_knight_t *d, cairo_t *cr, int32_t w, int32_t h) in _show_aliens()
1139 static void _show_ground(dt_knight_t *d, cairo_t *cr, int32_t w, int32_t h) in _show_ground()
1149 static void _show_shot(dt_knight_t *d, cairo_t *cr, int32_t w, int32_t h, dt_knight_shot_t *shot) in _show_shot()
1160 static void _expose_game(dt_knight_t *d, cairo_t *cr, int32_t w, int32_t h) in _expose_game()
1232 static void _expose_intro(dt_knight_t *d, cairo_t *cr, int32_t w, int32_t h) in _expose_intro()
1368 dt_knight_t *d = (dt_knight_t *)self->data; in expose()
1412 static gboolean _key_release(GtkWidget *w, GdkEventKey *event, dt_knight_t *d) in _key_release()
1424 static gboolean _key_press(GtkWidget *w, GdkEventKey *event, dt_knight_t *d) in _key_press()