|
|
In this case, you can (easily) do both, since you use numbered image files.
Use the macro, but have the macro update a global array flag with the numbered
entries.
#ifdef () can check to see if an entry has been used, and if so then the macro
can just return the image_map that is already declared, else create a new
(needed) one.
Without numbered filenames, you could just compare the text filenames to see if
they've been used before.
Post a reply to this message
|
|