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

136 Commits

Author SHA1 Message Date
ineslelin
39ccdf4138 add documentation 2025-01-14 23:00:39 +01:00
ineslelin
b07d68b84b fix errors when building 2025-01-14 13:24:33 +01:00
ineslelin
7e0a2422bd rewrite interaction logic to be more concise
forgot to commit this the last time i worked on it
2025-01-14 12:38:31 +01:00
ineslelin
a093fe3ccf Merge branch 'dev' into interaction-component 2025-01-14 12:04:55 +01:00
7c50c8d1fb Merge branch '80-migrate-to-sdl3' into dev 2024-12-02 23:10:05 +01:00
6a0b5197f9 Implemented suggested changes 2024-12-02 21:47:36 +01:00
freezarite
58be6b05f0 more documentation changes 2024-12-01 21:04:45 +01:00
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
dadf846470 fixed \todo in TextureManager.h 2024-12-01 14:51:10 +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
7dbcfe876c Added some doxygen documentation to TextureEnumBase.h and TextureManager.h 2024-11-30 15:43:15 +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
25414524a0 new main logic & new time keeping 2024-11-18 16:20:41 +01:00
625ac98a57 first pass - changed function names etc. 2024-11-18 13:37:10 +01:00
freezarite
27a80d9766 added new Constructor for SpriteComponent as Tiles wont work with enums 2024-11-17 17:05:26 +01:00
freezarite
ac217e931b added new Map for tile-textures as they wont work with our current enum-class maps. 2024-11-17 16:59:46 +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
a8052b4bbb Merge branch 'tmxlite' into dev 2024-11-17 14:07:42 +01:00
92dfbacd9b Fixed templates and const char* for texture 2024-11-17 13:07:33 +01:00
70260c01bb structural improvements & code comments 2024-11-17 12:39:14 +01:00
7f4b1df833 Restructured code 2024-11-16 20:02:35 +01:00
9e346a719d Reimplemented collision
still missing documentation
2024-11-15 22:25:43 +01:00
6751b3e12c Merge branch 'dev' 2024-11-13 13:12:09 +01:00
476d24e930 Code clean-up 2024-11-05 16:14:22 +01:00
ba8dca8abc added loading of tmx files 2024-11-04 23:27:26 +01:00
Benedikt Galbavy
0179a27aaf
Merge pull request #77 from VEGO-Engine/#69-delete-gameobject
refactor: remove obsolete code
2024-10-17 19:21:21 +02:00
686ebbb97f Added documentation 2024-10-16 13:38:20 +02: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
d3a1daf383 refactor: remove obsolete code 2024-10-14 20:47:11 +02:00
freezarite
68079d0279 made texture_cache map private 2024-10-13 13:29:32 +02:00
e493960fe0 Merge branch 'ref/healthcomponent' into separation-refactor 2024-06-25 12:17:35 +02:00
a5123b866c Merge branch 'ref/remove-teams' into separation-refactor 2024-06-25 11:53:01 +02:00
2ef373dd2c fix(PR) + cleaned up some dead code 2024-06-25 11:42:12 +02:00
Nanogamer7
5a1e7986d3
Merge pull request #65 from VEGO-Engine/ref/sound
Sound
2024-06-24 23:23:17 +02:00
6bf460d483 ref(teams): removed teams from engine 2024-06-24 23:03:18 +02:00
160ba5a2d9 #66 removed UI elements from HealthComponent 2024-06-24 22:38:01 +02:00
ineslelin
24e69b73a2 updated SoundManager to incorporate requested changes 2024-06-24 22:21:18 +02:00
a8e046ce07 #58 added exception for missing game implementation 2024-06-24 18:27:04 +02:00
3d639b89d0 #58 Replaced map based game factory with simpler implementation 2024-06-24 16:03:46 +02:00
ineslelin
f5a94ac4b9 created the distance checks 2024-06-24 13:01:24 +02:00
ineslelin
3ba0d46fbe added functions to check if an entity is within reach in each direction 2024-06-22 19:30:04 +02:00
ineslelin
bc7a8dfdff finished interact(), put down idea for getting closest entity 2024-06-22 12:58:51 +02:00
ineslelin
7c7c78cacf added interaction component 2024-06-21 17:39:07 +02:00
ineslelin
c4c8be5829 Merge remote-tracking branch 'origin/separation-refactor' into ref/sound 2024-06-18 19:23:07 +02:00
ineslelin
b321051ac5 added channels to sound 2024-06-16 19:37:07 +02:00
ineslelin
cb1b5af358 finished sound
- implemented fade in + fade out
- implemented pause for sound + music
- implemented unpausing/restarting sound + music
2024-06-16 19:20:39 +02:00
58e2bb0d30 Merge branch 'ref/nicole' into separation-refactor 2024-06-14 00:46:19 +02:00
8c5c5c7215 removed define marco 2024-06-13 23:22:21 +02:00