helapordo 1.4.14
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 consumables_sprites_proper[CONSUMABLESMAX + 1][9][MAXCOLS];
27extern char equips_sprites[EQUIPSMAX + 1][9][15];
28extern char equips_sprites_proper[EQUIPSMAX + 1][9][MAXCOLS];
29extern char equipzones_sprites[EQUIPZONES + 1][9][15];
30extern char equipzones_sprites_proper[EQUIPZONES + 1][9][MAXCOLS];
31extern char artifacts_sprites[ARTIFACTSMAX + 1][9][15];
32extern char enemies_sprites[ENEMYCLASSESMAX + 1][9][15];
33
34#define MISC_SPRITES_MAX 1
35extern char misc_sprites[MISC_SPRITES_MAX + 1][9][15];
36
37#endif
#define CONSUMABLESMAX
Maximum index of consumableClass, so that the size has to add 1 for the 0th index.
Definition game_core.h:490
#define ARTIFACTSMAX
Maximum index of artifactClass, so that the size has to add 1 for the 0th index.
Definition game_core.h:539
#define BOSSCLASSESMAX
Maximum index of bossClass, so that the size has to add 1 for the 0th index.
Definition game_core.h:732
#define EQUIPZONES
Maximum index of Equipzone, so that the size has to add 1 for the 0th index.
Definition game_core.h:947
#define EQUIPSMAX
Maximum index of equipClass, so that the size has to add 1 for the 0th index.
Definition game_core.h:1379
#define ENEMYCLASSESMAX
Maximum index of enemyClass, so that the size has to add 1 for the 0th index.
Definition game_core.h:676
char enemies_sprites[ENEMYCLASSESMAX+1][9][15]
Definition sprites.c:510
char artifacts_sprites[ARTIFACTSMAX+1][9][15]
Definition sprites.c:429
char equips_sprites[EQUIPSMAX+1][9][15]
Definition sprites.c:217
char equips_sprites_proper[EQUIPSMAX+1][9][MAXCOLS]
Definition sprites.c:287
char consumables_sprites_proper[CONSUMABLESMAX+1][9][MAXCOLS]
Definition sprites.c:148
char equipzones_sprites_proper[EQUIPZONES+1][9][MAXCOLS]
Definition sprites.c:393
char consumables_sprites[CONSUMABLESMAX+1][9][14]
Definition sprites.c:79
char equipzones_sprites[EQUIPZONES+1][9][15]
Definition sprites.c:357
char misc_sprites[MISC_SPRITES_MAX+1][9][15]
Definition sprites.c:601
char bosses_sprites[BOSSCLASSESMAX+1][9][15]
Definition sprites.c:20
#define MISC_SPRITES_MAX
Definition sprites.h:34