OK, I know that if I make many objects in a game that I plan to resuse later in the game, I should free the object and any associated sounds and images etc. But what do I need to free when the program exits? e.g. music, sounds, title screens etc.
I know I could free everything but the help for FreeSound says "Note: You don't have to manually free these resources when your program terminates - Blitz does this automatically." Fine, but what about FreeImage, FreeFont and FreeTimer, do I need to bother with these or are they automatic? Does anyone know?
Also I am playing some in game music (a mod) with
handle% = PlayMusic("whatever", 1) but you cannot free the handle later with FreeSound handle% , it errors with Invalid Source Handle. Is this OK?
I know I could free everything but the help for FreeSound says "Note: You don't have to manually free these resources when your program terminates - Blitz does this automatically." Fine, but what about FreeImage, FreeFont and FreeTimer, do I need to bother with these or are they automatic? Does anyone know?
Also I am playing some in game music (a mod) with
handle% = PlayMusic("whatever", 1) but you cannot free the handle later with FreeSound handle% , it errors with Invalid Source Handle. Is this OK?