Commit graph

254 commits

Author SHA1 Message Date
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
Theo Champion
5da3583077 dev: added new makefile rule for compiling with sanitizers 2025-09-14 17:43:46 +02:00
Theo Champion
c7c71690e2 dev: Added raycasting rule for zombies 2025-09-14 17:43:20 +02:00
Theo Champion
d7781f44d2 feat: Added shooting event 2025-09-14 17:42:48 +02:00
Theo Champion
b0ac26a7f6 wip: Adding weapon class and usage 2025-09-11 23:41:00 +02:00
Theo Champion
87c0a8a991 fix: fixed texture leakage 2025-09-10 15:19:30 +02:00
Theo Champion
ecb99e4840 norme: fixed a line that was too long 2025-09-10 15:03:55 +02:00
Theo Champion
5591ebd937 feat(barricades): added multiple textures for the barricades 2025-09-10 15:02:54 +02:00
Theo Champion
40e71b4616 norme: fixed norme issues 2025-09-09 14:17:08 +02:00
Theo Champion
7852962d56 feat: finished barricades 2025-09-09 14:09:20 +02:00
Theo Champion
9274a11c70 feat: "Added" zombie spawning from barricades 2025-09-09 13:20:50 +02:00
Theo Champion
35b83e4ff7 feat: Added new wall type (barricades) 2025-09-09 10:17:28 +02:00
Theo Champion
d295c77360 chore: Added barricade texture (temporary) 2025-09-09 10:17:04 +02:00
Theo Champion
88157d091e chore: New map added to test barricades 2025-09-09 10:16:28 +02:00
Theo Champion
a0f20b396c norme: fixed norme issues 2025-09-08 17:34:35 +02:00
Theo Champion
f407f5b7ce fix: fixed textures leaks 2025-09-08 17:11:58 +02:00
Theo Champion
80150ce24d removal(minimap): Removed zombie tile 2025-09-08 13:59:35 +02:00
Theo Champion
baccf93ac3 fix: changed ifs to else ifs for the perk hud code 2025-09-08 13:58:03 +02:00
Theo Champion
416b7a833d Added weapon hud 2025-09-08 10:36:52 +02:00
Theo Champion
fe665eaa4e fix: changed box texture 2025-09-05 20:06:25 +02:00
Theo Champion
f80eb125f5 feat: Added the round counter on the hud 2025-09-03 18:39:30 +02:00
Theo Champion
82d7941e81 feat: Added a little 'cheat' for the points 2025-09-03 16:41:51 +02:00
Theo Champion
c4e5ff619a fix: Initialized textures and perk orders to none for the player 2025-09-03 16:41:32 +02:00
Theo Champion
8d229e9c2b norme: Fixed norme error 2025-09-03 16:39:12 +02:00
Theo Champion
77a532a223 feat: Added perk logos to the left of the HUD 2025-09-03 16:38:38 +02:00
Theo Champion
cd7d0ddcfc fix: Fixed position of points 2025-09-03 16:37:28 +02:00
Theo Champion
647c8a5e48 dev: Added some ressources
- Added a new map to test the number of zombies
- Added temp textures for the perk logos
2025-09-03 16:34:24 +02:00
Theo Champion
b2ec8d079c dev(points): Reverted old base value for points 2025-09-01 15:43:30 +02:00
Theo Champion
8ecc7d3849 dev: changed the base point value of the player for debugging 2025-08-20 17:10:13 +02:00
Theo Champion
761d126ba2 feat(points): Finished point counter on the right of the screen
Some things are temporary, like the load single image function that
still has comments. I'll make a function like this to restore the
original code (almost). I'll also pass the pathes as constants for the
sake of maintainabilty and try to avoid some of the magic values in the
code for the same purpose.
2025-08-20 17:09:56 +02:00