1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-11-05 18:59:41 +01:00
VVVVVV/desktop_version/src/CWrappers.h
Misa 93ec2c6cca Upscale screenshots 2x
The plan is to have Steam screenshots always be 2x, but in the VVVVVV
screenshots directory (for F6 keybind) save both 1x and 2x.

Again, just for now, the 2x screenshot is being saved to a temporary
location for testing and will get proper timestamps later.
2024-01-09 15:48:41 -08:00

22 lines
529 B
C

#ifndef CWRAPPERS_H
#define CWRAPPERS_H
#include <SDL_surface.h>
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
char* HELP_number_words(int _t, const char* number_class);
uint32_t LOC_toupper_ch(uint32_t ch);
SDL_Surface* GRAPHICS_tempScreenshot(void);
SDL_Surface* GRAPHICS_tempScreenshot2x(void);
uint8_t UTIL_TakeScreenshot(SDL_Surface** surface);
uint8_t UTIL_UpscaleScreenshot2x(SDL_Surface* src, SDL_Surface** dest);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* CWRAPPERS_H */