foclassic icon indicating copy to clipboard operation
foclassic copied to clipboard

Allow client extensions/scripts to select splash screen

Open wipe2238 opened this issue 6 years ago • 0 comments

Currently splash screens are always picked randomly; would be nice to have control over it, for special encounters, quest-only maps, etc.

void filename_splash( string& filename, uint16 mapPid );

  • filename is picked randomly (current behavior) and stored
  • script call
  • use filename if it's valid (exists in PATH_ART_SPLASH, is valid format, etc); otherwise, use stored value

wipe2238 avatar Oct 10 '18 16:10 wipe2238