mirror of
https://codeberg.org/ACME-Corporation/cub3d.git
synced 2025-12-06 09:58:09 +01:00
feat: Added new wall type (barricades)
This commit is contained in:
parent
d295c77360
commit
35b83e4ff7
6 changed files with 17 additions and 10 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue