mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-02 06:40:42 -07:00
Initial commit for GitHub migration based on spice2x-25-03-03
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
#include "otoca.h"
|
||||
#include "p4io.h"
|
||||
#include "games/shared/printer.h"
|
||||
#include "util/libutils.h"
|
||||
|
||||
namespace games::otoca {
|
||||
|
||||
OtocaGame::OtocaGame() : Game("Otoca D'or") {
|
||||
}
|
||||
|
||||
OtocaGame::~OtocaGame() {
|
||||
}
|
||||
|
||||
void OtocaGame::attach() {
|
||||
Game::attach();
|
||||
|
||||
/*
|
||||
* arkkep.dll uses LoadLibrary to access game.dll
|
||||
* we preload it so that hooks (e.g. for graphics) will work
|
||||
*/
|
||||
libutils::try_library("game.dll");
|
||||
|
||||
// initialize IO hooks
|
||||
p4io_hook();
|
||||
games::shared::printer_attach();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user