Commit graph

283 commits

Author SHA1 Message Date
Theo Champion
ae66d62f75 fix: Fixed bad binary name 2025-10-08 13:15:17 +02:00
Theo Champion
5d1f915a77 chore: Moved maps and deleted some 2025-10-08 13:14:58 +02:00
Theo Champion
d78e358b82 fix: Fixed makefile not building mlx 2025-10-08 12:54:20 +02:00
Theo Champion
4a513e9877 fix: Fix crash when no map 2025-10-07 13:49:55 +02:00
Theo Champion
cf3801702d fix: Made crosshair bigger 2025-10-07 13:41:19 +02:00
Theo Champion
0e99c6da49 feat: Made a the box usable 2025-10-07 12:51:54 +02:00
Theo Champion
6158618d36 fix: Reverted base weapon to the base gun 2025-10-07 12:51:38 +02:00
Theo Champion
3a1ee2fb3d chore: Changed gitignore content to comply with the new binary name 2025-10-06 17:04:00 +02:00
Theo Champion
45734fd4e7 feat: Added perks in nacht.cub 2025-10-06 17:03:01 +02:00
Theo Champion
395c7c0444 fix: Removed png file 2025-10-06 16:42:05 +02:00
Theo Champion
72512aac53 debug: Added valgrindrc 2025-10-06 16:41:16 +02:00
Theo Champion
935d3d725d fix: Fixed executable name 2025-10-06 16:40:59 +02:00
Theo Champion
8ff26bb531 map: Finished Nacht der Untoten (and renamed file to remove typo) 2025-10-04 00:10:41 +02:00
Theo Champion
3d5372ed2e fix(map checker): Fixed remains of old checking 2025-10-04 00:09:29 +02:00
Theo Champion
e457cc5860 visual: Changed zombie texture for an actual zombie 2025-10-04 00:08:40 +02:00
Theo Champion
0c04f696b4 fix: Fixed map initialization 2025-10-03 23:25:50 +02:00
Theo Champion
86e16c46e4 wip: new map 2025-10-03 23:02:18 +02:00
Theo Champion
3673b58106 chore: Added controls part in README 2025-10-03 20:43:39 +02:00
Theo Champion
79e94190c1 fix: Fixed crash when invalid texture 2025-10-03 19:51:23 +02:00
Theo Champion
efe33ec6c5 fix: Fixed door closing and stucking player if on the same tile 2025-10-03 19:31:05 +02:00
Theo Champion
437b76a68c fix: Reverted the not enough points message 2025-10-03 19:15:10 +02:00
Theo Champion
3987a1dec1 feat: Added perk buy 2025-10-03 19:05:21 +02:00
Theo Champion
55643a3d59 norme: Fixed norme issue for the sprite interaction 2025-10-03 18:24:15 +02:00
Theo Champion
f325eb3dbf norme: fixed norme issues 2025-10-02 00:12:16 +02:00
Theo Champion
94fd8779e2 feat: finished payed doors 2025-10-01 17:40:20 +02:00
Theo Champion
5cc6988c9c chore: changed door for a payed door 2025-10-01 17:39:50 +02:00
Theo Champion
351e4bb679 feat: Made payable doors 2025-10-01 14:13:20 +02:00
Theo Champion
13b1f7a88c fix: Fixed memory leak for the door texture 2025-10-01 13:58:19 +02:00
Theo Champion
47ffb17047 feat: Made doors opening and closing 2025-10-01 13:53:02 +02:00
Theo Champion
b606159ac3 wip: adding door interaction 2025-10-01 00:30:08 +02:00
Theo Champion
ebd4b282cf feat: added door in the game (can't open right now) 2025-09-30 17:50:49 +02:00
Theo Champion
94f018d23b chore: Changed quick revive texture 2025-09-22 17:46:10 +02:00
Theo Champion
d34d4404e0 fix: Decreased the number of barricades 2025-09-22 17:22:02 +02:00
Theo Champion
c146fc1731 chore: Changed various things about textures
- removed png files
- changed barricades textures
2025-09-22 17:20:10 +02:00
Theo Champion
49e36b7343 fix: Fixed makefile missing a file 2025-09-18 14:25:20 +02:00
Theo Champion
43f1ab6090 norme: Fixed norme issues 2025-09-18 12:52:18 +02:00
Theo Champion
82664c5d13 fix: replaced magic values for their variables counterparts 2025-09-18 12:30:41 +02:00
Theo Champion
66c3bda4df dev: Added a registry for weapons
The registry is for storing weapons structs as they are closer to actual
objects than simple data.
2025-09-18 12:25:10 +02:00
Theo Champion
4048f5d1e3 dev: allocated weapon on the heap 2025-09-17 16:59:32 +02:00
Theo Champion
0b00f5608c feat: Added a cheat for ammos 2025-09-17 16:46:47 +02:00
Theo Champion
c339bb7334 fix: Fixed a bug preventing auto shoot 2025-09-17 16:05:41 +02:00
Theo Champion
784962c79d feat: Added a cooldown for auto weapons 2025-09-17 12:52:30 +02:00
Theo Champion
6cee6643e4 fix: Fixed memory leak for shooting texture 2025-09-16 16:09:20 +02:00
Theo Champion
ee56e2fdbd feat: added clips for the weapon 2025-09-16 16:07:41 +02:00
Theo Champion
c3cb34c3bb enhancement: Added a nuzzle flash for the gun 2025-09-16 15:59:07 +02:00
Theo Champion
b94e722ab9 feat: Added an aiming point in the hud 2025-09-16 14:19:28 +02:00
Theo Champion
37bb56733e feat: Made zombies killable
Code is almost normed I will make a function to handle sprites
interractions
2025-09-15 15:46:06 +02:00
Theo Champion
46b40540dc fix: Added a currently aimed zombie pointer to the player struct and improved zombie checker function 2025-09-15 14:14:50 +02:00
Theo Champion
50164e94bb dev: Added zombie_checker.c in the makefile 2025-09-15 14:14:02 +02:00
Theo Champion
27af850525 norme: Fixed norme errors 2025-09-15 13:11:59 +02:00