- rewrote the screenshot code to use m_png as its backend.

Mainly to finally get rid of kplib. There's really no use to keep such code around if alternatives are already present.
This commit is contained in:
Christoph Oelckers 2019-11-02 12:59:59 +01:00
parent edcfad6e11
commit 8fb54b51c3
32 changed files with 163 additions and 990 deletions

View file

@ -1232,8 +1232,7 @@ static FORCE_INLINE int32_t spriteheightofs(int16_t i, int32_t *height, int32_t
return spriteheightofsptr((uspriteptr_t)&sprite[i], height, alsotileyofs);
}
int videoCaptureScreen(const char *filename, char inverseit) ATTRIBUTE((nonnull(1)));
int videoCaptureScreenTGA(const char *filename, char inverseit) ATTRIBUTE((nonnull(1)));
int videoCaptureScreen();
struct OutputFileCounter {
uint16_t count = 0;
@ -1285,8 +1284,6 @@ enum cutsceneflags {
CUTSCENE_TEXTUREFILTER = 4,
};
extern int32_t benchmarkScreenshot;
#ifdef USE_OPENGL
enum {