mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-26 23:41:07 +00:00
Use gifs folder for GIF recording
WebM uses movies folder. movie_mode screenshot and movie_mode apng use slideshows folder. ;)
This commit is contained in:
parent
4591b81cd9
commit
9f2941df63
1 changed files with 16 additions and 2 deletions
|
|
@ -1319,13 +1319,27 @@ static inline moviemode_t M_StartMovieAVRecorder(const char *pathname)
|
|||
void M_StartMovie(moviemode_t mode)
|
||||
{
|
||||
#if NUMSCREENS > 2
|
||||
const char *folder;
|
||||
char pathname[MAX_WADPATH];
|
||||
|
||||
if (moviemode)
|
||||
return;
|
||||
|
||||
strcpy(pathname, srb2home);
|
||||
strcat(pathname, PATHSEP "media" PATHSEP "movies" PATHSEP);
|
||||
switch (mode)
|
||||
{
|
||||
case MM_GIF:
|
||||
folder = "gifs";
|
||||
break;
|
||||
|
||||
case MM_AVRECORDER:
|
||||
folder = "movies";
|
||||
break;
|
||||
|
||||
default:
|
||||
folder = "slideshows";
|
||||
}
|
||||
|
||||
sprintf(pathname, "%s" PATHSEP "media" PATHSEP "%s" PATHSEP, srb2home, folder);
|
||||
M_MkdirEach(pathname, M_PathParts(pathname) - 2, 0755);
|
||||
|
||||
if (rendermode == render_none)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue