0
0
mirror of https://github.com/Nimac0/SDL_Minigame synced 2026-01-12 15:53:42 +00:00

28 Commits

Author SHA1 Message Date
freezarite
b490e2dc17 removed magic enum and documentation improvements
since getName is no longer used from the TileComponent.h we no longer need magic_enum for the enum to string conversion
also some minor documentation changes
2024-12-01 20:25:31 +01:00
freezarite
4ead20ecb7 Cleanup of documentation and refactoring
renamed TextureEnumBase.h to Textures.h
improved some of the doxygen documentation
2024-12-01 14:39:45 +01:00
freezarite
cbd1993c20 Extra map for MapTiles generated by TMX file now works like intended.
removed textures map from AssetManager as it is no longer used.
Updated SpriteComponent to now check if it is a normal Texture or a MapTileTexture.
Added if condition in TextureManager::LoadMapTileTexture to check if the texture was able to be loaded by SDL
2024-11-30 15:42:56 +01:00
freezarite
27a80d9766 added new Constructor for SpriteComponent as Tiles wont work with enums 2024-11-17 17:05:26 +01:00
freezarite
1a8a196e95 merged dev into textureManagerChanges 2024-11-17 16:26:05 +01:00
freezarite
494ff8aa0a magic_enum library stuff and refactored TextureEnum to Textures due to bad naming 2024-11-17 16:00:47 +01:00
ba8dca8abc added loading of tmx files 2024-11-04 23:27:26 +01:00
b48d5d7183 Added z-Index base render order 2024-10-15 23:42:32 +02:00
freezarite
65e00c2314 changed texture_cache map to use enums instead of string for keys and functions using said map 2024-10-15 13:24:56 +02:00
31d7f42a31 ref(Animations, ECS impl):
dehardcoded Animations and moved ECS implementation + moved select screen function to chickengame
2024-05-20 21:05:20 +02:00
efd8cc6616 Removed all instances of static data in Game class
see Issue #27
2024-04-10 11:15:23 +02:00
6a2e8289f6 fixed memory leaks
managers are no singletons anymore
2024-01-30 15:17:58 +01:00
807ff4b0d0 Fixed a memory leak 2024-01-30 14:19:51 +01:00
fa4586f1db Rewrote collision detection 2024-01-29 23:49:58 +01:00
fa480f916f Merge branch 'texture-flipping' 2024-01-27 18:34:31 +01:00
6e23d0d3d8 added bounding box 2024-01-26 23:51:44 +01:00
96418442f0 implemented actual flipping of textures 2024-01-26 23:28:55 +01:00
baf3a206b6 reformatted inconsistent code and optimized imports 2024-01-24 16:28:41 +01:00
317dc9d3bc Merge branch 'Animations' into 'main' 2024-01-24 02:07:41 +01:00
3766fefb13 fixed walk/idle animation 2024-01-24 01:50:33 +01:00
ineslelin
552168dab3 animation wip 2024-01-23 20:16:17 +01:00
7bc17eb8b9 Merge branch 'origin/Projectiles' into 'main' 2024-01-23 19:45:28 +01:00
sara
5d4512133c refactor (working version) 2024-01-23 18:50:21 +01:00
Markus
7c87ccc42b added health, getting damage and visual
representation of it
2024-01-22 17:39:47 -06:00
Markus
98f8cbc221 worst tutorial, but projectiles added 2024-01-21 13:28:58 -06:00
98d0350edb Implemented texture caching 2024-01-11 17:08:35 +01:00
146079232c Merge branch 'CMake' 2024-01-11 15:53:51 +01:00
f8c8c6de00 structural changes 2024-01-11 08:30:49 +01:00