Newlines in map work as long as they don't trigger floodfill #2

Closed
opened 2024-10-17 11:59:20 +00:00 by casper · 1 comment
Owner
No description provided.
Author
Owner

Since newlines are already skipped at the start of the map, the only newlines we need to accept are at the end of the map. We should track whether we've encountered a newline, and from that moment on, any content will cause the map parser to error out.

Since newlines are already skipped at the start of the map, the only newlines we need to accept are at the end of the map. We should track whether we've encountered a newline, and from that moment on, any content will cause the map parser to error out.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: miniRT/cub3D#2
No description provided.