Skip to content

Latest commit

 

History

History
35 lines (31 loc) · 1.11 KB

README.md

File metadata and controls

35 lines (31 loc) · 1.11 KB

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