Commit graph

12 commits

Author SHA1 Message Date
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
6cee6643e4 fix: Fixed memory leak for shooting texture 2025-09-16 16:09:20 +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
27af850525 norme: Fixed norme errors 2025-09-15 13:11:59 +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
f407f5b7ce fix: fixed textures leaks 2025-09-08 17:11:58 +02:00
92770f44f8 fix: segfault & leak with missing sprite image 2025-08-18 13:18:12 +02:00
Theo Champion
09ff569a31 feat: made sprites be placed in map file 2025-08-12 15:41:42 +02:00
Theo Champion
2eb1d635d4 norme: Fixed little norm error 2025-08-12 14:49:11 +02:00
Theo Champion
f1697a6c73 dev: Improved memory management of sprites 2025-08-12 14:49:11 +02:00