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.
 
 
nicolas-arnaud e85688a038 added mlx_mac 2 years ago
includes exit when X ask to close window 2 years ago
maps tests maps and cleanup map_array 2 years ago
mlx_mac added mlx_mac 2 years ago
src tests maps and cleanup map_array 2 years ago
textures let's finish 2 years ago
.gitignore added mlx_mac 2 years ago
LICENSE Initial commit 3 years ago
Makefile added mlx_mac 2 years ago
README.md update 2 years ago

README.md

CUBE3D

Subject

Resources :

Issues:

  • 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)

TODO:

Parsing

  • read file,
  • extract walls textures,
  • extract sky and ceil colors
  • import map into chained list,
  • comvert list to 2D array.
  • save player pos,
  • handle errors,
    • not closed map
    • texture files not exist, not permited or with wrong extension
    • impossible color used
    • [-] missing map

Quit

  • clean and exit