Gkinterface: Difference between revisions

From Vendetta Lua
Jump to navigationJump to search
Line 48: Line 48:


=== IsCtrlKeyDown ===
=== 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 ===
=== IsShiftKeyDown ===
=== LoadDefaults ===
=== LoadDefaults ===

Revision as of 17:45, 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

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

LoadDefaults

QueryAudio

QueryVideo

SetAudioDriver

SetAudioOptions

SetCamera

SetFOV

SetGameOptions

SetGraphicsOptions

SetMouseCursor

SetMouseCursorIndexImage

SetMouseHotspot

SetMouseLookMode

SetMouseOptions

SetMouseSensitivity

SetVideoDriver

SetVideoOptions

SetVisualQuality

ShowMouse

UnbindCommand

UninitializeLevelGfx