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HT,
KC_END,
KC_DOWN,
KC_NEXT,
KC_INSERT,
KC_DELETE,
KC_LWIN,
KC_RWIN,
KC_APPS,
KC_POWER,
KC_SLEEP,
KC_WAKE,
KC_MEDIASELECT
} |
|
enum | MouseState {
LEFT,
RIGHT,
MIDDLE,
X,
Y,
WHEEL
} |
|
enum | GamepadButton {
BUTTON_NONE,
MENU,
VIEW,
A,
B,
X,
Y,
PAD_UP,
PAD_DOWN,
PAD_LEFT,
PAD_RIGHT,
SHOULDER_LEFT,
SHOULDER_RIGHT,
THUMB_LEFT,
THUMB_RIGHT
} |
|
enum | GamepadAxis {
LEFT_THUMB_HORIZONTAL,
LEFT_THUMB_VERTICAL,
RIGHT_THUMB_HORIZONTAL,
RIGHT_THUMB_VERTICAL,
LEFT_TRIGGER,
RIGHT_TRIGGER
} |
|
enum | FileMode { READ,
WRITE,
APPEND
} |
|
enum | FileAttr { DIRECTORY,
HIDDEN,
READONLY,
INVALID
} |
|
enum | FindFileFlags |
|
|
proto void | GetHourMinuteSecond (out int hour, out int minute, out int second) |
| Returns world time. More...
|
|
proto void | GetYearMonthDay (out int year, out int month, out int day) |
| Returns world date. More...
|
|
proto void | GetHourMinuteSecondUTC (out int hour, out int minute, out int second) |
| Returns UTC world time. More...
|
|
proto void | GetYearMonthDayUTC (out int year, out int month, out int day) |
| Returns UTC world date. More...
|
|
proto string | GetProfileName () |
|
proto string | GetMachineName () |
|
proto native int | TickCount (int prev) |
| performance counter. Returns number of CPU ticks between 'prev' and 'now' More...
|
|
proto native void | MemoryValidation (bool enable) |
| Switches memory validation (huge slowdown! Use with care only for certain section of code!) More...
|
|
proto bool | GetCLIParam (string param, out string val) |
| Returns command line argument. More...
|
|
proto native bool | IsCLIParam (string param) |
| Returns if command line argument is present. More...
|
|
proto native int | KeyState (KeyCode key) |
|
proto native void | ClearKey (KeyCode key) |
|
proto native int | GetMouseState (MouseState index) |
|
proto void | GetMousePos (out int x, out int y) |
|
proto void | GetScreenSize (out int x, out int y) |
|
proto native int | GetGamepadButton (GamepadButton button) |
| return if the button is pressed or not More...
|
|
proto native float | GetGamepadAxis (GamepadAxis axis) |
| return value in gamepad axis <-1000; 1000> More...
|
|
proto native ParseHandle | BeginParse (string filename) |
|
proto int | ParseLine (ParseHandle tp, int num, string tokens[]) |
|
proto native void | EndParse (ParseHandle file) |
|
proto bool | FileExist (string name) |
| Check existence of file. More...
|
|
proto FileHandle | OpenFile (string name, FileMode mode) |
| Opens File. More...
|
|
proto int | ReadFile (FileHandle file, void param_array, int length) |
|
proto void | CloseFile (FileHandle file) |
| Close the File. More...
|
|
proto void | FPrint (FileHandle file, void var) |
| Write to file. More...
|
|
proto void | FPrintln (FileHandle file, void var) |
| Write to file and add new line. More...
|
|
proto int | FGets (FileHandle file, string var) |
| Get line from file, every next call of this function returns next line. More...
|
|
enum FindFileFlags | FindFile (string pattern, out string fileName, out FileAttr fileAttributes, FindFileFlags flags) |
|
proto bool | FindNextFile (FindFileHandle handle, out string fileName, out FileAttr fileAttributes) |
|
proto native void | CloseFindFile (FindFileHandle handle) |
|
proto native bool | MakeDirectory (string name) |
| Makes a directory. More...
|
|
proto native bool | DeleteFile (string name) |
| delete file. Works only on "$profile:" and "$saves:" locations More...
|
|
proto native bool | CopyFile (string sourceName, string destName) |
| copy file. destName must be "$profile:" or "$saves:" location More...
|
|