mcolonna
d4c0e5faf9
fix: render(): remove black line on top of image
2024-11-18 14:33:48 +01:00
mcolonna
51d20f95d9
fix: add check for 0 or 2+ players on a map
2024-11-18 14:30:56 +01:00
mcolonna
465aacdefe
fix: add check for 0 or 2+ players on a map
2024-11-18 14:27:51 +01:00
mcolonna
e7d5a5ce69
clean code *
...
- add constants for each minimap color
- rename, reorganize and make static minimap functions
- main.c:draw_screen() calls draw_minimap() instead of render().
- clean code and norm
2024-11-18 14:22:11 +01:00
Gregory Robledo
57b099d013
added minimap
2024-11-15 15:39:12 +01:00
mcolonna
96cc9096cd
dev: fix all 42 headers with the good names&emails
2024-11-14 13:32:31 +01:00
mcolonna
e7fc155581
fix: collisions on corners
2024-11-13 21:47:04 +01:00
Zy
f0680246a6
dev: clean TODOs
2024-11-13 19:00:46 +01:00
Zy
a09cf69412
misc: optimize render
2024-11-13 19:00:29 +01:00
mcolonna
6007f27510
fix: render *
...
fix:
- fix texture for each direction (north texture is in north etc)
- fix mirror textures (the left of each texture is at its left)
- fix dimensions (walls are 1x1 for any window dimensions or FOV)
- optimize render()
dev:
- add testmaps/good_directions_test.cub
- add textures/test/*.xpm
2024-11-13 18:59:07 +01:00
mcolonna
184c8a60af
use ceiling and floor colors from the map file
2024-11-07 19:29:58 +01:00
mcolonna
6eb1479fc5
little compilation fix
2024-11-07 19:25:28 +01:00
mcolonna
fd4fb3c93f
some norminette and some cleaning
2024-11-07 19:08:00 +01:00
mcolonna
f22e02bfc1
fix leak by removing mlx_mouse_hide() :(
2024-11-07 18:39:42 +01:00
mcolonna
f77a4446b6
add rotate with mouse
2024-11-07 18:03:38 +01:00
mcolonna
a2a0a91495
fix all leaks
2024-11-07 15:55:54 +01:00
mcolonna
8ad8eb1fbc
handle cross click
2024-11-07 14:27:17 +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