Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- ** EPITECH PROJECT, 2018
- ** ull
- ** File description:
- ** null
- */
- #include "my.h"
- void init_array_of_button(my_w_t *window)
- {
- fill_all_texture_of_hud(window);
- window->hud->button = malloc(sizeof(button_t) * TOTAL_BUTTON + 1);
- fill_hud_button(window);
- }
- void init_button_game(my_w_t *window)
- {
- window->hud->button = NULL;
- window->hud->pos_mouse = (sfVector2i){0,0};
- window->hud->count_button = COUNT_BUTTON;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement