2021-03-21 18:35:04 +00:00
|
|
|
#pragma option -zCSHARED
|
2021-01-30 16:14:14 +00:00
|
|
|
|
|
|
|
extern "C" {
|
2021-02-07 20:03:00 +00:00
|
|
|
#include "platform.h"
|
|
|
|
#include "x86real.h"
|
2021-01-30 16:14:14 +00:00
|
|
|
#include "master.hpp"
|
2021-01-20 17:14:20 +00:00
|
|
|
#include "th01/hardware/vplanset.h"
|
2021-05-21 18:07:21 +00:00
|
|
|
#include "th02/shiftjis/fns.hpp"
|
2021-01-30 16:14:14 +00:00
|
|
|
#include "th02/mem.h"
|
|
|
|
#include "th02/core/initexit.h"
|
|
|
|
#include "th02/formats/pf.hpp"
|
|
|
|
|
|
|
|
const char pf_fn[] = PF_FN;
|
2021-01-20 17:14:20 +00:00
|
|
|
|
2019-11-19 14:26:47 +00:00
|
|
|
int game_init_op(void)
|
|
|
|
{
|
2021-01-30 16:14:14 +00:00
|
|
|
if(mem_assign_dos(MEM_ASSIGN_PARAS_OP)) {
|
2019-11-19 14:26:47 +00:00
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
vram_planes_set();
|
|
|
|
graph_start();
|
|
|
|
graph_clear_both();
|
|
|
|
vsync_start();
|
|
|
|
key_beep_off();
|
2021-01-26 15:33:06 +00:00
|
|
|
text_systemline_hide();
|
|
|
|
text_cursor_hide();
|
2019-11-19 14:26:47 +00:00
|
|
|
egc_start();
|
2021-01-28 19:26:21 +00:00
|
|
|
game_pfopen();
|
2019-11-19 14:26:47 +00:00
|
|
|
return 0;
|
|
|
|
}
|
2021-01-30 16:14:14 +00:00
|
|
|
|
|
|
|
}
|