change: map chars for collectibles K -> C
This commit is contained in:
parent
81a6f3409b
commit
35c3689841
3 changed files with 5 additions and 11 deletions
|
@ -2,12 +2,6 @@
|
|||
- Show moves on the screen
|
||||
- Change sprites for top and bottom borders
|
||||
- ESC to quit (what's the point)
|
||||
- Map chars:
|
||||
- 0 empty
|
||||
- 1 wall
|
||||
- C collectible
|
||||
- E exit
|
||||
- P snas start position
|
||||
- Map conditions
|
||||
- 1 exit
|
||||
- 1+ collectibles
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
1111111111111
|
||||
1000000000001
|
||||
10K0000000001
|
||||
10C0000000001
|
||||
1000011111001
|
||||
100001P0000K1
|
||||
1KKK111111111
|
||||
100001P0000C1
|
||||
1CCC111111111
|
||||
10000000000E1
|
||||
1111111111111
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
/* By: mcolonna <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/03/13 16:26:28 by mcolonna #+# #+# */
|
||||
/* Updated: 2024/04/08 15:07:16 by mcolonna ### ########.fr */
|
||||
/* Updated: 2024/04/08 16:21:01 by mcolonna ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
@ -17,7 +17,7 @@ static t_roomcase g_roomcases[] = {
|
|||
{c: '0', object: NULL},
|
||||
{c: '1', object: wall_init},
|
||||
{c: 'P', object: snas_init},
|
||||
{c: 'K', object: ketchup_init},
|
||||
{c: 'C', object: ketchup_init},
|
||||
{c: 'E', object: exit_init},
|
||||
{c: '\0'}
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue