21 lines
406 B
C
21 lines
406 B
C
#ifndef JBHOOK_D3D8_H
|
|
#define JBHOOK_D3D8_H
|
|
|
|
#include <stdbool.h>
|
|
|
|
/**
|
|
* Hook some gfx related functions to patch gfx related stuff
|
|
* like enabling window mode.
|
|
*/
|
|
void gfx_hook_init(void);
|
|
|
|
/**
|
|
* Set the game to window mode.
|
|
*
|
|
* @param framed True to add a window frame and make the window
|
|
* movable, resizable, minizable. False for no frame.
|
|
*/
|
|
void gfx_set_windowed(bool framed);
|
|
|
|
#endif
|