Difference between revisions of "Gob Scripts"

Jump to navigation Jump to search
2,627 bytes added ,  14:06, 29 March 2023
m
 
(36 intermediate revisions by the same user not shown)
Line 32: Line 32:


===Functions===
===Functions===
* o2_getFreeMem is for keeping up Memory (RAM) to dont produce any out of memory problems. on PCs that have low Memory.
* o2_getFreeMem is for keeping up Memory (RAM) to prevent to produce any out of memory problems. on PCs that have low Memory.
* o2_writeData is for Write Data in a specfic File.
* o2_writeData is for write Data in a specfic File.
* o7_copyFile copy a File to a other Directory.
* o7_copyFile copy a File to a other Directory.
* o7_readData reads a specfic File.
* o7_readData reads a specfic File.
* o5_deleteFile is for deleting a specfic File.
* o5_deleteFile is for deleting a specfic File.
* o2_checkData checks for a specfic File if its exists
* o2_checkData checks for a specfic File if its exists.
* o1_manageDataFile is for using the STK File or loading the next STK File into ScummVM.
* o1_manageDataFile is for using the STK File or loading the next STK File into ScummVM.
* o4_playVmdOrMusic is for playing a specfic VMD File that contains a Movie or Music.
* o4_playVmdOrMusic is for playing a specfic VMD File that contains a Movie or Music.
Line 47: Line 47:
* oPlaytoons_openItk for opening a specfic ITK for the next Files.
* oPlaytoons_openItk for opening a specfic ITK for the next Files.
* o2_closeItk when the ITK finished opening and reading Files from it then closes.
* o2_closeItk when the ITK finished opening and reading Files from it then closes.
* o3_copySprite is for copying the Sprite in the Game.
* o6_createSprite is for creating Sprites.
* o6_createSprite is for creating Sprites.
* o1_loadSpriteToPos to load a Sprite to a specfic Position.
* o1_loadSpriteToPos to load a Sprite to a specfic Position.
Line 74: Line 75:
* o1_return returns in the Game as example Gobliins if you click on certain places in the Game.
* o1_return returns in the Game as example Gobliins if you click on certain places in the Game.
* o1_loadObjects load the Objects into the Game.
* o1_loadObjects load the Objects into the Game.
* o1_drawObjects is for drawing the Objects when they got loaded into the Game.
* o1_loadMap is for loading up the Map.
* o1_loadMap is for loading up the Map.
* o1_renderStatic is for Render Animation to a static Image.
* o1_loadSpriteContent is for loading the Contents of the Sprite.
* o1_animateObjects makes the Object to an Animation.
* o1_waitEndPlay it waits until the End of the Song / Voice is played.
* o1_getAnimLayerInfo is for to get Information about the Layer of the Animation.
* o1_animatePalette is for selecting for the Animation the correct Palette.
* o1_animateCursor is for animate the Cursor.
* o1_clearCursorAnim is for clearing the Cursor Animation for the next initialization.
* o2_stopCD is for stop the current CD from playing.
* o2_getCDTrackPos is for playing the needed Track for the Game.
* o2_playCDTrack is for playing a specfic Track of the CD.
* o2_readLIC is for reading the Game Name.
* o1_blitCursor is for blitting the Cursor.
* o3_getTotTextItemPart is for if you move the Cursor on a Item and the Text is getting displayed. It also used by o1_printTotText in a similar way.
* o2_readData is for reading Data from a File, in some cases from a .INF File.
* o2_openItk is for opening a specfic ITK File for the Game.
* o2_playImd is for playing a IMD File.
* o5_getSystemCDSpeed is for getting the Information of the CD-Drive how fast it is.
* o5_getSystemRAM is for getting Information of how much RAM the PC have.
* o5_getSystemCPUSpeed to find out which CPU Speed / Clock the CPU has.
* o5_getSystemDrawSpeed is for maybe the Graphics Card or for ddraw.
* o5_totalSystemSpecs from this the Settings for the best Performance get grabbed for the Game.
* o5_loadSystemSpecs is for loading then the Game in the best possible Graphics.
* o1_strToLong is to jump to var8 & var32 variables.


===Geisha Functions===
===Geisha Functions===
Line 88: Line 114:
* oGeisha_caress1 compares two numbers for the most part it is (-1, 0).
* oGeisha_caress1 compares two numbers for the most part it is (-1, 0).
* oGeisha_caress2 is doing the same as for oGeisha_caress1.
* oGeisha_caress2 is doing the same as for oGeisha_caress1.
===Gobliins Functions===
* o1_loadGoblin loads Goblin into the Game.
* o2_moveGoblin is for move Goblin.
* o1_moveGoblin0 its for moving Goblin0 similar to o2_moveGoblin.
* o2_setGoblinState is for setting the current State in Gobliins.
===Fascination Functions===
* oFascin_setRenderFlags is for setting the Flags for Rendering.
* oFascin_setWinFlags is settings Flags for Windows.
* oFascin_setWinSize for setting the right Window Size.
* oFascin_openWin is for opening a new Window.
* oFascin_closeWin is for closing the current Window.
* oFascin_copySprite loads / copy a specfic Sprite into the Game.
===Bargon Attack Functions===
* oBargon_intro1 executes / load something from INTRO1.TOT.
* oBargon_intro2 executes / load something from INTRO2.TOT.
* oBargon_intro3 executes / load something from INTRO3.TOT.


==External links==
==External links==
*[https://buildbot.scummvm.org/#/dailybuilds Dailybuild of the ScummVM Tools] (and click in the Section of ScummVM Tools on your Platform)
*[https://buildbot.scummvm.org/#/dailybuilds Dailybuild of the ScummVM Tools] (and click in the Section of ScummVM Tools on your Platform)
2,059

edits

Navigation menu