- project.yaml android.ffmpeg : ffmpeg 8.0.1 (LGPL, LAME 3.100 pour le MP3) compilé avec le NDK par ABI (tools/android/build.sh build_ffmpeg, cache ~/.jumphp/android-native/ffmpeg), empaqueté en lib/<abi>/libffmpeg.so (useLegacyPackaging : déballé dans nativeLibraryDir), chemin donné à PHP par JUMPHP_FFMPEG (GameActivity) - PHP Android : proc_open revient (le -include de jumphp-android.h passé à make et non plus à configure : il faisait échouer tous les tests de fonctions d'unistd.h, fork compris) ; --enable-posix ; arbre PHP par clé de build - php-sdl : docker/ext/php-sdl-system.patch (SDL_OpenURL, SDL_Set/Get/HasClipboardText) ; SdlProvider sur Android : Shell::openUrl ouvre le navigateur, Clipboard::copy/paste le presse-papiers - project.yaml android.self_update : JumPHP\Native\AndroidApp::install($apk) (ApkProvider content://, REQUEST_INSTALL_PACKAGES, page « sources inconnues » puis reprise), JUMPHP_ANDROID_VERSION_CODE/_NAME - WinZik : android.ffmpeg et android.self_update ; docs/android-native.md Co-Authored-By: Claude Opus 5.5 <[email protected]>
1554 lines
58 KiB
PHP
1554 lines
58 KiB
PHP
<?php
|
|
|
|
// Generated by tools/generate-stubs.php from the SDL extensions of the desktop image. Do not edit.
|
|
// The browser engine has the same extensions (same commits), plus wasmnet (php-wasm-network).
|
|
|
|
// --- extension sdl 2.7.0
|
|
|
|
const SDL_BLENDMODE_NONE = 0;
|
|
const SDL_BLENDMODE_BLEND = 1;
|
|
const SDL_BLENDMODE_ADD = 2;
|
|
const SDL_BLENDMODE_MOD = 4;
|
|
const SDL_QUIT = 256;
|
|
const SDL_FINGERDOWN = 1792;
|
|
const SDL_FINGERUP = 1793;
|
|
const SDL_FINGERMOTION = 1794;
|
|
const SDL_APP_TERMINATING = 257;
|
|
const SDL_APP_LOWMEMORY = 258;
|
|
const SDL_APP_WILLENTERBACKGROUND = 259;
|
|
const SDL_APP_DIDENTERBACKGROUND = 260;
|
|
const SDL_APP_WILLENTERFOREGROUND = 261;
|
|
const SDL_APP_DIDENTERFOREGROUND = 262;
|
|
const SDL_WINDOWEVENT = 512;
|
|
const SDL_SYSWMEVENT = 513;
|
|
const SDL_KEYDOWN = 768;
|
|
const SDL_KEYUP = 769;
|
|
const SDL_TEXTEDITING = 770;
|
|
const SDL_TEXTINPUT = 771;
|
|
const SDL_MOUSEMOTION = 1024;
|
|
const SDL_MOUSEBUTTONDOWN = 1025;
|
|
const SDL_MOUSEBUTTONUP = 1026;
|
|
const SDL_MOUSEWHEEL = 1027;
|
|
const SDL_JOYAXISMOTION = 1536;
|
|
const SDL_JOYBUTTONDOWN = 1539;
|
|
const SDL_JOYBUTTONUP = 1540;
|
|
const SDL_WINDOWEVENT_SHOWN = 1;
|
|
const SDL_WINDOWEVENT_HIDDEN = 2;
|
|
const SDL_WINDOWEVENT_EXPOSED = 3;
|
|
const SDL_WINDOWEVENT_MOVED = 4;
|
|
const SDL_WINDOWEVENT_RESIZED = 5;
|
|
const SDL_WINDOWEVENT_SIZE_CHANGED = 6;
|
|
const SDL_WINDOWEVENT_MINIMIZED = 7;
|
|
const SDL_WINDOWEVENT_MAXIMIZED = 8;
|
|
const SDL_WINDOWEVENT_RESTORED = 9;
|
|
const SDL_WINDOWEVENT_ENTER = 10;
|
|
const SDL_WINDOWEVENT_LEAVE = 11;
|
|
const SDL_WINDOWEVENT_FOCUS_GAINED = 12;
|
|
const SDL_WINDOWEVENT_FOCUS_LOST = 13;
|
|
const SDL_WINDOWEVENT_CLOSE = 14;
|
|
const SDL_WINDOWEVENT_TAKE_FOCUS = 15;
|
|
const SDL_WINDOWEVENT_HIT_TEST = 16;
|
|
const SDL_GL_RED_SIZE = 0;
|
|
const SDL_GL_GREEN_SIZE = 1;
|
|
const SDL_GL_BLUE_SIZE = 2;
|
|
const SDL_GL_ALPHA_SIZE = 3;
|
|
const SDL_GL_BUFFER_SIZE = 4;
|
|
const SDL_GL_DOUBLEBUFFER = 5;
|
|
const SDL_GL_DEPTH_SIZE = 6;
|
|
const SDL_GL_STENCIL_SIZE = 7;
|
|
const SDL_GL_ACCUM_RED_SIZE = 8;
|
|
const SDL_GL_ACCUM_GREEN_SIZE = 9;
|
|
const SDL_GL_ACCUM_BLUE_SIZE = 10;
|
|
const SDL_GL_ACCUM_ALPHA_SIZE = 11;
|
|
const SDL_GL_STEREO = 12;
|
|
const SDL_GL_MULTISAMPLEBUFFERS = 13;
|
|
const SDL_GL_MULTISAMPLESAMPLES = 14;
|
|
const SDL_GL_ACCELERATED_VISUAL = 15;
|
|
const SDL_GL_RETAINED_BACKING = 16;
|
|
const SDL_GL_SHARE_WITH_CURRENT_CONTEXT = 22;
|
|
const SDL_GL_FRAMEBUFFER_SRGB_CAPABLE = 23;
|
|
const SDL_GL_CONTEXT_MAJOR_VERSION = 17;
|
|
const SDL_GL_CONTEXT_MINOR_VERSION = 18;
|
|
const SDL_GL_CONTEXT_EGL = 19;
|
|
const SDL_GL_CONTEXT_FLAGS = 20;
|
|
const SDL_GL_CONTEXT_PROFILE_MASK = 21;
|
|
const SDL_GL_CONTEXT_PROFILE_CORE = 1;
|
|
const SDL_GL_CONTEXT_PROFILE_COMPATIBILITY = 2;
|
|
const SDL_GL_CONTEXT_PROFILE_ES = 4;
|
|
const SDL_GL_CONTEXT_DEBUG_FLAG = 1;
|
|
const SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG = 2;
|
|
const SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG = 4;
|
|
const SDL_GL_CONTEXT_RESET_ISOLATION_FLAG = 8;
|
|
const SDL_SCANCODE_UNKNOWN = 0;
|
|
const SDL_SCANCODE_A = 4;
|
|
const SDL_SCANCODE_B = 5;
|
|
const SDL_SCANCODE_C = 6;
|
|
const SDL_SCANCODE_D = 7;
|
|
const SDL_SCANCODE_E = 8;
|
|
const SDL_SCANCODE_F = 9;
|
|
const SDL_SCANCODE_G = 10;
|
|
const SDL_SCANCODE_H = 11;
|
|
const SDL_SCANCODE_I = 12;
|
|
const SDL_SCANCODE_J = 13;
|
|
const SDL_SCANCODE_K = 14;
|
|
const SDL_SCANCODE_L = 15;
|
|
const SDL_SCANCODE_M = 16;
|
|
const SDL_SCANCODE_N = 17;
|
|
const SDL_SCANCODE_O = 18;
|
|
const SDL_SCANCODE_P = 19;
|
|
const SDL_SCANCODE_Q = 20;
|
|
const SDL_SCANCODE_R = 21;
|
|
const SDL_SCANCODE_S = 22;
|
|
const SDL_SCANCODE_T = 23;
|
|
const SDL_SCANCODE_U = 24;
|
|
const SDL_SCANCODE_V = 25;
|
|
const SDL_SCANCODE_W = 26;
|
|
const SDL_SCANCODE_X = 27;
|
|
const SDL_SCANCODE_Y = 28;
|
|
const SDL_SCANCODE_Z = 29;
|
|
const SDL_SCANCODE_1 = 30;
|
|
const SDL_SCANCODE_2 = 31;
|
|
const SDL_SCANCODE_3 = 32;
|
|
const SDL_SCANCODE_4 = 33;
|
|
const SDL_SCANCODE_5 = 34;
|
|
const SDL_SCANCODE_6 = 35;
|
|
const SDL_SCANCODE_7 = 36;
|
|
const SDL_SCANCODE_8 = 37;
|
|
const SDL_SCANCODE_9 = 38;
|
|
const SDL_SCANCODE_0 = 39;
|
|
const SDL_SCANCODE_RETURN = 40;
|
|
const SDL_SCANCODE_ESCAPE = 41;
|
|
const SDL_SCANCODE_BACKSPACE = 42;
|
|
const SDL_SCANCODE_TAB = 43;
|
|
const SDL_SCANCODE_SPACE = 44;
|
|
const SDL_SCANCODE_MINUS = 45;
|
|
const SDL_SCANCODE_EQUALS = 46;
|
|
const SDL_SCANCODE_LEFTBRACKET = 47;
|
|
const SDL_SCANCODE_RIGHTBRACKET = 48;
|
|
const SDL_SCANCODE_BACKSLASH = 49;
|
|
const SDL_SCANCODE_NONUSHASH = 50;
|
|
const SDL_SCANCODE_SEMICOLON = 51;
|
|
const SDL_SCANCODE_APOSTROPHE = 52;
|
|
const SDL_SCANCODE_GRAVE = 53;
|
|
const SDL_SCANCODE_COMMA = 54;
|
|
const SDL_SCANCODE_PERIOD = 55;
|
|
const SDL_SCANCODE_SLASH = 56;
|
|
const SDL_SCANCODE_CAPSLOCK = 57;
|
|
const SDL_SCANCODE_F1 = 58;
|
|
const SDL_SCANCODE_F2 = 59;
|
|
const SDL_SCANCODE_F3 = 60;
|
|
const SDL_SCANCODE_F4 = 61;
|
|
const SDL_SCANCODE_F5 = 62;
|
|
const SDL_SCANCODE_F6 = 63;
|
|
const SDL_SCANCODE_F7 = 64;
|
|
const SDL_SCANCODE_F8 = 65;
|
|
const SDL_SCANCODE_F9 = 66;
|
|
const SDL_SCANCODE_F10 = 67;
|
|
const SDL_SCANCODE_F11 = 68;
|
|
const SDL_SCANCODE_F12 = 69;
|
|
const SDL_SCANCODE_PRINTSCREEN = 70;
|
|
const SDL_SCANCODE_SCROLLLOCK = 71;
|
|
const SDL_SCANCODE_PAUSE = 72;
|
|
const SDL_SCANCODE_INSERT = 73;
|
|
const SDL_SCANCODE_HOME = 74;
|
|
const SDL_SCANCODE_PAGEUP = 75;
|
|
const SDL_SCANCODE_DELETE = 76;
|
|
const SDL_SCANCODE_END = 77;
|
|
const SDL_SCANCODE_PAGEDOWN = 78;
|
|
const SDL_SCANCODE_RIGHT = 79;
|
|
const SDL_SCANCODE_LEFT = 80;
|
|
const SDL_SCANCODE_DOWN = 81;
|
|
const SDL_SCANCODE_UP = 82;
|
|
const SDL_SCANCODE_NUMLOCKCLEAR = 83;
|
|
const SDL_SCANCODE_KP_DIVIDE = 84;
|
|
const SDL_SCANCODE_KP_MULTIPLY = 85;
|
|
const SDL_SCANCODE_KP_MINUS = 86;
|
|
const SDL_SCANCODE_KP_PLUS = 87;
|
|
const SDL_SCANCODE_KP_ENTER = 88;
|
|
const SDL_SCANCODE_KP_1 = 89;
|
|
const SDL_SCANCODE_KP_2 = 90;
|
|
const SDL_SCANCODE_KP_3 = 91;
|
|
const SDL_SCANCODE_KP_4 = 92;
|
|
const SDL_SCANCODE_KP_5 = 93;
|
|
const SDL_SCANCODE_KP_6 = 94;
|
|
const SDL_SCANCODE_KP_7 = 95;
|
|
const SDL_SCANCODE_KP_8 = 96;
|
|
const SDL_SCANCODE_KP_9 = 97;
|
|
const SDL_SCANCODE_KP_0 = 98;
|
|
const SDL_SCANCODE_KP_PERIOD = 99;
|
|
const SDL_SCANCODE_NONUSBACKSLASH = 100;
|
|
const SDL_SCANCODE_APPLICATION = 101;
|
|
const SDL_SCANCODE_POWER = 102;
|
|
const SDL_SCANCODE_KP_EQUALS = 103;
|
|
const SDL_SCANCODE_F13 = 104;
|
|
const SDL_SCANCODE_F14 = 105;
|
|
const SDL_SCANCODE_F15 = 106;
|
|
const SDL_SCANCODE_F16 = 107;
|
|
const SDL_SCANCODE_F17 = 108;
|
|
const SDL_SCANCODE_F18 = 109;
|
|
const SDL_SCANCODE_F19 = 110;
|
|
const SDL_SCANCODE_F20 = 111;
|
|
const SDL_SCANCODE_F21 = 112;
|
|
const SDL_SCANCODE_F22 = 113;
|
|
const SDL_SCANCODE_F23 = 114;
|
|
const SDL_SCANCODE_F24 = 115;
|
|
const SDL_SCANCODE_EXECUTE = 116;
|
|
const SDL_SCANCODE_HELP = 117;
|
|
const SDL_SCANCODE_MENU = 118;
|
|
const SDL_SCANCODE_SELECT = 119;
|
|
const SDL_SCANCODE_STOP = 120;
|
|
const SDL_SCANCODE_AGAIN = 121;
|
|
const SDL_SCANCODE_UNDO = 122;
|
|
const SDL_SCANCODE_CUT = 123;
|
|
const SDL_SCANCODE_COPY = 124;
|
|
const SDL_SCANCODE_PASTE = 125;
|
|
const SDL_SCANCODE_FIND = 126;
|
|
const SDL_SCANCODE_MUTE = 127;
|
|
const SDL_SCANCODE_VOLUMEUP = 128;
|
|
const SDL_SCANCODE_VOLUMEDOWN = 129;
|
|
const SDL_SCANCODE_KP_COMMA = 133;
|
|
const SDL_SCANCODE_KP_EQUALSAS400 = 134;
|
|
const SDL_SCANCODE_INTERNATIONAL1 = 135;
|
|
const SDL_SCANCODE_INTERNATIONAL2 = 136;
|
|
const SDL_SCANCODE_INTERNATIONAL3 = 137;
|
|
const SDL_SCANCODE_INTERNATIONAL4 = 138;
|
|
const SDL_SCANCODE_INTERNATIONAL5 = 139;
|
|
const SDL_SCANCODE_INTERNATIONAL6 = 140;
|
|
const SDL_SCANCODE_INTERNATIONAL7 = 141;
|
|
const SDL_SCANCODE_INTERNATIONAL8 = 142;
|
|
const SDL_SCANCODE_INTERNATIONAL9 = 143;
|
|
const SDL_SCANCODE_LANG1 = 144;
|
|
const SDL_SCANCODE_LANG2 = 145;
|
|
const SDL_SCANCODE_LANG3 = 146;
|
|
const SDL_SCANCODE_LANG4 = 147;
|
|
const SDL_SCANCODE_LANG5 = 148;
|
|
const SDL_SCANCODE_LANG6 = 149;
|
|
const SDL_SCANCODE_LANG7 = 150;
|
|
const SDL_SCANCODE_LANG8 = 151;
|
|
const SDL_SCANCODE_LANG9 = 152;
|
|
const SDL_SCANCODE_ALTERASE = 153;
|
|
const SDL_SCANCODE_SYSREQ = 154;
|
|
const SDL_SCANCODE_CANCEL = 155;
|
|
const SDL_SCANCODE_CLEAR = 156;
|
|
const SDL_SCANCODE_PRIOR = 157;
|
|
const SDL_SCANCODE_RETURN2 = 158;
|
|
const SDL_SCANCODE_SEPARATOR = 159;
|
|
const SDL_SCANCODE_OUT = 160;
|
|
const SDL_SCANCODE_OPER = 161;
|
|
const SDL_SCANCODE_CLEARAGAIN = 162;
|
|
const SDL_SCANCODE_CRSEL = 163;
|
|
const SDL_SCANCODE_EXSEL = 164;
|
|
const SDL_SCANCODE_KP_00 = 176;
|
|
const SDL_SCANCODE_KP_000 = 177;
|
|
const SDL_SCANCODE_THOUSANDSSEPARATOR = 178;
|
|
const SDL_SCANCODE_DECIMALSEPARATOR = 179;
|
|
const SDL_SCANCODE_CURRENCYUNIT = 180;
|
|
const SDL_SCANCODE_CURRENCYSUBUNIT = 181;
|
|
const SDL_SCANCODE_KP_LEFTPAREN = 182;
|
|
const SDL_SCANCODE_KP_RIGHTPAREN = 183;
|
|
const SDL_SCANCODE_KP_LEFTBRACE = 184;
|
|
const SDL_SCANCODE_KP_RIGHTBRACE = 185;
|
|
const SDL_SCANCODE_KP_TAB = 186;
|
|
const SDL_SCANCODE_KP_BACKSPACE = 187;
|
|
const SDL_SCANCODE_KP_A = 188;
|
|
const SDL_SCANCODE_KP_B = 189;
|
|
const SDL_SCANCODE_KP_C = 190;
|
|
const SDL_SCANCODE_KP_D = 191;
|
|
const SDL_SCANCODE_KP_E = 192;
|
|
const SDL_SCANCODE_KP_F = 193;
|
|
const SDL_SCANCODE_KP_XOR = 194;
|
|
const SDL_SCANCODE_KP_POWER = 195;
|
|
const SDL_SCANCODE_KP_PERCENT = 196;
|
|
const SDL_SCANCODE_KP_LESS = 197;
|
|
const SDL_SCANCODE_KP_GREATER = 198;
|
|
const SDL_SCANCODE_KP_AMPERSAND = 199;
|
|
const SDL_SCANCODE_KP_DBLAMPERSAND = 200;
|
|
const SDL_SCANCODE_KP_VERTICALBAR = 201;
|
|
const SDL_SCANCODE_KP_DBLVERTICALBAR = 202;
|
|
const SDL_SCANCODE_KP_COLON = 203;
|
|
const SDL_SCANCODE_KP_HASH = 204;
|
|
const SDL_SCANCODE_KP_SPACE = 205;
|
|
const SDL_SCANCODE_KP_AT = 206;
|
|
const SDL_SCANCODE_KP_EXCLAM = 207;
|
|
const SDL_SCANCODE_KP_MEMSTORE = 208;
|
|
const SDL_SCANCODE_KP_MEMRECALL = 209;
|
|
const SDL_SCANCODE_KP_MEMCLEAR = 210;
|
|
const SDL_SCANCODE_KP_MEMADD = 211;
|
|
const SDL_SCANCODE_KP_MEMSUBTRACT = 212;
|
|
const SDL_SCANCODE_KP_MEMMULTIPLY = 213;
|
|
const SDL_SCANCODE_KP_MEMDIVIDE = 214;
|
|
const SDL_SCANCODE_KP_PLUSMINUS = 215;
|
|
const SDL_SCANCODE_KP_CLEAR = 216;
|
|
const SDL_SCANCODE_KP_CLEARENTRY = 217;
|
|
const SDL_SCANCODE_KP_BINARY = 218;
|
|
const SDL_SCANCODE_KP_OCTAL = 219;
|
|
const SDL_SCANCODE_KP_DECIMAL = 220;
|
|
const SDL_SCANCODE_KP_HEXADECIMAL = 221;
|
|
const SDL_SCANCODE_LCTRL = 224;
|
|
const SDL_SCANCODE_LSHIFT = 225;
|
|
const SDL_SCANCODE_LALT = 226;
|
|
const SDL_SCANCODE_LGUI = 227;
|
|
const SDL_SCANCODE_RCTRL = 228;
|
|
const SDL_SCANCODE_RSHIFT = 229;
|
|
const SDL_SCANCODE_RALT = 230;
|
|
const SDL_SCANCODE_RGUI = 231;
|
|
const SDL_SCANCODE_MODE = 257;
|
|
const SDL_SCANCODE_AUDIONEXT = 258;
|
|
const SDL_SCANCODE_AUDIOPREV = 259;
|
|
const SDL_SCANCODE_AUDIOSTOP = 260;
|
|
const SDL_SCANCODE_AUDIOPLAY = 261;
|
|
const SDL_SCANCODE_AUDIOMUTE = 262;
|
|
const SDL_SCANCODE_MEDIASELECT = 263;
|
|
const SDL_SCANCODE_WWW = 264;
|
|
const SDL_SCANCODE_MAIL = 265;
|
|
const SDL_SCANCODE_CALCULATOR = 266;
|
|
const SDL_SCANCODE_COMPUTER = 267;
|
|
const SDL_SCANCODE_AC_SEARCH = 268;
|
|
const SDL_SCANCODE_AC_HOME = 269;
|
|
const SDL_SCANCODE_AC_BACK = 270;
|
|
const SDL_SCANCODE_AC_FORWARD = 271;
|
|
const SDL_SCANCODE_AC_STOP = 272;
|
|
const SDL_SCANCODE_AC_REFRESH = 273;
|
|
const SDL_SCANCODE_AC_BOOKMARKS = 274;
|
|
const SDL_SCANCODE_BRIGHTNESSDOWN = 275;
|
|
const SDL_SCANCODE_BRIGHTNESSUP = 276;
|
|
const SDL_SCANCODE_DISPLAYSWITCH = 277;
|
|
const SDL_SCANCODE_KBDILLUMTOGGLE = 278;
|
|
const SDL_SCANCODE_KBDILLUMDOWN = 279;
|
|
const SDL_SCANCODE_KBDILLUMUP = 280;
|
|
const SDL_SCANCODE_EJECT = 281;
|
|
const SDL_SCANCODE_SLEEP = 282;
|
|
const SDL_SCANCODE_APP1 = 283;
|
|
const SDL_SCANCODE_APP2 = 284;
|
|
const SDL_NUM_SCANCODES = 512;
|
|
const SDLK_UNKNOWN = 0;
|
|
const SDLK_RETURN = 13;
|
|
const SDLK_ESCAPE = 27;
|
|
const SDLK_BACKSPACE = 8;
|
|
const SDLK_TAB = 9;
|
|
const SDLK_SPACE = 32;
|
|
const SDLK_EXCLAIM = 33;
|
|
const SDLK_QUOTEDBL = 34;
|
|
const SDLK_HASH = 35;
|
|
const SDLK_PERCENT = 37;
|
|
const SDLK_DOLLAR = 36;
|
|
const SDLK_AMPERSAND = 38;
|
|
const SDLK_QUOTE = 39;
|
|
const SDLK_LEFTPAREN = 40;
|
|
const SDLK_RIGHTPAREN = 41;
|
|
const SDLK_ASTERISK = 42;
|
|
const SDLK_PLUS = 43;
|
|
const SDLK_COMMA = 44;
|
|
const SDLK_MINUS = 45;
|
|
const SDLK_PERIOD = 46;
|
|
const SDLK_SLASH = 47;
|
|
const SDLK_0 = 48;
|
|
const SDLK_1 = 49;
|
|
const SDLK_2 = 50;
|
|
const SDLK_3 = 51;
|
|
const SDLK_4 = 52;
|
|
const SDLK_5 = 53;
|
|
const SDLK_6 = 54;
|
|
const SDLK_7 = 55;
|
|
const SDLK_8 = 56;
|
|
const SDLK_9 = 57;
|
|
const SDLK_COLON = 58;
|
|
const SDLK_SEMICOLON = 59;
|
|
const SDLK_LESS = 60;
|
|
const SDLK_EQUALS = 61;
|
|
const SDLK_GREATER = 62;
|
|
const SDLK_QUESTION = 63;
|
|
const SDLK_AT = 64;
|
|
const SDLK_LEFTBRACKET = 91;
|
|
const SDLK_BACKSLASH = 92;
|
|
const SDLK_RIGHTBRACKET = 93;
|
|
const SDLK_CARET = 94;
|
|
const SDLK_UNDERSCORE = 95;
|
|
const SDLK_BACKQUOTE = 96;
|
|
const SDLK_a = 97;
|
|
const SDLK_b = 98;
|
|
const SDLK_c = 99;
|
|
const SDLK_d = 100;
|
|
const SDLK_e = 101;
|
|
const SDLK_f = 102;
|
|
const SDLK_g = 103;
|
|
const SDLK_h = 104;
|
|
const SDLK_i = 105;
|
|
const SDLK_j = 106;
|
|
const SDLK_k = 107;
|
|
const SDLK_l = 108;
|
|
const SDLK_m = 109;
|
|
const SDLK_n = 110;
|
|
const SDLK_o = 111;
|
|
const SDLK_p = 112;
|
|
const SDLK_q = 113;
|
|
const SDLK_r = 114;
|
|
const SDLK_s = 115;
|
|
const SDLK_t = 116;
|
|
const SDLK_u = 117;
|
|
const SDLK_v = 118;
|
|
const SDLK_w = 119;
|
|
const SDLK_x = 120;
|
|
const SDLK_y = 121;
|
|
const SDLK_z = 122;
|
|
const SDLK_CAPSLOCK = 1073741881;
|
|
const SDLK_F1 = 1073741882;
|
|
const SDLK_F2 = 1073741883;
|
|
const SDLK_F3 = 1073741884;
|
|
const SDLK_F4 = 1073741885;
|
|
const SDLK_F5 = 1073741886;
|
|
const SDLK_F6 = 1073741887;
|
|
const SDLK_F7 = 1073741888;
|
|
const SDLK_F8 = 1073741889;
|
|
const SDLK_F9 = 1073741890;
|
|
const SDLK_F10 = 1073741891;
|
|
const SDLK_F11 = 1073741892;
|
|
const SDLK_F12 = 1073741893;
|
|
const SDLK_PRINTSCREEN = 1073741894;
|
|
const SDLK_SCROLLLOCK = 1073741895;
|
|
const SDLK_PAUSE = 1073741896;
|
|
const SDLK_INSERT = 1073741897;
|
|
const SDLK_HOME = 1073741898;
|
|
const SDLK_PAGEUP = 1073741899;
|
|
const SDLK_DELETE = 127;
|
|
const SDLK_END = 1073741901;
|
|
const SDLK_PAGEDOWN = 1073741902;
|
|
const SDLK_RIGHT = 1073741903;
|
|
const SDLK_LEFT = 1073741904;
|
|
const SDLK_DOWN = 1073741905;
|
|
const SDLK_UP = 1073741906;
|
|
const SDLK_NUMLOCKCLEAR = 1073741907;
|
|
const SDLK_KP_DIVIDE = 1073741908;
|
|
const SDLK_KP_MULTIPLY = 1073741909;
|
|
const SDLK_KP_MINUS = 1073741910;
|
|
const SDLK_KP_PLUS = 1073741911;
|
|
const SDLK_KP_ENTER = 1073741912;
|
|
const SDLK_KP_1 = 1073741913;
|
|
const SDLK_KP_2 = 1073741914;
|
|
const SDLK_KP_3 = 1073741915;
|
|
const SDLK_KP_4 = 1073741916;
|
|
const SDLK_KP_5 = 1073741917;
|
|
const SDLK_KP_6 = 1073741918;
|
|
const SDLK_KP_7 = 1073741919;
|
|
const SDLK_KP_8 = 1073741920;
|
|
const SDLK_KP_9 = 1073741921;
|
|
const SDLK_KP_0 = 1073741922;
|
|
const SDLK_KP_PERIOD = 1073741923;
|
|
const SDLK_APPLICATION = 1073741925;
|
|
const SDLK_POWER = 1073741926;
|
|
const SDLK_KP_EQUALS = 1073741927;
|
|
const SDLK_F13 = 1073741928;
|
|
const SDLK_F14 = 1073741929;
|
|
const SDLK_F15 = 1073741930;
|
|
const SDLK_F16 = 1073741931;
|
|
const SDLK_F17 = 1073741932;
|
|
const SDLK_F18 = 1073741933;
|
|
const SDLK_F19 = 1073741934;
|
|
const SDLK_F20 = 1073741935;
|
|
const SDLK_F21 = 1073741936;
|
|
const SDLK_F22 = 1073741937;
|
|
const SDLK_F23 = 1073741938;
|
|
const SDLK_F24 = 1073741939;
|
|
const SDLK_EXECUTE = 1073741940;
|
|
const SDLK_HELP = 1073741941;
|
|
const SDLK_MENU = 1073741942;
|
|
const SDLK_SELECT = 1073741943;
|
|
const SDLK_STOP = 1073741944;
|
|
const SDLK_AGAIN = 1073741945;
|
|
const SDLK_UNDO = 1073741946;
|
|
const SDLK_CUT = 1073741947;
|
|
const SDLK_COPY = 1073741948;
|
|
const SDLK_PASTE = 1073741949;
|
|
const SDLK_FIND = 1073741950;
|
|
const SDLK_MUTE = 1073741951;
|
|
const SDLK_VOLUMEUP = 1073741952;
|
|
const SDLK_VOLUMEDOWN = 1073741953;
|
|
const SDLK_KP_COMMA = 1073741957;
|
|
const SDLK_KP_EQUALSAS400 = 1073741958;
|
|
const SDLK_ALTERASE = 1073741977;
|
|
const SDLK_SYSREQ = 1073741978;
|
|
const SDLK_CANCEL = 1073741979;
|
|
const SDLK_CLEAR = 1073741980;
|
|
const SDLK_PRIOR = 1073741981;
|
|
const SDLK_RETURN2 = 1073741982;
|
|
const SDLK_SEPARATOR = 1073741983;
|
|
const SDLK_OUT = 1073741984;
|
|
const SDLK_OPER = 1073741985;
|
|
const SDLK_CLEARAGAIN = 1073741986;
|
|
const SDLK_CRSEL = 1073741987;
|
|
const SDLK_EXSEL = 1073741988;
|
|
const SDLK_KP_00 = 1073742000;
|
|
const SDLK_KP_000 = 1073742001;
|
|
const SDLK_THOUSANDSSEPARATOR = 1073742002;
|
|
const SDLK_DECIMALSEPARATOR = 1073742003;
|
|
const SDLK_CURRENCYUNIT = 1073742004;
|
|
const SDLK_CURRENCYSUBUNIT = 1073742005;
|
|
const SDLK_KP_LEFTPAREN = 1073742006;
|
|
const SDLK_KP_RIGHTPAREN = 1073742007;
|
|
const SDLK_KP_LEFTBRACE = 1073742008;
|
|
const SDLK_KP_RIGHTBRACE = 1073742009;
|
|
const SDLK_KP_TAB = 1073742010;
|
|
const SDLK_KP_BACKSPACE = 1073742011;
|
|
const SDLK_KP_A = 1073742012;
|
|
const SDLK_KP_B = 1073742013;
|
|
const SDLK_KP_C = 1073742014;
|
|
const SDLK_KP_D = 1073742015;
|
|
const SDLK_KP_E = 1073742016;
|
|
const SDLK_KP_F = 1073742017;
|
|
const SDLK_KP_XOR = 1073742018;
|
|
const SDLK_KP_POWER = 1073742019;
|
|
const SDLK_KP_PERCENT = 1073742020;
|
|
const SDLK_KP_LESS = 1073742021;
|
|
const SDLK_KP_GREATER = 1073742022;
|
|
const SDLK_KP_AMPERSAND = 1073742023;
|
|
const SDLK_KP_DBLAMPERSAND = 1073742024;
|
|
const SDLK_KP_VERTICALBAR = 1073742025;
|
|
const SDLK_KP_DBLVERTICALBAR = 1073742026;
|
|
const SDLK_KP_COLON = 1073742027;
|
|
const SDLK_KP_HASH = 1073742028;
|
|
const SDLK_KP_SPACE = 1073742029;
|
|
const SDLK_KP_AT = 1073742030;
|
|
const SDLK_KP_EXCLAM = 1073742031;
|
|
const SDLK_KP_MEMSTORE = 1073742032;
|
|
const SDLK_KP_MEMRECALL = 1073742033;
|
|
const SDLK_KP_MEMCLEAR = 1073742034;
|
|
const SDLK_KP_MEMADD = 1073742035;
|
|
const SDLK_KP_MEMSUBTRACT = 1073742036;
|
|
const SDLK_KP_MEMMULTIPLY = 1073742037;
|
|
const SDLK_KP_MEMDIVIDE = 1073742038;
|
|
const SDLK_KP_PLUSMINUS = 1073742039;
|
|
const SDLK_KP_CLEAR = 1073742040;
|
|
const SDLK_KP_CLEARENTRY = 1073742041;
|
|
const SDLK_KP_BINARY = 1073742042;
|
|
const SDLK_KP_OCTAL = 1073742043;
|
|
const SDLK_KP_DECIMAL = 1073742044;
|
|
const SDLK_KP_HEXADECIMAL = 1073742045;
|
|
const SDLK_LCTRL = 1073742048;
|
|
const SDLK_LSHIFT = 1073742049;
|
|
const SDLK_LALT = 1073742050;
|
|
const SDLK_LGUI = 1073742051;
|
|
const SDLK_RCTRL = 1073742052;
|
|
const SDLK_RSHIFT = 1073742053;
|
|
const SDLK_RALT = 1073742054;
|
|
const SDLK_RGUI = 1073742055;
|
|
const SDLK_MODE = 1073742081;
|
|
const SDLK_AUDIONEXT = 1073742082;
|
|
const SDLK_AUDIOPREV = 1073742083;
|
|
const SDLK_AUDIOSTOP = 1073742084;
|
|
const SDLK_AUDIOPLAY = 1073742085;
|
|
const SDLK_AUDIOMUTE = 1073742086;
|
|
const SDLK_MEDIASELECT = 1073742087;
|
|
const SDLK_WWW = 1073742088;
|
|
const SDLK_MAIL = 1073742089;
|
|
const SDLK_CALCULATOR = 1073742090;
|
|
const SDLK_COMPUTER = 1073742091;
|
|
const SDLK_AC_SEARCH = 1073742092;
|
|
const SDLK_AC_HOME = 1073742093;
|
|
const SDLK_AC_BACK = 1073742094;
|
|
const SDLK_AC_FORWARD = 1073742095;
|
|
const SDLK_AC_STOP = 1073742096;
|
|
const SDLK_AC_REFRESH = 1073742097;
|
|
const SDLK_AC_BOOKMARKS = 1073742098;
|
|
const SDLK_BRIGHTNESSDOWN = 1073742099;
|
|
const SDLK_BRIGHTNESSUP = 1073742100;
|
|
const SDLK_DISPLAYSWITCH = 1073742101;
|
|
const SDLK_KBDILLUMTOGGLE = 1073742102;
|
|
const SDLK_KBDILLUMDOWN = 1073742103;
|
|
const SDLK_KBDILLUMUP = 1073742104;
|
|
const SDLK_EJECT = 1073742105;
|
|
const SDLK_SLEEP = 1073742106;
|
|
const KMOD_NONE = 0;
|
|
const KMOD_LSHIFT = 1;
|
|
const KMOD_RSHIFT = 2;
|
|
const KMOD_LCTRL = 64;
|
|
const KMOD_RCTRL = 128;
|
|
const KMOD_LALT = 256;
|
|
const KMOD_RALT = 512;
|
|
const KMOD_LGUI = 1024;
|
|
const KMOD_RGUI = 2048;
|
|
const KMOD_NUM = 4096;
|
|
const KMOD_CAPS = 8192;
|
|
const KMOD_MODE = 16384;
|
|
const KMOD_RESERVED = 32768;
|
|
const KMOD_CTRL = 192;
|
|
const KMOD_SHIFT = 3;
|
|
const KMOD_ALT = 768;
|
|
const KMOD_GUI = 3072;
|
|
const SDL_MESSAGEBOX_ERROR = 16;
|
|
const SDL_MESSAGEBOX_WARNING = 32;
|
|
const SDL_MESSAGEBOX_INFORMATION = 64;
|
|
const SDL_MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT = 1;
|
|
const SDL_MESSAGEBOX_BUTTON_ESCAPEKEY_DEFAULT = 2;
|
|
const SDL_MESSAGEBOX_COLOR_BACKGROUND = 0;
|
|
const SDL_MESSAGEBOX_COLOR_TEXT = 1;
|
|
const SDL_MESSAGEBOX_COLOR_BUTTON_BORDER = 2;
|
|
const SDL_MESSAGEBOX_COLOR_BUTTON_BACKGROUND = 3;
|
|
const SDL_MESSAGEBOX_COLOR_BUTTON_SELECTED = 4;
|
|
const SDL_MESSAGEBOX_COLOR_MAX = 5;
|
|
const SDL_SYSTEM_CURSOR_ARROW = 0;
|
|
const SDL_SYSTEM_CURSOR_IBEAM = 1;
|
|
const SDL_SYSTEM_CURSOR_WAIT = 2;
|
|
const SDL_SYSTEM_CURSOR_CROSSHAIR = 3;
|
|
const SDL_SYSTEM_CURSOR_WAITARROW = 4;
|
|
const SDL_SYSTEM_CURSOR_SIZENWSE = 5;
|
|
const SDL_SYSTEM_CURSOR_SIZENESW = 6;
|
|
const SDL_SYSTEM_CURSOR_SIZEWE = 7;
|
|
const SDL_SYSTEM_CURSOR_SIZENS = 8;
|
|
const SDL_SYSTEM_CURSOR_SIZEALL = 9;
|
|
const SDL_SYSTEM_CURSOR_NO = 10;
|
|
const SDL_SYSTEM_CURSOR_HAND = 11;
|
|
const SDL_NUM_SYSTEM_CURSORS = 12;
|
|
const SDL_BUTTON_LEFT = 1;
|
|
const SDL_BUTTON_MIDDLE = 2;
|
|
const SDL_BUTTON_RIGHT = 3;
|
|
const SDL_BUTTON_X1 = 4;
|
|
const SDL_BUTTON_X2 = 5;
|
|
const SDL_BUTTON_LMASK = 1;
|
|
const SDL_BUTTON_MMASK = 2;
|
|
const SDL_BUTTON_RMASK = 4;
|
|
const SDL_BUTTON_X1MASK = 8;
|
|
const SDL_BUTTON_X2MASK = 16;
|
|
const SDL_MUTEX_TIMEDOUT = 1;
|
|
const SDL_MUTEX_MAXWAIT = 4294967295;
|
|
const SDL_POWERSTATE_UNKNOWN = 0;
|
|
const SDL_POWERSTATE_ON_BATTERY = 1;
|
|
const SDL_POWERSTATE_NO_BATTERY = 2;
|
|
const SDL_POWERSTATE_CHARGING = 3;
|
|
const SDL_POWERSTATE_CHARGED = 4;
|
|
const SDL_PIXELTYPE_UNKNOWN = 0;
|
|
const SDL_PIXELTYPE_INDEX1 = 1;
|
|
const SDL_PIXELTYPE_INDEX4 = 2;
|
|
const SDL_PIXELTYPE_INDEX8 = 3;
|
|
const SDL_PIXELTYPE_PACKED8 = 4;
|
|
const SDL_PIXELTYPE_PACKED16 = 5;
|
|
const SDL_PIXELTYPE_PACKED32 = 6;
|
|
const SDL_PIXELTYPE_ARRAYU8 = 7;
|
|
const SDL_PIXELTYPE_ARRAYU16 = 8;
|
|
const SDL_PIXELTYPE_ARRAYU32 = 9;
|
|
const SDL_PIXELTYPE_ARRAYF16 = 10;
|
|
const SDL_PIXELTYPE_ARRAYF32 = 11;
|
|
const SDL_BITMAPORDER_NONE = 0;
|
|
const SDL_BITMAPORDER_4321 = 1;
|
|
const SDL_BITMAPORDER_1234 = 2;
|
|
const SDL_PACKEDORDER_NONE = 0;
|
|
const SDL_PACKEDORDER_XRGB = 1;
|
|
const SDL_PACKEDORDER_RGBX = 2;
|
|
const SDL_PACKEDORDER_ARGB = 3;
|
|
const SDL_PACKEDORDER_RGBA = 4;
|
|
const SDL_PACKEDORDER_XBGR = 5;
|
|
const SDL_PACKEDORDER_BGRX = 6;
|
|
const SDL_PACKEDORDER_ABGR = 7;
|
|
const SDL_PACKEDORDER_BGRA = 8;
|
|
const SDL_PACKEDLAYOUT_NONE = 0;
|
|
const SDL_PACKEDLAYOUT_332 = 1;
|
|
const SDL_PACKEDLAYOUT_4444 = 2;
|
|
const SDL_PACKEDLAYOUT_1555 = 3;
|
|
const SDL_PACKEDLAYOUT_5551 = 4;
|
|
const SDL_PACKEDLAYOUT_565 = 5;
|
|
const SDL_PACKEDLAYOUT_8888 = 6;
|
|
const SDL_PACKEDLAYOUT_2101010 = 7;
|
|
const SDL_PACKEDLAYOUT_1010102 = 8;
|
|
const SDL_PIXELFORMAT_UNKNOWN = 0;
|
|
const SDL_PIXELFORMAT_INDEX1LSB = 286261504;
|
|
const SDL_PIXELFORMAT_INDEX1MSB = 287310080;
|
|
const SDL_PIXELFORMAT_INDEX4LSB = 303039488;
|
|
const SDL_PIXELFORMAT_INDEX4MSB = 304088064;
|
|
const SDL_PIXELFORMAT_INDEX8 = 318769153;
|
|
const SDL_PIXELFORMAT_RGB332 = 336660481;
|
|
const SDL_PIXELFORMAT_RGB444 = 353504258;
|
|
const SDL_PIXELFORMAT_RGB555 = 353570562;
|
|
const SDL_PIXELFORMAT_BGR555 = 357764866;
|
|
const SDL_PIXELFORMAT_ARGB4444 = 355602434;
|
|
const SDL_PIXELFORMAT_RGBA4444 = 356651010;
|
|
const SDL_PIXELFORMAT_ABGR4444 = 359796738;
|
|
const SDL_PIXELFORMAT_BGRA4444 = 360845314;
|
|
const SDL_PIXELFORMAT_ARGB1555 = 355667970;
|
|
const SDL_PIXELFORMAT_RGBA5551 = 356782082;
|
|
const SDL_PIXELFORMAT_ABGR1555 = 359862274;
|
|
const SDL_PIXELFORMAT_BGRA5551 = 360976386;
|
|
const SDL_PIXELFORMAT_RGB565 = 353701890;
|
|
const SDL_PIXELFORMAT_BGR565 = 357896194;
|
|
const SDL_PIXELFORMAT_RGB24 = 386930691;
|
|
const SDL_PIXELFORMAT_BGR24 = 390076419;
|
|
const SDL_PIXELFORMAT_RGB888 = 370546692;
|
|
const SDL_PIXELFORMAT_RGBX8888 = 371595268;
|
|
const SDL_PIXELFORMAT_BGR888 = 374740996;
|
|
const SDL_PIXELFORMAT_BGRX8888 = 375789572;
|
|
const SDL_PIXELFORMAT_ARGB8888 = 372645892;
|
|
const SDL_PIXELFORMAT_RGBA8888 = 373694468;
|
|
const SDL_PIXELFORMAT_ABGR8888 = 376840196;
|
|
const SDL_PIXELFORMAT_BGRA8888 = 377888772;
|
|
const SDL_PIXELFORMAT_ARGB2101010 = 372711428;
|
|
const SDL_PIXELFORMAT_YV12 = 842094169;
|
|
const SDL_PIXELFORMAT_IYUV = 1448433993;
|
|
const SDL_PIXELFORMAT_YUY2 = 844715353;
|
|
const SDL_PIXELFORMAT_UYVY = 1498831189;
|
|
const SDL_PIXELFORMAT_YVYU = 1431918169;
|
|
const SDL_RENDERER_SOFTWARE = 1;
|
|
const SDL_RENDERER_ACCELERATED = 2;
|
|
const SDL_RENDERER_PRESENTVSYNC = 4;
|
|
const SDL_RENDERER_TARGETTEXTURE = 8;
|
|
const SDL_FLIP_NONE = 0;
|
|
const SDL_FLIP_HORIZONTAL = 1;
|
|
const SDL_FLIP_VERTICAL = 2;
|
|
const SDL_TEXTUREACCESS_STATIC = 0;
|
|
const SDL_TEXTUREACCESS_STREAMING = 1;
|
|
const SDL_TEXTUREACCESS_TARGET = 2;
|
|
const SDL_UNKNOWN = 0;
|
|
const SDL_WINFILE = 1;
|
|
const SDL_STDFILE = 2;
|
|
const SDL_JNIFILE = 3;
|
|
const SDL_MEMORY = 4;
|
|
const SDL_MEMORY_RO = 5;
|
|
const RW_SEEK_SET = 0;
|
|
const RW_SEEK_CUR = 1;
|
|
const RW_SEEK_END = 2;
|
|
const SDL_INIT_TIMER = 1;
|
|
const SDL_INIT_AUDIO = 16;
|
|
const SDL_INIT_VIDEO = 32;
|
|
const SDL_INIT_JOYSTICK = 512;
|
|
const SDL_INIT_HAPTIC = 4096;
|
|
const SDL_INIT_GAMECONTROLLER = 8192;
|
|
const SDL_INIT_EVENTS = 16384;
|
|
const SDL_INIT_NOPARACHUTE = 1048576;
|
|
const SDL_INIT_EVERYTHING = 62001;
|
|
const SDL_HINT_RENDER_SCALE_QUALITY = 'SDL_RENDER_SCALE_QUALITY';
|
|
const ShapeModeDefault = 0;
|
|
const ShapeModeBinarizeAlpha = 1;
|
|
const ShapeModeReverseBinarizeAlpha = 2;
|
|
const ShapeModeColorKey = 3;
|
|
const SDL_NONSHAPEABLE_WINDOW = -1;
|
|
const SDL_INVALID_SHAPE_ARGUMENT = -2;
|
|
const SDL_WINDOW_LACKS_SHAPE = -3;
|
|
const SDL_SWSURFACE = 0;
|
|
const SDL_PREALLOC = 1;
|
|
const SDL_RLEACCEL = 2;
|
|
const SDL_DONTFREE = 4;
|
|
const SDL_COMPILEDVERSION = 4605;
|
|
const SDL_MAJOR_VERSION = 2;
|
|
const SDL_MINOR_VERSION = 26;
|
|
const SDL_PATCHLEVEL = 5;
|
|
const SDL_REVISION = 'SDL-release-2.26.5-0-gac13ca9ab (Debian 2.26.5+dfsg-1)';
|
|
const SDL_WINDOW_FULLSCREEN = 1;
|
|
const SDL_WINDOW_OPENGL = 2;
|
|
const SDL_WINDOW_SHOWN = 4;
|
|
const SDL_WINDOW_HIDDEN = 8;
|
|
const SDL_WINDOW_BORDERLESS = 16;
|
|
const SDL_WINDOW_RESIZABLE = 32;
|
|
const SDL_WINDOW_MINIMIZED = 64;
|
|
const SDL_WINDOW_MAXIMIZED = 128;
|
|
const SDL_WINDOW_INPUT_GRABBED = 256;
|
|
const SDL_WINDOW_INPUT_FOCUS = 512;
|
|
const SDL_WINDOW_MOUSE_FOCUS = 1024;
|
|
const SDL_WINDOW_FULLSCREEN_DESKTOP = 4097;
|
|
const SDL_WINDOW_FOREIGN = 2048;
|
|
const SDL_WINDOW_ALLOW_HIGHDPI = 8192;
|
|
const SDL_WINDOWPOS_UNDEFINED_MASK = 536805376;
|
|
const SDL_WINDOWPOS_UNDEFINED = 536805376;
|
|
const SDL_WINDOWPOS_CENTERED_MASK = 805240832;
|
|
const SDL_WINDOWPOS_CENTERED = 805240832;
|
|
|
|
class SDL_Event
|
|
{
|
|
public mixed $type;
|
|
public mixed $key;
|
|
public mixed $motion;
|
|
public mixed $window;
|
|
public mixed $button;
|
|
public mixed $wheel;
|
|
public mixed $text;
|
|
public mixed $edit;
|
|
public mixed $tfinger;
|
|
public function __construct() {}
|
|
public function __toString() {}
|
|
}
|
|
|
|
class SDL_TouchFingerEvent
|
|
{
|
|
public mixed $type;
|
|
public mixed $timestamp;
|
|
public mixed $x;
|
|
public mixed $y;
|
|
public mixed $dx;
|
|
public mixed $dy;
|
|
public mixed $pressure;
|
|
public mixed $fingerId;
|
|
public mixed $touchId;
|
|
}
|
|
|
|
class SDL_GLContext
|
|
{
|
|
public function __construct(SDL_Window $window) {}
|
|
public function __toString() {}
|
|
public function Delete() {}
|
|
public static function GL_GetCurrent() {}
|
|
}
|
|
|
|
class SDL_MessageBoxColor
|
|
{
|
|
public mixed $r;
|
|
public mixed $g;
|
|
public mixed $b;
|
|
public function __construct($r, $g, $b) {}
|
|
public function __toString() {}
|
|
}
|
|
|
|
class SDL_MessageBoxButtonData
|
|
{
|
|
public mixed $flags;
|
|
public mixed $buttonid;
|
|
public mixed $text;
|
|
public function __construct($flags, $buttonid, $text) {}
|
|
public function __toString() {}
|
|
}
|
|
|
|
class SDL_MessageBoxData
|
|
{
|
|
public mixed $flags;
|
|
public mixed $title;
|
|
public mixed $message;
|
|
public mixed $window;
|
|
public mixed $numbuttons;
|
|
public mixed $buttons;
|
|
public mixed $colors;
|
|
public function __construct($flags, $title, $message, array $buttons = null, array $colors = null, SDL_Window $parentwindow = null) {}
|
|
public function __toString() {}
|
|
public function Show(&$buttonid) {}
|
|
}
|
|
|
|
class SDL_Cursor
|
|
{
|
|
public function __construct($data, $mask, $w, $h, $hot_x, $hot_y) {}
|
|
public function __toString() {}
|
|
public function Free() {}
|
|
public function Set() {}
|
|
public static function Create($data, $mask, $w, $h, $hot_x, $hot_y) {}
|
|
public static function CreateSystem($id) {}
|
|
public static function CreateColor(SDL_Surface $surface, $hot_x, $hot_y) {}
|
|
public static function Get() {}
|
|
public static function GetDefault() {}
|
|
public static function Show($toggle) {}
|
|
}
|
|
|
|
class SDL_mutex
|
|
{
|
|
public function __construct() {}
|
|
public function __toString() {}
|
|
public function Lock() {}
|
|
public function TryLock() {}
|
|
public function Unlock() {}
|
|
public function Destroy() {}
|
|
}
|
|
|
|
class SDL_sem
|
|
{
|
|
public function __construct($value) {}
|
|
public function __toString() {}
|
|
public function Wait() {}
|
|
public function TryWait() {}
|
|
public function Post() {}
|
|
public function Value() {}
|
|
public function WaitTimeout($ms) {}
|
|
public function Destroy() {}
|
|
}
|
|
|
|
class SDL_cond
|
|
{
|
|
public function __construct() {}
|
|
public function __toString() {}
|
|
public function Wait(SDL_mutex $mutex) {}
|
|
public function Signal() {}
|
|
public function Broadcast() {}
|
|
public function WaitTimeout(SDL_mutex $mutex, $ms) {}
|
|
public function Destroy() {}
|
|
}
|
|
|
|
class SDL_Color
|
|
{
|
|
public mixed $r;
|
|
public mixed $g;
|
|
public mixed $b;
|
|
public mixed $a;
|
|
public function __construct($r, $g, $b, $a) {}
|
|
public function __toString() {}
|
|
}
|
|
|
|
class SDL_Palette
|
|
{
|
|
public mixed $ncolors;
|
|
public mixed $version;
|
|
public mixed $refcount;
|
|
public mixed $colors;
|
|
public function __construct($ncolors) {}
|
|
public function __toString() {}
|
|
public function count() {}
|
|
public function offsetExists($offset) {}
|
|
public function offsetGet($offset) {}
|
|
public function offsetSet($offset, $color) {}
|
|
public function offsetUnset($offset) {}
|
|
public function Free() {}
|
|
public function SetColors(array $colors, $first = null, $ncolors = null) {}
|
|
}
|
|
|
|
class SDL_PixelFormat
|
|
{
|
|
public mixed $format;
|
|
public mixed $BitsPerPixel;
|
|
public mixed $BytesPerPixel;
|
|
public mixed $Rmask;
|
|
public mixed $Gmask;
|
|
public mixed $Bmask;
|
|
public mixed $Amask;
|
|
public mixed $Rloss;
|
|
public mixed $Gloss;
|
|
public mixed $Bloss;
|
|
public mixed $Aloss;
|
|
public mixed $Rshift;
|
|
public mixed $Gshift;
|
|
public mixed $Bshift;
|
|
public mixed $Ashift;
|
|
public mixed $palette;
|
|
public function __construct($format) {}
|
|
public function __toString() {}
|
|
public function GetRGB($pixel, &$r, &$g, &$b) {}
|
|
public function GetRGBA($pixel, &$r, &$g, &$b, &$a) {}
|
|
public function Free() {}
|
|
public function SetPalette(SDL_Palette $palette) {}
|
|
public function MapRGB($r, $g, $b) {}
|
|
public function MapRGBA($r, $g, $b, $a) {}
|
|
}
|
|
|
|
class SDL_Pixels
|
|
{
|
|
public function __construct($pitch, $h) {}
|
|
public function __toString() {}
|
|
}
|
|
|
|
class SDL_Rect
|
|
{
|
|
public mixed $x;
|
|
public mixed $y;
|
|
public mixed $w;
|
|
public mixed $h;
|
|
public function __construct(int $x, int $y, int $w, int $h) {}
|
|
public function __toString() {}
|
|
public function Empty() {}
|
|
public function Equal(SDL_Rect $b) {}
|
|
public function HasIntersection(SDL_Rect $B) {}
|
|
public function Intersect(SDL_Rect $B, ?SDL_Rect &$result) {}
|
|
public function Union(SDL_Rect $B, ?SDL_Rect &$result) {}
|
|
public function IntersectLine(int &$X1, int &$Y1, int &$X2, int &$Y2) {}
|
|
}
|
|
|
|
class SDL_FRect
|
|
{
|
|
public mixed $x;
|
|
public mixed $y;
|
|
public mixed $w;
|
|
public mixed $h;
|
|
public function __construct(float $x, float $y, float $w, float $h) {}
|
|
public function __toString() {}
|
|
public function Empty() {}
|
|
public function HasIntersection(SDL_FRect $B) {}
|
|
public function Intersect(SDL_FRect $B, ?SDL_FRect &$result) {}
|
|
}
|
|
|
|
class SDL_Point
|
|
{
|
|
public mixed $x;
|
|
public mixed $y;
|
|
public function __construct(int $x, int $y) {}
|
|
public function __toString() {}
|
|
}
|
|
|
|
class SDL_FPoint
|
|
{
|
|
public mixed $x;
|
|
public mixed $y;
|
|
public function __construct(float $x, float $y) {}
|
|
public function __toString() {}
|
|
}
|
|
|
|
class SDL_RWops
|
|
{
|
|
public mixed $type;
|
|
public function __construct() {}
|
|
public function __toString() {}
|
|
public function Free() {}
|
|
public function Size() {}
|
|
public function Seek($offset, $whence) {}
|
|
public function Tell() {}
|
|
public function Read(&$buffer, $size, $number = null) {}
|
|
public function Write($buffer, $size = null, $number = null) {}
|
|
public function Close() {}
|
|
public function ReadU8() {}
|
|
public function ReadLE16() {}
|
|
public function ReadBE16() {}
|
|
public function ReadLE32() {}
|
|
public function ReadBE32() {}
|
|
public function ReadLE64() {}
|
|
public function ReadBE64() {}
|
|
public function WriteU8($value) {}
|
|
public function WriteLE16($value) {}
|
|
public function WriteBE16($value) {}
|
|
public function WriteLE32($value) {}
|
|
public function WriteBE32($value) {}
|
|
public function WriteLE64($value) {}
|
|
public function WriteBE64($value) {}
|
|
public static function FromFile($path, $mode) {}
|
|
public static function FromFP($fp, $autoclose = null) {}
|
|
public static function FromMem(&$buf, $size) {}
|
|
public static function FromConstMem($buf, $size = null) {}
|
|
}
|
|
|
|
class SDL_WindowShapeMode
|
|
{
|
|
public mixed $mode;
|
|
public mixed $colorKey;
|
|
public mixed $binarizationCutoff;
|
|
public function __construct($mode, $parameter) {}
|
|
public function __toString() {}
|
|
}
|
|
|
|
class SDL_Surface
|
|
{
|
|
public mixed $flags;
|
|
public mixed $w;
|
|
public mixed $h;
|
|
public mixed $pitch;
|
|
public mixed $format;
|
|
public mixed $clip_rect;
|
|
public mixed $pixels;
|
|
public function __construct($flags, $width, $height, $depth, $Rmask, $Gmask, $Bmask = null, $Amask = null) {}
|
|
public function __toString() {}
|
|
public function Free() {}
|
|
public function FillRect($rect, $color) {}
|
|
public function FillRects($rects, $count, $color) {}
|
|
public function MustLock() {}
|
|
public function Lock() {}
|
|
public function Unlock() {}
|
|
public function Blit(?SDL_rect $srcrect, SDL_Surface $dst, ?SDL_rect &$dstrect = null) {}
|
|
public function UpperBlit(?SDL_rect $srcrect, SDL_Surface $dst, ?SDL_rect &$dstrect = null) {}
|
|
public function LowerBlit(SDL_rect &$srcrect, SDL_Surface $dst, SDL_rect &$dstrect) {}
|
|
public function BlitScaled(?SDL_rect $srcrect, SDL_Surface $dst, ?SDL_rect &$dstrect = null) {}
|
|
public function UpperBlitScaled(?SDL_rect $srcrect, SDL_Surface $dst, ?SDL_rect &$dstrect = null) {}
|
|
public function LowerBlitScaled(SDL_rect &$srcrect, SDL_Surface $dst, SDL_rect &$dstrect) {}
|
|
public function SoftStretch(?SDL_rect $srcrect, SDL_Surface $dst, ?SDL_rect &$dstrect = null) {}
|
|
public function SaveBMP_RW(SDL_RWops &$rwops, $freedst = null) {}
|
|
public function SaveBMP($path) {}
|
|
public function SetRLE($flag) {}
|
|
public function SetColorKey($flag, $key = null) {}
|
|
public function GetColorKey(&$key) {}
|
|
public function SetColorMod($red, $green, $blue) {}
|
|
public function GetColorMod(&$red, &$green, &$blue) {}
|
|
public function SetAlphaMod($alpha) {}
|
|
public function GetAlphaMod(&$alpha) {}
|
|
public function SetBlendMode($blendmmode) {}
|
|
public function GetBlendMode(&$blendmode) {}
|
|
public function SetClipRect($cliprect) {}
|
|
public function GetClipRect(&$cliprect) {}
|
|
public function Convert(SDL_PixelFormat $format, $flags = null) {}
|
|
public function ConvertFormat($format, $flags = null) {}
|
|
public static function LoadRW(SDL_RWops &$RWops, $freesrc) {}
|
|
public static function LoadBMP($path) {}
|
|
}
|
|
|
|
class SDL_DisplayMode
|
|
{
|
|
public mixed $format;
|
|
public mixed $w;
|
|
public mixed $h;
|
|
public mixed $refresh_rate;
|
|
public function __construct($format, $w, $h, $refresh_rate) {}
|
|
public function __toString() {}
|
|
}
|
|
|
|
class SDL_Window
|
|
{
|
|
public mixed $id;
|
|
public mixed $flags;
|
|
public mixed $x;
|
|
public mixed $y;
|
|
public mixed $w;
|
|
public mixed $h;
|
|
public mixed $title;
|
|
public function __construct($title, $x, $y, $w, $h, $flags) {}
|
|
public function __toString() {}
|
|
public function UpdateSurface() {}
|
|
public function Destroy() {}
|
|
public function GetTitle() {}
|
|
public function SetTitle($title) {}
|
|
public function GetDisplayIndex() {}
|
|
public function Show() {}
|
|
public function Hide() {}
|
|
public function Raise() {}
|
|
public function Maximize() {}
|
|
public function Minimize() {}
|
|
public function Restore() {}
|
|
public function GetSurface() {}
|
|
public function SetDisplayMode(SDL_DisplayMode $displaymode) {}
|
|
public function GetDisplayMode(&$displaymode) {}
|
|
public function GetPixelFormat() {}
|
|
public function GetID() {}
|
|
public function GetFlags() {}
|
|
public function SetIcon(SDL_Surface $icon) {}
|
|
public function SetPosition($x, $y) {}
|
|
public function GetPosition(&$x = null, &$y = null) {}
|
|
public function SetSize($w, $h) {}
|
|
public function GetSize(&$w = null, &$h = null) {}
|
|
public function SetMinimumSize($x, $y) {}
|
|
public function GetMinimumSize(&$x = null, &$y = null) {}
|
|
public function SetMaximumSize($x, $y) {}
|
|
public function GetMaximumSize(&$x = null, &$y = null) {}
|
|
public function SetBordered($bordered) {}
|
|
public function SetFullscreen($flags) {}
|
|
public function UpdateSurfaceRects(array $rects, $numrect = null) {}
|
|
public function SetGrab($grabbed) {}
|
|
public function GetGrab() {}
|
|
public function SetBrightness($brightness) {}
|
|
public function GetBrightness() {}
|
|
public function GetGammaRamp(&$red, &$green, &$blue) {}
|
|
public function GL_CreateContext() {}
|
|
public function GL_MakeCurrent(SDL_GLContext $GLcontext) {}
|
|
public function GL_GetDrawableSize(&$x = null, &$y = null) {}
|
|
public function GL_Swap() {}
|
|
public function WarpMouse($x, $y) {}
|
|
public function IsShaped() {}
|
|
public function SetShape(SDL_Surface $surface, SDL_WindowShapeMode $mode) {}
|
|
public function GetShapedMode(&$shaped_mode) {}
|
|
public static function GL_GetCurrent() {}
|
|
public static function GetMouseFocus() {}
|
|
}
|
|
|
|
class SDL_Joystick
|
|
{
|
|
}
|
|
|
|
function SDL_Init($flags = null) {}
|
|
function SDL_InitSubSystem($flags) {}
|
|
function SDL_Quit() {}
|
|
function SDL_QuitSubSystem($flags) {}
|
|
function SDL_WasInit($flags) {}
|
|
function SDL_SetHint(string $name, string $value) {}
|
|
function SDL_CreateWindow($title, $x, $y, $w, $h, $flags) {}
|
|
function SDL_CreateShapedWindow($title, $x, $y, $w, $h, $flags) {}
|
|
function SDL_DestroyWindow(SDL_Window $window) {}
|
|
function SDL_UpdateWindowSurface(SDL_Window $window) {}
|
|
function SDL_GetWindowTitle(SDL_Window $window) {}
|
|
function SDL_SetWindowTitle(SDL_Window $window, $title) {}
|
|
function SDL_GetWindowDisplayIndex(SDL_Window $window) {}
|
|
function SDL_ShowWindow(SDL_Window $window) {}
|
|
function SDL_HideWindow(SDL_Window $window) {}
|
|
function SDL_RaiseWindow(SDL_Window $window) {}
|
|
function SDL_MaximizeWindow(SDL_Window $window) {}
|
|
function SDL_MinimizeWindow(SDL_Window $window) {}
|
|
function SDL_RestoreWindow(SDL_Window $window) {}
|
|
function SDL_GetWindowSurface(SDL_Window $window) {}
|
|
function SDL_SetWindowDisplayMode(SDL_Window $window, SDL_DisplayMode $displaymode) {}
|
|
function SDL_GetWindowDisplayMode(SDL_Window $window, &$displaymode) {}
|
|
function SDL_GetWindowPixelFormat(SDL_Window $window) {}
|
|
function SDL_GetWindowID(SDL_Window $window) {}
|
|
function SDL_GetWindowFlags(SDL_Window $window) {}
|
|
function SDL_SetWindowIcon(SDL_Window $window, SDL_Surface $icon) {}
|
|
function SDL_SetWindowPosition(SDL_Window $window, $x, $y) {}
|
|
function SDL_GetWindowPosition(SDL_Window $window, &$x = null, &$y = null) {}
|
|
function SDL_SetWindowSize(SDL_Window $window, $x, $y) {}
|
|
function SDL_GetWindowSize(SDL_Window $window, &$x = null, &$y = null) {}
|
|
function SDL_SetWindowMinimumSize(SDL_Window $window, $x, $y) {}
|
|
function SDL_GetWindowMinimumSize(SDL_Window $window, &$x = null, &$y = null) {}
|
|
function SDL_SetWindowMaximumSize(SDL_Window $window, $x, $y) {}
|
|
function SDL_GetWindowMaximumSize(SDL_Window $window, &$x = null, &$y = null) {}
|
|
function SDL_SetWindowBordered(SDL_Window $window, $bordered) {}
|
|
function SDL_SetWindowFullscreen(SDL_Window $window, $flags) {}
|
|
function SDL_UpdateWindowSurfaceRects(SDL_Window $window, array $rects, $numrect = null) {}
|
|
function SDL_SetWindowGrab(SDL_Window $window, $grabbed) {}
|
|
function SDL_GetWindowGrab(SDL_Window $window) {}
|
|
function SDL_SetWindowBrightness(SDL_Window $window, $brightness) {}
|
|
function SDL_GetWindowBrightness(SDL_Window $window) {}
|
|
function SDL_GetWindowGammaRamp(SDL_Window $window, &$red, &$green, &$blue) {}
|
|
function SDL_IsShapedWindow(SDL_Window $window) {}
|
|
function SDL_SetWindowShape(SDL_Window $window, SDL_Surface $surface, SDL_WindowShapeMode $mode) {}
|
|
function SDL_GetShapedWindowMode(SDL_Window $window, &$shaped_mode) {}
|
|
function SDL_WINDOWPOS_UNDEFINED_DISPLAY($display) {}
|
|
function SDL_WINDOWPOS_CENTERED_DISPLAY($display) {}
|
|
function SDL_GetRevision() {}
|
|
function SDL_GetRevisionNumber() {}
|
|
function SDL_GetVersion(&$version) {}
|
|
function SDL_VERSION(&$version) {}
|
|
function SDL_VERSIONNUM($x, $y, $z) {}
|
|
function SDL_VERSION_ATLEAST($x, $y, $z) {}
|
|
function SDL_Delay($ms) {}
|
|
function SDL_CreateRenderer(SDL_Window $window, $index, $flags) {}
|
|
function SDL_CreateSoftwareRenderer(SDL_Surface $surface) {}
|
|
function SDL_DestroyRenderer($renderer) {}
|
|
function SDL_DestroyTexture($texture) {}
|
|
function SDL_SetRenderDrawColor($renderer, $r, $g, $b, $a) {}
|
|
function SDL_RenderDrawPoint($renderer, $x, $y) {}
|
|
function SDL_RenderClear($renderer) {}
|
|
function SDL_RenderCopy($renderer, $texture, ?SDL_Rect $srcrect, ?SDL_Rect $dstrect) {}
|
|
function SDL_RenderCopyEx($renderer, $texture, ?SDL_Rect $srcrect, ?SDL_Rect $dstrect, $angle, ?SDL_Point $center, $flip) {}
|
|
function SDL_RenderFillRect($renderer, SDL_Rect $rect) {}
|
|
function SDL_RenderDrawRect($renderer, SDL_Rect $rect) {}
|
|
function SDL_RenderDrawLine($renderer, $x1, $y1, $x2, $y2 = null) {}
|
|
function SDL_RenderPresent($renderer) {}
|
|
function SDL_CreateTextureFromSurface($renderer, SDL_Surface $surface) {}
|
|
function SDL_CreateTexture($renderer, $format, $access, $w, $h) {}
|
|
function SDL_UpdateTexture(SDL_Texture $texture, ?SDL_Rect $rect, SDL_Pixels $pixels, int $pitch) {}
|
|
function SDL_QueryTexture(SDL_Texture $texture, ?int &$format = null, ?int &$access = null, ?int &$w = null, ?int &$h = null) {}
|
|
function SDL_SetRenderTarget($renderer, $texture) {}
|
|
function SDL_RenderSetLogicalSize(SDL_Renderer $renderer, int $w, int $h) {}
|
|
function SDL_GetRendererOutputSize($renderer, &$w, &$h) {}
|
|
function SDL_RenderDrawPointF($renderer, float $x, float $y): int {}
|
|
function SDL_RenderDrawLineF($renderer, float $x1, float $y1, float $x2, float $y2): int {}
|
|
function SDL_RenderDrawRectF($renderer, SDL_FRect $rect): int {}
|
|
function SDL_RenderFillRectF($renderer, SDL_FRect $rect): int {}
|
|
function SDL_RenderCopyF($renderer, SDL_Texture $texture, ?SDL_Rect $srcrect, ?SDL_FRect $dstrect): int {}
|
|
function SDL_RenderCopyExF($renderer, SDL_Texture $texture, ?SDL_Rect $srcrect, ?SDL_FRect $dstrect, float $angle, ?SDL_FPoint $center, int $flip): int {}
|
|
function SDL_CreateRGBSurface($flags, $width, $height, $depth, $Rmask, $Gmask, $Bmask = null, $Amask = null) {}
|
|
function SDL_FreeSurface(SDL_Surface $surface) {}
|
|
function SDL_FillRect(SDL_Surface $surface, $rect, $color) {}
|
|
function SDL_FillRects(SDL_Surface $surface, $rects, $count, $color) {}
|
|
function SDL_MUSTLOCK(SDL_Surface $surface) {}
|
|
function SDL_LockSurface(SDL_Surface $surface) {}
|
|
function SDL_UnlockSurface(SDL_Surface $surface) {}
|
|
function SDL_LoadBMP_RW(SDL_RWops &$RWops, $freesrc) {}
|
|
function SDL_LoadBMP($path) {}
|
|
function SDL_UpperBlit(SDL_Surface $src, ?SDL_rect $srcrect, SDL_Surface $dst, ?SDL_rect &$dstrect = null) {}
|
|
function SDL_LowerBlit(SDL_Surface $src, SDL_rect &$srcrect, SDL_Surface $dst, SDL_rect &$dstrect) {}
|
|
function SDL_UpperBlitScaled(SDL_Surface $src, ?SDL_rect $srcrect, SDL_Surface $dst, ?SDL_rect &$dstrect = null) {}
|
|
function SDL_LowerBlitScaled(SDL_Surface $src, SDL_rect &$srcrect, SDL_Surface $dst, SDL_rect &$dstrect) {}
|
|
function SDL_SoftStretch(SDL_Surface $src, ?SDL_rect $srcrect, SDL_Surface $dst, ?SDL_rect &$dstrect = null) {}
|
|
function SDL_SaveBMP_RW(SDL_Surface $surface, SDL_RWops &$rwops, $freedst = null) {}
|
|
function SDL_SaveBMP(SDL_Surface $surface, $path) {}
|
|
function SDL_SetSurfaceRLE(SDL_Surface $surface, $flag) {}
|
|
function SDL_SetColorKey(SDL_Surface $surface, $flag, $key = null) {}
|
|
function SDL_GetColorKey(SDL_Surface $surface, &$key) {}
|
|
function SDL_SetSurfaceColorMod(SDL_Surface $surface, $red, $green, $blue) {}
|
|
function SDL_GetSurfaceColorMod(SDL_Surface $surface, &$red, &$green, &$blue) {}
|
|
function SDL_SetSurfaceAlphaMod(SDL_Surface $surface, $alpha) {}
|
|
function SDL_GetSurfaceAlphaMod(SDL_Surface $surface, &$alpha) {}
|
|
function SDL_SetSurfaceBlendMode(SDL_Surface $surface, $blendmmode) {}
|
|
function SDL_GetSurfaceBlendMode(SDL_Surface $surface, &$blendmode) {}
|
|
function SDL_SetClipRect(SDL_Surface $surface, $cliprect) {}
|
|
function SDL_GetClipRect(SDL_Surface $surface, &$cliprect) {}
|
|
function SDL_ConvertSurface(SDL_Surface $surface, SDL_PixelFormat $format, $flags = null) {}
|
|
function SDL_ConvertSurfaceFormat(SDL_Surface $surface, $format, $flags = null) {}
|
|
function SDL_ConvertPixels($height, $width, $src_format, SDL_Pixels $src, $src_pitch, $dst_format, SDL_Pixels $dst, $dst_pitch) {}
|
|
function SDL_WaitEvent(SDL_Event &$event) {}
|
|
function SDL_PollEvent(SDL_Event &$event) {}
|
|
function SDL_ShowSimpleMessageBox($flags, $title, $message, ?SDL_Window $window = null) {}
|
|
function SDL_ShowMessageBox($messageboxdata, &$buttonid) {}
|
|
function SDL_GetPixelFormatName($format) {}
|
|
function SDL_PixelFormatEnumToMasks($format, &$bpp, &$Rmask, &$Gmask, &$Bmask, &$Amask) {}
|
|
function SDL_MasksToPixelFormatEnum($bpp, $Rmask, $Gmask, $Bmask, $Amask) {}
|
|
function SDL_AllocPalette($ncolors) {}
|
|
function SDL_FreePalette(SDL_Palette $palette) {}
|
|
function SDL_SetPaletteColors(SDL_Palette $palette, array $colors, $first = null, $ncolors = null) {}
|
|
function SDL_AllocFormat($format) {}
|
|
function SDL_FreeFormat(SDL_PixelFormat $format) {}
|
|
function SDL_SetPixelFormatPalette(SDL_PixelFormat $pixelformat, SDL_Palette $palette) {}
|
|
function SDL_MapRGB($pixelformat, $r, $g, $b) {}
|
|
function SDL_MapRGBA(SDL_PixelFormat $pixelformat, $r, $g, $b, $a) {}
|
|
function SDL_GetRGB($pixel, SDL_PixelFormat $format, &$r, &$g, &$b) {}
|
|
function SDL_GetRGBA($pixel, SDL_PixelFormat $format, &$r, &$g, &$b, &$a) {}
|
|
function SDL_CalculateGammaRamp($gamma, &$ramp) {}
|
|
function SDL_GetBasePath() {}
|
|
function SDL_GetPrefPath($org, $app) {}
|
|
function SDL_GL_ExtensionSupported($extension) {}
|
|
function SDL_GL_SetAttribute($attr, $value) {}
|
|
function SDL_GL_GetAttribute($attr, &$value) {}
|
|
function SDL_GL_CreateContext(SDL_Window $window) {}
|
|
function SDL_GL_DeleteContext(SDL_GLContext $GLcontext) {}
|
|
function SDL_GL_MakeCurrent(SDL_Window $window, SDL_GLContext $context = null) {}
|
|
function SDL_GL_GetCurrentWindow() {}
|
|
function SDL_GL_GetCurrentContext() {}
|
|
function SDL_GL_GetDrawableSize(SDL_Window $window, &$w, &$h) {}
|
|
function SDL_GL_SwapWindow(SDL_Window $window) {}
|
|
function SDL_GL_SetSwapInterval($interval) {}
|
|
function SDL_GL_GetSwapInterval() {}
|
|
function SDL_GetCPUCount() {}
|
|
function SDL_GetCPUCacheLineSize() {}
|
|
function SDL_HasRDTSC() {}
|
|
function SDL_HasAltiVec() {}
|
|
function SDL_HasMMX() {}
|
|
function SDL_Has3DNow() {}
|
|
function SDL_HasSSE() {}
|
|
function SDL_HasSSE2() {}
|
|
function SDL_HasSSE3() {}
|
|
function SDL_HasSSE41() {}
|
|
function SDL_HasSSE42() {}
|
|
function SDL_GetSystemRAM() {}
|
|
function SDL_SetError($error_message) {}
|
|
function SDL_GetError() {}
|
|
function SDL_ClearError() {}
|
|
function SDL_GetNumVideoDrivers() {}
|
|
function SDL_GetVideoDriver($driverIndex) {}
|
|
function SDL_VideoInit($drivername = null) {}
|
|
function SDL_VideoQuit() {}
|
|
function SDL_GetCurrentVideoDriver() {}
|
|
function SDL_GetNumVideoDisplays() {}
|
|
function SDL_GetDisplayName($displayIndex) {}
|
|
function SDL_GetDisplayBounds($displayIndex, &$rect) {}
|
|
function SDL_GetNumDisplayModes($displayIndex) {}
|
|
function SDL_GetDisplayMode($displayIndex, $modeIndex) {}
|
|
function SDL_GetDesktopDisplayMode($displayIndex) {}
|
|
function SDL_GetCurrentDisplayMode($displayIndex) {}
|
|
function SDL_GetClosestDisplayMode($displayIndex, SDL_DisplayMode $desired, &$closest = null) {}
|
|
function SDL_IsScreenSaverEnabled() {}
|
|
function SDL_EnableScreenSaver() {}
|
|
function SDL_DisableScreenSaver() {}
|
|
function SDL_GetPowerInfo(&$secs = null, &$pct = null) {}
|
|
function SDL_GetPlatform() {}
|
|
// JumPHP's Android build only (docker/ext/php-sdl-system.patch): check function_exists() first
|
|
function SDL_OpenURL(string $url): int {}
|
|
function SDL_SetClipboardText(string $text): int {}
|
|
function SDL_GetClipboardText(): string {}
|
|
function SDL_HasClipboardText(): bool {}
|
|
function SDL_GetKeyboardFocus() {}
|
|
function SDL_GetKeyboardState(?int &$numkeys = null) {}
|
|
function SDL_GetModState() {}
|
|
function SDL_SetModState($modstate) {}
|
|
function SDL_GetKeyFromScancode($scancode) {}
|
|
function SDL_GetScancodeFromKey($key) {}
|
|
function SDL_GetScancodeName($scancode) {}
|
|
function SDL_GetScancodeFromName($name) {}
|
|
function SDL_GetKeyName($key) {}
|
|
function SDL_GetKeyFromName($name) {}
|
|
function SDL_StartTextInput() {}
|
|
function SDL_IsTextInputActive() {}
|
|
function SDL_StopTextInput() {}
|
|
function SDL_SetTextInputRect(SDL_Rect $rect) {}
|
|
function SDL_HasScreenKeyboardSupport() {}
|
|
function SDL_IsScreenKeyboardShown(SDL_Window $window) {}
|
|
function SDL_CreateCursor($data, $mask, $w, $h, $hot_x, $hot_y) {}
|
|
function SDL_CreateSystemCursor($id) {}
|
|
function SDL_CreateColorCursor(SDL_Surface $surface, $hot_x, $hot_y) {}
|
|
function SDL_FreeCursor(SDL_Cursor $cursor) {}
|
|
function SDL_SetCursor(SDL_Cursor $cursor) {}
|
|
function SDL_GetCursor() {}
|
|
function SDL_GetDefaultCursor() {}
|
|
function SDL_ShowCursor($toggle) {}
|
|
function SDL_GetMouseFocus() {}
|
|
function SDL_GetMouseState(&$x = null, &$y = null) {}
|
|
function SDL_GetRelativeMouseState(&$x = null, &$y = null) {}
|
|
function SDL_WarpMouseInWindow(SDL_Window $window, $x, $y) {}
|
|
function SDL_SetRelativeMouseMode($enabled) {}
|
|
function SDL_GetRelativeMouseMode() {}
|
|
function SDL_CreateMutex() {}
|
|
function SDL_LockMutex(SDL_mutex $mutex) {}
|
|
function SDL_TryLockMutex(SDL_mutex $mutex) {}
|
|
function SDL_UnlockMutex(SDL_mutex $mutex) {}
|
|
function SDL_DestroyMutex(SDL_mutex $mutex) {}
|
|
function SDL_mutexP(SDL_mutex $mutex) {}
|
|
function SDL_mutexV(SDL_mutex $mutex) {}
|
|
function SDL_CreateSemaphore($value) {}
|
|
function SDL_SemWait(SDL_sem $semaphore) {}
|
|
function SDL_SemTryWait(SDL_sem $semaphore) {}
|
|
function SDL_SemPost(SDL_sem $semaphore) {}
|
|
function SDL_SemValue(SDL_sem $semaphore) {}
|
|
function SDL_SemWaitTimeout(SDL_sem $semaphore, $ms) {}
|
|
function SDL_DestroySemaphore(SDL_sem $semaphore) {}
|
|
function SDL_CreateCond() {}
|
|
function SDL_CondWait(SDL_cond $condition, SDL_mutex $mutex) {}
|
|
function SDL_CondSignal(SDL_cond $condition) {}
|
|
function SDL_CondBroadcast(SDL_cond $condition) {}
|
|
function SDL_CondWaitTimeout(SDL_cond $condition, SDL_mutex $mutex, $ms) {}
|
|
function SDL_DestroyCond(SDL_cond $condition) {}
|
|
function SDL_NumJoysticks() {}
|
|
function SDL_JoystickOpen(int $index) {}
|
|
function SDL_JoystickClose(SDL_Joystick $joystick) {}
|
|
function SDL_JoystickNumButtons(SDL_Joystick $joystick) {}
|
|
function SDL_JoystickName(SDL_Joystick $joystick) {}
|
|
function SDL_JoystickGetAxis(SDL_Joystick $joystick, int $axis) {}
|
|
function SDL_JoystickNameForIndex(int $index) {}
|
|
function SDL_IsGameController(int $index) {}
|
|
function SDL_AllocRW() {}
|
|
function SDL_FreeRW(SDL_RWops $RWops) {}
|
|
function SDL_RWFromFile($path, $mode) {}
|
|
function SDL_RWFromFP($fp, $autoclose = null) {}
|
|
function SDL_RWFromMem(&$buf, $size) {}
|
|
function SDL_RWFromConstMem($buf, $size = null) {}
|
|
function SDL_RWsize(SDL_RWops $RWops) {}
|
|
function SDL_RWseek(SDL_RWops $RWops, $offset, $whence) {}
|
|
function SDL_RWtell(SDL_RWops $RWops) {}
|
|
function SDL_RWread(SDL_RWops $RWops, &$buffer, $size, $number = null) {}
|
|
function SDL_RWwrite(SDL_RWops $RWops, $buffer, $size = null, $number = null) {}
|
|
function SDL_RWclose(SDL_RWops $RWops) {}
|
|
function SDL_ReadU8(SDL_RWops $RWops) {}
|
|
function SDL_ReadLE16(SDL_RWops $RWops) {}
|
|
function SDL_ReadBE16(SDL_RWops $RWops) {}
|
|
function SDL_ReadLE32(SDL_RWops $RWops) {}
|
|
function SDL_ReadBE32(SDL_RWops $RWops) {}
|
|
function SDL_ReadLE64(SDL_RWops $RWops) {}
|
|
function SDL_ReadBE64(SDL_RWops $RWops) {}
|
|
function SDL_WriteU8(SDL_RWops $RWops, $value) {}
|
|
function SDL_WriteLE16(SDL_RWops $RWops, $value) {}
|
|
function SDL_WriteBE16(SDL_RWops $RWops, $value) {}
|
|
function SDL_WriteLE32(SDL_RWops $RWops, $value) {}
|
|
function SDL_WriteBE32(SDL_RWops $RWops, $value) {}
|
|
function SDL_WriteLE64(SDL_RWops $RWops, $value) {}
|
|
function SDL_WriteBE64(SDL_RWops $RWops, $value) {}
|
|
function SDL_PointInRect(SDL_Point $p, SDL_Rect $r): bool {}
|
|
function SDL_RectEmpty(SDL_Rect $r): bool {}
|
|
function SDL_RectEquals(SDL_Rect $a, SDL_Rect $b): bool {}
|
|
function SDL_HasIntersection(SDL_Rect $A, SDL_Rect $B): bool {}
|
|
function SDL_IntersectRect(SDL_Rect $A, SDL_Rect $B, ?SDL_Rect &$result): bool {}
|
|
function SDL_UnionRect(SDL_Rect $A, SDL_Rect $B, ?SDL_Rect &$result): void {}
|
|
function SDL_EnclosePoints(SDL_Point $points, int $count, SDL_Rect $clip, ?SDL_Rect &$result): bool {}
|
|
function SDL_IntersectRectAndLine(SDL_Rect $rect, int &$X1, int &$Y1, int &$X2, int &$Y2): bool {}
|
|
function SDL_FRectEmpty(SDL_FRect $r): bool {}
|
|
function SDL_HasIntersectionF(SDL_FRect $A, SDL_FRect $B): bool {}
|
|
function SDL_IntersectFRect(SDL_FRect $A, SDL_FRect $B, ?SDL_FRect &$result): bool {}
|
|
|
|
// --- extension sdl_image 1.0.1
|
|
|
|
|
|
function IMG_LoadTexture($renderer, string $file): SDL_Texture {}
|
|
function IMG_Load(string $file): ?SDL_Surface {}
|
|
|
|
// --- extension sdl_mixer 1.0.1
|
|
|
|
const MIX_DEFAULT_CHANNELS = 2;
|
|
const MIX_DEFAULT_FREQUENCY = 44100;
|
|
const MIX_DEFAULT_FORMAT = 32784;
|
|
const MIX_MAX_VOLUME = 128;
|
|
const MIX_CHANNELS = 8;
|
|
|
|
class Mix_Chunk
|
|
{
|
|
}
|
|
|
|
class Mix_Music
|
|
{
|
|
}
|
|
|
|
function Mix_Init(int $flags): int {}
|
|
function Mix_Quit(): void {}
|
|
function Mix_OpenAudio(int $frequency, int $format, int $channels, int $chunksize): int {}
|
|
function Mix_OpenAudioDevice(int $frequency, int $format, int $channels, int $chunksize, string $device, int $allowed_changes): int {}
|
|
function Mix_AllocateChannels(int $numchans): int {}
|
|
function Mix_QuerySpec(int &$frequency, int &$format, int &$channels): int {}
|
|
function Mix_LoadWAV_RW(SDL_RWops $src, int $freesrc): Mix_Chunk {}
|
|
function Mix_LoadWAV(string $file): Mix_Chunk {}
|
|
function Mix_FreeChunk(Mix_Chunk $chunk): void {}
|
|
function Mix_GetNumChunkDecoders(): int {}
|
|
function Mix_GetChunkDecoder(int $index): string {}
|
|
function Mix_HasChunkDecoder(string $name): bool {}
|
|
function Mix_ReserveChannels(int $num): int {}
|
|
function Mix_GroupChannel(int $which, int $tag): int {}
|
|
function Mix_GroupChannels(int $from, int $to, int $tag): int {}
|
|
function Mix_GroupAvailable(int $tag): int {}
|
|
function Mix_GroupCount(int $tag): int {}
|
|
function Mix_GroupOldest(int $tag): int {}
|
|
function Mix_GroupNewer(int $tag): int {}
|
|
function Mix_PlayChannel(int $channel, Mix_Chunk $chunk, int $loops): int {}
|
|
function Mix_PlayChannelTimed(int $channel, Mix_Chunk $chunk, int $loops, int $ticks): int {}
|
|
function Mix_FadeInChannelTimed(int $channel, Mix_Chunk $chunk, int $loops, int $ms, int $ticks): int {}
|
|
function Mix_Volume(int $channel, int $volume): int {}
|
|
function Mix_VolumeChunk(Mix_Chunk $chunk, int $volume): int {}
|
|
function Mix_HaltChannel(int $channel): int {}
|
|
function Mix_HaltGroup(int $tag): int {}
|
|
function Mix_ExpireChannel(int $channel, int $ticks): int {}
|
|
function Mix_FadeOutChannel(int $which, int $ms): int {}
|
|
function Mix_FadeOutGroup(int $tag, int $ms): int {}
|
|
function Mix_Pause(int $channel): void {}
|
|
function Mix_Resume(int $channel): void {}
|
|
function Mix_Paused(int $channel): int {}
|
|
function Mix_Playing(int $channel): int {}
|
|
function Mix_GetChunk(int $channel): Mix_Chunk {}
|
|
function Mix_CloseAudio(): void {}
|
|
function Mix_LoadMUS(string $file): Mix_Music {}
|
|
function Mix_LoadMUS_RW(SDL_RWops $src, int $freesrc): Mix_Music {}
|
|
function Mix_FreeMusic(Mix_Music $music): void {}
|
|
function Mix_GetNumMusicDecoders(): int {}
|
|
function Mix_GetMusicDecoder(int $index): string {}
|
|
function Mix_PlayMusic(Mix_Music $music, int $loops): int {}
|
|
function Mix_FadeInMusic(Mix_Music $music, int $loops, int $ms): int {}
|
|
function Mix_FadeInMusicPos(Mix_Music $music, int $loops, int $ms, float $position): int {}
|
|
function Mix_VolumeMusic(int $volume): int {}
|
|
function Mix_HaltMusic(): int {}
|
|
function Mix_FadeOutMusic(int $ms): int {}
|
|
function Mix_PauseMusic(): void {}
|
|
function Mix_ResumeMusic(): void {}
|
|
function Mix_RewindMusic(): void {}
|
|
function Mix_PausedMusic(): int {}
|
|
function Mix_SetMusicPosition(float $position): int {}
|
|
function Mix_PlayingMusic(): int {}
|
|
function Mix_SetMusicCMD(string $command): int {}
|
|
function Mix_SetSynchroValue(int $value): int {}
|
|
function Mix_GetSynchroValue(): int {}
|
|
function Mix_SetSoundFonts(string $paths): int {}
|
|
function Mix_GetSoundFonts(): string {}
|
|
function Mix_SetPosition(int $channel, int $angle, int $distance): int {}
|
|
function Mix_SetDistance(int $channel, int $distance): int {}
|
|
function Mix_SetReverseStereo(int $channel, int $flip): int {}
|
|
function JumPHP_StreamOpen(int $rate, int $channels): bool {}
|
|
function JumPHP_StreamPush(string $pcm): float {}
|
|
function JumPHP_StreamBuffered(): float {}
|
|
function JumPHP_StreamClear(): void {}
|
|
function JumPHP_StreamVolume(float $volume): void {}
|
|
function JumPHP_StreamClose(): void {}
|
|
function Mix_SetError(): string {}
|
|
function Mix_GetError(): string {}
|
|
function Mix_ClearError(): string {}
|
|
|
|
// --- extension sdl_ttf 1.0.0
|
|
|
|
|
|
class TTF_Font
|
|
{
|
|
}
|
|
|
|
class SDL_version
|
|
{
|
|
}
|
|
|
|
function TTF_Linked_Version(): SDL_version {}
|
|
function TTF_ByteSwappedUNICODE(int $swapped): void {}
|
|
function TTF_Init(): int {}
|
|
function TTF_OpenFont(string $file, int $ptsize): TTF_Font {}
|
|
function TTF_OpenFontIndex(string $file, int $ptsize, int $index): TTF_Font {}
|
|
function TTF_OpenFontRW(SDL_RWops $src, int $freesrc, int $ptsize): TTF_Font {}
|
|
function TTF_OpenFontIndexRW(SDL_RWops $src, int $freesrc, int $ptsize, int $index): TTF_Font {}
|
|
function TTF_GetFontStyle(TTF_Font $font): int {}
|
|
function TTF_SetFontStyle(TTF_Font $font, int $style): void {}
|
|
function TTF_GetFontOutline(TTF_Font $font): int {}
|
|
function TTF_SetFontOutline(TTF_Font $font, int $outline): void {}
|
|
function TTF_GetFontHinting(TTF_Font $font): int {}
|
|
function TTF_SetFontHinting(TTF_Font $font, int $hinting): void {}
|
|
function TTF_FontHeight(TTF_Font $font): int {}
|
|
function TTF_FontAscent(TTF_Font $font): int {}
|
|
function TTF_FontDescent(TTF_Font $font): int {}
|
|
function TTF_FontLineSkip(TTF_Font $font): int {}
|
|
function TTF_GetFontKerning(TTF_Font $font): int {}
|
|
function TTF_SetFontKerning(TTF_Font $font, int $allowed): void {}
|
|
function TTF_FontFaces(TTF_Font $font): int {}
|
|
function TTF_FontFaceIsFixedWidth(TTF_Font $font): int {}
|
|
function TTF_FontFaceFamilyName(TTF_Font $font): string {}
|
|
function TTF_FontFaceStyleName(TTF_Font $font): string {}
|
|
function TTF_GlyphIsProvided(TTF_Font $font, int $ch): int {}
|
|
function TTF_GlyphMetrics(TTF_Font $font, int $ch, int &$minx, int &$maxx, int &$miny, int &$maxy, int &$advance): int {}
|
|
function TTF_SizeText(TTF_Font $font, string $text, int &$w, int &$h): int {}
|
|
function TTF_SizeUTF8(TTF_Font $font, string $text, int &$w, int &$h): int {}
|
|
function TTF_SizeUNICODE(TTF_Font $font, string $text, int &$w, int &$h): int {}
|
|
function TTF_RenderText_Solid(TTF_Font $font, string $text, SDL_Color $fg): SDL_Surface {}
|
|
function TTF_RenderUTF8_Solid(TTF_Font $font, string $text, SDL_Color $fg): SDL_Surface {}
|
|
function TTF_RenderUNICODE_Solid(TTF_Font $font, string $text, SDL_Color $fg): SDL_Surface {}
|
|
function TTF_RenderGlyph_Solid(TTF_Font $font, int $ch, SDL_Color $fg): SDL_Surface {}
|
|
function TTF_RenderText_Shaded(TTF_Font $font, string $text, SDL_Color $fg, SDL_Color $bg): SDL_Surface {}
|
|
function TTF_RenderUTF8_Shaded(TTF_Font $font, string $text, SDL_Color $fg, SDL_Color $bg): SDL_Surface {}
|
|
function TTF_RenderUNICODE_Shaded(TTF_Font $font, string $text, SDL_Color $fg, SDL_Color $bg): SDL_Surface {}
|
|
function TTF_RenderGlyph_Shaded(TTF_Font $font, int $ch, SDL_Color $fg, SDL_Color $bg): SDL_Surface {}
|
|
function TTF_RenderText_Blended(TTF_Font $font, string $text, SDL_Color $fg): SDL_Surface {}
|
|
function TTF_RenderUTF8_Blended(TTF_Font $font, string $text, SDL_Color $fg): SDL_Surface {}
|
|
function TTF_RenderUNICODE_Blended(TTF_Font $font, string $text, SDL_Color $fg): SDL_Surface {}
|
|
function TTF_RenderText_Blended_Wrapped(TTF_Font $font, string $text, SDL_Color $fg, int $wrapLength): SDL_Surface {}
|
|
function TTF_RenderUTF8_Blended_Wrapped(TTF_Font $font, string $text, SDL_Color $fg, int $wrapLength): SDL_Surface {}
|
|
function TTF_RenderUNICODE_Blended_Wrapped(TTF_Font $font, string $text, SDL_Color $fg, int $wrapLength): SDL_Surface {}
|
|
function TTF_RenderGlyph_Blended(TTF_Font $font, int $ch, SDL_Color $fg): SDL_Surface {}
|
|
function TTF_CloseFont(TTF_Font $font): void {}
|
|
function TTF_Quit(): void {}
|
|
function TTF_WasInit(): int {}
|
|
function TTF_GetFontKerningSizeGlyphs(TTF_Font $font, int $previous_ch, int $ch): int {}
|
|
function TTF_GetFreeTypeVersion(int &$major, int &$minor, int &$patch): void {}
|
|
|