News:

Function Finder  Find all the functions within source code files

Main Menu

Detect unused images?

Started by thaaks, October 05, 2008, 05:26:40 PM

Previous topic - Next topic

thaaks

I can use GetFirstSprite(), GetNextSprite() and GetSpriteStatus() to detect unused sprites.
Is there a similar functionality for images?
I want to double check if I forget to free some unused images...

Thanks,
Tommy

kevin


thaaks

And GetFirstImage() or GetNextImage()?

But never mind, I can of course write a little wrapper function and collect all created/loaded/copied images in a list on my own.

Thanks,
Tommy

kevin


Big C.

hmmm... i remember there is a slib folder... will have a look inside because its seems to be a useful hint... i don't expect more hints in the help files

thaaks

Quote from: kevin on October 06, 2008, 06:01:42 PM
 
#include "PBdebug"
 


Direct hit!

Function DebugImages() is exactly what I was looking for! Thanks a lot!