Commit graph

67 commits

Author SHA1 Message Date
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
mcolonna
39158f4890 fix: map parsing manages blank spaces better 2024-10-17 16:04:45 +02:00
mcolonna
3ab5f9cb1d change: fluid movements 2024-10-17 15:09:07 +02:00
mcolonna
20e92ef401 change: moving with hitbox 2024-10-17 14:21:27 +02:00
mcolonna
d7903ec615 fix: moving 2024-10-17 12:29:58 +02:00
ReverseSky
a714e8110d temp 2024-10-17 12:28:34 +02:00
mcolonna
4ea2cf266b Merge branch 'Algo' into _mylan2 2024-10-17 12:11:00 +02:00
mcolonna
571bf80c6e fix: map directions 2024-10-16 18:02:01 +02:00
mcolonna
d1f2136b13 merge map parsing with expose 2024-10-15 18:23:16 +02:00
Gregory Robledo
379f2bce6c added posplayer 2024-10-15 16:37:55 +02:00
Gregory Robledo
78fa8c8967 added spawn direction 2024-10-15 16:35:16 +02:00
mcolonna
f2fe56a092 dev: remove .vscode from .gitignore 2024-10-15 16:08:39 +02:00
mcolonna
800ddb97ce norminette 2024-10-15 16:03:18 +02:00
mcolonna
ba87f4a37c Merge remote-tracking branch 'origin/Algo' into _mylan2 2024-10-15 14:10:31 +02:00
mcolonna
59041e5e6d Merge branch 'Algo' into _mylan2 2024-10-15 14:03:58 +02:00