}
glk = chimara_if_new();
- g_object_set(glk, "ignore-errors", TRUE, NULL);
+ g_object_set(glk,
+ "ignore-errors", TRUE,
+ /*"interpreter-number", CHIMARA_IF_ZMACHINE_TANDY_COLOR,*/
+ NULL);
if( !chimara_glk_set_css_from_file(CHIMARA_GLK(glk), PACKAGE_DATA_DIR "/style.css", &error) ) {
#ifdef DEBUG
g_error_free(error);
}
#endif /* DEBUG */
}
+ chimara_if_set_preferred_interpreter(CHIMARA_IF(glk),
+ CHIMARA_IF_FORMAT_Z5,
+ CHIMARA_IF_INTERPRETER_FROTZ);
+ chimara_if_set_preferred_interpreter(CHIMARA_IF(glk),
+ CHIMARA_IF_FORMAT_Z6,
+ CHIMARA_IF_INTERPRETER_NITFOL);
+ chimara_if_set_preferred_interpreter(CHIMARA_IF(glk),
+ CHIMARA_IF_FORMAT_Z8,
+ CHIMARA_IF_INTERPRETER_FROTZ);
+ chimara_if_set_preferred_interpreter(CHIMARA_IF(glk),
+ CHIMARA_IF_FORMAT_Z_BLORB,
+ CHIMARA_IF_INTERPRETER_FROTZ);
+ chimara_if_set_preferred_interpreter(CHIMARA_IF(glk),
+ CHIMARA_IF_FORMAT_GLULX,
+ CHIMARA_IF_INTERPRETER_GLULXE);
+ chimara_if_set_preferred_interpreter(CHIMARA_IF(glk),
+ CHIMARA_IF_FORMAT_GLULX_BLORB,
+ CHIMARA_IF_INTERPRETER_GLULXE);
/* DON'T UNCOMMENT THIS your eyes will burn
but it is a good test of programmatically altering just one style