Commit graph

13 commits

Author SHA1 Message Date
mcolonna
c8b3a42d13 add: better timedloop (uses FPS) for bonus 2024-11-19 15:36:39 +01:00
ReverseSky
fc318fc851 modified scaling minimap 2024-11-19 14:08:10 +01:00
mcolonna
7684e02cc5 change: minimap: change player color to blue 2024-11-19 13:31:46 +01:00
mcolonna
2ec9ce4f8e change: minimap: pretty player with fov 2024-11-19 13:30:01 +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
Zy
f0680246a6 dev: clean TODOs 2024-11-13 19:00:46 +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
f77a4446b6 add rotate with mouse 2024-11-07 18:03:38 +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