You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.1 KiB

CUBE3D
===
3 years ago
[Subject](https://cdn.intra.42.fr/pdf/pdf/48490/fr.subject.pdf)
## Resources :
- [Walls textures](https://opengameart.org/art-search-advanced?field_art_tags_tid=wall)
- [Convert to xpm](https://convertio.co/)
- [Debug maps (Outdated?)](https://github.com/nsterk/cub3D/tree/main/maps)
- [Tester & maps](https://github.com/MichelleJiam/cub3D_tester)
## Issues:
3 years ago
- report invalid mapfile:
- wrong extension,
- unacessible file (wrong permission, directory, missin name)
- invalid color : Ci > 255, Ci < 0, i > 4
- invalid texture (wrong permission, missing wall orientation texture, missing used block texture (warning + use default unknow texture))
- empty line in map description,
- unauthorized character in map description (!isdigt)
2 years ago
## TODO:
### Parsing
- [x] read file,
- [x] extract walls textures,
- [x] extract sky and ceil colors
- [x] import map into chained list,
- [x] comvert list to 2D array.
- [x] save player pos,
- [ ] handle errors,
- [x] not closed map
2 years ago
- [x] texture files not exist, not permited or with wrong extension
- [x] impossible color used
- [-] missing map
### Quit
- [ ] clean and exit