Skip to content

Commit

Permalink
Sprite dimensions to dsekai config.
Browse files Browse the repository at this point in the history
  • Loading branch information
indigoparadox committed Jul 30, 2021
1 parent a8f2a9b commit 846669f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions src/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@
#ifndef DSEKAI_CONFIG_H
#define DSEKAI_CONFIG_H

#define SPRITE_H 16
#define SPRITE_W 16
#define PATTERN_W 16
#define PATTERN_H 16

#ifndef MOBILES_MAX
#define MOBILES_MAX 20
#endif /* !MOBILES_MAX */

#ifndef ITEMS_MAX
#define ITEMS_MAX 200
#endif /* !ITEMS_MAX */

#ifndef ITEM_INVENTORY_MAX
#define ITEM_INVENTORY_MAX 20
#endif /* !ITEM_INVENTORY_MAX */

#define SCREEN_MAP_W (SCREEN_W)
#define SCREEN_MAP_H (160 - 32)

Expand Down
2 changes: 1 addition & 1 deletion unilayer
Submodule unilayer updated 3 files
+0 −16 config.h
+12 −1 graphics/palmg.c
+2 −1 platform.h

0 comments on commit 846669f

Please sign in to comment.