Commit graph

  • 6957e84334 fix: Fixed undefined behaviors master Theo Champion 2025-10-08 13:15:32 +02:00
  • ae66d62f75 fix: Fixed bad binary name Theo Champion 2025-10-08 13:15:17 +02:00
  • 5d1f915a77 chore: Moved maps and deleted some Theo Champion 2025-10-08 13:14:58 +02:00
  • d78e358b82 fix: Fixed makefile not building mlx Theo Champion 2025-10-08 12:54:20 +02:00
  • 4a513e9877 fix: Fix crash when no map Theo Champion 2025-10-07 13:48:56 +02:00
  • cf3801702d fix: Made crosshair bigger Theo Champion 2025-10-07 13:41:19 +02:00
  • 0e99c6da49 feat: Made a the box usable Theo Champion 2025-10-07 12:51:54 +02:00
  • 6158618d36 fix: Reverted base weapon to the base gun Theo Champion 2025-10-07 12:51:38 +02:00
  • 3a1ee2fb3d chore: Changed gitignore content to comply with the new binary name Theo Champion 2025-10-06 17:04:00 +02:00
  • 45734fd4e7 feat: Added perks in nacht.cub Theo Champion 2025-10-06 17:03:01 +02:00
  • 395c7c0444 fix: Removed png file Theo Champion 2025-10-06 16:42:05 +02:00
  • 72512aac53 debug: Added valgrindrc Theo Champion 2025-10-06 16:41:16 +02:00
  • 935d3d725d fix: Fixed executable name Theo Champion 2025-10-06 16:40:59 +02:00
  • 8ff26bb531 map: Finished Nacht der Untoten (and renamed file to remove typo) Theo Champion 2025-10-04 00:10:41 +02:00
  • 3d5372ed2e fix(map checker): Fixed remains of old checking Theo Champion 2025-10-04 00:09:29 +02:00
  • e457cc5860 visual: Changed zombie texture for an actual zombie Theo Champion 2025-10-04 00:08:40 +02:00
  • 0c04f696b4 fix: Fixed map initialization Theo Champion 2025-10-03 23:25:50 +02:00
  • 86e16c46e4 wip: new map Theo Champion 2025-10-03 23:02:18 +02:00
  • 3673b58106 chore: Added controls part in README Theo Champion 2025-10-03 20:43:32 +02:00
  • 79e94190c1 fix: Fixed crash when invalid texture Theo Champion 2025-10-03 19:51:23 +02:00
  • efe33ec6c5 fix: Fixed door closing and stucking player if on the same tile Theo Champion 2025-10-03 19:31:05 +02:00
  • 437b76a68c fix: Reverted the not enough points message Theo Champion 2025-10-03 19:15:10 +02:00
  • 3987a1dec1 feat: Added perk buy Theo Champion 2025-10-03 19:05:21 +02:00
  • 55643a3d59 norme: Fixed norme issue for the sprite interaction Theo Champion 2025-10-03 18:21:48 +02:00
  • f325eb3dbf norme: fixed norme issues Theo Champion 2025-10-02 00:12:16 +02:00
  • 94fd8779e2 feat: finished payed doors Theo Champion 2025-10-01 17:40:07 +02:00
  • 5cc6988c9c chore: changed door for a payed door Theo Champion 2025-10-01 17:39:50 +02:00
  • 351e4bb679 feat: Made payable doors Theo Champion 2025-10-01 14:13:08 +02:00
  • 13b1f7a88c fix: Fixed memory leak for the door texture Theo Champion 2025-10-01 13:58:19 +02:00
  • 47ffb17047 feat: Made doors opening and closing Theo Champion 2025-10-01 13:53:02 +02:00
  • b606159ac3 wip: adding door interaction Theo Champion 2025-10-01 00:30:08 +02:00
  • ebd4b282cf feat: added door in the game (can't open right now) Theo Champion 2025-09-30 17:50:49 +02:00
  • 94f018d23b chore: Changed quick revive texture Theo Champion 2025-09-22 17:46:10 +02:00
  • d34d4404e0 fix: Decreased the number of barricades Theo Champion 2025-09-22 17:22:02 +02:00
  • c146fc1731 chore: Changed various things about textures Theo Champion 2025-09-22 17:20:10 +02:00
  • 49e36b7343 fix: Fixed makefile missing a file Theo Champion 2025-09-18 14:25:20 +02:00
  • 43f1ab6090 norme: Fixed norme issues Theo Champion 2025-09-18 12:52:18 +02:00
  • 82664c5d13 fix: replaced magic values for their variables counterparts Theo Champion 2025-09-18 12:30:41 +02:00
  • 66c3bda4df dev: Added a registry for weapons Theo Champion 2025-09-18 12:10:25 +02:00
  • 4048f5d1e3 dev: allocated weapon on the heap Theo Champion 2025-09-17 16:59:32 +02:00
  • 0b00f5608c feat: Added a cheat for ammos Theo Champion 2025-09-17 16:46:47 +02:00
  • c339bb7334 fix: Fixed a bug preventing auto shoot Theo Champion 2025-09-17 16:05:41 +02:00
  • 784962c79d feat: Added a cooldown for auto weapons Theo Champion 2025-09-17 12:52:30 +02:00
  • 6cee6643e4 fix: Fixed memory leak for shooting texture Theo Champion 2025-09-16 16:09:20 +02:00
  • ee56e2fdbd feat: added clips for the weapon Theo Champion 2025-09-16 16:07:41 +02:00
  • c3cb34c3bb enhancement: Added a nuzzle flash for the gun Theo Champion 2025-09-16 15:59:07 +02:00
  • b94e722ab9 feat: Added an aiming point in the hud Theo Champion 2025-09-16 14:19:28 +02:00
  • 37bb56733e feat: Made zombies killable Theo Champion 2025-09-15 15:46:06 +02:00
  • 46b40540dc fix: Added a currently aimed zombie pointer to the player struct and improved zombie checker function Theo Champion 2025-09-15 14:14:50 +02:00
  • 50164e94bb dev: Added zombie_checker.c in the makefile Theo Champion 2025-09-15 14:14:02 +02:00
  • 27af850525 norme: Fixed norme errors Theo Champion 2025-09-15 13:11:59 +02:00
  • 5da3583077 dev: added new makefile rule for compiling with sanitizers Theo Champion 2025-09-14 17:43:46 +02:00
  • c7c71690e2 dev: Added raycasting rule for zombies Theo Champion 2025-09-14 17:43:20 +02:00
  • d7781f44d2 feat: Added shooting event Theo Champion 2025-09-14 17:42:48 +02:00
  • b0ac26a7f6 wip: Adding weapon class and usage Theo Champion 2025-09-11 23:41:00 +02:00
  • 87c0a8a991 fix: fixed texture leakage Theo Champion 2025-09-10 15:19:30 +02:00
  • ecb99e4840 norme: fixed a line that was too long Theo Champion 2025-09-10 15:03:55 +02:00
  • 5591ebd937 feat(barricades): added multiple textures for the barricades Theo Champion 2025-09-10 15:02:54 +02:00
  • 40e71b4616 norme: fixed norme issues Theo Champion 2025-09-09 14:17:08 +02:00
  • 7852962d56 feat: finished barricades Theo Champion 2025-09-09 14:09:20 +02:00
  • 9274a11c70 feat: "Added" zombie spawning from barricades Theo Champion 2025-09-09 13:20:50 +02:00
  • 35b83e4ff7 feat: Added new wall type (barricades) Theo Champion 2025-09-09 10:17:28 +02:00
  • d295c77360 chore: Added barricade texture (temporary) Theo Champion 2025-09-09 10:17:04 +02:00
  • 88157d091e chore: New map added to test barricades Theo Champion 2025-09-09 10:16:28 +02:00
  • a0f20b396c norme: fixed norme issues Theo Champion 2025-09-08 17:33:05 +02:00
  • f407f5b7ce fix: fixed textures leaks Theo Champion 2025-09-08 17:11:58 +02:00
  • 80150ce24d removal(minimap): Removed zombie tile Theo Champion 2025-09-08 13:59:35 +02:00
  • baccf93ac3 fix: changed ifs to else ifs for the perk hud code Theo Champion 2025-09-08 13:58:03 +02:00
  • 416b7a833d Added weapon hud Theo Champion 2025-09-08 10:36:52 +02:00
  • fe665eaa4e fix: changed box texture Theo Champion 2025-09-05 20:06:25 +02:00
  • f80eb125f5 feat: Added the round counter on the hud Theo Champion 2025-09-03 18:39:30 +02:00
  • 82d7941e81 feat: Added a little 'cheat' for the points Theo Champion 2025-09-03 16:41:51 +02:00
  • c4e5ff619a fix: Initialized textures and perk orders to none for the player Theo Champion 2025-09-03 16:41:32 +02:00
  • 8d229e9c2b norme: Fixed norme error Theo Champion 2025-09-03 16:39:12 +02:00
  • 77a532a223 feat: Added perk logos to the left of the HUD Theo Champion 2025-09-03 16:38:38 +02:00
  • cd7d0ddcfc fix: Fixed position of points Theo Champion 2025-09-03 16:37:28 +02:00
  • 647c8a5e48 dev: Added some ressources Theo Champion 2025-09-03 16:34:24 +02:00
  • b2ec8d079c dev(points): Reverted old base value for points Theo Champion 2025-09-01 15:43:30 +02:00
  • 8ecc7d3849 dev: changed the base point value of the player for debugging Theo Champion 2025-08-20 17:10:13 +02:00
  • 761d126ba2 feat(points): Finished point counter on the right of the screen Theo Champion 2025-08-20 17:08:13 +02:00
  • 242cbe3c7c dev: Added a matrix image set function Theo Champion 2025-08-20 16:52:35 +02:00
  • 70f6a36aad dev: Added width and height texture information Theo Champion 2025-08-20 16:38:32 +02:00
  • 33f0c4e896 fix: removed trailing BONUS definition Theo Champion 2025-08-20 16:09:21 +02:00
  • 792d8fc37a feat: Added point counter at the right of the screen (basic) Theo Champion 2025-08-20 15:49:31 +02:00
  • 4a2b4eb287 fix: Changed the fps counter, switched from a DMA to a static memory allocation Theo Champion 2025-08-20 15:32:57 +02:00
  • 9ec4a33fc8 dev: Added a ft_itoa_static function to avoid malloc'ing and free'ing every frame Theo Champion 2025-08-20 15:29:33 +02:00
  • e8fac75779 dev: Created figures textures Theo Champion 2025-08-20 13:47:38 +02:00
  • fb4680e4bd
    feat: close window and exit on window close event Khaïs COLIN 2025-08-20 13:51:23 +02:00
  • 0771881690 feat: New texture for the double tap perk machine Theo Champion 2025-08-18 18:56:23 +02:00
  • a6c6420398 fix: Used blocking check function instead of rewriting test Theo Champion 2025-08-20 12:49:33 +02:00
  • c643d9f22a fix: Fixed inversion of x and y for blocking checks functions Theo Champion 2025-08-20 12:48:48 +02:00
  • a8dd8c3d1c feat: New texture for the double tap perk machine Theo Champion 2025-08-18 18:56:23 +02:00
  • fdc8d02c34 fix(sprite caster): Fixed crash when sprites overlap Theo Champion 2025-08-19 19:45:00 +02:00
  • 0d89bdf034 norme: Fixed norme error Theo Champion 2025-08-19 19:13:58 +02:00
  • 283618a935 feat: Improved movements for the sprite Theo Champion 2025-08-19 18:58:55 +02:00
  • 78e02a5918 feat: Added some credits Theo Champion 2025-08-18 20:05:50 +02:00
  • 2de1b0018a feat: finished zombie movements code Theo Champion 2025-08-18 19:52:14 +02:00
  • 36f48c8b22 fix: Fixed norme issue Theo Champion 2025-08-18 19:20:33 +02:00
  • 1966892c3e feat: load zombie sprites from map Khaïs COLIN 2025-08-18 13:21:52 +02:00
  • 742a014597 feat: basic zombie movement (very bad) Khaïs COLIN 2025-08-18 13:21:52 +02:00