helapordo 1.4.12
Loading...
Searching...
No Matches
game_animations.h
Go to the documentation of this file.
1// jgabaut @ github.com/jgabaut
2// SPDX-License-Identifier: GPL-3.0-only
3/*
4 Copyright (C) 2022-2024 jgabaut
5
6 This program is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, version 3 of the License.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <https://www.gnu.org/licenses/>.
17*/
18#ifndef GAME_ANIMATIONS_H_
19#define GAME_ANIMATIONS_H_
20#include "../animations/knight_tapis.h"
21#include "../animations/mage_spark.h"
22#include "../animations/archer_drop.h"
23#include "../animations/assassin_poof.h"
24
25#include "../animations/mummy_shuffle.h"
26#include "../animations/ghost_spell.h"
27#include "../animations/boar_scream.h"
28#include "../animations/troll_club.h"
29#include "../animations/goblin_shoot.h"
30#include "../animations/zombie_walk.h"
31#include "../animations/imp_fireball.h"
32#include "../animations/werewolf_transform.h"
33
34#include "../animations/crawlingdude_crawl.h"
35#include "../animations/srwarthog_square.h"
36#include "../animations/headlessninja_throw.h"
37#include "../animations/bluetroll_wonder.h"
38
39#include "../animations/enter_door.h"
40#include "../animations/alt_chest_opening.h"
41
42#include "../utils/game_utils.h"
43
44void hlpd_load_fighter_animations(char fighter_sprites[CLASSESMAX+1][MAXFRAMES][MAXROWS][MAXCOLS]);
45void hlpd_load_enemy_animations(char enemy_sprites[ENEMYCLASSESMAX+1][MAXFRAMES][MAXROWS][MAXCOLS]);
46void hlpd_load_boss_animations(char boss_sprites[BOSSCLASSESMAX + 1][MAXFRAMES][MAXROWS][MAXCOLS]);
47void hlpd_load_animations(char fighter_sprites[CLASSESMAX+1][MAXFRAMES][MAXROWS][MAXCOLS], char enemy_sprites[ENEMYCLASSESMAX+1][MAXFRAMES][MAXROWS][MAXCOLS], char boss_sprites[BOSSCLASSESMAX + 1][MAXFRAMES][MAXROWS][MAXCOLS]);
48#endif // GAME_ANIMATIONS_H_
void hlpd_load_animations(char fighter_sprites[CLASSESMAX+1][MAXFRAMES][MAXROWS][MAXCOLS], char enemy_sprites[ENEMYCLASSESMAX+1][MAXFRAMES][MAXROWS][MAXCOLS], char boss_sprites[BOSSCLASSESMAX+1][MAXFRAMES][MAXROWS][MAXCOLS])
Definition game_animations.c:277
void hlpd_load_fighter_animations(char fighter_sprites[CLASSESMAX+1][MAXFRAMES][MAXROWS][MAXCOLS])
Definition game_animations.c:20
void hlpd_load_enemy_animations(char enemy_sprites[ENEMYCLASSESMAX+1][MAXFRAMES][MAXROWS][MAXCOLS])
Definition game_animations.c:95
void hlpd_load_boss_animations(char boss_sprites[BOSSCLASSESMAX+1][MAXFRAMES][MAXROWS][MAXCOLS])
Definition game_animations.c:192
#define CLASSESMAX
Maximum index of fighterClass, so that the size has to add 1 for the 0th index.
Definition game_core.h:594
#define BOSSCLASSESMAX
Maximum index of bossClass, so that the size has to add 1 for the 0th index.
Definition game_core.h:724
#define ENEMYCLASSESMAX
Maximum index of enemyClass, so that the size has to add 1 for the 0th index.
Definition game_core.h:668