dx_renderer::dx_renderer(HWND hwnd,HINSTANCE hInst) { m_hwnd=hwnd; m_hinst=hInst; b_window=true; vsync=false; render_pass_type=2; init_dd(); init_ds(); init_di(); cur_time=0; now_sensor_x=now_sensor_y=2047; b_pad_update=true; b_time_fix=false; fixed_time=0; save_resurve=-1; load_resurve=-1; b_sound=b_graphics=false; b_bibrating=false; wav=NULL; key_list.clear(); movie_playing=movie_recording=false; movie_start=mov_cur_pos=0; movie_file=NULL; output_log("DirectX レンダラ 初期化完了\n\n"); }
int init_transducer (int argc, char **argv, int edit, int *usize, char **fname) { FILE *input; /* primary initialization */ init_error (); init_options (); /* command line parsing */ input = scanargs (argc, argv, fname); /* initialize data structures */ init_textstorage (strstore_size); init_ds (tstack_size, qstack_size); init_textparsing (pbuffer_size, max_nr_parses); *usize = ubuffer_size; if (edit && (input == stdin)) return (0); copy_file_into_parsebuffer (input); return (1); };
void init_C_interface () { init_textstorage (strstore_size); init_ds (tstack_size, qstack_size); init_textparsing (pbuffer_size, max_parses); };