mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-09-30 22:14:55 -07:00
4009bb8a84
## Link to GitHub Issue or related Pull Request, if one exists Fixes #114 ## Description of change Initial support for Silent Scope: Bone Eater, enough to be playable; doesn't include QoS work needed to make this a smoother experience. * Game detection * Fix DX11 overlay to work with non-Unity games * Implements sub monitor i/o (only really needed to get past I/O check) * Try to make the game reasonably playable with a mouse * Ignore the game's attempt to move windows, position them in a reasonable place * Fix language hook ## Testing
28 lines
544 B
C++
28 lines
544 B
C++
#include "silentscope.h"
|
|
|
|
#include "cfg/configurator.h"
|
|
#include "hooks/devicehook.h"
|
|
#include "util/libutils.h"
|
|
|
|
#include "projector.h"
|
|
|
|
namespace games::silentscope {
|
|
|
|
SilentScopeGame::SilentScopeGame() : Game("Silent Scope") {
|
|
}
|
|
|
|
void SilentScopeGame::attach() {
|
|
Game::attach();
|
|
|
|
// load the game DLL so hooks apply
|
|
libutils::try_library("gamendd.dll");
|
|
|
|
devicehook_init();
|
|
devicehook_add(new ProjectorHandle());
|
|
}
|
|
|
|
void SilentScopeGame::detach() {
|
|
Game::detach();
|
|
}
|
|
}
|