|
| JACL (OSystem *syst, const GlkGameDescription &gameDesc) |
| Constructor. More...
|
|
virtual void | runGame () override |
| Run the game. More...
|
|
virtual InterpreterType | getInterpreterType () const override |
| Returns the running interpreter type. More...
|
|
virtual Common::Error | readSaveData (Common::SeekableReadStream *rs) override |
| Savegames aren't supported for JACL games. More...
|
|
virtual Common::Error | writeGameData (Common::WriteStream *ws) override |
| Savegames aren't supported for JACL games. More...
|
|
bool | loadingSavegame () const |
| Returns true if a savegame is being loaded directly from the ScummVM launcher. More...
|
|
bool | loadLauncherSavegame () |
| Does the actual loading of the savegame from a luancher. More...
|
|
| GlkAPI (OSystem *syst, const GlkGameDescription &gameDesc) |
| Constructor. More...
|
|
virtual | ~GlkAPI () |
|
void | glk_exit (void) |
|
void | glk_set_interrupt_handler (void(*func)(void)) |
|
void | glk_tick (void) |
|
uint | glk_gestalt (uint id, uint val) |
|
uint | glk_gestalt_ext (uint id, uint val, uint *arr, uint arrlen) |
|
unsigned char | glk_char_to_lower (unsigned char ch) |
|
unsigned char | glk_char_to_upper (unsigned char ch) |
|
winid_t | glk_window_get_root (void) const |
| Get the root window of the window hierarchy. More...
|
|
winid_t | glk_window_open (winid_t split, uint method, uint size, uint wintype, uint rock=0) const |
| Open a new window. More...
|
|
void | glk_window_close (winid_t win, stream_result_t *result=nullptr) |
|
void | glk_window_get_size (winid_t win, uint *width, uint *height) |
|
void | glk_window_set_arrangement (winid_t win, uint method, uint size, winid_t keyWin) |
|
void | glk_window_get_arrangement (winid_t win, uint *method, uint *size, winid_t *keyWin) |
|
winid_t | glk_window_iterate (winid_t win, uint *rock=0) |
|
uint | glk_window_get_rock (winid_t win) |
|
uint | glk_window_get_type (winid_t win) |
|
winid_t | glk_window_get_parent (winid_t win) |
|
winid_t | glk_window_get_sibling (winid_t win) |
|
void | glk_window_clear (winid_t win) |
|
void | glk_window_move_cursor (winid_t win, uint xpos, uint ypos) |
|
strid_t | glk_window_get_stream (winid_t win) |
|
void | glk_window_set_echo_stream (winid_t win, strid_t str) |
|
strid_t | glk_window_get_echo_stream (winid_t win) |
|
void | glk_set_window (winid_t win) |
|
strid_t | glk_stream_open_file (frefid_t fileref, FileMode fmode, uint rock=0) |
|
strid_t | glk_stream_open_memory (char *buf, uint buflen, FileMode fmode, uint rock=0) |
|
void | glk_stream_close (strid_t str, stream_result_t *result=nullptr) |
|
strid_t | glk_stream_iterate (strid_t str, uint *rockptr) const |
|
uint | glk_stream_get_rock (strid_t str) const |
|
void | glk_stream_set_position (strid_t str, int pos, uint seekMode) |
|
uint | glk_stream_get_position (strid_t str) const |
|
void | glk_stream_set_current (strid_t str) |
|
strid_t | glk_stream_get_current (void) |
|
void | glk_put_char (unsigned char ch) |
|
void | glk_put_char_stream (strid_t str, unsigned char ch) |
|
void | glk_put_string (const char *s) |
|
void | glk_put_string_stream (strid_t str, const char *s) |
|
void | glk_put_buffer (const char *buf, uint len) |
|
void | glk_put_buffer_stream (strid_t str, const char *buf, uint len) |
|
void | glk_set_style (uint styl) |
|
void | glk_set_style_stream (strid_t str, uint styl) |
|
int | glk_get_char_stream (strid_t str) |
|
uint | glk_get_line_stream (strid_t str, char *buf, uint len) |
|
uint | glk_get_buffer_stream (strid_t str, char *buf, uint len) |
|
void | glk_stylehint_set (uint wintype, uint styl, uint hint, int val) |
|
void | glk_stylehint_clear (uint wintype, uint style, uint hint) |
|
uint | glk_style_distinguish (winid_t win, uint style1, uint style2) |
|
bool | glk_style_measure (winid_t win, uint style, uint hint, uint *result) |
|
frefid_t | glk_fileref_create_temp (uint usage, uint rock=0) |
|
frefid_t | glk_fileref_create_by_name (uint usage, const char *name, uint rock=0) |
|
frefid_t | glk_fileref_create_by_prompt (uint usage, FileMode fmode, uint rock=0) |
|
frefid_t | glk_fileref_create_from_fileref (uint usage, frefid_t fref, uint rock=0) |
|
void | glk_fileref_destroy (frefid_t fref) |
|
frefid_t | glk_fileref_iterate (frefid_t fref, uint *rockptr) |
|
uint | glk_fileref_get_rock (frefid_t fref) |
|
void | glk_fileref_delete_file (frefid_t fref) |
|
uint | glk_fileref_does_file_exist (frefid_t fref) |
|
void | glk_select (event_t *event) |
|
void | glk_select_poll (event_t *event) |
|
void | glk_request_timer_events (uint millisecs) |
|
void | glk_request_line_event (winid_t win, char *buf, uint maxlen, uint initlen) |
|
void | glk_request_char_event (winid_t win) |
|
void | glk_request_mouse_event (winid_t win) |
|
void | glk_cancel_line_event (winid_t win, event_t *event) |
|
void | glk_cancel_char_event (winid_t win) |
|
void | glk_cancel_mouse_event (winid_t win) |
|
uint | glk_buffer_to_lower_case_uni (uint32 *buf, uint len, uint numchars) |
|
uint | glk_buffer_to_upper_case_uni (uint32 *buf, uint len, uint numchars) |
|
uint | glk_buffer_to_title_case_uni (uint32 *buf, uint len, uint numchars, uint lowerrest) |
|
void | glk_put_char_uni (uint32 ch) |
|
void | glk_put_string_uni (const uint32 *s) |
|
void | glk_put_buffer_uni (const uint32 *buf, uint len) |
|
void | glk_put_char_stream_uni (strid_t str, uint32 ch) |
|
void | glk_put_string_stream_uni (strid_t str, const uint32 *s) |
|
void | glk_put_buffer_stream_uni (strid_t str, const uint32 *buf, uint len) |
|
int | glk_get_char_stream_uni (strid_t str) |
|
uint | glk_get_buffer_stream_uni (strid_t str, uint32 *buf, uint len) |
|
uint | glk_get_line_stream_uni (strid_t str, uint32 *buf, uint len) |
|
strid_t | glk_stream_open_file_uni (frefid_t fileref, FileMode fmode, uint rock=0) |
|
strid_t | glk_stream_open_memory_uni (uint32 *buf, uint buflen, FileMode fmode, uint rock=0) |
|
void | glk_request_char_event_uni (winid_t win) |
|
void | glk_request_line_event_uni (winid_t win, uint32 *buf, uint maxlen, uint initlen) |
|
const char * | garglk_fileref_get_name (frefid_t fref) const |
|
void | garglk_set_program_name (const char *name) |
|
void | garglk_set_program_info (const char *info) |
|
void | garglk_set_story_name (const char *name) |
|
void | garglk_set_story_title (const char *title) |
|
void | garglk_set_config (const char *name) |
|
void | garglk_unput_string (const char *str) |
| Removes the specified string from the end of the output buffer, if indeed it is there. More...
|
|
void | garglk_unput_string_uni (const uint32 *str) |
| Removes the specified string from the end of the output buffer, if indeed it is there. More...
|
|
void | garglk_set_zcolors (uint fg, uint bg) |
|
void | garglk_set_zcolors_stream (strid_t str, uint fg, uint bg) |
|
void | garglk_set_reversevideo (uint reverse) |
|
void | garglk_set_reversevideo_stream (strid_t str, uint reverse) |
|
void | garglk_window_get_cursor (winid_t win, uint *xpos, uint *ypos) |
|
void | garglk_window_get_cursor_current (uint *xpos, uint *ypos) |
|
void | gidispatch_set_object_registry (gidispatch_rock_t(*regi)(void *obj, uint objclass), void(*unregi)(void *obj, uint objclass, gidispatch_rock_t objrock)) |
|
void | gidispatch_set_retained_registry (gidispatch_rock_t(*regi)(void *array, uint len, const char *typecode), void(*unregi)(void *array, uint len, const char *typecode, gidispatch_rock_t objrock)) |
|
uint32 | gidispatch_count_classes () const |
|
const gidispatch_intconst_t * | gidispatch_get_class (uint32 index) const |
|
uint32 | gidispatch_count_intconst () const |
|
const gidispatch_intconst_t * | gidispatch_get_intconst (uint32 index) const |
|
const char * | gidispatch_prototype (uint32 funcnum) const |
|
void | gidispatch_call (uint32 funcnum, uint32 numargs, gluniversal_t *arglist) |
|
gidispatch_rock_t | gidispatch_get_objrock (void *obj, uint objclass) |
|
| GlkEngine (OSystem *syst, const GlkGameDescription &gameDesc) |
|
virtual | ~GlkEngine () |
|
virtual bool | canLoadGameStateCurrently () override |
| Returns true if a savegame can be loaded. More...
|
|
virtual bool | canSaveGameStateCurrently () override |
| Returns true if the game can be saved. More...
|
|
Common::Language | getLanguage () const |
| Returns the language. More...
|
|
const Common::String & | getGameID () const |
| Returns the game's Id. More...
|
|
const Common::String & | getGameMD5 () const |
| Returns the game's md5. More...
|
|
const Common::String & | getFilename () const |
| Returns the primary filename for the game. More...
|
|
uint | getOptions () const |
| Returns any options returned with the game's detection entry. More...
|
|
const Common::String & | getTargetName () const |
| Return the game engine's target name. More...
|
|
Common::String | getSaveName (uint slot) const |
| Return the filename for a given save slot. More...
|
|
Common::Error | loadGame () |
| Prompt the user for a savegame to load, and then load it. More...
|
|
Common::Error | saveGame () |
| Prompt the user to save their game, and then save it. More...
|
|
virtual Common::Error | loadGameState (int slot) override |
| Load a savegame from a given slot. More...
|
|
virtual Common::Error | saveGameState (int slot, const Common::String &desc) override |
| Save the game to a given slot. More...
|
|
virtual void | syncSoundSettings () override |
| Updates sound settings. More...
|
|
void | beep () |
| Generate a beep. More...
|
|
uint | getRandomNumber (uint max) |
| Get a random number. More...
|
|
void | setRandomNumberSeed (uint seed) |
| Set a random number seed. More...
|
|
void | quitGame () |
| Flags to quit the game. More...
|
|
bool | shouldQuit () const |
| Returns true if the game should be quit. More...
|
|
void | pauseEngine (bool pause) |
| Pause or resume the engine. More...
|
|
bool | isPaused () const |
| Return whether the engine is currently paused or not. More...
|
|
void | openMainMenuDialog () |
| Run the Global Main Menu Dialog. More...
|
|
uint32 | getTotalPlayTime () const |
| Get the total play time. More...
|
|
void | setTotalPlayTime (uint32 time=0) |
| Set the game time counter to the specified time. More...
|
|
Common::TimerManager * | getTimerManager () |
|
Common::EventManager * | getEventManager () |
|
Common::SaveFileManager * | getSaveFileManager () |
|
void | checkCD () |
| On some systems, check if the game appears to be run from CD. More...
|
|
| Engine (OSystem *syst) |
|
virtual | ~Engine () |
|
virtual void | initializePath (const Common::FSNode &gamePath) |
| Init SearchMan according to the game path. More...
|
|
virtual void | errorString (const char *buf_input, char *buf_output, int buf_output_size) |
| Prepare an error string, which is printed by the error() function. More...
|
|
virtual GUI::Debugger * | getDebugger () |
| Return the engine's debugger instance, if any. More...
|
|
virtual void | initKeymap () |
|
virtual void | deinitKeymap () |
|
virtual void | flipMute () |
| Flip mute all sound option. More...
|
|
void | setGameToLoadSlot (int slot) |
| Sets the game slot for a savegame to be loaded after global main menu execution. More...
|
|
JACL game interpreter.
Definition at line 36 of file jacl.h.