Gkinterface: Difference between revisions
Greshnatok (talk | contribs) |
Greshnatok (talk | contribs) |
||
Line 26: | Line 26: | ||
=== GetVideoOptions === | === GetVideoOptions === | ||
=== GetXResolution === | === GetXResolution === | ||
'''Definition:''' | |||
gkinterface.GetXResolution -> int width | |||
'''Description''' | |||
Returns the width of the current game resolution | |||
'''Arguments''' | |||
None | |||
''' Returns''' | |||
An int containing the current game screen width (e.g. 800) | |||
=== GetYResolution === | === GetYResolution === | ||
=== GKLoadCommands === | === GKLoadCommands === |
Revision as of 17:54, 3 February 2008
Interface related functions.
Functions
AddDirectionalLight
BindCommand
BindJoystickCommand
CaptureMouse
Draw3DScene
EvictTextures
GetAudioDrivers
GetAudioOptions
GetBindsForCommand
GetCommandForKeyboardBind
GetCurrentAudioDriverName
GetCurrentVideoDriverName
GetGameOptions
GetGraphicsOptions
GetInputCodeByName
GetMouseLookMode
GetMouseOptions
GetMousePosition
GetMouseSensitivity
GetNameForInputCode
GetVideoDrivers
GetVideoOptions
GetXResolution
Definition: gkinterface.GetXResolution -> int width
Description Returns the width of the current game resolution
Arguments None
Returns An int containing the current game screen width (e.g. 800)
GetYResolution
GKLoadCommands
GKPoll
GKProcessCommand
GKRenderFrame
GKUpdateFrame
HideMouse
InitializeLevelGfx
IsAltKeyDown
Definition: gkinterface.IsAltKeyDown() -> bool pressed
Description Test if the Alt key is currently pressed.
Arguments None
Returns True if the either of the alt keys is currently pressed, false otherwise.
IsCtrlKeyDown
Definition: gkinterface.IsCtrlKeyDown() -> bool pressed
Description Test if the Ctrl key is currently pressed.
Arguments None
Returns True if the either of the ctrl keys is currently pressed, false otherwise.
IsShiftKeyDown
Definition: gkinterface.IsShiftKeyDown() -> bool pressed
Description Test if the shift key is currently pressed.
Arguments None
Returns True if the either of the shift keys is currently pressed, false otherwise.