X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Flibgame%2Fsystem.h;h=aaf4604ec0c1a431a7e1303835135ec9adce029c;hp=ffb8f185c41ff7bca179531e9c95b6fc3706c64e;hb=34df5c161045d8dddfd1c24d7fb1cfa29e0a9746;hpb=f11d2545f41637e871283f7624dccc8243d05138 diff --git a/src/libgame/system.h b/src/libgame/system.h index ffb8f185..aaf4604e 100644 --- a/src/libgame/system.h +++ b/src/libgame/system.h @@ -838,6 +838,14 @@ (type) == ARTWORK_TYPE_MUSIC ? \ options.music_directory : "") +#define USER_ARTWORK_DIRECTORY(type) \ + ((type) == ARTWORK_TYPE_GRAPHICS ? \ + getUserGraphicsDir() : \ + (type) == ARTWORK_TYPE_SOUNDS ? \ + getUserSoundsDir() : \ + (type) == ARTWORK_TYPE_MUSIC ? \ + getUserMusicDir() : "") + #define UPDATE_BUSY_STATE() \ { \ if (gfx.draw_busy_anim_function != NULL) \