0
0
mirror of https://github.com/Nimac0/SDL_Minigame synced 2026-01-12 12:33:43 +00:00

18 Commits

Author SHA1 Message Date
freezarite
e215fbd5b6 instance changes in constructor and .cpp file for SoundManager 2025-01-28 19:40:14 +01:00
freezarite
007538f760 added getInstance method to soundmanager 2025-01-28 19:31:54 +01:00
freezarite
9bb9d0fbcc removed maps regarding music and sound effects from the AssetManager
reworked SoundManager to use enum classes as keys in its maps and to no longer use the AssetManager
added possibility to set sound effect of projectiles when creating them (was hard coded)
2025-01-28 19:08:05 +01:00
625ac98a57 first pass - changed function names etc. 2024-11-18 13:37:10 +01:00
ineslelin
24e69b73a2 updated SoundManager to incorporate requested changes 2024-06-24 22:21:18 +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
68a3e48131 rename Game->GameInternal 2024-05-29 09:07:54 +02:00
ineslelin
6373afe3a2 working volume control 2024-05-27 12:40:51 +02:00
ineslelin
70c4d3c030 added ability to play music 2024-05-27 12:04:09 +02:00
ineslelin
db44d4d619 updated SoundManager
- created constexpr for the options to play a sound once or loop it infinitely
- removed SoundTypes enum, changed playSound() to accept a string and a bool => allows for playSound() to be used more universally
2024-05-27 11:36:02 +02:00
ineslelin
cb01c54968 updated SoundManager
- loading music from sound file now possible
- looping sound effects is possible now
2024-05-26 19:06:52 +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
fee39adebc Hotfix proper SDL_mixer include 2024-01-30 00:21:45 +01:00
ineslelin
06a603b9d5 throwing projectile makes sound 2024-01-29 20:53:35 +01:00
ineslelin
d155753840 added ability to load in sound 2024-01-28 20:14:12 +01:00