feat: Added new wall type (barricades)

This commit is contained in:
Theo Champion 2025-09-09 10:17:28 +02:00
parent d295c77360
commit 35b83e4ff7
6 changed files with 17 additions and 10 deletions

View file

@ -6,7 +6,7 @@
/* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/07/17 14:18:13 by kcolin #+# #+# */
/* Updated: 2025/08/18 13:46:15 by kcolin ### ########.fr */
/* Updated: 2025/09/08 17:51:38 by tchampio ### ########.fr */
/* */
/* ************************************************************************** */
@ -20,10 +20,12 @@
* Q - Quick Revive perk
* J - Juggernog perk
* D - Double tap perk
* 2345678 - barricade and it's levels starting from 2 (every planks) to 8
* beware of zombies
*/
bool has_forbidden_characters(char *line)
{
static const char *allowedchars = " 10NSEWMQJDz\n";
static const char *allowedchars = " 102345678NSEWMQJDz\n";
size_t strsize;
int i;