Advertisement
Guest User

Untitled

a guest
Feb 17th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.43 KB | None | 0 0
  1. /*
  2. ** EPITECH PROJECT, 2018
  3. ** ull
  4. ** File description:
  5. ** null
  6. */
  7.  
  8. #include "my.h"
  9.  
  10. void init_array_of_button(my_w_t *window)
  11. {
  12.     fill_all_texture_of_hud(window);
  13.     window->hud->button = malloc(sizeof(button_t) * TOTAL_BUTTON + 1);
  14.     fill_hud_button(window);
  15. }
  16.  
  17. void init_button_game(my_w_t *window)
  18. {
  19.     window->hud->button = NULL;
  20.     window->hud->pos_mouse = (sfVector2i){0,0};
  21.     window->hud->count_button = COUNT_BUTTON;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement