mirror of
https://codeberg.org/ACME-Corporation/cub3d.git
synced 2025-12-06 09:58:09 +01:00
feat: added door in the game (can't open right now)
This commit is contained in:
parent
94f018d23b
commit
ebd4b282cf
7 changed files with 272 additions and 9 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/07/17 14:18:13 by kcolin #+# #+# */
|
||||
/* Updated: 2025/09/22 17:16:41 by tchampio ### ########.fr */
|
||||
/* Updated: 2025/09/30 17:23:06 by tchampio ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -21,11 +21,13 @@
|
|||
* J - Juggernog perk
|
||||
* D - Double tap perk
|
||||
* 2345678 - barricade and it's levels starting from 2 (every planks) to 8
|
||||
* beware of zombies
|
||||
* z - beware of zombies
|
||||
* d - closed door
|
||||
* i - open dooro
|
||||
*/
|
||||
bool has_forbidden_characters(char *line)
|
||||
{
|
||||
static const char *allowedchars = " 10234567NSEWMQJDz\n";
|
||||
static const char *allowedchars = " 10234567NSEWMQJDzdi\n";
|
||||
size_t strsize;
|
||||
int i;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue