Theo Champion
|
3511b6aaf8
|
norme: Fixed little oopsie
|
2025-08-14 21:45:39 +02:00 |
|
Theo Champion
|
0d6cc4063a
|
dev: changed the c var in place_base_sprites to a counter in data struct
|
2025-08-14 21:38:49 +02:00 |
|
Theo Champion
|
4a70e44697
|
fix: Added a check for the sprites, to avoid segfaults and/or invalid writes
|
2025-08-14 21:27:53 +02:00 |
|
Theo Champion
|
dafe94804e
|
norme: normed everything
|
2025-08-12 16:15:02 +02:00 |
|
Theo Champion
|
00e8a73d14
|
dev: improved sprites by creating a create_sprite function
|
2025-08-12 15:57:27 +02:00 |
|
Theo Champion
|
09ff569a31
|
feat: made sprites be placed in map file
|
2025-08-12 15:41:42 +02:00 |
|
Theo Champion
|
f1697a6c73
|
dev: Improved memory management of sprites
|
2025-08-12 14:49:11 +02:00 |
|
Theo Champion
|
aae5e42b13
|
fix(main): Bumped calloc for sprites from 3 to MAX_SPRITES and moved it
|
2025-08-12 14:48:41 +02:00 |
|
Theo Champion
|
258372bf09
|
feat: Added sprites
|
2025-08-06 14:06:52 +02:00 |
|
|
|
a46fdff49a
|
fix: correct error exit code when texture has error
|
2025-08-05 15:12:29 +02:00 |
|
|
|
c09ba88d90
|
feat: use t_img_data to store textures insted of void ptr
This allows for easier writing of future functions, see next pr comming soon
|
2025-08-05 13:20:26 +02:00 |
|
|
|
c4a867b054
|
feat: load and destroy wall textures
|
2025-08-05 12:11:06 +02:00 |
|
Theo Champion
|
2bc214103b
|
feat: Added delta time variable
|
2025-07-31 14:12:53 +02:00 |
|
Theo Champion
|
02940e9ecf
|
fix: readded matrix allcation (oopsy daisy)
|
2025-07-31 14:05:30 +02:00 |
|
Theo Champion
|
05e24d19f9
|
cleanup: moved initialization code from main() to a separate file
|
2025-07-31 13:41:16 +02:00 |
|