mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 00:57:44 -04:00
807ca7465f
Co-authored-by: ManDude <7569514+ManDude@users.noreply.github.com>
21 lines
571 B
C++
21 lines
571 B
C++
#include "game/graphics/screenshot.h"
|
|
|
|
/*!
|
|
* @file screenshot.cpp
|
|
* This file contains a basic interface for the screen shot system to make it easier to share with
|
|
* the GOAL kernel.
|
|
*/
|
|
|
|
ScreenShotSettings s_default_screen_shot_settings = {1920, 1080, 8, "screenshot"};
|
|
|
|
bool g_want_screenshot = false;
|
|
ScreenShotSettings* g_screen_shot_settings = &s_default_screen_shot_settings;
|
|
|
|
void register_screen_shot_settings(ScreenShotSettings* settings) {
|
|
g_screen_shot_settings = settings;
|
|
}
|
|
|
|
const char* get_screen_shot_name() {
|
|
return g_screen_shot_settings->name;
|
|
}
|