So how about adding 2 options for each map to set an optional picture and music for this screen which is displayed after a map ends? (or even better: Make it so that like in Heretic you can have different pictures for the 'finished' and 'entering' screen.)
EDIT
I finally managed to test it all so here it is:
Features:
-simple animations on the intermission screen
-special overlay pictures when entering or leaving specific levels or when travelling between 2 specified levels.
-User definable 'You are here' cursor
-'SUCKS' can be switched of completely (God how I hate this nonsense. )
-per level intermission background picture and music settable in MAPINFO. 'Entering' and 'Finished' picture do not need to be the same. If a flat is specified it will be tiled across the screen.
Fixes:
-handles replaced fonts better than before
-fully functional in all games, including Hexen and Strife!
-NOINTERMISSION can be taken off ExM8 now without screwing up the screen
-Graphics are scaled to the entire screen if they are too small. The old code assumed 320x200 and didn't scale small pics properly (Dissolution had such an intermission picture.)
Present but not yet functional:
-total time per game (I didn't want to mess with the other source files too much right now. This can easily be added later in a few minutes.)
Since most of the changes apply to wi_stuff.cpp and wi_stuff.h I just list the rest here. It isn't much.
In g_level.h add to the level_info_s struct:
Code: Select all
char enterpic[9];
char exitpic[9];
char intermusic[9];
Code: Select all
"interpic",
"exitpic",
"enterpic",
"intermusic",
Code: Select all
{ MITYPE_LUMPNAME, lioffset(exitpic), 0 },
{ MITYPE_LUMPNAME, lioffset(exitpic), 0 },
{ MITYPE_LUMPNAME, lioffset(enterpic), 0 },
{ MITYPE_LUMPNAME, lioffset(intermusic), 0 },
EDIT: Forgot to add the script lumps for Doom1 and Heretic. See the second attachment.
Another edit:
There was still a bug. The enter pic was taken from the incorrect level. Fixed.
EDIT again: There was a tiny but unfortunately fatal bug in there.