Commit Graph

157 Commits

Author SHA1 Message Date
Quinten Mennen
7dbf9657ad fix attack damage 2025-06-11 20:35:30 +02:00
Quinten Mennen
300b867ef7 battery fun 2025-06-11 20:24:32 +02:00
Quinten Mennen
280d1ac498 fix frag shader 2025-06-11 19:17:43 +02:00
whaffman
38e7d27b2e Merge remote-tracking branch 'origin/master' into willem 2025-06-11 18:16:59 +02:00
whaffman
71b6e2c877 Remove unused audio files and update audio handling in the project 2025-06-11 18:16:41 +02:00
Quinten Mennen
e3e7bbefdc Fix fisheye distortion calculations and update mask parameter in fragment shader 2025-06-11 18:00:40 +02:00
Quinten Mennen
55f5b32b93 Refactor shader code to replace 'u_time' with 'GameTime' and remove unused 'u_bobtime' uniform 2025-06-11 17:49:51 +02:00
Quinten Mennen
939866b7ce Update launch configuration, enhance shader functionality, and modify game mechanics 2025-06-11 17:46:33 +02:00
Quinten Mennen
c784b5e5f7 Refactor game_manager_destroy function to accept a generic parameter 2025-06-11 15:02:50 +02:00
Quinten Mennen
7f50960bf7 I don't want to parse the scoreboard 2025-06-11 14:55:33 +02:00
Quinten Mennen
a9897368b0 Update file header timestamp and remove unnecessary blank line in menu_free function 2025-06-11 14:55:06 +02:00
Quinten Mennen
a7fd88b60b mlx_delete_image is not necessary 2025-06-11 14:54:24 +02:00
whaffman
aa9b1c30de Add new map file 'large.cub' with asset references and layout data 2025-06-10 21:40:59 +02:00
whaffman
eebd39fcba Adjust scoreboard text positioning 2025-06-10 21:40:48 +02:00
whaffman
d337a5bd1a Update error messages for map validation and config handling; improve code clarity 2025-06-10 20:45:07 +02:00
whaffman
e023ba20b6 Refactor memory management in game_free and game_manager_destroy; 2025-06-10 20:24:26 +02:00
whaffman
b965b9e5f5 Add battery management constants and update related calculations 2025-06-10 19:39:52 +02:00
whaffman
c87ff10b57 Refactor header files for consistency and clarity; update function signatures in parser.h and player.h 2025-06-10 19:33:05 +02:00
whaffman
555f2dc00c Refactor game and parser files for improved memory management and code clarity, and Error if D is used but texture not set 2025-06-10 19:32:55 +02:00
Willem Haffmans
2c37d62475 MAke file : WEXTRA 2025-06-10 16:35:37 +02:00
Willem Haffmans
9f40ab82ad Merge remote-tracking branch 'origin/quinten' into willem 2025-06-10 16:21:13 +02:00
Willem Haffmans
06cd5260b2 update subproject commit reference in libft 2025-06-10 16:19:43 +02:00
Quinten
0eb918e40b Add count_sprites function declaration to parser.h 2025-06-10 15:51:02 +02:00
Quinten
3c4b3803c9 Norm work:
Refactor code for improved readability and maintainability, including function signature updates, new utility functions for score handling, and removal of unused error handling code.
2025-06-10 15:48:59 +02:00
Quinten
62f20996d0 Refactor code to improve consistency and readability by changing variable types to unsigned int where appropriate, updating shader initialization function signature, and adjusting function calls accordingly. Update comments and versioning in multiple files for clarity and maintenance. 2025-06-10 14:46:38 +02:00
Quinten Mennen
22e67c1ff4 norm work 2025-06-05 19:46:15 +02:00
whaffman
e8bb6803d0 update end screen asset 2025-06-05 18:03:09 +02:00
whaffman
bf8a9a790a adjust end screen score display positions for better layout 2025-06-05 18:02:17 +02:00
whaffman
a848815c49 Merge remote-tracking branch 'origin/quinten' into willem 2025-06-05 17:36:21 +02:00
whaffman
458bb3f641 update end screen assets 2025-06-05 17:36:08 +02:00
Quinten Mennen
09b9237927 play time stat 2025-06-05 17:13:40 +02:00
whaffman
d2a12a548c end screen 2025-06-05 16:54:05 +02:00
Quinten Mennen
50c0da1f78 did some reorganization and added a map 2025-06-04 21:49:56 +02:00
Quinten Mennen
19204122d7 we need the door sprite though 2025-06-04 19:47:40 +02:00
Quinten Mennen
505bd42bb3 testing 2025-06-04 19:41:29 +02:00
Quinten Mennen
ff649d01cc a lot of doors are opening rn 2025-06-04 18:43:28 +02:00
whaffman
483dca8711 audio assets and scratch and mouse 2025-06-04 17:51:45 +02:00
Quinten Mennen
849d5c2cf7 so it's a game now 2025-06-03 22:22:04 +02:00
Quinten Mennen
df57505ad3 reorganization and red flash 2025-06-03 15:52:24 +02:00
Quinten Mennen
c05d73f3a5 reorganization and red flash 2025-06-03 15:51:50 +02:00
Quinten Mennen
27550d497d merge 2025-06-03 14:59:06 +02:00
whaffman
6231545044 NORM 2025-06-03 14:54:24 +02:00
whaffman
09fa9aa66f invalid test maps OK! 2025-05-29 13:08:04 +02:00
whaffman
c40c3bb9d6 no segfault by not enclosed map etc 2025-05-29 12:07:23 +02:00
whaffman
d8b93222c0 enemy collisions 2025-05-29 11:47:51 +02:00
Willem Haffmans
d8bef01b32 FLASH 2025-05-29 09:53:10 +02:00
Willem Haffmans
fb1e7979d9 enemies on config 2025-05-28 23:00:35 +02:00
Willem Haffmans
ede0cd6f68 Merge remote-tracking branch 'origin/quinten' into willem 2025-05-28 18:49:42 +02:00
Quinten Mennen
b6edfa9f22 mushroooom 2025-05-28 17:50:50 +02:00
Quinten Mennen
4d623fd7a0 long creepy hallway 2025-05-28 17:49:16 +02:00