-
Notifications
You must be signed in to change notification settings - Fork 0
/
funcoes.h
50 lines (46 loc) · 1.31 KB
/
funcoes.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include <SDL2/SDL_mixer.h>
#include <stdbool.h>
#include "estrutura.h"
#ifndef FUNCOES_H
#define FUNCOES_H
void iniciar_SDL2();
void finalizar_SDL2();
void iniciar_jogo();
void carregar_assets();
void renderizar();
void criar_menu();
void renderizar_cursor_menu(int);
void criar_menu_item(char *);
void renderizar_menu();
void renderizar_logo_ufrrj();
void renderizar_lula_e_bob_dancando();
bool logica_do_menu(const Uint8 *);
void adicionar_cooldown(int);
bool processar_eventos();
void atualizar_temporizadores();
void atualizar_intervalos(int);
void verificar_vida_dropada();
void adicionar_inimigo_aleatorio();
void renderizar_inimigos_aleatorio();
void remover_inimigos_aleatorio();
void adicionar_bolha_aleatoria();
void renderizar_bolhas_aleatorias();
void remover_bolhas_aleatorias();
void renderizar_interface();
void renderizar_aviso();
void renderizar_protagonista();
void verificar_fisica();
void renderizar_gameover();
void logica_do_jogo(Personagem *, const Uint8 *);
void personagem_andar(Personagem *, bool);
void personagem_parado(Personagem *);
void remover_vida_protagonista(bool);
void adicionar_tiro(float, float, float);
void renderizar_tiros();
void remover_tiros();
Texto * obter_texto(char *, int);
RGB obter_cor(int);
int obter_numero_aleatorio(int, int);
#endif