mcolonna
c8b3a42d13
add: better timedloop (uses FPS) for bonus
2024-11-19 15:36:39 +01:00
mcolonna
08db89f6dc
dev: add TODO
2024-11-19 15:00:16 +01:00
mcolonna
ec6d5931a4
change Makefile
2024-11-19 14:43:43 +01:00
ReverseSky
fc318fc851
modified scaling minimap
2024-11-19 14:08:10 +01:00
mcolonna
54f61ee4b0
dev: norm
2024-11-19 13:33:58 +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
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
02ff526212
dummy merge, now is the ultimate perfect version
2024-11-07 18:41:49 +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
3cd1066b1b
TODO: add everything in 33b3b06..0396180
2024-11-07 01:10:45 +01:00
mcolonna
14828813ea
add to TODO
2024-11-07 01:09:01 +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
ReverseSky
0396180cd8
add mouse movement
2024-11-06 15:21:24 +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
mcolonna
609bd90b54
dev: Makefile: fclean cleans libraries too
2024-10-31 15:43:53 +01:00
mcolonna
b8e2065a90
merge everything
2024-10-31 15:36:01 +01:00
mcolonna
aa8d446a87
add TODO
2024-10-29 18:04:38 +01:00
Gregory Robledo
d193b99c56
fixed leak
2024-10-29 15:31:18 +01:00
Gregory Robledo
33b3b06c07
added cross click
2024-10-29 15:04:36 +01:00
Gregory Robledo
b593057cd5
repush
2024-10-29 14:23:48 +01:00
mcolonna
c46536d78e
clean TODO
2024-10-29 14:19:45 +01:00
mcolonna
b688144a43
create and use get_data_addr()
2024-10-29 14:12:51 +01:00
Gregory Robledo
8e650871e7
norme
2024-10-29 13:52:11 +01:00
Gregory Robledo
50c4e56303
removed g_ray and g_tex
2024-10-22 15:59:58 +02:00
ReverseSky
ff7ba8760d
textures fixed
2024-10-18 02:03:07 +02:00
Gregory Robledo
fab7758283
manque render mur pas fixe
2024-10-17 18:04:40 +02:00
mcolonna
aaf2b0adc8
fix: map parsing error
2024-10-17 17:59:41 +02:00
mcolonna
88c3d128fd
fix: leak screen image buffer
2024-10-17 17:44:39 +02:00
Gregory Robledo
dee20e3897
mini correction
2024-10-17 17:06:31 +02:00
mcolonna
e74045d318
fix: leak
2024-10-17 16:59:35 +02:00
mcolonna
d7ff717f35
Merge remote-tracking branch 'origin/_mylan2' into dev
2024-10-17 16:39:57 +02:00
Gregory Robledo
bc2d42d941
add texture
2024-10-17 16:32:01 +02:00
mcolonna
fa7e448c70
norm
2024-10-17 16:10:54 +02:00