ScummVM
Glk::Magnetic::Magnetic Class Reference

Magnetic game interpreter. More...

#include <magnetic.h>

Inheritance diagram for Glk::Magnetic::Magnetic:
Collaboration diagram for Glk::Magnetic::Magnetic:

Public Member Functions

 Magnetic (OSystem *syst, const GlkGameDescription &gameDesc)
 Constructor. More...
 
void runGame ()
 Run the game. More...
 
virtual InterpreterType getInterpreterType () const override
 Returns the running interpreter type. More...
 
virtual Common::Error readSaveData (Common::SeekableReadStream *rs) override
 Load a savegame from the passed Quetzal file chunk stream. More...
 
virtual Common::Error writeGameData (Common::WriteStream *ws) override
 Save the game. More...
 
- Public Member Functions inherited from Glk::GlkAPI
 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_tgidispatch_get_class (uint32 index) const
 
uint32 gidispatch_count_intconst () const
 
const gidispatch_intconst_tgidispatch_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)
 
- Public Member Functions inherited from Glk::GlkEngine
 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::StringgetGameID () const
 Returns the game's Id. More...
 
const Common::StringgetGameMD5 () const
 Returns the game's md5. More...
 
const Common::StringgetFilename () 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::StringgetTargetName () 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...
 
- Public Member Functions inherited from Engine
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::TimerManagergetTimerManager ()
 
Common::EventManagergetEventManager ()
 
Common::SaveFileManagergetSaveFileManager ()
 
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::DebuggergetDebugger ()
 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...
 

Public Attributes

Common::File _hintFile
 
Common::File _gfxFile
 
Common::File _sndFile
 
bool vm_exited_cleanly
 
uint dlimit
 
uint slimit
 
int log_on
 
uint32 dreg [8]
 
uint32 areg [8]
 
uint32 i_count
 
uint32 string_size
 
uint32 rseed
 
uint32 pc
 
uint32 arg1i
 
uint32 mem_size
 
uint16 properties
 
uint16 fl_sub
 
uint16 fl_tab
 
uint16 fl_size
 
uint16 fp_tab
 
uint16 fp_size
 
byte zflag
 
byte nflag
 
byte cflag
 
byte vflag
 
byte byte1
 
byte byte2
 
byte regnr
 
byte admode
 
byte opsize
 
bytearg1
 
bytearg2
 
byte is_reversible
 
byte running
 
byte tmparg [4]
 
byte lastchar
 
byte version
 
byte sd
 
bytedecode_table
 
byterestart
 
bytecode
 
bytestring
 
bytestring2
 
bytestring3
 
bytedict
 
byte quick_flag
 
byte gfx_ver
 
bytegfx_buf
 
bytegfx_data
 
bytegfx2_hdr
 
bytegfx2_buf
 
Common::String gfx2_name
 
uint16 gfx2_hsize
 
bytesnd_buf
 
bytesnd_hdr
 
uint16 snd_hsize
 
Common::File gfx_fp
 
uint32 undo_regs [2][18]
 
uint32 undo_pc
 
uint32 undo_size
 
byteundo [2]
 
byte undo_stat [2]
 
uint16 gfxtable
 
uint16 table_dist
 
uint16 v4_id
 
uint16 next_table
 
ms_hinthints
 
bytehint_contents
 
picture anim_frame_table [MAX_ANIMS]
 
uint16 pos_table_size
 
uint16 pos_table_count [MAX_POSITIONS]
 
ms_position pos_table [MAX_POSITIONS][MAX_ANIMS]
 
bytecommand_table
 
int command_index
 
lookup anim_table [MAX_POSITIONS]
 
int pos_table_index
 
int pos_table_max
 
ms_position pos_array [MAX_FRAMES]
 
byte anim_repeat
 
- Public Attributes inherited from Glk::GlkEngine
Blorb_blorb
 
Clipboard_clipboard
 
Conf_conf
 
Debugger_debugger
 
Events_events
 
Pictures_pictures
 
Screen_screen
 
Selection_selection
 
Streams_streams
 
Sounds_sounds
 
Windows_windows
 
bool _copySelect
 
bool _terminated
 
gidispatch_rock_t(* gli_register_obj )(void *obj, uint objclass)
 
void(* gli_unregister_obj )(void *obj, uint objclass, gidispatch_rock_t objrock)
 
gidispatch_rock_t(* gli_register_arr )(void *array, uint len, const char *typecode)
 
void(* gli_unregister_arr )(void *array, uint len, const char *typecode, gidispatch_rock_t objrock)
 
- Public Attributes inherited from Engine
OSystem_system
 
Audio::Mixer_mixer
 

Private Member Functions

bool is_gamefile_valid ()
 Validates the game file, and if it's invalid, displays an error dialog. More...
 
int ms_init (bool restarting=false)
 Loads the interpreter with a game. More...
 
void ms_stop ()
 Stops further processing of opcodes. More...
 
bool ms_is_running () const
 Detects if game is running. More...
 
bool ms_is_magwin () const
 Returns true if running a Magnetic Windows game. More...
 
void ms_freemem ()
 Frees all allocated ressources. More...
 
byte init_gfx1 (size_t size)
 
byte init_gfx2 (size_t size)
 
void ms_showpic (int c, byte mode)
 Displays or hides a picture. More...
 
bool is_blank (uint16 line, uint16 width) const
 Returns true if a given line is blank. More...
 
bytems_extract1 (byte pic, uint16 *w, uint16 *h, uint16 *pal)
 
int16 find_name_in_header (const Common::String &name, bool upper)
 
void extract_frame (const picture *pic)
 
bytems_extract2 (const char *name, uint16 *w, uint16 *h, uint16 *pal, byte *is_anim)
 
bytems_extract (uint32 pic, uint16 *w, uint16 *h, uint16 *pal, byte *is_anim)
 
byte ms_animate (ms_position **positions, uint16 *count)
 
bytems_get_anim_frame (int16 number, uint16 *width, uint16 *height, byte **mask)
 
bool ms_anim_is_repeating () const
 
void write_reg (int i, int s, uint32 val)
 
byte init_snd (size_t size)
 
int16 find_name_in_sndheader (const Common::String &name)
 
bytesound_extract (const Common::String &name, uint32 *length, uint16 *tempo)
 

Additional Inherited Members

- Public Types inherited from Engine
enum  EngineFeature {
  kSupportsSubtitleOptions, kSupportsRTL, kSupportsLoadingDuringRuntime, kSupportsSavingDuringRuntime,
  kSupportsJoystick
}
 A feature in this context means an ability of the engine which can be either available or not. More...
 
- Static Public Member Functions inherited from Engine
static void quitGame ()
 Request the engine to quit. More...
 
static bool shouldQuit ()
 Return whether the ENGINE should quit respectively should return to the launcher. More...
 
static bool warnUserAboutUnsupportedGame ()
 Display a warning to the user that the game is not fully supported. More...
 
- Protected Member Functions inherited from Glk::GlkEngine
virtual Common::Error run ()
 Init the engine and start its main loop. More...
 
virtual bool hasFeature (EngineFeature f) const override
 Returns true whether a given feature is supported by the engine. More...
 
virtual void initGraphicsMode ()
 Setup the video mode. More...
 
virtual ScreencreateScreen ()
 Create the screen. More...
 
virtual DebuggercreateDebugger ()
 Creates a debugger instance. More...
 
- Protected Member Functions inherited from Engine
virtual int runDialog (GUI::Dialog &dialog)
 
bool shouldPerformAutoSave (int lastSaveTime)
 Indicate whether an autosave should be performed. More...
 
virtual void pauseEngineIntern (bool pause)
 Actual implementation of pauseEngine by subclasses. More...
 
- Protected Attributes inherited from Glk::GlkEngine
const GlkGameDescription _gameDescription
 
Common::RandomSource _random
 
int _loadSaveSlot
 
Common::File _gameFile
 
PCSpeaker_pcSpeaker
 
bool _quitFlag
 
- Protected Attributes inherited from Engine
Common::TimerManager_timer
 
Common::EventManager_eventMan
 
Common::SaveFileManager_saveFileMan
 
GUI::Dialog_mainMenuDialog
 
const Common::String _targetName
 

Detailed Description

Magnetic game interpreter.

Definition at line 36 of file magnetic.h.

Constructor & Destructor Documentation

◆ Magnetic()

Glk::Magnetic::Magnetic::Magnetic ( OSystem syst,
const GlkGameDescription gameDesc 
)

Constructor.

Definition at line 30 of file magnetic.cpp.

Member Function Documentation

◆ getInterpreterType()

virtual InterpreterType Glk::Magnetic::Magnetic::getInterpreterType ( ) const
inlineoverridevirtual

Returns the running interpreter type.

Implements Glk::GlkEngine.

Definition at line 191 of file magnetic.h.

◆ is_gamefile_valid()

bool Glk::Magnetic::Magnetic::is_gamefile_valid ( )
private

Validates the game file, and if it's invalid, displays an error dialog.

Definition at line 71 of file magnetic.cpp.

◆ readSaveData()

Common::Error Glk::Magnetic::Magnetic::readSaveData ( Common::SeekableReadStream rs)
overridevirtual

Load a savegame from the passed Quetzal file chunk stream.

Implements Glk::GlkEngine.

Definition at line 61 of file magnetic.cpp.

◆ runGame()

void Glk::Magnetic::Magnetic::runGame ( )
virtual

Run the game.

Implements Glk::GlkEngine.

Definition at line 54 of file magnetic.cpp.

◆ writeGameData()

Common::Error Glk::Magnetic::Magnetic::writeGameData ( Common::WriteStream ws)
overridevirtual

Save the game.

The passed write stream represents access to the UMem chunk in the Quetzal save file that will be created

Implements Glk::GlkEngine.

Definition at line 66 of file magnetic.cpp.

Member Data Documentation

◆ _gfxFile

Common::File Glk::Magnetic::Magnetic::_gfxFile

Definition at line 39 of file magnetic.h.

◆ _hintFile

Common::File Glk::Magnetic::Magnetic::_hintFile

Definition at line 38 of file magnetic.h.

◆ _sndFile

Common::File Glk::Magnetic::Magnetic::_sndFile

Definition at line 40 of file magnetic.h.

◆ admode

byte Glk::Magnetic::Magnetic::admode

Definition at line 48 of file magnetic.h.

◆ anim_frame_table

picture Glk::Magnetic::Magnetic::anim_frame_table[MAX_ANIMS]

Definition at line 67 of file magnetic.h.

◆ anim_repeat

byte Glk::Magnetic::Magnetic::anim_repeat

Definition at line 77 of file magnetic.h.

◆ anim_table

lookup Glk::Magnetic::Magnetic::anim_table[MAX_POSITIONS]

Definition at line 73 of file magnetic.h.

◆ areg

uint32 Glk::Magnetic::Magnetic::areg[8]

Definition at line 46 of file magnetic.h.

◆ arg1

byte* Glk::Magnetic::Magnetic::arg1

Definition at line 49 of file magnetic.h.

◆ arg1i

uint32 Glk::Magnetic::Magnetic::arg1i

Definition at line 46 of file magnetic.h.

◆ arg2

byte * Glk::Magnetic::Magnetic::arg2

Definition at line 49 of file magnetic.h.

◆ byte1

byte Glk::Magnetic::Magnetic::byte1

Definition at line 48 of file magnetic.h.

◆ byte2

byte Glk::Magnetic::Magnetic::byte2

Definition at line 48 of file magnetic.h.

◆ cflag

byte Glk::Magnetic::Magnetic::cflag

Definition at line 48 of file magnetic.h.

◆ code

byte * Glk::Magnetic::Magnetic::code

Definition at line 51 of file magnetic.h.

◆ command_index

int Glk::Magnetic::Magnetic::command_index

Definition at line 72 of file magnetic.h.

◆ command_table

byte* Glk::Magnetic::Magnetic::command_table

Definition at line 71 of file magnetic.h.

◆ decode_table

byte* Glk::Magnetic::Magnetic::decode_table

Definition at line 51 of file magnetic.h.

◆ dict

byte * Glk::Magnetic::Magnetic::dict

Definition at line 52 of file magnetic.h.

◆ dlimit

uint Glk::Magnetic::Magnetic::dlimit

Definition at line 42 of file magnetic.h.

◆ dreg

uint32 Glk::Magnetic::Magnetic::dreg[8]

Definition at line 46 of file magnetic.h.

◆ fl_size

uint16 Glk::Magnetic::Magnetic::fl_size

Definition at line 47 of file magnetic.h.

◆ fl_sub

uint16 Glk::Magnetic::Magnetic::fl_sub

Definition at line 47 of file magnetic.h.

◆ fl_tab

uint16 Glk::Magnetic::Magnetic::fl_tab

Definition at line 47 of file magnetic.h.

◆ fp_size

uint16 Glk::Magnetic::Magnetic::fp_size

Definition at line 47 of file magnetic.h.

◆ fp_tab

uint16 Glk::Magnetic::Magnetic::fp_tab

Definition at line 47 of file magnetic.h.

◆ gfx2_buf

byte * Glk::Magnetic::Magnetic::gfx2_buf

Definition at line 54 of file magnetic.h.

◆ gfx2_hdr

byte* Glk::Magnetic::Magnetic::gfx2_hdr

Definition at line 54 of file magnetic.h.

◆ gfx2_hsize

uint16 Glk::Magnetic::Magnetic::gfx2_hsize

Definition at line 56 of file magnetic.h.

◆ gfx2_name

Common::String Glk::Magnetic::Magnetic::gfx2_name

Definition at line 55 of file magnetic.h.

◆ gfx_buf

byte * Glk::Magnetic::Magnetic::gfx_buf

Definition at line 53 of file magnetic.h.

◆ gfx_data

byte * Glk::Magnetic::Magnetic::gfx_data

Definition at line 53 of file magnetic.h.

◆ gfx_fp

Common::File Glk::Magnetic::Magnetic::gfx_fp

Definition at line 59 of file magnetic.h.

◆ gfx_ver

byte Glk::Magnetic::Magnetic::gfx_ver

Definition at line 53 of file magnetic.h.

◆ gfxtable

uint16 Glk::Magnetic::Magnetic::gfxtable

Definition at line 62 of file magnetic.h.

◆ hint_contents

byte* Glk::Magnetic::Magnetic::hint_contents

Definition at line 66 of file magnetic.h.

◆ hints

ms_hint* Glk::Magnetic::Magnetic::hints

Definition at line 65 of file magnetic.h.

◆ i_count

uint32 Glk::Magnetic::Magnetic::i_count

Definition at line 46 of file magnetic.h.

◆ is_reversible

byte Glk::Magnetic::Magnetic::is_reversible

Definition at line 49 of file magnetic.h.

◆ lastchar

byte Glk::Magnetic::Magnetic::lastchar

Definition at line 50 of file magnetic.h.

◆ log_on

int Glk::Magnetic::Magnetic::log_on

Definition at line 43 of file magnetic.h.

◆ mem_size

uint32 Glk::Magnetic::Magnetic::mem_size

Definition at line 46 of file magnetic.h.

◆ next_table

uint16 Glk::Magnetic::Magnetic::next_table

Definition at line 63 of file magnetic.h.

◆ nflag

byte Glk::Magnetic::Magnetic::nflag

Definition at line 48 of file magnetic.h.

◆ opsize

byte Glk::Magnetic::Magnetic::opsize

Definition at line 48 of file magnetic.h.

◆ pc

uint32 Glk::Magnetic::Magnetic::pc

Definition at line 46 of file magnetic.h.

◆ pos_array

ms_position Glk::Magnetic::Magnetic::pos_array[MAX_FRAMES]

Definition at line 76 of file magnetic.h.

◆ pos_table

ms_position Glk::Magnetic::Magnetic::pos_table[MAX_POSITIONS][MAX_ANIMS]

Definition at line 70 of file magnetic.h.

◆ pos_table_count

uint16 Glk::Magnetic::Magnetic::pos_table_count[MAX_POSITIONS]

Definition at line 69 of file magnetic.h.

◆ pos_table_index

int Glk::Magnetic::Magnetic::pos_table_index

Definition at line 74 of file magnetic.h.

◆ pos_table_max

int Glk::Magnetic::Magnetic::pos_table_max

Definition at line 75 of file magnetic.h.

◆ pos_table_size

uint16 Glk::Magnetic::Magnetic::pos_table_size

Definition at line 68 of file magnetic.h.

◆ properties

uint16 Glk::Magnetic::Magnetic::properties

Definition at line 47 of file magnetic.h.

◆ quick_flag

byte Glk::Magnetic::Magnetic::quick_flag

Definition at line 53 of file magnetic.h.

◆ regnr

byte Glk::Magnetic::Magnetic::regnr

Definition at line 48 of file magnetic.h.

◆ restart

byte * Glk::Magnetic::Magnetic::restart

Definition at line 51 of file magnetic.h.

◆ rseed

uint32 Glk::Magnetic::Magnetic::rseed

Definition at line 46 of file magnetic.h.

◆ running

byte Glk::Magnetic::Magnetic::running

Definition at line 49 of file magnetic.h.

◆ sd

byte Glk::Magnetic::Magnetic::sd

Definition at line 50 of file magnetic.h.

◆ slimit

uint Glk::Magnetic::Magnetic::slimit

Definition at line 42 of file magnetic.h.

◆ snd_buf

byte* Glk::Magnetic::Magnetic::snd_buf

Definition at line 57 of file magnetic.h.

◆ snd_hdr

byte * Glk::Magnetic::Magnetic::snd_hdr

Definition at line 57 of file magnetic.h.

◆ snd_hsize

uint16 Glk::Magnetic::Magnetic::snd_hsize

Definition at line 58 of file magnetic.h.

◆ string

byte * Glk::Magnetic::Magnetic::string

Definition at line 51 of file magnetic.h.

◆ string2

byte * Glk::Magnetic::Magnetic::string2

Definition at line 51 of file magnetic.h.

◆ string3

byte* Glk::Magnetic::Magnetic::string3

Definition at line 52 of file magnetic.h.

◆ string_size

uint32 Glk::Magnetic::Magnetic::string_size

Definition at line 46 of file magnetic.h.

◆ table_dist

uint16 Glk::Magnetic::Magnetic::table_dist

Definition at line 62 of file magnetic.h.

◆ tmparg

byte Glk::Magnetic::Magnetic::tmparg[4]

Definition at line 49 of file magnetic.h.

◆ undo

byte* Glk::Magnetic::Magnetic::undo[2]

Definition at line 61 of file magnetic.h.

◆ undo_pc

uint32 Glk::Magnetic::Magnetic::undo_pc

Definition at line 60 of file magnetic.h.

◆ undo_regs

uint32 Glk::Magnetic::Magnetic::undo_regs[2][18]

Definition at line 60 of file magnetic.h.

◆ undo_size

uint32 Glk::Magnetic::Magnetic::undo_size

Definition at line 60 of file magnetic.h.

◆ undo_stat

byte Glk::Magnetic::Magnetic::undo_stat[2]

Definition at line 61 of file magnetic.h.

◆ v4_id

uint16 Glk::Magnetic::Magnetic::v4_id

Definition at line 63 of file magnetic.h.

◆ version

byte Glk::Magnetic::Magnetic::version

Definition at line 50 of file magnetic.h.

◆ vflag

byte Glk::Magnetic::Magnetic::vflag

Definition at line 48 of file magnetic.h.

◆ vm_exited_cleanly

bool Glk::Magnetic::Magnetic::vm_exited_cleanly

Definition at line 41 of file magnetic.h.

◆ zflag

byte Glk::Magnetic::Magnetic::zflag

Definition at line 48 of file magnetic.h.


The documentation for this class was generated from the following files: