Subversion Repositories eduke32

Rev

Rev 7705 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7705 Rev 8094
Line 3... Line 3...
3
#include "editor.h"
3
#include "editor.h"
4
4
5
#include "pngwrite.h"
5
#include "pngwrite.h"
6
6
7
#include "vfs.h"
7
#include "vfs.h"
-
 
8
#include "communityapi.h"
8
9
9
//
10
//
10
// screencapture
11
// screencapture
11
//
12
//
12
13
Line 40... Line 41...
40
41
41
static OutputFileCounter capturecounter;
42
static OutputFileCounter capturecounter;
42
43
43
static void screencapture_end(char *fn, buildvfs_FILE * filptr)
44
static void screencapture_end(char *fn, buildvfs_FILE * filptr)
44
{
45
{
-
 
46
#ifdef VWSCREENSHOT
-
 
47
    communityapiSendScreenshot(fn);
-
 
48
#endif
45
    buildvfs_fclose(*filptr);
49
    buildvfs_fclose(*filptr);
46
    OSD_Printf("Saved screenshot to %s\n", fn);
50
    OSD_Printf("Saved screenshot to %s\n", fn);
47
    Xfree(fn);
51
    Xfree(fn);
48
    capturecounter.count++;
52
    capturecounter.count++;
49
}
53
}