helapordo 1.4.12
Loading...
Searching...
No Matches
sprites.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
19#ifndef SPRITES_H
20#define SPRITES_H
21
22#include "game_core.h"
23
24extern char bosses_sprites[BOSSCLASSESMAX + 1][9][15];
25extern char consumables_sprites[CONSUMABLESMAX + 1][9][14];
26extern char equips_sprites[EQUIPSMAX + 1][9][15];
27extern char equipzones_sprites[EQUIPZONES + 1][9][15];
28extern char artifacts_sprites[ARTIFACTSMAX + 1][9][15];
29extern char enemies_sprites[ENEMYCLASSESMAX + 1][9][15];
30
31#define MISC_SPRITES_MAX 1
32extern char misc_sprites[MISC_SPRITES_MAX + 1][9][15];
33
34#endif
#define CONSUMABLESMAX
Maximum index of consumableClass, so that the size has to add 1 for the 0th index.
Definition game_core.h:482
#define ARTIFACTSMAX
Maximum index of artifactClass, so that the size has to add 1 for the 0th index.
Definition game_core.h:531
#define BOSSCLASSESMAX
Maximum index of bossClass, so that the size has to add 1 for the 0th index.
Definition game_core.h:724
#define EQUIPZONES
Maximum index of Equipzone, so that the size has to add 1 for the 0th index.
Definition game_core.h:939
#define EQUIPSMAX
Maximum index of equipClass, so that the size has to add 1 for the 0th index.
Definition game_core.h:1371
#define ENEMYCLASSESMAX
Maximum index of enemyClass, so that the size has to add 1 for the 0th index.
Definition game_core.h:668
char enemies_sprites[ENEMYCLASSESMAX+1][9][15]
Definition sprites.c:335
char artifacts_sprites[ARTIFACTSMAX+1][9][15]
Definition sprites.c:254
char equips_sprites[EQUIPSMAX+1][9][15]
Definition sprites.c:148
char consumables_sprites[CONSUMABLESMAX+1][9][14]
Definition sprites.c:79
char equipzones_sprites[EQUIPZONES+1][9][15]
Definition sprites.c:218
char misc_sprites[MISC_SPRITES_MAX+1][9][15]
Definition sprites.c:426
#define MISC_SPRITES_MAX
Definition sprites.h:31
char bosses_sprites[BOSSCLASSESMAX+1][9][15]
Definition sprites.c:20