Commit graph

7 commits

Author SHA1 Message Date
mcolonna
424b9aa7b2 fixings and improvements
dev:
- add documentation
- main() is more readable

fix:
- unmanaged errors:
  - map parsing: error if color value is >255
  - map parsing: load_textures(): check return value of xml_xpm_file_to_image()
  - main.c: draw_screen(): check return value of mlx_new_image()

other details:
- dev: color_from_rgb(): change signature
- fix: nullize map in map_destroy
- change: change error message for read_all_text() errors
- change: change rotation speed
- change: add and use contant NOOBONUS_SPEED
2024-11-21 15:25:36 +01:00
mcolonna
465aacdefe fix: add check for 0 or 2+ players on a map 2024-11-18 14:27:51 +01:00
mcolonna
96cc9096cd dev: fix all 42 headers with the good names&emails 2024-11-14 13:32:31 +01:00
mcolonna
fd4fb3c93f some norminette and some cleaning 2024-11-07 19:08:00 +01:00
mcolonna
26621c72c6 docs, clean, several things... *
- add docs
- remove unused things
- redo modifications i accidentally erased from spacetime
2024-11-07 01:03:05 +01:00
mcolonna
47a6b6df35 reorganize file content 2024-10-31 18:04:34 +01:00
mcolonna
878de1098b reorganize all files (only renamings) 2024-10-31 16:06:33 +01:00
Renamed from map_utils1.c (Browse further)