Created
October 9, 2024 20:42
-
-
Save waldnercharles/1af4052f09460bf3ce31b3566b721e6f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uint64_t b2_colorBox2DYellow = 16772748; | |
uint64_t b2_colorBox2DGreen = 9226532; | |
uint64_t b2_colorBox2DBlue = 3190463; | |
uint64_t b2_colorBox2DRed = 14430514; | |
uint64_t b2_colorYellowGreen = 10145074; | |
uint64_t b2_colorYellow = 16776960; | |
uint64_t b2_colorWhiteSmoke = 16119285; | |
uint64_t b2_colorWhite = 16777215; | |
uint64_t b2_colorWheat = 16113331; | |
uint64_t b2_colorVioletRed = 13639824; | |
uint64_t b2_colorViolet = 15631086; | |
uint64_t b2_colorTurquoise = 4251856; | |
uint64_t b2_colorTomato = 16737095; | |
uint64_t b2_colorThistle = 14204888; | |
uint64_t b2_colorTeal = 32896; | |
uint64_t b2_colorTan = 13808780; | |
uint64_t b2_colorSteelBlue = 4620980; | |
uint64_t b2_colorSpringGreen = 65407; | |
uint64_t b2_colorSnow = 16775930; | |
uint64_t b2_colorSlateGray = 7372944; | |
uint64_t b2_colorSlateBlue = 6970061; | |
uint64_t b2_colorSkyBlue = 8900331; | |
uint64_t b2_colorSilver = 12632256; | |
uint64_t b2_colorSienna = 10506797; | |
uint64_t b2_colorSeashell = 16774638; | |
uint64_t b2_colorSeaGreen = 3050327; | |
uint64_t b2_colorSandyBrown = 16032864; | |
uint64_t b2_colorSalmon = 16416882; | |
uint64_t b2_colorSaddleBrown = 9127187; | |
uint64_t b2_colorRoyalBlue = 4286945; | |
uint64_t b2_colorRosyBrown = 12357519; | |
uint64_t b2_colorRed = 16711680; | |
uint64_t b2_colorRebeccaPurple = 6697881; | |
uint64_t b2_colorPurple = 10494192; | |
uint64_t b2_colorPowderBlue = 11591910; | |
uint64_t b2_colorPlum = 14524637; | |
uint64_t b2_colorPink = 16761035; | |
uint64_t b2_colorPeru = 13468991; | |
uint64_t b2_colorPeachPuff = 16767673; | |
uint64_t b2_colorPapayaWhip = 16773077; | |
uint64_t b2_colorPaleVioletRed = 14381203; | |
uint64_t b2_colorPaleTurquoise = 11529966; | |
uint64_t b2_colorPaleGreen = 10025880; | |
uint64_t b2_colorPaleGoldenrod = 15657130; | |
uint64_t b2_colorOrchid = 14315734; | |
uint64_t b2_colorOrangeRed = 16729344; | |
uint64_t b2_colorOrange = 16753920; | |
uint64_t b2_colorOliveDrab = 7048739; | |
uint64_t b2_colorOlive = 8421376; | |
uint64_t b2_colorOldLace = 16643558; | |
uint64_t b2_colorNavyBlue = 128; | |
uint64_t b2_colorNavajoWhite = 16768685; | |
uint64_t b2_colorMoccasin = 16770229; | |
uint64_t b2_colorMistyRose = 16770273; | |
uint64_t b2_colorMintCream = 16121850; | |
uint64_t b2_colorMidnightBlue = 1644912; | |
uint64_t b2_colorMediumVioletRed = 13047173; | |
uint64_t b2_colorMediumTurquoise = 4772300; | |
uint64_t b2_colorMediumSpringGreen = 64154; | |
uint64_t b2_colorMediumSlateBlue = 8087790; | |
uint64_t b2_colorMediumSeaGreen = 3978097; | |
uint64_t b2_colorMediumPurple = 9662683; | |
uint64_t b2_colorMediumOrchid = 12211667; | |
uint64_t b2_colorMediumBlue = 205; | |
uint64_t b2_colorMediumAquamarine = 6737322; | |
uint64_t b2_colorMaroon = 11546720; | |
uint64_t b2_colorMagenta = 16711935; | |
uint64_t b2_colorLinen = 16445670; | |
uint64_t b2_colorLimeGreen = 3329330; | |
uint64_t b2_colorLightYellow = 16777184; | |
uint64_t b2_colorLightSteelBlue = 11584734; | |
uint64_t b2_colorLightSlateGray = 7833753; | |
uint64_t b2_colorLightSlateBlue = 8679679; | |
uint64_t b2_colorLightSkyBlue = 8900346; | |
uint64_t b2_colorLightSeaGreen = 2142890; | |
uint64_t b2_colorLightSalmon = 16752762; | |
uint64_t b2_colorLightPink = 16758465; | |
uint64_t b2_colorLightGreen = 9498256; | |
uint64_t b2_colorLightGray = 13882323; | |
uint64_t b2_colorLightGoldenrodYellow = 16448210; | |
uint64_t b2_colorLightGoldenrod = 15654274; | |
uint64_t b2_colorLightCyan = 14745599; | |
uint64_t b2_colorLightCoral = 15761536; | |
uint64_t b2_colorLightBlue = 11393254; | |
uint64_t b2_colorLemonChiffon = 16775885; | |
uint64_t b2_colorLawnGreen = 8190976; | |
uint64_t b2_colorLavenderBlush = 16773365; | |
uint64_t b2_colorLavender = 15132410; | |
uint64_t b2_colorKhaki = 15787660; | |
uint64_t b2_colorIvory = 16777200; | |
uint64_t b2_colorIndigo = 4915330; | |
uint64_t b2_colorIndianRed = 13458524; | |
uint64_t b2_colorHotPink = 16738740; | |
uint64_t b2_colorHoneydew = 15794160; | |
uint64_t b2_colorGreenYellow = 11403055; | |
uint64_t b2_colorGreen = 65280; | |
uint64_t b2_colorGray9 = 15066597; | |
uint64_t b2_colorGray8 = 13421772; | |
uint64_t b2_colorGray7 = 11776947; | |
uint64_t b2_colorGray6 = 10066329; | |
uint64_t b2_colorGray5 = 8355711; | |
uint64_t b2_colorGray4 = 6710886; | |
uint64_t b2_colorGray3 = 5066061; | |
uint64_t b2_colorGray2 = 3355443; | |
uint64_t b2_colorGray1 = 1710618; | |
uint64_t b2_colorGray = 12500670; | |
uint64_t b2_colorGoldenrod = 14329120; | |
uint64_t b2_colorGold = 16766720; | |
uint64_t b2_colorGhostWhite = 16316671; | |
uint64_t b2_colorGainsboro = 14474460; | |
uint64_t b2_colorForestGreen = 2263842; | |
uint64_t b2_colorFloralWhite = 16775920; | |
uint64_t b2_colorFirebrick = 11674146; | |
uint64_t b2_colorDodgerBlue = 2003199; | |
uint64_t b2_colorDimGray = 6908265; | |
uint64_t b2_colorDeepSkyBlue = 49151; | |
uint64_t b2_colorDeepPink = 16716947; | |
uint64_t b2_colorDarkViolet = 9699539; | |
uint64_t b2_colorDarkTurquoise = 52945; | |
uint64_t b2_colorDarkSlateGray = 3100495; | |
uint64_t b2_colorDarkSlateBlue = 4734347; | |
uint64_t b2_colorDarkSeaGreen = 9419919; | |
uint64_t b2_colorDarkSalmon = 15308410; | |
uint64_t b2_colorDarkRed = 9109504; | |
uint64_t b2_colorDarkOrchid = 10040012; | |
uint64_t b2_colorDarkOrange = 16747520; | |
uint64_t b2_colorDarkOliveGreen = 5597999; | |
uint64_t b2_colorDarkMagenta = 9109643; | |
uint64_t b2_colorDarkKhaki = 12433259; | |
uint64_t b2_colorDarkGreen = 25600; | |
uint64_t b2_colorDarkGray = 11119017; | |
uint64_t b2_colorDarkGoldenrod = 12092939; | |
uint64_t b2_colorDarkCyan = 35723; | |
uint64_t b2_colorDarkBlue = 139; | |
uint64_t b2_colorCyan = 65535; | |
uint64_t b2_colorCrimson = 14423100; | |
uint64_t b2_colorCornsilk = 16775388; | |
uint64_t b2_colorCornflowerBlue = 6591981; | |
uint64_t b2_colorCoral = 16744272; | |
uint64_t b2_colorChocolate = 13789470; | |
uint64_t b2_colorChartreuse = 8388352; | |
uint64_t b2_colorCadetBlue = 6266528; | |
uint64_t b2_colorBurlywood = 14596231; | |
uint64_t b2_colorBrown = 10824234; | |
uint64_t b2_colorBlueViolet = 9055202; | |
uint64_t b2_colorBlue = 255; | |
uint64_t b2_colorBlanchedAlmond = 16772045; | |
uint64_t b2_colorBlack = 0; | |
uint64_t b2_colorBisque = 16770244; | |
uint64_t b2_colorBeige = 16119260; | |
uint64_t b2_colorAzure = 15794175; | |
uint64_t b2_colorAquamarine = 8388564; | |
uint64_t b2_colorAntiqueWhite = 16444375; | |
uint64_t b2_colorAliceBlue = 15792383; | |
uint64_t b2_toiStateSeparated = 4; | |
uint64_t b2_toiStateHit = 3; | |
uint64_t b2_toiStateOverlapped = 2; | |
uint64_t b2_toiStateFailed = 1; | |
uint64_t b2_toiStateUnknown = 0; | |
uint64_t b2_dynamicBody = 2; | |
uint64_t b2_kinematicBody = 1; | |
uint64_t b2_staticBody = 0; | |
uint64_t b2_mixMaximum = 4; | |
uint64_t b2_mixMinimum = 3; | |
uint64_t b2_mixMultiply = 2; | |
uint64_t b2_mixGeometricMean = 1; | |
uint64_t b2_mixAverage = 0; | |
uint64_t b2_maxPolygonVertices = 8; | |
uint64_t b2_defaultMaskBits = 18446744073709551615; | |
uint64_t b2_defaultCategoryBits = 1; | |
uint64_t b2_nullChainId = 0; | |
uint64_t b2_nullJointId = 0; | |
uint64_t b2_nullShapeId = 0; | |
uint64_t b2_nullBodyId = 0; | |
int b2_nullWorldId = 0; | |
uint64_t b2_wheelJoint = 6; | |
uint64_t b2_weldJoint = 5; | |
uint64_t b2_revoluteJoint = 4; | |
uint64_t b2_prismaticJoint = 3; | |
uint64_t b2_mouseJoint = 2; | |
uint64_t b2_motorJoint = 1; | |
uint64_t b2_distanceJoint = 0; | |
uint64_t ImGuiComboFlags_WidthFitPreview = 128; | |
uint64_t ImGuiComboFlags_NoPreview = 64; | |
uint64_t ImGuiComboFlags_NoArrowButton = 32; | |
uint64_t ImGuiComboFlags_HeightLargest = 16; | |
uint64_t ImGuiComboFlags_HeightLarge = 8; | |
uint64_t ImGuiComboFlags_HeightRegular = 4; | |
uint64_t ImGuiComboFlags_HeightSmall = 2; | |
uint64_t ImGuiComboFlags_PopupAlignLeft = 1; | |
uint64_t ImGuiComboFlags_None = 0; | |
uint64_t ImGuiMouseButton_Middle = 2; | |
uint64_t ImGuiMouseButton_Right = 1; | |
uint64_t ImGuiMouseButton_Left = 0; | |
uint64_t ImGuiTreeNodeFlags_CollapsingHeader = 26; | |
uint64_t ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 32768; | |
uint64_t ImGuiTreeNodeFlags_SpanAllColumns = 16384; | |
uint64_t ImGuiTreeNodeFlags_SpanTextWidth = 8192; | |
uint64_t ImGuiTreeNodeFlags_SpanFullWidth = 4096; | |
uint64_t ImGuiTreeNodeFlags_SpanAvailWidth = 2048; | |
uint64_t ImGuiTreeNodeFlags_FramePadding = 1024; | |
uint64_t ImGuiTreeNodeFlags_Bullet = 512; | |
uint64_t ImGuiTreeNodeFlags_Leaf = 256; | |
uint64_t ImGuiTreeNodeFlags_OpenOnArrow = 128; | |
uint64_t ImGuiTreeNodeFlags_OpenOnDoubleClick = 64; | |
uint64_t ImGuiTreeNodeFlags_DefaultOpen = 32; | |
uint64_t ImGuiTreeNodeFlags_NoAutoOpenOnLog = 16; | |
uint64_t ImGuiTreeNodeFlags_NoTreePushOnOpen = 8; | |
uint64_t ImGuiTreeNodeFlags_AllowOverlap = 4; | |
uint64_t ImGuiTreeNodeFlags_Framed = 2; | |
uint64_t ImGuiTreeNodeFlags_Selected = 1; | |
uint64_t ImGuiTreeNodeFlags_None = 0; | |
uint64_t ImGuiCond_Appearing = 8; | |
uint64_t ImGuiCond_FirstUseEver = 4; | |
uint64_t ImGuiCond_Once = 2; | |
uint64_t ImGuiCond_Always = 1; | |
uint64_t ImGuiCond_None = 0; | |
uint64_t ImGuiWindowFlags_NoInputs = 197120; | |
uint64_t ImGuiWindowFlags_NoDecoration = 43; | |
uint64_t ImGuiWindowFlags_NoNav = 196608; | |
uint64_t ImGuiWindowFlags_NoDocking = 524288; | |
uint64_t ImGuiWindowFlags_UnsavedDocument = 262144; | |
uint64_t ImGuiWindowFlags_NoNavFocus = 131072; | |
uint64_t ImGuiWindowFlags_NoNavInputs = 65536; | |
uint64_t ImGuiWindowFlags_AlwaysHorizontalScrollbar = 32768; | |
uint64_t ImGuiWindowFlags_AlwaysVerticalScrollbar = 16384; | |
uint64_t ImGuiWindowFlags_NoBringToFrontOnFocus = 8192; | |
uint64_t ImGuiWindowFlags_NoFocusOnAppearing = 4096; | |
uint64_t ImGuiWindowFlags_HorizontalScrollbar = 2048; | |
uint64_t ImGuiWindowFlags_MenuBar = 1024; | |
uint64_t ImGuiWindowFlags_NoMouseInputs = 512; | |
uint64_t ImGuiWindowFlags_NoSavedSettings = 256; | |
uint64_t ImGuiWindowFlags_NoBackground = 128; | |
uint64_t ImGuiWindowFlags_AlwaysAutoResize = 64; | |
uint64_t ImGuiWindowFlags_NoCollapse = 32; | |
uint64_t ImGuiWindowFlags_NoScrollWithMouse = 16; | |
uint64_t ImGuiWindowFlags_NoScrollbar = 8; | |
uint64_t ImGuiWindowFlags_NoMove = 4; | |
uint64_t ImGuiWindowFlags_NoResize = 2; | |
uint64_t ImGuiWindowFlags_NoTitleBar = 1; | |
uint64_t ImGuiWindowFlags_None = 0; | |
char* VERSION_STRING_COMPILED = 140695191983952; | |
uint64_t JOYPAD_AXIS_COUNT = 6; | |
uint64_t JOYPAD_AXIS_TRIGGERRIGHT = 5; | |
uint64_t JOYPAD_AXIS_TRIGGERLEFT = 4; | |
uint64_t JOYPAD_AXIS_RIGHTY = 3; | |
uint64_t JOYPAD_AXIS_RIGHTX = 2; | |
uint64_t JOYPAD_AXIS_LEFTY = 1; | |
uint64_t JOYPAD_AXIS_LEFTX = 0; | |
uint64_t JOYPAD_AXIS_INVALID = 18446744073709551615; | |
uint64_t JOYPAD_BUTTON_COUNT = 15; | |
uint64_t JOYPAD_BUTTON_DPAD_RIGHT = 14; | |
uint64_t JOYPAD_BUTTON_DPAD_LEFT = 13; | |
uint64_t JOYPAD_BUTTON_DPAD_DOWN = 12; | |
uint64_t JOYPAD_BUTTON_DPAD_UP = 11; | |
uint64_t JOYPAD_BUTTON_RIGHTSHOULDER = 10; | |
uint64_t JOYPAD_BUTTON_LEFTSHOULDER = 9; | |
uint64_t JOYPAD_BUTTON_RIGHTSTICK = 8; | |
uint64_t JOYPAD_BUTTON_LEFTSTICK = 7; | |
uint64_t JOYPAD_BUTTON_START = 6; | |
uint64_t JOYPAD_BUTTON_GUIDE = 5; | |
uint64_t JOYPAD_BUTTON_BACK = 4; | |
uint64_t JOYPAD_BUTTON_Y = 3; | |
uint64_t JOYPAD_BUTTON_X = 2; | |
uint64_t JOYPAD_BUTTON_B = 1; | |
uint64_t JOYPAD_BUTTON_A = 0; | |
uint64_t JOYPAD_BUTTON_INVALID = 18446744073709551615; | |
uint64_t JOYPAD_POWER_LEVEL_COUNT = 6; | |
uint64_t JOYPAD_POWER_LEVEL_WIRED = 5; | |
uint64_t JOYPAD_POWER_LEVEL_FULL = 4; | |
uint64_t JOYPAD_POWER_LEVEL_MEDIUM = 3; | |
uint64_t JOYPAD_POWER_LEVEL_LOW = 2; | |
uint64_t JOYPAD_POWER_LEVEL_EMPTY = 1; | |
uint64_t JOYPAD_POWER_LEVEL_UNKNOWN = 0; | |
uint64_t MOUSE_BUTTON_MIDDLE = 2; | |
uint64_t MOUSE_BUTTON_RIGHT = 1; | |
uint64_t MOUSE_BUTTON_LEFT = 0; | |
uint64_t KEY_COUNT = 512; | |
uint64_t KEY_ANY = 288; | |
uint64_t KEY_SLEEP = 287; | |
uint64_t KEY_EJECT = 286; | |
uint64_t KEY_KBDILLUMUP = 285; | |
uint64_t KEY_KBDILLUMDOWN = 284; | |
uint64_t KEY_KBDILLUMTOGGLE = 283; | |
uint64_t KEY_DISPLAYSWITCH = 282; | |
uint64_t KEY_BRIGHTNESSUP = 281; | |
uint64_t KEY_BRIGHTNESSDOWN = 280; | |
uint64_t KEY_AC_BOOKMARKS = 279; | |
uint64_t KEY_AC_REFRESH = 278; | |
uint64_t KEY_AC_STOP = 277; | |
uint64_t KEY_AC_FORWARD = 276; | |
uint64_t KEY_AC_BACK = 275; | |
uint64_t KEY_AC_HOME = 274; | |
uint64_t KEY_AC_SEARCH = 273; | |
uint64_t KEY_COMPUTER = 272; | |
uint64_t KEY_CALCULATOR = 271; | |
uint64_t KEY_MAIL = 270; | |
uint64_t KEY_WWW = 269; | |
uint64_t KEY_MEDIASELECT = 268; | |
uint64_t KEY_AUDIOMUTE = 267; | |
uint64_t KEY_AUDIOPLAY = 266; | |
uint64_t KEY_AUDIOSTOP = 265; | |
uint64_t KEY_AUDIOPREV = 264; | |
uint64_t KEY_AUDIONEXT = 263; | |
uint64_t KEY_MODE = 262; | |
uint64_t KEY_RGUI = 261; | |
uint64_t KEY_RALT = 260; | |
uint64_t KEY_RSHIFT = 259; | |
uint64_t KEY_RCTRL = 258; | |
uint64_t KEY_LGUI = 257; | |
uint64_t KEY_LALT = 256; | |
uint64_t KEY_LSHIFT = 255; | |
uint64_t KEY_LCTRL = 254; | |
uint64_t KEY_KP_HEXADECIMAL = 253; | |
uint64_t KEY_KP_DECIMAL = 252; | |
uint64_t KEY_KP_OCTAL = 251; | |
uint64_t KEY_KP_BINARY = 250; | |
uint64_t KEY_KP_CLEARENTRY = 249; | |
uint64_t KEY_KP_CLEAR = 248; | |
uint64_t KEY_KP_PLUSMINUS = 247; | |
uint64_t KEY_KP_MEMDIVIDE = 246; | |
uint64_t KEY_KP_MEMMULTIPLY = 245; | |
uint64_t KEY_KP_MEMSUBTRACT = 244; | |
uint64_t KEY_KP_MEMADD = 243; | |
uint64_t KEY_KP_MEMCLEAR = 242; | |
uint64_t KEY_KP_MEMRECALL = 241; | |
uint64_t KEY_KP_MEMSTORE = 240; | |
uint64_t KEY_KP_EXCLAM = 239; | |
uint64_t KEY_KP_AT = 238; | |
uint64_t KEY_KP_SPACE = 237; | |
uint64_t KEY_KP_HASH = 236; | |
uint64_t KEY_KP_COLON = 235; | |
uint64_t KEY_KP_DBLVERTICALBAR = 234; | |
uint64_t KEY_KP_VERTICALBAR = 233; | |
uint64_t KEY_KP_DBLAMPERSAND = 232; | |
uint64_t KEY_KP_AMPERSAND = 231; | |
uint64_t KEY_KP_GREATER = 230; | |
uint64_t KEY_KP_LESS = 229; | |
uint64_t KEY_KP_PERCENT = 228; | |
uint64_t KEY_KP_POWER = 227; | |
uint64_t KEY_KP_XOR = 226; | |
uint64_t KEY_KP_F = 225; | |
uint64_t KEY_KP_E = 224; | |
uint64_t KEY_KP_D = 223; | |
uint64_t KEY_KP_C = 222; | |
uint64_t KEY_KP_B = 221; | |
uint64_t KEY_KP_A = 220; | |
uint64_t KEY_KP_BACKSPACE = 219; | |
uint64_t KEY_KP_TAB = 218; | |
uint64_t KEY_KP_RIGHTBRACE = 217; | |
uint64_t KEY_KP_LEFTBRACE = 216; | |
uint64_t KEY_KP_RIGHTPAREN = 215; | |
uint64_t KEY_KP_LEFTPAREN = 214; | |
uint64_t KEY_CURRENCYSUBUNIT = 213; | |
uint64_t KEY_CURRENCYUNIT = 212; | |
uint64_t KEY_DECIMALSEPARATOR = 211; | |
uint64_t KEY_THOUSANDSSEPARATOR = 210; | |
uint64_t KEY_KP_000 = 209; | |
uint64_t KEY_KP_00 = 208; | |
uint64_t KEY_EXSEL = 207; | |
uint64_t KEY_CRSEL = 206; | |
uint64_t KEY_CLEARAGAIN = 205; | |
uint64_t KEY_OPER = 204; | |
uint64_t KEY_OUT = 203; | |
uint64_t KEY_SEPARATOR = 202; | |
uint64_t KEY_RETURN2 = 201; | |
uint64_t KEY_PRIOR = 200; | |
uint64_t KEY_CLEAR = 199; | |
uint64_t KEY_CANCEL = 198; | |
uint64_t KEY_SYSREQ = 197; | |
uint64_t KEY_ALTERASE = 196; | |
uint64_t KEY_KP_EQUALSAS400 = 195; | |
uint64_t KEY_KP_COMMA = 194; | |
uint64_t KEY_VOLUMEDOWN = 193; | |
uint64_t KEY_VOLUMEUP = 192; | |
uint64_t KEY_MUTE = 191; | |
uint64_t KEY_FIND = 190; | |
uint64_t KEY_PASTE = 189; | |
uint64_t KEY_COPY = 188; | |
uint64_t KEY_CUT = 187; | |
uint64_t KEY_UNDO = 186; | |
uint64_t KEY_AGAIN = 185; | |
uint64_t KEY_STOP = 184; | |
uint64_t KEY_SELECT = 183; | |
uint64_t KEY_MENU = 182; | |
uint64_t KEY_HELP = 181; | |
uint64_t KEY_F24 = 180; | |
uint64_t KEY_F23 = 179; | |
uint64_t KEY_F22 = 178; | |
uint64_t KEY_F21 = 177; | |
uint64_t KEY_F20 = 176; | |
uint64_t KEY_F19 = 175; | |
uint64_t KEY_F18 = 174; | |
uint64_t KEY_F17 = 173; | |
uint64_t KEY_F16 = 172; | |
uint64_t KEY_F15 = 171; | |
uint64_t KEY_F14 = 170; | |
uint64_t KEY_F13 = 169; | |
uint64_t KEY_KP_EQUALS = 168; | |
uint64_t KEY_POWER = 167; | |
uint64_t KEY_APPLICATION = 166; | |
uint64_t KEY_KP_PERIOD = 165; | |
uint64_t KEY_KP_0 = 164; | |
uint64_t KEY_KP_9 = 163; | |
uint64_t KEY_KP_8 = 162; | |
uint64_t KEY_KP_7 = 161; | |
uint64_t KEY_KP_6 = 160; | |
uint64_t KEY_KP_5 = 159; | |
uint64_t KEY_KP_4 = 158; | |
uint64_t KEY_KP_3 = 157; | |
uint64_t KEY_KP_2 = 156; | |
uint64_t KEY_KP_1 = 155; | |
uint64_t KEY_KP_ENTER = 154; | |
uint64_t KEY_KP_PLUS = 153; | |
uint64_t KEY_KP_MINUS = 152; | |
uint64_t KEY_KP_MULTIPLY = 151; | |
uint64_t KEY_KP_DIVIDE = 150; | |
uint64_t KEY_NUMLOCKCLEAR = 149; | |
uint64_t KEY_UP = 148; | |
uint64_t KEY_DOWN = 147; | |
uint64_t KEY_LEFT = 146; | |
uint64_t KEY_RIGHT = 145; | |
uint64_t KEY_PAGEDOWN = 144; | |
uint64_t KEY_END = 143; | |
uint64_t KEY_DELETE = 142; | |
uint64_t KEY_PAGEUP = 141; | |
uint64_t KEY_HOME = 140; | |
uint64_t KEY_INSERT = 139; | |
uint64_t KEY_PAUSE = 138; | |
uint64_t KEY_SCROLLLOCK = 137; | |
uint64_t KEY_PRINTSCREEN = 136; | |
uint64_t KEY_F12 = 135; | |
uint64_t KEY_F11 = 134; | |
uint64_t KEY_F10 = 133; | |
uint64_t KEY_F9 = 132; | |
uint64_t KEY_F8 = 131; | |
uint64_t KEY_F7 = 130; | |
uint64_t KEY_F6 = 129; | |
uint64_t KEY_F5 = 128; | |
uint64_t KEY_F4 = 127; | |
uint64_t KEY_F3 = 126; | |
uint64_t KEY_F2 = 125; | |
uint64_t KEY_F1 = 124; | |
uint64_t KEY_CAPSLOCK = 123; | |
uint64_t KEY_Z = 122; | |
uint64_t KEY_Y = 121; | |
uint64_t KEY_X = 120; | |
uint64_t KEY_W = 119; | |
uint64_t KEY_V = 118; | |
uint64_t KEY_U = 117; | |
uint64_t KEY_T = 116; | |
uint64_t KEY_S = 115; | |
uint64_t KEY_R = 114; | |
uint64_t KEY_Q = 113; | |
uint64_t KEY_P = 112; | |
uint64_t KEY_O = 111; | |
uint64_t KEY_N = 110; | |
uint64_t KEY_M = 109; | |
uint64_t KEY_L = 108; | |
uint64_t KEY_K = 107; | |
uint64_t KEY_J = 106; | |
uint64_t KEY_I = 105; | |
uint64_t KEY_H = 104; | |
uint64_t KEY_G = 103; | |
uint64_t KEY_F = 102; | |
uint64_t KEY_E = 101; | |
uint64_t KEY_D = 100; | |
uint64_t KEY_C = 99; | |
uint64_t KEY_B = 98; | |
uint64_t KEY_A = 97; | |
uint64_t KEY_BACKQUOTE = 96; | |
uint64_t KEY_UNDERSCORE = 95; | |
uint64_t KEY_CARET = 94; | |
uint64_t KEY_RIGHTBRACKET = 93; | |
uint64_t KEY_BACKSLASH = 92; | |
uint64_t KEY_LEFTBRACKET = 91; | |
uint64_t KEY_AT = 64; | |
uint64_t KEY_QUESTION = 63; | |
uint64_t KEY_GREATER = 62; | |
uint64_t KEY_EQUALS = 61; | |
uint64_t KEY_LESS = 60; | |
uint64_t KEY_SEMICOLON = 59; | |
uint64_t KEY_COLON = 58; | |
uint64_t KEY_9 = 57; | |
uint64_t KEY_8 = 56; | |
uint64_t KEY_7 = 55; | |
uint64_t KEY_6 = 54; | |
uint64_t KEY_5 = 53; | |
uint64_t KEY_4 = 52; | |
uint64_t KEY_3 = 51; | |
uint64_t KEY_2 = 50; | |
uint64_t KEY_1 = 49; | |
uint64_t KEY_0 = 48; | |
uint64_t KEY_SLASH = 47; | |
uint64_t KEY_PERIOD = 46; | |
uint64_t KEY_MINUS = 45; | |
uint64_t KEY_COMMA = 44; | |
uint64_t KEY_PLUS = 43; | |
uint64_t KEY_ASTERISK = 42; | |
uint64_t KEY_RIGHTPAREN = 41; | |
uint64_t KEY_LEFTPAREN = 40; | |
uint64_t KEY_QUOTE = 39; | |
uint64_t KEY_AMPERSAND = 38; | |
uint64_t KEY_DOLLAR = 36; | |
uint64_t KEY_PERCENT = 37; | |
uint64_t KEY_HASH = 35; | |
uint64_t KEY_QUOTEDBL = 34; | |
uint64_t KEY_EXCLAIM = 33; | |
uint64_t KEY_SPACE = 32; | |
uint64_t KEY_TAB = 9; | |
uint64_t KEY_BACKSPACE = 8; | |
uint64_t KEY_ESCAPE = 27; | |
uint64_t KEY_RETURN = 13; | |
uint64_t KEY_UNKNOWN = 0; | |
uint64_t HTTPS_RESULT_OK = 1; | |
uint64_t HTTPS_RESULT_PENDING = 0; | |
uint64_t HTTPS_RESULT_FAILED = 18446744073709551615; | |
uint64_t HTTPS_RESULT_SOCKET_ERROR = 18446744073709551614; | |
uint64_t HTTPS_RESULT_NO_MATCHING_ENCRYPTION_ALGORITHMS = 18446744073709551613; | |
uint64_t HTTPS_RESULT_CANNOT_VERIFY_CA_CHAIN = 18446744073709551612; | |
uint64_t HTTPS_RESULT_BAD_HOSTNAME = 18446744073709551611; | |
uint64_t HTTPS_RESULT_CERTIFICATE_EXPIRED = 18446744073709551610; | |
uint64_t HTTPS_RESULT_BAD_CERTIFICATE = 18446744073709551609; | |
uint64_t FILE_TYPE_OTHER = 3; | |
uint64_t FILE_TYPE_SYMLINK = 2; | |
uint64_t FILE_TYPE_DIRECTORY = 1; | |
uint64_t FILE_TYPE_REGULAR = 0; | |
uint64_t DISPLAY_ORIENTATION_PORTRAIT_FLIPPED = 4; | |
uint64_t DISPLAY_ORIENTATION_PORTRAIT = 3; | |
uint64_t DISPLAY_ORIENTATION_LANDSCAPE_FLIPPED = 2; | |
uint64_t DISPLAY_ORIENTATION_LANDSCAPE = 1; | |
uint64_t DISPLAY_ORIENTATION_UNKNOWN = 0; | |
uint64_t POWER_STATE_CHARGED = 4; | |
uint64_t POWER_STATE_CHARGING = 3; | |
uint64_t POWER_STATE_NO_BATTERY = 2; | |
uint64_t POWER_STATE_ON_BATTERY = 1; | |
uint64_t POWER_STATE_UNKNOWN = 0; | |
uint64_t APP_OPTIONS_GFX_DEBUG_BIT = 2048; | |
uint64_t APP_OPTIONS_GFX_VULKAN_BIT = 1024; | |
uint64_t APP_OPTIONS_GFX_METAL_BIT = 512; | |
uint64_t APP_OPTIONS_GFX_D3D12_BIT = 256; | |
uint64_t APP_OPTIONS_GFX_D3D11_BIT = 128; | |
uint64_t APP_OPTIONS_NO_AUDIO_BIT = 64; | |
uint64_t APP_OPTIONS_FILE_SYSTEM_DONT_DEFAULT_MOUNT_BIT = 32; | |
uint64_t APP_OPTIONS_WINDOW_POS_CENTERED_BIT = 16; | |
uint64_t APP_OPTIONS_HIDDEN_BIT = 8; | |
uint64_t APP_OPTIONS_RESIZABLE_BIT = 4; | |
uint64_t APP_OPTIONS_FULLSCREEN_BIT = 2; | |
uint64_t APP_OPTIONS_NO_GFX_BIT = 1; | |
uint64_t UNIFORM_TYPE_MAT4 = 6; | |
uint64_t UNIFORM_TYPE_INT4 = 5; | |
uint64_t UNIFORM_TYPE_INT2 = 4; | |
uint64_t UNIFORM_TYPE_INT = 3; | |
uint64_t UNIFORM_TYPE_FLOAT4 = 2; | |
uint64_t UNIFORM_TYPE_FLOAT2 = 1; | |
uint64_t UNIFORM_TYPE_FLOAT = 0; | |
uint64_t UNIFORM_TYPE_UNKNOWN = 18446744073709551615; | |
uint64_t BLENDFACTOR_SRC_ALPHA_SATURATE = 12; | |
uint64_t BLENDFACTOR_ONE_MINUS_CONSTANT_COLOR = 11; | |
uint64_t BLENDFACTOR_CONSTANT_COLOR = 10; | |
uint64_t BLENDFACTOR_ONE_MINUS_DST_ALPHA = 9; | |
uint64_t BLENDFACTOR_DST_ALPHA = 8; | |
uint64_t BLENDFACTOR_ONE_MINUS_SRC_ALPHA = 7; | |
uint64_t BLENDFACTOR_SRC_ALPHA = 6; | |
uint64_t BLENDFACTOR_ONE_MINUS_DST_COLOR = 5; | |
uint64_t BLENDFACTOR_DST_COLOR = 4; | |
uint64_t BLENDFACTOR_ONE_MINUS_SRC_COLOR = 3; | |
uint64_t BLENDFACTOR_SRC_COLOR = 2; | |
uint64_t BLENDFACTOR_ONE = 1; | |
uint64_t BLENDFACTOR_ZERO = 0; | |
uint64_t BLEND_OP_MAX = 4; | |
uint64_t BLEND_OP_MIN = 3; | |
uint64_t BLEND_OP_REVERSE_SUBTRACT = 2; | |
uint64_t BLEND_OP_SUBTRACT = 1; | |
uint64_t BLEND_OP_ADD = 0; | |
uint64_t STENCIL_OP_DECREMENT_WRAP = 7; | |
uint64_t STENCIL_OP_INCREMENT_WRAP = 6; | |
uint64_t STENCIL_OP_INVERT = 5; | |
uint64_t STENCIL_OP_DECREMENT_CLAMP = 4; | |
uint64_t STENCIL_OP_INCREMENT_CLAMP = 3; | |
uint64_t STENCIL_OP_REPLACE = 2; | |
uint64_t STENCIL_OP_ZERO = 1; | |
uint64_t STENCIL_OP_KEEP = 0; | |
uint64_t COMPARE_FUNCTION_GREATER_THAN_OR_EQUAL = 7; | |
uint64_t COMPARE_FUNCTION_GREATER_THAN = 6; | |
uint64_t COMPARE_FUNCTION_LESS_THAN_OR_EQUAL = 5; | |
uint64_t COMPARE_FUNCTION_NOT_EQUAL = 4; | |
uint64_t COMPARE_FUNCTION_EQUAL = 3; | |
uint64_t COMPARE_FUNCTION_LESS_THAN = 2; | |
uint64_t COMPARE_FUNCTION_NEVER = 1; | |
uint64_t COMPARE_FUNCTION_ALWAYS = 0; | |
uint64_t CULL_MODE_BACK = 2; | |
uint64_t CULL_MODE_FRONT = 1; | |
uint64_t CULL_MODE_NONE = 0; | |
uint64_t VERTEX_FORMAT_HALF4 = 29; | |
uint64_t VERTEX_FORMAT_HALF2 = 28; | |
uint64_t VERTEX_FORMAT_USHORT4_NORM = 27; | |
uint64_t VERTEX_FORMAT_USHORT2_NORM = 26; | |
uint64_t VERTEX_FORMAT_SHORT4_NORM = 25; | |
uint64_t VERTEX_FORMAT_SHORT2_NORM = 24; | |
uint64_t VERTEX_FORMAT_USHORT4 = 23; | |
uint64_t VERTEX_FORMAT_USHORT2 = 22; | |
uint64_t VERTEX_FORMAT_SHORT4 = 21; | |
uint64_t VERTEX_FORMAT_SHORT2 = 20; | |
uint64_t VERTEX_FORMAT_UBYTE4_NORM = 19; | |
uint64_t VERTEX_FORMAT_UBYTE2_NORM = 18; | |
uint64_t VERTEX_FORMAT_BYTE4_NORM = 17; | |
uint64_t VERTEX_FORMAT_BYTE2_NORM = 16; | |
uint64_t VERTEX_FORMAT_UBYTE4 = 15; | |
uint64_t VERTEX_FORMAT_UBYTE2 = 14; | |
uint64_t VERTEX_FORMAT_BYTE4 = 13; | |
uint64_t VERTEX_FORMAT_BYTE2 = 12; | |
uint64_t VERTEX_FORMAT_FLOAT4 = 11; | |
uint64_t VERTEX_FORMAT_FLOAT3 = 10; | |
uint64_t VERTEX_FORMAT_FLOAT2 = 9; | |
uint64_t VERTEX_FORMAT_FLOAT = 8; | |
uint64_t VERTEX_FORMAT_UINT4 = 7; | |
uint64_t VERTEX_FORMAT_UINT3 = 6; | |
uint64_t VERTEX_FORMAT_UINT2 = 5; | |
uint64_t VERTEX_FORMAT_UINT = 4; | |
uint64_t VERTEX_FORMAT_INT4 = 3; | |
uint64_t VERTEX_FORMAT_INT3 = 2; | |
uint64_t VERTEX_FORMAT_INT2 = 1; | |
uint64_t VERTEX_FORMAT_INT = 0; | |
uint64_t WRAP_MODE_MIRRORED_REPEAT = 2; | |
uint64_t WRAP_MODE_CLAMP_TO_EDGE = 1; | |
uint64_t WRAP_MODE_REPEAT = 0; | |
uint64_t FILTER_LINEAR = 1; | |
uint64_t FILTER_NEAREST = 0; | |
uint64_t PIXELFORMAT_OP_DEPTH = 5; | |
uint64_t PIXELFORMAT_OP_MSAA = 4; | |
uint64_t PIXELFORMAT_OP_ALPHA_BLENDING = 3; | |
uint64_t PIXELFORMAT_OP_RENDER_TARGET = 2; | |
uint64_t PIXELFORMAT_OP_BILINEAR_FILTER = 1; | |
uint64_t PIXELFORMAT_OP_NEAREST_FILTER = 0; | |
uint64_t PIXEL_FORMAT_D32_FLOAT_S8_UINT = 55; | |
uint64_t PIXEL_FORMAT_D24_UNORM_S8_UINT = 54; | |
uint64_t PIXEL_FORMAT_D32_FLOAT = 53; | |
uint64_t PIXEL_FORMAT_D24_UNORM = 52; | |
uint64_t PIXEL_FORMAT_D16_UNORM = 51; | |
uint64_t PIXEL_FORMAT_BC7_RGBA_UNORM_SRGB = 50; | |
uint64_t PIXEL_FORMAT_BC3_RGBA_UNORM_SRGB = 49; | |
uint64_t PIXEL_FORMAT_BC2_RGBA_UNORM_SRGB = 48; | |
uint64_t PIXEL_FORMAT_BC1_RGBA_UNORM_SRGB = 47; | |
uint64_t PIXEL_FORMAT_B8G8R8A8_UNORM_SRGB = 46; | |
uint64_t PIXEL_FORMAT_R8G8B8A8_UNORM_SRGB = 45; | |
uint64_t PIXEL_FORMAT_R16G16B16A16_INT = 44; | |
uint64_t PIXEL_FORMAT_R16G16_INT = 43; | |
uint64_t PIXEL_FORMAT_R16_INT = 42; | |
uint64_t PIXEL_FORMAT_R8G8B8A8_INT = 41; | |
uint64_t PIXEL_FORMAT_R8G8_INT = 40; | |
uint64_t PIXEL_FORMAT_R8_INT = 39; | |
uint64_t PIXEL_FORMAT_R16G16B16A16_UINT = 38; | |
uint64_t PIXEL_FORMAT_R16G16_UINT = 37; | |
uint64_t PIXEL_FORMAT_R16_UINT = 36; | |
uint64_t PIXEL_FORMAT_R8G8B8A8_UINT = 35; | |
uint64_t PIXEL_FORMAT_R8G8_UINT = 34; | |
uint64_t PIXEL_FORMAT_R8_UINT = 33; | |
uint64_t PIXEL_FORMAT_R11G11B10_UFLOAT = 32; | |
uint64_t PIXEL_FORMAT_R32G32B32A32_FLOAT = 31; | |
uint64_t PIXEL_FORMAT_R32G32_FLOAT = 30; | |
uint64_t PIXEL_FORMAT_R32_FLOAT = 29; | |
uint64_t PIXEL_FORMAT_R16G16B16A16_FLOAT = 28; | |
uint64_t PIXEL_FORMAT_R16G16_FLOAT = 27; | |
uint64_t PIXEL_FORMAT_R16_FLOAT = 26; | |
uint64_t PIXEL_FORMAT_R16G16B16A16_SNORM = 25; | |
uint64_t PIXEL_FORMAT_R16G16_SNORM = 24; | |
uint64_t PIXEL_FORMAT_R16_SNORM = 23; | |
uint64_t PIXEL_FORMAT_R8G8B8A8_SNORM = 22; | |
uint64_t PIXEL_FORMAT_R8G8_SNORM = 21; | |
uint64_t PIXEL_FORMAT_R8_SNORM = 20; | |
uint64_t PIXEL_FORMAT_BC6H_RGB_UFLOAT = 19; | |
uint64_t PIXEL_FORMAT_BC6H_RGB_FLOAT = 18; | |
uint64_t PIXEL_FORMAT_BC7_RGBA_UNORM = 17; | |
uint64_t PIXEL_FORMAT_BC5_RG_UNORM = 16; | |
uint64_t PIXEL_FORMAT_BC4_R_UNORM = 15; | |
uint64_t PIXEL_FORMAT_BC3_RGBA_UNORM = 14; | |
uint64_t PIXEL_FORMAT_BC2_RGBA_UNORM = 13; | |
uint64_t PIXEL_FORMAT_BC1_RGBA_UNORM = 12; | |
uint64_t PIXEL_FORMAT_B8G8R8A8_UNORM = 11; | |
uint64_t PIXEL_FORMAT_B4G4R4A4_UNORM = 10; | |
uint64_t PIXEL_FORMAT_B5G5R5A1_UNORM = 9; | |
uint64_t PIXEL_FORMAT_B5G6R5_UNORM = 8; | |
uint64_t PIXEL_FORMAT_R10G10B10A2_UNORM = 7; | |
uint64_t PIXEL_FORMAT_R16G16B16A16_UNORM = 6; | |
uint64_t PIXEL_FORMAT_R16G16_UNORM = 5; | |
uint64_t PIXEL_FORMAT_R16_UNORM = 4; | |
uint64_t PIXEL_FORMAT_R8G8B8A8_UNORM = 3; | |
uint64_t PIXEL_FORMAT_R8G8_UNORM = 2; | |
uint64_t PIXEL_FORMAT_R8_UNORM = 1; | |
uint64_t PIXEL_FORMAT_A8_UNORM = 0; | |
uint64_t PIXEL_FORMAT_INVALID = 18446744073709551615; | |
uint64_t BACKEND_TYPE_PRIVATE = 4; | |
uint64_t BACKEND_TYPE_METAL = 3; | |
uint64_t BACKEND_TYPE_D3D12 = 2; | |
uint64_t BACKEND_TYPE_D3D11 = 1; | |
uint64_t BACKEND_TYPE_VULKAN = 0; | |
uint64_t BACKEND_TYPE_INVALID = 18446744073709551615; | |
uint64_t SHAPE_TYPE_POLY = 4; | |
uint64_t SHAPE_TYPE_CAPSULE = 3; | |
uint64_t SHAPE_TYPE_AABB = 2; | |
uint64_t SHAPE_TYPE_CIRCLE = 1; | |
uint64_t SHAPE_TYPE_NONE = 0; | |
uint64_t MESSAGE_BOX_TYPE_INFORMATION = 2; | |
uint64_t MESSAGE_BOX_TYPE_WARNING = 1; | |
uint64_t MESSAGE_BOX_TYPE_ERROR = 0; | |
uint64_t RESULT_ERROR = 18446744073709551615; | |
uint64_t RESULT_SUCCESS = 0; | |
struct b2DebugDrawSettings { | |
char* draw_polygon; | |
char* draw_solid_polygon; | |
char* draw_circle; | |
char* draw_solid_circle; | |
char* draw_solid_capsule; | |
char* draw_segment; | |
char* draw_transform; | |
char* draw_point; | |
char* draw_string; | |
b2AABB drawingBounds; | |
bool useDrawingBounds; | |
bool drawShapes; | |
bool drawJoints; | |
bool drawJointExtras; | |
bool drawAABBs; | |
bool drawMass; | |
bool drawContacts; | |
bool drawGraphColors; | |
bool drawContactNormals; | |
bool drawContactImpulses; | |
bool drawFrictionImpulses; | |
void* context; | |
}; | |
struct b2Counters { | |
int bodyCount; | |
int shapeCount; | |
int contactCount; | |
int jointCount; | |
int islandCount; | |
int stackUsed; | |
int staticTreeHeight; | |
int treeHeight; | |
int byteCount; | |
int taskCount; | |
}; | |
struct b2Profile { | |
float step; | |
float pairs; | |
float collide; | |
float solve; | |
float buildIslands; | |
float solveConstraints; | |
float prepareTasks; | |
float solverTasks; | |
float prepareConstraints; | |
float integrateVelocities; | |
float warmStart; | |
float solveVelocities; | |
float integratePositions; | |
float relaxVelocities; | |
float applyRestitution; | |
float storeImpulses; | |
float finalizeBodies; | |
float splitIslands; | |
float sleepIslands; | |
float hitEvents; | |
float broadphase; | |
float continuous; | |
}; | |
struct b2ContactEvents { | |
b2ContactBeginTouchEvent* beginEvents; | |
b2ContactEndTouchEvent* endEvents; | |
b2ContactHitEvent* hitEvents; | |
}; | |
struct b2SensorEvents { | |
b2SensorBeginTouchEvent* beginEvents; | |
b2SensorEndTouchEvent* endEvents; | |
}; | |
struct b2ShapeCastPairInput { | |
b2DistanceProxy proxyA; | |
b2DistanceProxy proxyB; | |
b2Transform transformA; | |
b2Transform transformB; | |
b2Vec2 translationB; | |
float maxFraction; | |
}; | |
struct b2ShapeCastInput { | |
b2Vec2 points; | |
float radius; | |
b2Vec2 translation; | |
float maxFraction; | |
}; | |
struct b2Version { | |
int major; | |
int minor; | |
int revision; | |
}; | |
struct b2ManifoldPoint { | |
b2Vec2 point; | |
b2Vec2 anchorA; | |
b2Vec2 anchorB; | |
float separation; | |
float normalImpulse; | |
float tangentImpulse; | |
float maxNormalImpulse; | |
float normalVelocity; | |
uint16_t id; | |
bool persisted; | |
}; | |
struct b2ContactData { | |
void* shapeIdA; | |
void* shapeIdB; | |
b2Manifold manifold; | |
}; | |
struct b2Manifold { | |
b2ManifoldPoint points; | |
b2Vec2 normal; | |
}; | |
struct b2BodyMoveEvent { | |
b2Transform transform; | |
void* bodyId; | |
void* userData; | |
bool fellAsleep; | |
}; | |
struct b2ContactHitEvent { | |
void* shapeIdA; | |
void* shapeIdB; | |
b2Vec2 point; | |
b2Vec2 normal; | |
float approachSpeed; | |
}; | |
struct b2ContactEndTouchEvent { | |
void* shapeIdA; | |
void* shapeIdB; | |
}; | |
struct b2ContactBeginTouchEvent { | |
void* shapeIdA; | |
void* shapeIdB; | |
}; | |
struct b2SensorEndTouchEvent { | |
void* sensorShapeId; | |
void* visitorShapeId; | |
}; | |
struct b2SensorBeginTouchEvent { | |
void* sensorShapeId; | |
void* visitorShapeId; | |
}; | |
struct b2WheelJointDef { | |
void* bodyIdA; | |
void* bodyIdB; | |
b2Vec2 localAnchorA; | |
b2Vec2 localAnchorB; | |
b2Vec2 localAxisA; | |
bool enableSpring; | |
float hertz; | |
float dampingRatio; | |
bool enableLimit; | |
float lowerTranslation; | |
float upperTranslation; | |
bool enableMotor; | |
float maxMotorTorque; | |
float motorSpeed; | |
bool collideConnected; | |
void* userData; | |
int internalValue; | |
}; | |
struct b2WeldJointDef { | |
void* bodyIdA; | |
void* bodyIdB; | |
b2Vec2 localAnchorA; | |
b2Vec2 localAnchorB; | |
float referenceAngle; | |
float linearHertz; | |
float angularHertz; | |
float linearDampingRatio; | |
float angularDampingRatio; | |
bool collideConnected; | |
void* userData; | |
int internalValue; | |
}; | |
struct b2RevoluteJointDef { | |
void* bodyIdA; | |
void* bodyIdB; | |
b2Vec2 localAnchorA; | |
b2Vec2 localAnchorB; | |
float referenceAngle; | |
bool enableSpring; | |
float hertz; | |
float dampingRatio; | |
bool enableLimit; | |
float lowerAngle; | |
float upperAngle; | |
bool enableMotor; | |
float motorSpeed; | |
float drawSize; | |
bool collideConnected; | |
void* userData; | |
int internalValue; | |
}; | |
struct b2PrismaticJointDef { | |
void* bodyIdA; | |
void* bodyIdB; | |
b2Vec2 localAnchorA; | |
b2Vec2 localAnchorB; | |
b2Vec2 localAxisA; | |
float referenceAngle; | |
bool enableSpring; | |
float hertz; | |
float dampingRatio; | |
bool enableLimit; | |
float lowerTranslation; | |
float upperTranslation; | |
bool enableMotor; | |
float maxMotorForce; | |
float motorSpeed; | |
bool collideConnected; | |
void* userData; | |
int internalValue; | |
}; | |
struct b2MouseJointDef { | |
void* bodyIdA; | |
void* bodyIdB; | |
b2Vec2 target; | |
float hertz; | |
float dampingRatio; | |
float maxForce; | |
bool collideConnected; | |
void* userData; | |
int internalValue; | |
}; | |
struct b2MotorJointDef { | |
void* bodyIdA; | |
void* bodyIdB; | |
b2Vec2 linearOffset; | |
float angularOffset; | |
float maxForce; | |
float maxTorque; | |
float correctionFactor; | |
bool collideConnected; | |
void* userData; | |
int internalValue; | |
}; | |
struct b2DistanceJointDef { | |
void* bodyIdA; | |
void* bodyIdB; | |
b2Vec2 localAnchorA; | |
b2Vec2 localAnchorB; | |
float length; | |
bool enableSpring; | |
float hertz; | |
float dampingRatio; | |
bool enableLimit; | |
float minLength; | |
float maxLength; | |
bool enableMotor; | |
float maxMotorForce; | |
float motorSpeed; | |
bool collideConnected; | |
void* userData; | |
int internalValue; | |
}; | |
struct b2TOIOutput { | |
int state; | |
float t; | |
}; | |
struct b2TOIInput { | |
b2DistanceProxy proxyA; | |
b2DistanceProxy proxyB; | |
b2Sweep sweepA; | |
b2Sweep sweepB; | |
float tMax; | |
}; | |
struct b2DistanceProxy { | |
b2Vec2 points; | |
float radius; | |
}; | |
struct b2ShapeDef { | |
void* userData; | |
float friction; | |
float restitution; | |
float density; | |
b2Filter filter; | |
bool isSensor; | |
bool enableSensorEvents; | |
bool enableContactEvents; | |
bool enableHitEvents; | |
bool enablePreSolveEvents; | |
bool forceContactCreation; | |
int internalValue; | |
}; | |
struct b2QueryFilter { | |
uint64_t categoryBits; | |
uint64_t maskBits; | |
}; | |
struct b2Filter { | |
uint64_t categoryBits; | |
uint64_t maskBits; | |
int groupIndex; | |
}; | |
struct b2MassData { | |
float mass; | |
b2Vec2 center; | |
float rotationalInertia; | |
}; | |
struct b2ChainDef { | |
b2Vec2* points; | |
float friction; | |
float restitution; | |
b2Filter filter; | |
bool isLoop; | |
int internalValue; | |
}; | |
struct b2BodyDef { | |
int type; | |
b2Vec2 position; | |
b2Rot rotation; | |
b2Vec2 linearVelocity; | |
float angularVelocity; | |
float linearDamping; | |
float angularDamping; | |
float gravityScale; | |
float sleepThreshold; | |
void* userData; | |
bool enableSleep; | |
bool isAwake; | |
bool fixedRotation; | |
bool isBullet; | |
bool isEnabled; | |
bool automaticMass; | |
bool allowFastRotation; | |
int internalValue; | |
}; | |
struct b2WorldDef { | |
b2Vec2 gravity; | |
float restitutionThreshold; | |
float contactPushoutVelocity; | |
float hitEventThreshold; | |
float contactHertz; | |
float contactDampingRatio; | |
float jointHertz; | |
float jointDampingRatio; | |
float maximumLinearVelocity; | |
int frictionMixingRule; | |
int restitutionMixingRule; | |
bool enableSleep; | |
bool enableContinuous; | |
int workerCount; | |
void* enqueueTask; | |
void* finishTask; | |
void* userTaskContext; | |
int internalValue; | |
}; | |
struct b2CastOutput { | |
b2Vec2 normal; | |
b2Vec2 point; | |
float fraction; | |
int iterations; | |
bool hit; | |
}; | |
struct b2RayCastInput { | |
b2Vec2 origin; | |
b2Vec2 translation; | |
float maxFraction; | |
}; | |
struct b2Hull { | |
b2Vec2 points; | |
}; | |
struct b2ChainSegment { | |
b2Vec2 ghost1; | |
b2Segment segment; | |
b2Vec2 ghost2; | |
int chainId; | |
}; | |
struct b2Polygon { | |
b2Vec2 vertices; | |
b2Vec2 normals; | |
b2Vec2 centroid; | |
float radius; | |
}; | |
struct b2Rot { | |
float c; | |
float s; | |
}; | |
struct b2Sweep { | |
b2Vec2 localCenter; | |
b2Vec2 c1; | |
b2Vec2 c2; | |
b2Rot q1; | |
b2Rot q2; | |
}; | |
struct b2Segment { | |
b2Vec2 point1; | |
b2Vec2 point2; | |
}; | |
struct b2Capsule { | |
b2Vec2 center1; | |
b2Vec2 center2; | |
float radius; | |
}; | |
struct b2Circle { | |
b2Vec2 center; | |
float radius; | |
}; | |
struct b2Transform { | |
b2Vec2 p; | |
b2Rot q; | |
}; | |
struct b2AABB { | |
b2Vec2 lowerBound; | |
b2Vec2 upperBound; | |
}; | |
struct b2Vec2 { | |
float x; | |
float y; | |
}; | |
struct CF_Touch { | |
uint64_t id; | |
float x; | |
float y; | |
float pressure; | |
}; | |
struct CF_ImeComposition { | |
char* composition; | |
int cursor; | |
int selection_len; | |
}; | |
struct CF_HttpsHeader { | |
char* name; | |
char* value; | |
}; | |
struct CF_Stat { | |
int type; | |
bool is_read_only; | |
uint64_t size; | |
uint64_t last_modified_time; | |
uint64_t created_time; | |
uint64_t last_accessed_time; | |
}; | |
struct CF_AtlasSubImage { | |
uint64_t image_id; | |
int w; | |
int h; | |
float minx; | |
float miny; | |
float maxx; | |
float maxy; | |
}; | |
struct CF_TemporaryImage { | |
void* tex; | |
int w; | |
int h; | |
v2 u; | |
v2 v; | |
}; | |
struct CF_TextEffect { | |
char* effect_name; | |
bool on_begin; | |
bool on_end; | |
int character; | |
int index_into_string; | |
int index_into_effect; | |
int glyph_count; | |
float elapsed; | |
v2 center; | |
v2 q0; | |
v2 q1; | |
int w; | |
int h; | |
CF_Color color; | |
float opacity; | |
float xadvance; | |
bool visible; | |
float font_size; | |
}; | |
struct CF_Pixel { | |
uint32_t val; | |
}; | |
struct SoundParams { | |
bool paused; | |
bool looped; | |
float volume; | |
float pan; | |
float pitch; | |
int sample_index; | |
}; | |
struct CF_RenderState { | |
int cull_mode; | |
CF_BlendState blend; | |
int depth_compare; | |
bool depth_write_enabled; | |
CF_StencilParams stencil; | |
}; | |
struct CF_BlendState { | |
bool enabled; | |
int pixel_format; | |
bool write_R_enabled; | |
bool write_G_enabled; | |
bool write_B_enabled; | |
bool write_A_enabled; | |
int rgb_op; | |
int rgb_src_blend_factor; | |
int rgb_dst_blend_factor; | |
int alpha_op; | |
int alpha_src_blend_factor; | |
int alpha_dst_blend_factor; | |
}; | |
struct CF_StencilParams { | |
bool enabled; | |
uint8_t read_mask; | |
uint8_t write_mask; | |
uint8_t reference; | |
CF_StencilFunction front; | |
CF_StencilFunction back; | |
}; | |
struct CF_StencilFunction { | |
int compare; | |
int fail_op; | |
int depth_fail_op; | |
int pass_op; | |
}; | |
struct CF_VertexAttribute { | |
char* name; | |
int format; | |
int offset; | |
}; | |
struct CF_CanvasParams { | |
CF_TextureParams target; | |
bool depth_stencil_enable; | |
CF_TextureParams depth_stencil_target; | |
}; | |
struct CF_TextureParams { | |
int pixel_format; | |
uint32_t usage; | |
int filter; | |
int wrap_u; | |
int wrap_v; | |
int width; | |
int height; | |
bool stream; | |
}; | |
struct CF_Manifold { | |
int count; | |
float depths; | |
v2 contact_points; | |
v2 n; | |
}; | |
struct CF_SliceOutput { | |
CF_Poly front; | |
CF_Poly back; | |
}; | |
struct CF_Poly { | |
v2 verts; | |
v2 norms; | |
}; | |
struct CF_ToiResult { | |
int hit; | |
float toi; | |
v2 n; | |
v2 p; | |
int iterations; | |
}; | |
struct CF_Transform { | |
CF_SinCos r; | |
v2 p; | |
}; | |
struct CF_SinCos { | |
float s; | |
float c; | |
}; | |
struct CF_Halfspace { | |
v2 n; | |
float d; | |
}; | |
struct CF_Ray { | |
v2 p; | |
v2 d; | |
float t; | |
}; | |
struct CF_Raycast { | |
bool hit; | |
float t; | |
v2 n; | |
}; | |
struct CF_Capsule { | |
v2 a; | |
v2 b; | |
float r; | |
}; | |
struct CF_Circle { | |
v2 p; | |
float r; | |
}; | |
struct CF_Color { | |
float r; | |
float g; | |
float b; | |
float a; | |
}; | |
struct CF_Rect { | |
int x; | |
int y; | |
int w; | |
int h; | |
}; | |
struct CF_Aabb { | |
v2 min; | |
v2 max; | |
}; | |
struct CF_M3x2 { | |
CF_M2x2 m; | |
v2 p; | |
}; | |
struct CF_M2x2 { | |
v2 x; | |
v2 y; | |
}; | |
struct v2 { | |
float x; | |
float y; | |
}; | |
struct CF_Result { | |
int code; | |
char* details; | |
}; | |
void wait_for_debugger(); | |
void mount_directory_as(char*, char*); | |
void dump_lua_api(); | |
b2Manifold b2CollideSmoothSegmentAndPolygon(b2ChainSegment, b2Transform, b2Polygon, b2Transform); | |
b2Manifold b2CollideSmoothSegmentAndCapsule(b2ChainSegment, b2Transform, b2Capsule, b2Transform); | |
b2Manifold b2CollideSmoothSegmentAndCircle(b2ChainSegment, b2Transform, b2Circle, b2Transform); | |
b2Manifold b2CollideSegmentAndPolygon(b2Segment, b2Transform, b2Polygon, b2Transform); | |
b2Manifold b2CollidePolygons(b2Polygon, b2Transform, b2Polygon, b2Transform); | |
b2Manifold b2CollidePolygonAndCapsule(b2Polygon, b2Transform, b2Capsule, b2Transform); | |
b2Manifold b2CollideSegmentAndCapsule(b2Segment, b2Transform, b2Capsule, b2Transform); | |
b2Manifold b2CollideCapsules(b2Capsule, b2Transform, b2Capsule, b2Transform); | |
b2Manifold b2CollidePolygonAndCircle(b2Polygon, b2Transform, b2Circle, b2Transform); | |
b2Manifold b2CollideSegmentAndCircle(b2Segment, b2Transform, b2Circle, b2Transform); | |
b2Manifold b2CollideCapsuleAndCircle(b2Capsule, b2Transform, b2Circle, b2Transform); | |
b2Manifold b2CollideCircles(b2Circle, b2Transform, b2Circle, b2Transform); | |
b2TOIOutput b2TimeOfImpact(b2TOIInput); | |
b2Transform b2GetSweepTransform(b2Sweep, float); | |
b2DistanceProxy b2MakeProxy(b2Hull, float); | |
b2CastOutput b2ShapeCast(b2ShapeCastPairInput); | |
bool b2ValidateHull(b2Hull); | |
b2Hull b2ComputeHull(b2Vec2*, int); | |
b2CastOutput b2ShapeCastPolygon(b2ShapeCastInput, b2Polygon); | |
b2CastOutput b2ShapeCastSegment(b2ShapeCastInput, b2Segment); | |
b2CastOutput b2ShapeCastCapsule(b2ShapeCastInput, b2Capsule); | |
b2CastOutput b2ShapeCastCircle(b2ShapeCastInput, b2Circle); | |
b2CastOutput b2RayCastPolygon(b2RayCastInput, b2Polygon); | |
b2CastOutput b2RayCastSegment(b2RayCastInput, b2Segment, bool); | |
b2CastOutput b2RayCastCapsule(b2RayCastInput, b2Capsule); | |
b2CastOutput b2RayCastCircle(b2RayCastInput, b2Circle); | |
bool b2PointInPolygon(b2Vec2, b2Polygon); | |
bool b2PointInCapsule(b2Vec2, b2Capsule); | |
bool b2PointInCircle(b2Vec2, b2Circle); | |
b2AABB b2ComputeSegmentAABB(b2Segment, b2Transform); | |
b2AABB b2ComputePolygonAABB(b2Polygon, b2Transform); | |
b2AABB b2ComputeCapsuleAABB(b2Capsule, b2Transform); | |
b2AABB b2ComputeCircleAABB(b2Circle, b2Transform); | |
b2MassData b2ComputePolygonMass(b2Polygon, float); | |
b2MassData b2ComputeCapsuleMass(b2Capsule, float); | |
b2MassData b2ComputeCircleMass(b2Circle, float); | |
b2Polygon b2TransformPolygon(b2Transform, b2Polygon); | |
b2Rot b2MakeRot(float); | |
b2Polygon b2MakeOffsetBox(float, float, b2Vec2, b2Rot); | |
b2Polygon b2MakeRoundedBox(float, float, float); | |
b2Polygon b2MakeBox(float, float); | |
b2Polygon b2MakeSquare(float); | |
b2Polygon b2MakeOffsetPolygon(b2Hull, float, b2Transform); | |
b2Polygon b2MakePolygon(b2Vec2*, int, float); | |
bool b2IsValidRay(b2RayCastInput); | |
float b2WheelJoint_GetMotorTorque(void*); | |
float b2WheelJoint_GetMaxMotorTorque(void*); | |
void b2WheelJoint_SetMaxMotorTorque(void*, float); | |
float b2WheelJoint_GetMotorSpeed(void*); | |
void b2WheelJoint_SetMotorSpeed(void*, float); | |
bool b2WheelJoint_IsMotorEnabled(void*); | |
void b2WheelJoint_EnableMotor(void*, bool); | |
void b2WheelJoint_SetLimits(void*, float, float); | |
float b2WheelJoint_GetUpperLimit(void*); | |
float b2WheelJoint_GetLowerLimit(void*); | |
bool b2WheelJoint_IsLimitEnabled(void*); | |
void b2WheelJoint_EnableLimit(void*, bool); | |
float b2WheelJoint_GetSpringDampingRatio(void*); | |
void b2WheelJoint_SetSpringDampingRatio(void*, float); | |
float b2WheelJoint_GetSpringHertz(void*); | |
void b2WheelJoint_SetSpringHertz(void*, float); | |
bool b2WheelJoint_IsSpringEnabled(void*); | |
void b2WheelJoint_EnableSpring(void*, bool); | |
void* b2CreateWheelJoint(int, b2WheelJointDef); | |
float b2WeldJoint_GetAngularDampingRatio(void*); | |
void b2WeldJoint_SetAngularDampingRatio(void*, float); | |
float b2WeldJoint_GetAngularHertz(void*); | |
void b2WeldJoint_SetAngularHertz(void*, float); | |
float b2WeldJoint_GetLinearDampingRatio(void*); | |
void b2WeldJoint_SetLinearDampingRatio(void*, float); | |
float b2WeldJoint_GetLinearHertz(void*); | |
void b2WeldJoint_SetLinearHertz(void*, float); | |
void* b2CreateWeldJoint(int, b2WeldJointDef); | |
float b2RevoluteJoint_GetMaxMotorTorque(void*); | |
void b2RevoluteJoint_SetMaxMotorTorque(void*, float); | |
float b2RevoluteJoint_GetMotorTorque(void*); | |
float b2RevoluteJoint_GetMotorSpeed(void*); | |
void b2RevoluteJoint_SetMotorSpeed(void*, float); | |
bool b2RevoluteJoint_IsMotorEnabled(void*); | |
void b2RevoluteJoint_EnableMotor(void*, bool); | |
void b2RevoluteJoint_SetLimits(void*, float, float); | |
float b2RevoluteJoint_GetUpperLimit(void*); | |
float b2RevoluteJoint_GetLowerLimit(void*); | |
float b2RevoluteJoint_GetAngle(void*); | |
float b2RevoluteJoint_GetSpringDampingRatio(void*); | |
void b2RevoluteJoint_SetSpringDampingRatio(void*, float); | |
float b2RevoluteJoint_GetSpringHertz(void*); | |
void b2RevoluteJoint_SetSpringHertz(void*, float); | |
bool b2RevoluteJoint_IsLimitEnabled(void*); | |
void b2RevoluteJoint_EnableSpring(void*, bool); | |
void* b2CreateRevoluteJoint(int, b2RevoluteJointDef); | |
float b2PrismaticJoint_GetMotorForce(void*); | |
float b2PrismaticJoint_GetMaxMotorForce(void*); | |
void b2PrismaticJoint_SetMaxMotorForce(void*, float); | |
float b2PrismaticJoint_GetMotorSpeed(void*); | |
void b2PrismaticJoint_SetMotorSpeed(void*, float); | |
bool b2PrismaticJoint_IsMotorEnabled(void*); | |
void b2PrismaticJoint_EnableMotor(void*, bool); | |
void b2PrismaticJoint_SetLimits(void*, float, float); | |
float b2PrismaticJoint_GetUpperLimit(void*); | |
float b2PrismaticJoint_GetLowerLimit(void*); | |
bool b2PrismaticJoint_IsLimitEnabled(void*); | |
void b2PrismaticJoint_EnableLimit(void*, bool); | |
float b2PrismaticJoint_GetSpringDampingRatio(void*); | |
void b2PrismaticJoint_SetSpringDampingRatio(void*, float); | |
float b2PrismaticJoint_GetSpringHertz(void*); | |
void b2PrismaticJoint_SetSpringHertz(void*, float); | |
bool b2PrismaticJoint_IsSpringEnabled(void*); | |
void b2PrismaticJoint_EnableSpring(void*, bool); | |
void* b2CreatePrismaticJoint(int, b2PrismaticJointDef); | |
float b2MouseJoint_GetMaxForce(void*); | |
void b2MouseJoint_SetMaxForce(void*, float); | |
float b2MouseJoint_GetSpringDampingRatio(void*); | |
void b2MouseJoint_SetSpringDampingRatio(void*, float); | |
float b2MouseJoint_GetSpringHertz(void*); | |
void b2MouseJoint_SetSpringHertz(void*, float); | |
b2Vec2 b2MouseJoint_GetTarget(void*); | |
void b2MouseJoint_SetTarget(void*, b2Vec2); | |
void* b2CreateMouseJoint(int, b2MouseJointDef); | |
float b2MotorJoint_GetCorrectionFactor(void*); | |
void b2MotorJoint_SetCorrectionFactor(void*, float); | |
float b2MotorJoint_GetMaxTorque(void*); | |
void b2MotorJoint_SetMaxTorque(void*, float); | |
float b2MotorJoint_GetMaxForce(void*); | |
void b2MotorJoint_SetMaxForce(void*, float); | |
float b2MotorJoint_GetAngularOffset(void*); | |
void b2MotorJoint_SetAngularOffset(void*, float); | |
b2Vec2 b2MotorJoint_GetLinearOffset(void*); | |
void b2MotorJoint_SetLinearOffset(void*, b2Vec2); | |
void* b2CreateMotorJoint(int, b2MotorJointDef); | |
float b2DistanceJoint_GetMotorForce(void*); | |
float b2DistanceJoint_GetMaxMotorForce(void*); | |
void b2DistanceJoint_SetMaxMotorForce(void*, float); | |
float b2DistanceJoint_GetMotorSpeed(void*); | |
void b2DistanceJoint_SetMotorSpeed(void*, float); | |
bool b2DistanceJoint_IsMotorEnabled(void*); | |
void b2DistanceJoint_EnableMotor(void*, bool); | |
float b2DistanceJoint_GetCurrentLength(void*); | |
float b2DistanceJoint_GetMaxLength(void*); | |
float b2DistanceJoint_GetMinLength(void*); | |
void b2DistanceJoint_SetLengthRange(void*, float, float); | |
bool b2DistanceJoint_IsLimitEnabled(void*); | |
void b2DistanceJoint_EnableLimit(void*, bool); | |
float b2DistanceJoint_GetSpringDampingRatio(void*); | |
float b2DistanceJoint_GetSpringHertz(void*); | |
void b2DistanceJoint_SetSpringDampingRatio(void*, float); | |
void b2DistanceJoint_SetSpringHertz(void*, float); | |
bool b2DistanceJoint_IsSpringEnabled(void*); | |
void b2DistanceJoint_EnableSpring(void*, bool); | |
float b2DistanceJoint_GetLength(void*); | |
void b2DistanceJoint_SetLength(void*, float); | |
void* b2CreateDistanceJoint(int, b2DistanceJointDef); | |
b2WheelJointDef b2DefaultWheelJointDef(); | |
b2WeldJointDef b2DefaultWeldJointDef(); | |
b2RevoluteJointDef b2DefaultRevoluteJointDef(); | |
b2PrismaticJointDef b2DefaultPrismaticJointDef(); | |
b2MouseJointDef b2DefaultMouseJointDef(); | |
b2MotorJointDef b2DefaultMotorJointDef(); | |
b2DistanceJointDef b2DefaultDistanceJointDef(); | |
float b2Joint_GetConstraintTorque(void*); | |
void b2Joint_WakeBodies(void*); | |
bool b2Joint_GetCollideConnected(void*); | |
void b2Joint_SetCollideConnected(void*, bool); | |
b2Vec2 b2Joint_GetLocalAnchorB(void*); | |
b2Vec2 b2Joint_GetLocalAnchorA(void*); | |
void* b2Joint_GetBodyB(void*); | |
void* b2Joint_GetBodyA(void*); | |
int b2Joint_GetType(void*); | |
bool b2Joint_IsValid(void*); | |
void b2DestroyJoint(void*); | |
bool b2Chain_IsValid(void*); | |
void b2Chain_SetRestitution(void*, float); | |
void b2Chain_SetFriction(void*, float); | |
void b2DestroyChain(void*); | |
void* b2CreateChain(void*, b2ChainDef); | |
b2ChainDef b2DefaultChainDef(); | |
b2Vec2 b2Shape_GetClosestPoint(void*, b2Vec2); | |
b2AABB b2Shape_GetAABB(void*); | |
int b2Shape_GetContactCapacity(void*); | |
void* b2Shape_GetParentChain(void*); | |
void b2Shape_SetPolygon(void*, b2Polygon); | |
void b2Shape_SetSegment(void*, b2Segment); | |
void b2Shape_SetCapsule(void*, b2Capsule); | |
void b2Shape_SetCircle(void*, b2Circle); | |
b2Polygon b2Shape_GetPolygon(void*); | |
b2Capsule b2Shape_GetCapsule(void*); | |
b2ChainSegment b2Shape_GetChainSegment(void*); | |
b2Segment b2Shape_GetSegment(void*); | |
b2Circle b2Shape_GetCircle(void*); | |
b2CastOutput b2Shape_RayCast(void*, b2RayCastInput*); | |
bool b2Shape_TestPoint(void*, b2Vec2); | |
bool b2Shape_AreHitEventsEnabled(void*); | |
void b2Shape_EnableHitEvents(void*, bool); | |
bool b2Shape_ArePreSolveEventsEnabled(void*); | |
void b2Shape_EnablePreSolveEvents(void*, bool); | |
bool b2Shape_AreContactEventsEnabled(void*); | |
void b2Shape_EnableContactEvents(void*, bool); | |
bool b2Shape_AreSensorEventsEnabled(void*); | |
void b2Shape_EnableSensorEvents(void*, bool); | |
void b2Shape_SetFilter(void*, b2Filter); | |
b2Filter b2Shape_GetFilter(void*); | |
float b2Shape_GetRestitution(void*); | |
void b2Shape_SetRestitution(void*, float); | |
float b2Shape_GetFriction(void*); | |
void b2Shape_SetFriction(void*, float); | |
float b2Shape_GetDensity(void*); | |
void b2Shape_SetDensity(void*, float); | |
bool b2Shape_IsSensor(void*); | |
void* b2Shape_GetBody(void*); | |
int b2Shape_GetType(void*); | |
bool b2Shape_IsValid(void*); | |
void b2DestroyShape(void*); | |
void* b2CreatePolygonShape(void*, b2ShapeDef, b2Polygon); | |
void* b2CreateCapsuleShape(void*, b2ShapeDef, b2Capsule); | |
void* b2CreateSegmentShape(void*, b2ShapeDef, b2Segment); | |
void* b2CreateCircleShape(void*, b2ShapeDef, b2Circle); | |
b2AABB b2Body_ComputeAABB(void*); | |
int b2Body_GetContactCapacity(void*); | |
int b2Body_GetJointCount(void*); | |
int b2Body_GetShapeCount(void*); | |
void b2Body_EnableHitEvents(void*, bool); | |
bool b2Body_IsBullet(void*); | |
void b2Body_SetBullet(void*, bool); | |
bool b2Body_IsFixedRotation(void*); | |
void b2Body_SetFixedRotation(void*, bool); | |
void b2Body_Enable(void*); | |
void b2Body_Disable(void*); | |
bool b2Body_IsEnabled(void*); | |
float b2Body_GetSleepThreshold(void*); | |
void b2Body_SetSleepThreshold(void*, float); | |
bool b2Body_IsSleepEnabled(void*); | |
void b2Body_EnableSleep(void*, bool); | |
void b2Body_SetAwake(void*, bool); | |
bool b2Body_IsAwake(void*); | |
float b2Body_GetGravityScale(void*); | |
void b2Body_SetGravityScale(void*, float); | |
float b2Body_GetAngularDamping(void*); | |
void b2Body_SetAngularDamping(void*, float); | |
float b2Body_GetLinearDamping(void*); | |
void b2Body_SetLinearDamping(void*, float); | |
bool b2Body_GetAutomaticMass(void*); | |
void b2Body_SetAutomaticMass(void*, bool); | |
void b2Body_ApplyMassFromShapes(void*); | |
b2MassData b2Body_GetMassData(void*); | |
void b2Body_SetMassData(void*, b2MassData); | |
b2Vec2 b2Body_GetWorldCenterOfMass(void*); | |
b2Vec2 b2Body_GetLocalCenterOfMass(void*); | |
float b2Body_GetRotationalInertia(void*); | |
float b2Body_GetMass(void*); | |
void b2Body_ApplyAngularImpulse(void*, float, bool); | |
void b2Body_ApplyLinearImpulseToCenter(void*, b2Vec2, bool); | |
void b2Body_ApplyLinearImpulse(void*, b2Vec2, b2Vec2, bool); | |
void b2Body_ApplyTorque(void*, float, bool); | |
void b2Body_ApplyForceToCenter(void*, b2Vec2, bool); | |
void b2Body_ApplyForce(void*, b2Vec2, b2Vec2, bool); | |
void b2Body_SetAngularVelocity(void*, float); | |
void b2Body_SetLinearVelocity(void*, b2Vec2); | |
float b2Body_GetAngularVelocity(void*); | |
b2Vec2 b2Body_GetLinearVelocity(void*); | |
b2Vec2 b2Body_GetLocalVector(void*, b2Vec2); | |
b2Vec2 b2Body_GetWorldPoint(void*, b2Vec2); | |
b2Vec2 b2Body_GetLocalPoint(void*, b2Vec2); | |
void b2Body_SetTransform(void*, b2Vec2, b2Rot); | |
b2Transform b2Body_GetTransform(void*); | |
b2Rot b2Body_GetRotation(void*); | |
b2Vec2 b2Body_GetPosition(void*); | |
void b2Body_SetType(void*, int); | |
int b2Body_GetType(void*); | |
bool b2Body_IsValid(void*); | |
void b2DestroyBody(void*); | |
void* b2CreateBody(int, b2BodyDef); | |
void b2World_DumpMemoryStats(int); | |
b2Counters b2World_GetCounters(int); | |
b2Profile b2World_GetProfile(int); | |
void b2World_EnableWarmStarting(int, bool); | |
void b2World_SetContactTuning(int, float, float, float); | |
void b2World_SetGravity(int, b2Vec2); | |
void b2World_SetHitEventThreshold(int, float); | |
void b2World_SetRestitutionThreshold(int, float); | |
void b2World_EnableContinuous(int, bool); | |
void b2World_EnableSleeping(int, bool); | |
void b2World_Step(int, float, int); | |
bool b2World_IsValid(int); | |
void b2DestroyWorld(int); | |
int b2CreateWorld(b2WorldDef); | |
b2BodyDef b2DefaultBodyDef(); | |
b2WorldDef b2DefaultWorldDef(); | |
b2Version b2GetVersion(); | |
int b2GetByteCount(); | |
float b2GetLengthUnitsPerMeter(); | |
void b2SetLengthUnitsPerMeter(float); | |
b2ShapeDef b2DefaultShapeDef(); | |
b2QueryFilter b2DefaultQueryFilter(); | |
b2Filter b2DefaultFilter(); | |
v2 imgui_slider_float2(char*, v2, float, float); | |
float imgui_slider_float(char*, float, float, float); | |
void imgui_set_scroll_here_y(float); | |
void imgui_text_colored(float, float, float, float, char*); | |
void imgui_set_next_item_open(bool); | |
void imgui_set_next_item_width(float); | |
char* imgui_input_text(char*, char*); | |
void imgui_text(char*); | |
bool imgui_is_any_window_hovered(); | |
bool imgui_want_keyboard_capture(); | |
bool imgui_want_mouse_capture(); | |
bool imgui_is_mouse_clicked_on_world(int); | |
void imgui_next_column(); | |
void imgui_columns(int); | |
void imgui_add_rect(v2, v2, CF_Color, float, float); | |
bool imgui_is_item_clicked(); | |
void imgui_set_cursor_screen_pos(v2); | |
v2 imgui_get_cursor_screen_pos(); | |
void imgui_dummy(float, float); | |
void imgui_pop_id(); | |
void imgui_push_id(int); | |
void imgui_set_frame_rounding(float); | |
void imgui_set_item_default_focus(); | |
bool imgui_is_item_hovered(); | |
bool imgui_selectable(char*, bool); | |
void imgui_end_combo(); | |
bool imgui_begin_combo_ex(char*, char*, int); | |
bool imgui_begin_combo(char*, char*); | |
void imgui_sameline(); | |
void imgui_same_line(); | |
bool imgui_collapsing_header_ex(char*, int); | |
bool imgui_collapsing_header(char*); | |
bool imgui_menu_item(char*, char*, bool); | |
void imgui_end_menu(); | |
void imgui_begin_menu(char*); | |
bool imgui_is_window_docked(); | |
void imgui_end_main_menu_bar(); | |
void imgui_begin_main_menu_bar(); | |
void imgui_dockspace_over_viewport(); | |
void imgui_demo_window(); | |
float imgui_float(char*, float); | |
int imgui_int(char*, int); | |
v2 imgui_float2(char*, v2, char*); | |
v2 imgui_v2(char*, v2, char*); | |
bool imgui_checkbox(char*, bool); | |
bool imgui_color(char*, CF_Color); | |
void imgui_separator_text(char*); | |
void imgui_separator(); | |
float imgui_get_frame_height(); | |
bool imgui_button_ex(char*, v2); | |
bool imgui_button(char*); | |
void imgui_set_next_window_size(v2); | |
void imgui_set_next_window_pos(v2); | |
void imgui_end(); | |
bool imgui_begin_ex(char*, bool, int); | |
void imgui_begin(char*); | |
char* version_string_linked(); | |
void sleep(int); | |
uint64_t get_tick_frequency(); | |
uint64_t get_ticks(); | |
bool is_paused(); | |
bool on_timestamp(double); | |
bool between_interval(float, float); | |
bool on_interval(float, float); | |
void pause_for_ticks(uint64_t); | |
void pause_for(float); | |
void set_target_framerate(int); | |
void set_fixed_timestep_max_updates(int); | |
void set_fixed_timestep(int); | |
float noise4(void*, float, float, float, float); | |
float noise3(void*, float, float, float); | |
float noise2(void*, float, float); | |
void destroy_noise(void*); | |
void* make_noise_fbm(uint64_t, float, float, int, float); | |
void* make_noise(uint64_t); | |
void joypad_rumble(int, uint16_t, uint16_t, int); | |
short joypad_axis_prev(int, int); | |
short joypad_axis(int, int); | |
bool joypad_button_just_released(int, int); | |
bool joypad_button_just_pressed(int, int); | |
bool joypad_button_down(int, int); | |
uint16_t joypad_product_version(int); | |
uint16_t joypad_firmware_version(int); | |
char* joypad_serial_number(int); | |
uint16_t joypad_product_id(int); | |
uint16_t joypad_vendor(int); | |
int joypad_type(int); | |
char* joypad_name(int); | |
int joypad_power_level(int); | |
bool joypad_is_connected(int); | |
int joypad_count(); | |
CF_Result joypad_add_mapping(char*); | |
bool input_get_ime_composition(CF_ImeComposition*); | |
void input_set_ime_rect(int, int, int, int); | |
bool input_is_ime_keyboard_shown(); | |
bool input_has_ime_keyboard_support(); | |
bool input_is_ime_enabled(); | |
void input_disable_ime(); | |
void input_enable_ime(); | |
void input_text_clear(); | |
bool input_text_has_data(); | |
int input_text_pop_utf32(); | |
void input_text_add_utf8(char*); | |
void mouse_lock_inside_window(bool); | |
bool mouse_hidden(); | |
void mouse_hide(bool); | |
bool mouse_double_clicked(int); | |
bool mouse_double_click_held(int); | |
float mouse_wheel_motion(); | |
bool mouse_just_released(int); | |
bool mouse_just_pressed(int); | |
bool mouse_down(int); | |
float mouse_y(); | |
float mouse_x(); | |
void clear_key_states(); | |
bool key_gui(); | |
bool key_alt(); | |
bool key_shift(); | |
bool key_ctrl(); | |
bool key_repeating(int); | |
bool key_just_released(int); | |
bool key_just_pressed(int); | |
bool key_down(int); | |
CF_HttpsHeader* https_response_headers(void*); | |
int https_response_headers_count(void*); | |
CF_HttpsHeader https_response_find_header(void*, char*); | |
char* https_response_content(void*); | |
int https_response_content_length(void*); | |
int https_response_code(void*); | |
void* https_response(void*); | |
int https_process(void*); | |
void https_destroy(void*); | |
void https_add_header(void*, char*, char*); | |
void* https_post(char*, int, char*, void*, int, bool); | |
void* https_get(char*, int, char*, bool); | |
char* normalize_path(char*); | |
char* fs_get_actual_path(char*); | |
char* fs_get_backend_specific_error_message(); | |
uint64_t fs_size(CF_File*); | |
uint64_t fs_tell(CF_File*); | |
CF_Result fs_eof(CF_File*); | |
bool fs_file_exists(char*); | |
CF_Result fs_create_directory(char*); | |
CF_Result fs_remove(char*); | |
CF_Result fs_close(CF_File*); | |
CF_File* fs_open_file_for_read(char*); | |
CF_File* fs_open_file_for_append(char*); | |
CF_File* fs_open_file_for_write(char*); | |
CF_File* fs_create_file(char*); | |
CF_Result fs_dismount(char*); | |
CF_Result fs_mount(char*, char*, bool); | |
char* fs_get_user_directory(char*, char*); | |
CF_Result fs_set_write_directory(char*); | |
char* fs_get_base_directory(); | |
CF_Result fs_init(char*); | |
void register_premade_atlas(char*, int, CF_AtlasSubImage*); | |
CF_TemporaryImage fetch_image(CF_Sprite*); | |
void render_to(void*, bool); | |
void draw_canvas(void*, v2, v2); | |
CF_Aabb screen_bounds_to_world(); | |
v2 screen_to_world(v2); | |
v2 world_to_screen(v2); | |
void draw_projection(CF_M3x2); | |
CF_M3x2 draw_peek(); | |
void draw_pop(); | |
void draw_push(); | |
void draw_TSR_absolute(v2, v2, float); | |
void draw_TSR(v2, v2, float); | |
void draw_rotate(float); | |
void draw_translate(float, float); | |
void draw_scale(float, float); | |
v2 draw_mul(v2); | |
void render_settings_set_uniform_color(char*, CF_Color); | |
void render_settings_set_uniform_v2(char*, v2); | |
void render_settings_set_uniform_float(char*, float); | |
void render_settings_set_uniform_int(char*, int); | |
void draw_set_texture(char*, void*); | |
bool draw_peek_alpha_discard(); | |
bool draw_pop_alpha_discard(); | |
void draw_push_alpha_discard(bool); | |
void* draw_peek_shader(); | |
void* draw_pop_shader(); | |
void draw_push_shader(void*); | |
void* make_draw_shader_from_source(char*); | |
void* make_draw_shader(char*); | |
void draw_set_atlas_dimensions(int, int); | |
CF_RenderState draw_peek_render_state(); | |
CF_RenderState draw_pop_render_state(); | |
void draw_push_render_state(CF_RenderState); | |
CF_Rect draw_peek_scissor(); | |
CF_Rect draw_pop_scissor(); | |
void draw_push_scissor(CF_Rect); | |
CF_Rect draw_peek_viewport(); | |
CF_Rect draw_pop_viewport(); | |
void draw_push_viewport(CF_Rect); | |
void draw_text(char*, v2, int); | |
v2 text_size(char*, int); | |
float text_height(char*, int); | |
float text_width(char*, int); | |
float peek_text_wrap_width(); | |
float pop_text_wrap_width(); | |
void push_text_wrap_width(float); | |
int peek_font_blur(); | |
int pop_font_blur(); | |
void push_font_blur(int); | |
float peek_font_size(); | |
float pop_font_size(); | |
void push_font_size(float); | |
char* peek_font(); | |
char* pop_font(); | |
void push_font(char*); | |
void destroy_font(char*); | |
CF_Result make_font_from_memory(void*, int, char*); | |
CF_Result make_font(char*, char*); | |
CF_Color draw_peek_vertex_attributes(); | |
CF_Color draw_pop_vertex_attributes(); | |
void draw_push_vertex_attributes(CF_Color); | |
float draw_peek_antialias_scale(); | |
float draw_pop_antialias_scale(); | |
void draw_push_antialias_scale(float); | |
bool draw_peek_antialias(); | |
bool draw_pop_antialias(); | |
void draw_push_antialias(bool); | |
CF_Color draw_peek_color(); | |
CF_Color draw_pop_color(); | |
void draw_push_color(CF_Color); | |
int draw_peek_layer(); | |
int draw_pop_layer(); | |
void draw_push_layer(int); | |
void draw_arrow(v2, v2, float, float); | |
void draw_bezier_line(v2, v2, v2, v2, int, float); | |
void draw_polygon_fill_simple(v2*, int); | |
void draw_polygon_fill(v2*, int, float); | |
void draw_polyline(v2*, int, float, bool); | |
void draw_line(v2, v2, float); | |
void draw_tri_fill(v2, v2, v2, float); | |
void draw_tri(v2, v2, v2, float, float); | |
void draw_capsule_fill(CF_Capsule); | |
void draw_capsule(CF_Capsule, float); | |
void draw_circle_fill(CF_Circle); | |
void draw_circle(CF_Circle, float); | |
void draw_box_rounded_fill(CF_Aabb, float); | |
void draw_box_rounded(CF_Aabb, float, float); | |
void draw_box_fill(CF_Aabb, float); | |
void draw_box(CF_Aabb, float, float); | |
void draw_quad_fill(CF_Aabb, float); | |
void draw_quad(CF_Aabb, float, float); | |
v2 sprite_get_local_offset(CF_Sprite*); | |
int sprite_get_loop_count(CF_Sprite*); | |
void sprite_set_play_speed_multiplier(CF_Sprite*, float); | |
float sprite_get_play_speed_multiplier(CF_Sprite*); | |
CF_Aabb sprite_get_slice(CF_Sprite*, char*); | |
void sprite_set_loop(CF_Sprite*, bool); | |
bool sprite_get_loop(CF_Sprite*); | |
void sprite_set_opacity(CF_Sprite*, float); | |
float sprite_get_opacity(CF_Sprite*); | |
void sprite_set_offset_y(CF_Sprite*, float); | |
void sprite_set_offset_x(CF_Sprite*, float); | |
float sprite_get_offset_y(CF_Sprite*); | |
float sprite_get_offset_x(CF_Sprite*); | |
void sprite_set_scale_y(CF_Sprite*, float); | |
void sprite_set_scale_x(CF_Sprite*, float); | |
void sprite_set_scale(CF_Sprite*, v2); | |
float sprite_get_scale_y(CF_Sprite*); | |
float sprite_get_scale_x(CF_Sprite*); | |
int sprite_get_height(CF_Sprite*); | |
int sprite_get_width(CF_Sprite*); | |
int sprite_height(CF_Sprite*); | |
int sprite_width(CF_Sprite*); | |
bool sprite_on_loop(CF_Sprite*); | |
bool sprite_will_finish(CF_Sprite*); | |
float sprite_animation_interpolant(CF_Sprite*); | |
float sprite_animation_delay(CF_Sprite*); | |
float sprite_frame_delay(CF_Sprite*); | |
void sprite_set_frame(CF_Sprite*, int); | |
int sprite_get_global_frame(CF_Sprite*); | |
int sprite_current_global_frame(CF_Sprite*); | |
int sprite_get_frame(CF_Sprite*); | |
int sprite_current_frame(CF_Sprite*); | |
int sprite_frame_count(CF_Sprite*); | |
void sprite_flip_y(CF_Sprite*); | |
void sprite_flip_x(CF_Sprite*); | |
void sprite_toggle_pause(CF_Sprite*); | |
void sprite_unpause(CF_Sprite*); | |
void sprite_pause(CF_Sprite*); | |
bool sprite_is_playing(CF_Sprite*, char*); | |
void sprite_play(CF_Sprite*, char*); | |
void sprite_reset(CF_Sprite*); | |
void sprite_update(CF_Sprite*); | |
void draw_sprite(CF_Sprite*); | |
CF_Result clipboard_set(char*); | |
char* clipboard_get(); | |
void music_set_on_finish(char*); | |
void sound_set_on_finish(char*); | |
void sound_stop(void*); | |
void sound_set_sample_index(void*, int); | |
void sound_set_pitch(void*, float); | |
void sound_set_volume(void*, float); | |
void sound_set_is_looped(void*, bool); | |
void sound_set_is_paused(void*, bool); | |
int sound_get_sample_index(void*); | |
float sound_get_pitch(void*); | |
float sound_get_volume(void*); | |
bool sound_get_is_looped(void*); | |
bool sound_get_is_paused(void*); | |
bool sound_is_active(void*); | |
void* play_sound(void*, SoundParams); | |
SoundParams sound_params_defaults(); | |
int music_get_sample_index(); | |
void music_set_sample_index(int); | |
void music_crossfade(void*, float); | |
void music_switch_to(void*, float, float); | |
void music_resume(); | |
void music_pause(); | |
void music_set_pitch(float); | |
void music_set_loop(bool); | |
void music_set_volume(float); | |
void stop_music(float); | |
void play_music(void*, float); | |
void music_stop(float); | |
void music_play(void*, float); | |
void audio_set_pause(bool); | |
void audio_set_sound_volume(float); | |
void audio_set_global_volume(float); | |
void audio_set_pan(float); | |
int audio_channel_count(void*); | |
int audio_sample_count(void*); | |
int audio_sample_rate(void*); | |
void audio_destroy(void*); | |
void* audio_load_wav_from_memory(void*, int); | |
void* audio_load_ogg_from_memory(void*, int); | |
void* audio_load_wav(char*); | |
void* audio_load_ogg(char*); | |
void audio_cull_duplicates(bool); | |
int app_get_power_percentage_left(); | |
int app_get_power_seconds_left(); | |
void app_set_icon(char*); | |
void app_set_title(char*); | |
void app_set_fullscreen_mode(); | |
void app_set_borderless_fullscreen_mode(); | |
void app_set_windowed_mode(); | |
void app_set_canvas_size(int, int); | |
void* app_get_canvas(); | |
ImGuiContext* app_init_imgui(); | |
bool app_get_vsync(); | |
void app_set_vsync(bool); | |
int app_get_canvas_height(); | |
int app_get_canvas_width(); | |
bool app_mouse_inside(); | |
bool app_mouse_exited(); | |
bool app_mouse_entered(); | |
bool app_was_restored(); | |
bool app_maximized(); | |
bool app_minimized(); | |
bool app_was_maximized(); | |
bool app_was_minimized(); | |
bool app_has_focus(); | |
bool app_gained_focus(); | |
bool app_lost_focus(); | |
bool app_was_moved(); | |
bool app_was_resized(); | |
void app_center_window(); | |
bool app_dpi_scaled_was_changed(); | |
float app_get_dpi_scale(); | |
v2 app_get_size(); | |
void app_show_window(); | |
void app_set_size(int, int); | |
void app_set_position(int, int); | |
v2 app_get_position(); | |
int app_get_height(); | |
int app_get_width(); | |
int app_draw_onto_screen(bool); | |
void app_signal_shutdown(); | |
bool app_is_running(); | |
void destroy_app(); | |
CF_Result make_app(char*, uint32_t, int, int, int, int, int, char*); | |
int display_orientation(uint32_t); | |
char* display_name(uint32_t); | |
CF_Rect display_bounds(uint32_t); | |
float display_refresh_rate(uint32_t); | |
int display_height(uint32_t); | |
int display_width(uint32_t); | |
int display_y(uint32_t); | |
int display_x(uint32_t); | |
int display_count(); | |
uint32_t default_display(); | |
void clear_color(float, float, float, float); | |
void commit(); | |
void draw_elements(); | |
void apply_shader(void*, void*); | |
void apply_mesh(void*); | |
void apply_scissor(int, int, int, int); | |
void apply_viewport(int, int, int, int); | |
void apply_canvas(void*, bool); | |
void material_clear_uniforms(void*); | |
void material_set_uniform_fs(void*, char*, void*, int, int); | |
void material_set_uniform_vs(void*, char*, void*, int, int); | |
void material_clear_textures(void*); | |
void material_set_texture_fs(void*, char*, void*); | |
void material_set_texture_vs(void*, char*, void*); | |
void material_set_render_state(void*, CF_RenderState); | |
void destroy_material(void*); | |
void* make_material(); | |
CF_RenderState render_state_defaults(); | |
void destroy_mesh(void*); | |
void* make_mesh(int, CF_VertexAttribute*, int, int); | |
void* canvas_get_depth_stencil_target(void*); | |
void* canvas_get_target(void*); | |
void destroy_canvas(void*); | |
void* make_canvas(CF_CanvasParams); | |
CF_CanvasParams canvas_defaults(int, int); | |
void destroy_shader(void*); | |
void shader_on_changed(char*); | |
void* make_shader_from_source(char*, char*); | |
void shader_directory(char*); | |
void* make_shader(char*, char*); | |
void texture_update(void*, void*, int); | |
void destroy_texture(void*); | |
void* make_texture(CF_TextureParams); | |
CF_TextureParams texture_defaults(int, int); | |
int query_backend(); | |
CF_ToiResult cast_poly_to_poly(CF_Poly, v2, CF_Poly, v2, bool); | |
CF_ToiResult cast_capsule_to_poly(CF_Capsule, v2, CF_Poly, v2, bool); | |
CF_ToiResult cast_capsule_to_capsule(CF_Capsule, v2, CF_Capsule, v2, bool); | |
CF_ToiResult cast_aabb_to_poly(CF_Aabb, v2, CF_Poly, v2, bool); | |
CF_ToiResult cast_aabb_to_capsule(CF_Aabb, v2, CF_Capsule, v2, bool); | |
CF_ToiResult cast_aabb_to_aabb(CF_Aabb, v2, CF_Aabb, v2, bool); | |
CF_ToiResult cast_circle_to_poly(CF_Circle, v2, CF_Poly, v2, bool); | |
CF_ToiResult cast_circle_to_capsule(CF_Circle, v2, CF_Capsule, v2, bool); | |
CF_ToiResult cast_circle_to_aabb(CF_Circle, v2, CF_Aabb, v2, bool); | |
CF_ToiResult cast_circle_to_circle(CF_Circle, v2, CF_Circle, v2, bool); | |
v2 endpoint(CF_Ray); | |
v2 impact(CF_Ray, float); | |
CF_Raycast cast_ray_to_poly(CF_Ray, CF_Poly); | |
CF_Raycast cast_ray_to_capsule(CF_Ray, CF_Capsule); | |
CF_Raycast cast_ray_to_aabb(CF_Ray, CF_Aabb); | |
CF_Raycast cast_ray_to_circle(CF_Ray, CF_Circle); | |
CF_M3x2 ortho_2d(float, float, float, float); | |
CF_Manifold poly_to_poly_manifold(CF_Poly*, CF_Transform*, CF_Poly*, CF_Transform*); | |
CF_Manifold capsule_to_poly_manifold(CF_Capsule, CF_Poly*, CF_Transform*); | |
CF_Manifold aabb_to_poly_manifold(CF_Aabb, CF_Poly*, CF_Transform*); | |
CF_Manifold circle_to_poly_manifold(CF_Circle, CF_Poly*, CF_Transform*); | |
CF_Manifold capsule_to_capsule_manifold(CF_Capsule, CF_Capsule); | |
CF_Manifold aabb_to_capsule_manifold(CF_Aabb, CF_Capsule); | |
CF_Manifold aabb_to_aabb_manifold(CF_Aabb, CF_Aabb); | |
CF_Manifold circle_to_capsule_manifold(CF_Circle, CF_Capsule); | |
CF_Manifold circle_to_aabb_manifold(CF_Circle, CF_Aabb); | |
CF_Manifold circle_to_circle_manifold(CF_Circle, CF_Circle); | |
CF_Raycast ray_to_poly(CF_Ray, CF_Poly*, CF_Transform*); | |
CF_Raycast ray_to_aabb(CF_Ray, CF_Aabb); | |
CF_Raycast ray_to_capsule(CF_Ray, CF_Capsule); | |
CF_Raycast ray_to_circle(CF_Ray, CF_Circle); | |
bool poly_to_poly(CF_Poly, CF_Poly); | |
bool capsule_to_poly(CF_Capsule, CF_Poly); | |
bool aabb_to_poly(CF_Aabb, CF_Poly); | |
bool circle_to_poly(CF_Circle, CF_Poly); | |
bool capsule_to_capsule(CF_Capsule, CF_Capsule); | |
bool aabb_to_capsule(CF_Aabb, CF_Capsule); | |
bool aabb_to_aabb(CF_Aabb, CF_Aabb); | |
bool circle_to_capsule(CF_Circle, CF_Capsule); | |
bool circle_to_aabb(CF_Circle, CF_Aabb); | |
bool circle_to_circle(CF_Circle, CF_Circle); | |
CF_SliceOutput slice(CF_Halfspace, CF_Poly, float); | |
float calc_area(CF_Poly); | |
v2 center_of_mass(CF_Poly); | |
CF_Raycast ray_to_halfspace(CF_Ray, CF_Halfspace); | |
CF_Poly make_poly(v2*, int); | |
void message_box(int, char*, char*); | |
bool is_error(CF_Result); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uint64_t b2_colorBox2DYellow = 16772748; | |
uint64_t b2_colorBox2DGreen = 9226532; | |
uint64_t b2_colorBox2DBlue = 3190463; | |
uint64_t b2_colorBox2DRed = 14430514; | |
uint64_t b2_colorYellowGreen = 10145074; | |
uint64_t b2_colorYellow = 16776960; | |
uint64_t b2_colorWhiteSmoke = 16119285; | |
uint64_t b2_colorWhite = 16777215; | |
uint64_t b2_colorWheat = 16113331; | |
uint64_t b2_colorVioletRed = 13639824; | |
uint64_t b2_colorViolet = 15631086; | |
uint64_t b2_colorTurquoise = 4251856; | |
uint64_t b2_colorTomato = 16737095; | |
uint64_t b2_colorThistle = 14204888; | |
uint64_t b2_colorTeal = 32896; | |
uint64_t b2_colorTan = 13808780; | |
uint64_t b2_colorSteelBlue = 4620980; | |
uint64_t b2_colorSpringGreen = 65407; | |
uint64_t b2_colorSnow = 16775930; | |
uint64_t b2_colorSlateGray = 7372944; | |
uint64_t b2_colorSlateBlue = 6970061; | |
uint64_t b2_colorSkyBlue = 8900331; | |
uint64_t b2_colorSilver = 12632256; | |
uint64_t b2_colorSienna = 10506797; | |
uint64_t b2_colorSeashell = 16774638; | |
uint64_t b2_colorSeaGreen = 3050327; | |
uint64_t b2_colorSandyBrown = 16032864; | |
uint64_t b2_colorSalmon = 16416882; | |
uint64_t b2_colorSaddleBrown = 9127187; | |
uint64_t b2_colorRoyalBlue = 4286945; | |
uint64_t b2_colorRosyBrown = 12357519; | |
uint64_t b2_colorRed = 16711680; | |
uint64_t b2_colorRebeccaPurple = 6697881; | |
uint64_t b2_colorPurple = 10494192; | |
uint64_t b2_colorPowderBlue = 11591910; | |
uint64_t b2_colorPlum = 14524637; | |
uint64_t b2_colorPink = 16761035; | |
uint64_t b2_colorPeru = 13468991; | |
uint64_t b2_colorPeachPuff = 16767673; | |
uint64_t b2_colorPapayaWhip = 16773077; | |
uint64_t b2_colorPaleVioletRed = 14381203; | |
uint64_t b2_colorPaleTurquoise = 11529966; | |
uint64_t b2_colorPaleGreen = 10025880; | |
uint64_t b2_colorPaleGoldenrod = 15657130; | |
uint64_t b2_colorOrchid = 14315734; | |
uint64_t b2_colorOrangeRed = 16729344; | |
uint64_t b2_colorOrange = 16753920; | |
uint64_t b2_colorOliveDrab = 7048739; | |
uint64_t b2_colorOlive = 8421376; | |
uint64_t b2_colorOldLace = 16643558; | |
uint64_t b2_colorNavyBlue = 128; | |
uint64_t b2_colorNavajoWhite = 16768685; | |
uint64_t b2_colorMoccasin = 16770229; | |
uint64_t b2_colorMistyRose = 16770273; | |
uint64_t b2_colorMintCream = 16121850; | |
uint64_t b2_colorMidnightBlue = 1644912; | |
uint64_t b2_colorMediumVioletRed = 13047173; | |
uint64_t b2_colorMediumTurquoise = 4772300; | |
uint64_t b2_colorMediumSpringGreen = 64154; | |
uint64_t b2_colorMediumSlateBlue = 8087790; | |
uint64_t b2_colorMediumSeaGreen = 3978097; | |
uint64_t b2_colorMediumPurple = 9662683; | |
uint64_t b2_colorMediumOrchid = 12211667; | |
uint64_t b2_colorMediumBlue = 205; | |
uint64_t b2_colorMediumAquamarine = 6737322; | |
uint64_t b2_colorMaroon = 11546720; | |
uint64_t b2_colorMagenta = 16711935; | |
uint64_t b2_colorLinen = 16445670; | |
uint64_t b2_colorLimeGreen = 3329330; | |
uint64_t b2_colorLightYellow = 16777184; | |
uint64_t b2_colorLightSteelBlue = 11584734; | |
uint64_t b2_colorLightSlateGray = 7833753; | |
uint64_t b2_colorLightSlateBlue = 8679679; | |
uint64_t b2_colorLightSkyBlue = 8900346; | |
uint64_t b2_colorLightSeaGreen = 2142890; | |
uint64_t b2_colorLightSalmon = 16752762; | |
uint64_t b2_colorLightPink = 16758465; | |
uint64_t b2_colorLightGreen = 9498256; | |
uint64_t b2_colorLightGray = 13882323; | |
uint64_t b2_colorLightGoldenrodYellow = 16448210; | |
uint64_t b2_colorLightGoldenrod = 15654274; | |
uint64_t b2_colorLightCyan = 14745599; | |
uint64_t b2_colorLightCoral = 15761536; | |
uint64_t b2_colorLightBlue = 11393254; | |
uint64_t b2_colorLemonChiffon = 16775885; | |
uint64_t b2_colorLawnGreen = 8190976; | |
uint64_t b2_colorLavenderBlush = 16773365; | |
uint64_t b2_colorLavender = 15132410; | |
uint64_t b2_colorKhaki = 15787660; | |
uint64_t b2_colorIvory = 16777200; | |
uint64_t b2_colorIndigo = 4915330; | |
uint64_t b2_colorIndianRed = 13458524; | |
uint64_t b2_colorHotPink = 16738740; | |
uint64_t b2_colorHoneydew = 15794160; | |
uint64_t b2_colorGreenYellow = 11403055; | |
uint64_t b2_colorGreen = 65280; | |
uint64_t b2_colorGray9 = 15066597; | |
uint64_t b2_colorGray8 = 13421772; | |
uint64_t b2_colorGray7 = 11776947; | |
uint64_t b2_colorGray6 = 10066329; | |
uint64_t b2_colorGray5 = 8355711; | |
uint64_t b2_colorGray4 = 6710886; | |
uint64_t b2_colorGray3 = 5066061; | |
uint64_t b2_colorGray2 = 3355443; | |
uint64_t b2_colorGray1 = 1710618; | |
uint64_t b2_colorGray = 12500670; | |
uint64_t b2_colorGoldenrod = 14329120; | |
uint64_t b2_colorGold = 16766720; | |
uint64_t b2_colorGhostWhite = 16316671; | |
uint64_t b2_colorGainsboro = 14474460; | |
uint64_t b2_colorForestGreen = 2263842; | |
uint64_t b2_colorFloralWhite = 16775920; | |
uint64_t b2_colorFirebrick = 11674146; | |
uint64_t b2_colorDodgerBlue = 2003199; | |
uint64_t b2_colorDimGray = 6908265; | |
uint64_t b2_colorDeepSkyBlue = 49151; | |
uint64_t b2_colorDeepPink = 16716947; | |
uint64_t b2_colorDarkViolet = 9699539; | |
uint64_t b2_colorDarkTurquoise = 52945; | |
uint64_t b2_colorDarkSlateGray = 3100495; | |
uint64_t b2_colorDarkSlateBlue = 4734347; | |
uint64_t b2_colorDarkSeaGreen = 9419919; | |
uint64_t b2_colorDarkSalmon = 15308410; | |
uint64_t b2_colorDarkRed = 9109504; | |
uint64_t b2_colorDarkOrchid = 10040012; | |
uint64_t b2_colorDarkOrange = 16747520; | |
uint64_t b2_colorDarkOliveGreen = 5597999; | |
uint64_t b2_colorDarkMagenta = 9109643; | |
uint64_t b2_colorDarkKhaki = 12433259; | |
uint64_t b2_colorDarkGreen = 25600; | |
uint64_t b2_colorDarkGray = 11119017; | |
uint64_t b2_colorDarkGoldenrod = 12092939; | |
uint64_t b2_colorDarkCyan = 35723; | |
uint64_t b2_colorDarkBlue = 139; | |
uint64_t b2_colorCyan = 65535; | |
uint64_t b2_colorCrimson = 14423100; | |
uint64_t b2_colorCornsilk = 16775388; | |
uint64_t b2_colorCornflowerBlue = 6591981; | |
uint64_t b2_colorCoral = 16744272; | |
uint64_t b2_colorChocolate = 13789470; | |
uint64_t b2_colorChartreuse = 8388352; | |
uint64_t b2_colorCadetBlue = 6266528; | |
uint64_t b2_colorBurlywood = 14596231; | |
uint64_t b2_colorBrown = 10824234; | |
uint64_t b2_colorBlueViolet = 9055202; | |
uint64_t b2_colorBlue = 255; | |
uint64_t b2_colorBlanchedAlmond = 16772045; | |
uint64_t b2_colorBlack = 0; | |
uint64_t b2_colorBisque = 16770244; | |
uint64_t b2_colorBeige = 16119260; | |
uint64_t b2_colorAzure = 15794175; | |
uint64_t b2_colorAquamarine = 8388564; | |
uint64_t b2_colorAntiqueWhite = 16444375; | |
uint64_t b2_colorAliceBlue = 15792383; | |
uint64_t b2_toiStateSeparated = 4; | |
uint64_t b2_toiStateHit = 3; | |
uint64_t b2_toiStateOverlapped = 2; | |
uint64_t b2_toiStateFailed = 1; | |
uint64_t b2_toiStateUnknown = 0; | |
uint64_t b2_dynamicBody = 2; | |
uint64_t b2_kinematicBody = 1; | |
uint64_t b2_staticBody = 0; | |
uint64_t b2_mixMaximum = 4; | |
uint64_t b2_mixMinimum = 3; | |
uint64_t b2_mixMultiply = 2; | |
uint64_t b2_mixGeometricMean = 1; | |
uint64_t b2_mixAverage = 0; | |
uint64_t b2_maxPolygonVertices = 8; | |
uint64_t b2_defaultMaskBits = 18446744073709551615; | |
uint64_t b2_defaultCategoryBits = 1; | |
uint64_t b2_nullChainId = 0; | |
uint64_t b2_nullJointId = 0; | |
uint64_t b2_nullShapeId = 0; | |
uint64_t b2_nullBodyId = 0; | |
int b2_nullWorldId = 0; | |
uint64_t b2_wheelJoint = 6; | |
uint64_t b2_weldJoint = 5; | |
uint64_t b2_revoluteJoint = 4; | |
uint64_t b2_prismaticJoint = 3; | |
uint64_t b2_mouseJoint = 2; | |
uint64_t b2_motorJoint = 1; | |
uint64_t b2_distanceJoint = 0; | |
uint64_t ImGuiComboFlags_WidthFitPreview = 128; | |
uint64_t ImGuiComboFlags_NoPreview = 64; | |
uint64_t ImGuiComboFlags_NoArrowButton = 32; | |
uint64_t ImGuiComboFlags_HeightLargest = 16; | |
uint64_t ImGuiComboFlags_HeightLarge = 8; | |
uint64_t ImGuiComboFlags_HeightRegular = 4; | |
uint64_t ImGuiComboFlags_HeightSmall = 2; | |
uint64_t ImGuiComboFlags_PopupAlignLeft = 1; | |
uint64_t ImGuiComboFlags_None = 0; | |
uint64_t ImGuiMouseButton_Middle = 2; | |
uint64_t ImGuiMouseButton_Right = 1; | |
uint64_t ImGuiMouseButton_Left = 0; | |
uint64_t ImGuiTreeNodeFlags_CollapsingHeader = 26; | |
uint64_t ImGuiTreeNodeFlags_NavLeftJumpsBackHere = 32768; | |
uint64_t ImGuiTreeNodeFlags_SpanAllColumns = 16384; | |
uint64_t ImGuiTreeNodeFlags_SpanTextWidth = 8192; | |
uint64_t ImGuiTreeNodeFlags_SpanFullWidth = 4096; | |
uint64_t ImGuiTreeNodeFlags_SpanAvailWidth = 2048; | |
uint64_t ImGuiTreeNodeFlags_FramePadding = 1024; | |
uint64_t ImGuiTreeNodeFlags_Bullet = 512; | |
uint64_t ImGuiTreeNodeFlags_Leaf = 256; | |
uint64_t ImGuiTreeNodeFlags_OpenOnArrow = 128; | |
uint64_t ImGuiTreeNodeFlags_OpenOnDoubleClick = 64; | |
uint64_t ImGuiTreeNodeFlags_DefaultOpen = 32; | |
uint64_t ImGuiTreeNodeFlags_NoAutoOpenOnLog = 16; | |
uint64_t ImGuiTreeNodeFlags_NoTreePushOnOpen = 8; | |
uint64_t ImGuiTreeNodeFlags_AllowOverlap = 4; | |
uint64_t ImGuiTreeNodeFlags_Framed = 2; | |
uint64_t ImGuiTreeNodeFlags_Selected = 1; | |
uint64_t ImGuiTreeNodeFlags_None = 0; | |
uint64_t ImGuiCond_Appearing = 8; | |
uint64_t ImGuiCond_FirstUseEver = 4; | |
uint64_t ImGuiCond_Once = 2; | |
uint64_t ImGuiCond_Always = 1; | |
uint64_t ImGuiCond_None = 0; | |
uint64_t ImGuiWindowFlags_NoInputs = 197120; | |
uint64_t ImGuiWindowFlags_NoDecoration = 43; | |
uint64_t ImGuiWindowFlags_NoNav = 196608; | |
uint64_t ImGuiWindowFlags_NoDocking = 524288; | |
uint64_t ImGuiWindowFlags_UnsavedDocument = 262144; | |
uint64_t ImGuiWindowFlags_NoNavFocus = 131072; | |
uint64_t ImGuiWindowFlags_NoNavInputs = 65536; | |
uint64_t ImGuiWindowFlags_AlwaysHorizontalScrollbar = 32768; | |
uint64_t ImGuiWindowFlags_AlwaysVerticalScrollbar = 16384; | |
uint64_t ImGuiWindowFlags_NoBringToFrontOnFocus = 8192; | |
uint64_t ImGuiWindowFlags_NoFocusOnAppearing = 4096; | |
uint64_t ImGuiWindowFlags_HorizontalScrollbar = 2048; | |
uint64_t ImGuiWindowFlags_MenuBar = 1024; | |
uint64_t ImGuiWindowFlags_NoMouseInputs = 512; | |
uint64_t ImGuiWindowFlags_NoSavedSettings = 256; | |
uint64_t ImGuiWindowFlags_NoBackground = 128; | |
uint64_t ImGuiWindowFlags_AlwaysAutoResize = 64; | |
uint64_t ImGuiWindowFlags_NoCollapse = 32; | |
uint64_t ImGuiWindowFlags_NoScrollWithMouse = 16; | |
uint64_t ImGuiWindowFlags_NoScrollbar = 8; | |
uint64_t ImGuiWindowFlags_NoMove = 4; | |
uint64_t ImGuiWindowFlags_NoResize = 2; | |
uint64_t ImGuiWindowFlags_NoTitleBar = 1; | |
uint64_t ImGuiWindowFlags_None = 0; | |
char* VERSION_STRING_COMPILED = 140695191983952; | |
uint64_t JOYPAD_AXIS_COUNT = 6; | |
uint64_t JOYPAD_AXIS_TRIGGERRIGHT = 5; | |
uint64_t JOYPAD_AXIS_TRIGGERLEFT = 4; | |
uint64_t JOYPAD_AXIS_RIGHTY = 3; | |
uint64_t JOYPAD_AXIS_RIGHTX = 2; | |
uint64_t JOYPAD_AXIS_LEFTY = 1; | |
uint64_t JOYPAD_AXIS_LEFTX = 0; | |
uint64_t JOYPAD_AXIS_INVALID = 18446744073709551615; | |
uint64_t JOYPAD_BUTTON_COUNT = 15; | |
uint64_t JOYPAD_BUTTON_DPAD_RIGHT = 14; | |
uint64_t JOYPAD_BUTTON_DPAD_LEFT = 13; | |
uint64_t JOYPAD_BUTTON_DPAD_DOWN = 12; | |
uint64_t JOYPAD_BUTTON_DPAD_UP = 11; | |
uint64_t JOYPAD_BUTTON_RIGHTSHOULDER = 10; | |
uint64_t JOYPAD_BUTTON_LEFTSHOULDER = 9; | |
uint64_t JOYPAD_BUTTON_RIGHTSTICK = 8; | |
uint64_t JOYPAD_BUTTON_LEFTSTICK = 7; | |
uint64_t JOYPAD_BUTTON_START = 6; | |
uint64_t JOYPAD_BUTTON_GUIDE = 5; | |
uint64_t JOYPAD_BUTTON_BACK = 4; | |
uint64_t JOYPAD_BUTTON_Y = 3; | |
uint64_t JOYPAD_BUTTON_X = 2; | |
uint64_t JOYPAD_BUTTON_B = 1; | |
uint64_t JOYPAD_BUTTON_A = 0; | |
uint64_t JOYPAD_BUTTON_INVALID = 18446744073709551615; | |
uint64_t JOYPAD_POWER_LEVEL_COUNT = 6; | |
uint64_t JOYPAD_POWER_LEVEL_WIRED = 5; | |
uint64_t JOYPAD_POWER_LEVEL_FULL = 4; | |
uint64_t JOYPAD_POWER_LEVEL_MEDIUM = 3; | |
uint64_t JOYPAD_POWER_LEVEL_LOW = 2; | |
uint64_t JOYPAD_POWER_LEVEL_EMPTY = 1; | |
uint64_t JOYPAD_POWER_LEVEL_UNKNOWN = 0; | |
uint64_t MOUSE_BUTTON_MIDDLE = 2; | |
uint64_t MOUSE_BUTTON_RIGHT = 1; | |
uint64_t MOUSE_BUTTON_LEFT = 0; | |
uint64_t KEY_COUNT = 512; | |
uint64_t KEY_ANY = 288; | |
uint64_t KEY_SLEEP = 287; | |
uint64_t KEY_EJECT = 286; | |
uint64_t KEY_KBDILLUMUP = 285; | |
uint64_t KEY_KBDILLUMDOWN = 284; | |
uint64_t KEY_KBDILLUMTOGGLE = 283; | |
uint64_t KEY_DISPLAYSWITCH = 282; | |
uint64_t KEY_BRIGHTNESSUP = 281; | |
uint64_t KEY_BRIGHTNESSDOWN = 280; | |
uint64_t KEY_AC_BOOKMARKS = 279; | |
uint64_t KEY_AC_REFRESH = 278; | |
uint64_t KEY_AC_STOP = 277; | |
uint64_t KEY_AC_FORWARD = 276; | |
uint64_t KEY_AC_BACK = 275; | |
uint64_t KEY_AC_HOME = 274; | |
uint64_t KEY_AC_SEARCH = 273; | |
uint64_t KEY_COMPUTER = 272; | |
uint64_t KEY_CALCULATOR = 271; | |
uint64_t KEY_MAIL = 270; | |
uint64_t KEY_WWW = 269; | |
uint64_t KEY_MEDIASELECT = 268; | |
uint64_t KEY_AUDIOMUTE = 267; | |
uint64_t KEY_AUDIOPLAY = 266; | |
uint64_t KEY_AUDIOSTOP = 265; | |
uint64_t KEY_AUDIOPREV = 264; | |
uint64_t KEY_AUDIONEXT = 263; | |
uint64_t KEY_MODE = 262; | |
uint64_t KEY_RGUI = 261; | |
uint64_t KEY_RALT = 260; | |
uint64_t KEY_RSHIFT = 259; | |
uint64_t KEY_RCTRL = 258; | |
uint64_t KEY_LGUI = 257; | |
uint64_t KEY_LALT = 256; | |
uint64_t KEY_LSHIFT = 255; | |
uint64_t KEY_LCTRL = 254; | |
uint64_t KEY_KP_HEXADECIMAL = 253; | |
uint64_t KEY_KP_DECIMAL = 252; | |
uint64_t KEY_KP_OCTAL = 251; | |
uint64_t KEY_KP_BINARY = 250; | |
uint64_t KEY_KP_CLEARENTRY = 249; | |
uint64_t KEY_KP_CLEAR = 248; | |
uint64_t KEY_KP_PLUSMINUS = 247; | |
uint64_t KEY_KP_MEMDIVIDE = 246; | |
uint64_t KEY_KP_MEMMULTIPLY = 245; | |
uint64_t KEY_KP_MEMSUBTRACT = 244; | |
uint64_t KEY_KP_MEMADD = 243; | |
uint64_t KEY_KP_MEMCLEAR = 242; | |
uint64_t KEY_KP_MEMRECALL = 241; | |
uint64_t KEY_KP_MEMSTORE = 240; | |
uint64_t KEY_KP_EXCLAM = 239; | |
uint64_t KEY_KP_AT = 238; | |
uint64_t KEY_KP_SPACE = 237; | |
uint64_t KEY_KP_HASH = 236; | |
uint64_t KEY_KP_COLON = 235; | |
uint64_t KEY_KP_DBLVERTICALBAR = 234; | |
uint64_t KEY_KP_VERTICALBAR = 233; | |
uint64_t KEY_KP_DBLAMPERSAND = 232; | |
uint64_t KEY_KP_AMPERSAND = 231; | |
uint64_t KEY_KP_GREATER = 230; | |
uint64_t KEY_KP_LESS = 229; | |
uint64_t KEY_KP_PERCENT = 228; | |
uint64_t KEY_KP_POWER = 227; | |
uint64_t KEY_KP_XOR = 226; | |
uint64_t KEY_KP_F = 225; | |
uint64_t KEY_KP_E = 224; | |
uint64_t KEY_KP_D = 223; | |
uint64_t KEY_KP_C = 222; | |
uint64_t KEY_KP_B = 221; | |
uint64_t KEY_KP_A = 220; | |
uint64_t KEY_KP_BACKSPACE = 219; | |
uint64_t KEY_KP_TAB = 218; | |
uint64_t KEY_KP_RIGHTBRACE = 217; | |
uint64_t KEY_KP_LEFTBRACE = 216; | |
uint64_t KEY_KP_RIGHTPAREN = 215; | |
uint64_t KEY_KP_LEFTPAREN = 214; | |
uint64_t KEY_CURRENCYSUBUNIT = 213; | |
uint64_t KEY_CURRENCYUNIT = 212; | |
uint64_t KEY_DECIMALSEPARATOR = 211; | |
uint64_t KEY_THOUSANDSSEPARATOR = 210; | |
uint64_t KEY_KP_000 = 209; | |
uint64_t KEY_KP_00 = 208; | |
uint64_t KEY_EXSEL = 207; | |
uint64_t KEY_CRSEL = 206; | |
uint64_t KEY_CLEARAGAIN = 205; | |
uint64_t KEY_OPER = 204; | |
uint64_t KEY_OUT = 203; | |
uint64_t KEY_SEPARATOR = 202; | |
uint64_t KEY_RETURN2 = 201; | |
uint64_t KEY_PRIOR = 200; | |
uint64_t KEY_CLEAR = 199; | |
uint64_t KEY_CANCEL = 198; | |
uint64_t KEY_SYSREQ = 197; | |
uint64_t KEY_ALTERASE = 196; | |
uint64_t KEY_KP_EQUALSAS400 = 195; | |
uint64_t KEY_KP_COMMA = 194; | |
uint64_t KEY_VOLUMEDOWN = 193; | |
uint64_t KEY_VOLUMEUP = 192; | |
uint64_t KEY_MUTE = 191; | |
uint64_t KEY_FIND = 190; | |
uint64_t KEY_PASTE = 189; | |
uint64_t KEY_COPY = 188; | |
uint64_t KEY_CUT = 187; | |
uint64_t KEY_UNDO = 186; | |
uint64_t KEY_AGAIN = 185; | |
uint64_t KEY_STOP = 184; | |
uint64_t KEY_SELECT = 183; | |
uint64_t KEY_MENU = 182; | |
uint64_t KEY_HELP = 181; | |
uint64_t KEY_F24 = 180; | |
uint64_t KEY_F23 = 179; | |
uint64_t KEY_F22 = 178; | |
uint64_t KEY_F21 = 177; | |
uint64_t KEY_F20 = 176; | |
uint64_t KEY_F19 = 175; | |
uint64_t KEY_F18 = 174; | |
uint64_t KEY_F17 = 173; | |
uint64_t KEY_F16 = 172; | |
uint64_t KEY_F15 = 171; | |
uint64_t KEY_F14 = 170; | |
uint64_t KEY_F13 = 169; | |
uint64_t KEY_KP_EQUALS = 168; | |
uint64_t KEY_POWER = 167; | |
uint64_t KEY_APPLICATION = 166; | |
uint64_t KEY_KP_PERIOD = 165; | |
uint64_t KEY_KP_0 = 164; | |
uint64_t KEY_KP_9 = 163; | |
uint64_t KEY_KP_8 = 162; | |
uint64_t KEY_KP_7 = 161; | |
uint64_t KEY_KP_6 = 160; | |
uint64_t KEY_KP_5 = 159; | |
uint64_t KEY_KP_4 = 158; | |
uint64_t KEY_KP_3 = 157; | |
uint64_t KEY_KP_2 = 156; | |
uint64_t KEY_KP_1 = 155; | |
uint64_t KEY_KP_ENTER = 154; | |
uint64_t KEY_KP_PLUS = 153; | |
uint64_t KEY_KP_MINUS = 152; | |
uint64_t KEY_KP_MULTIPLY = 151; | |
uint64_t KEY_KP_DIVIDE = 150; | |
uint64_t KEY_NUMLOCKCLEAR = 149; | |
uint64_t KEY_UP = 148; | |
uint64_t KEY_DOWN = 147; | |
uint64_t KEY_LEFT = 146; | |
uint64_t KEY_RIGHT = 145; | |
uint64_t KEY_PAGEDOWN = 144; | |
uint64_t KEY_END = 143; | |
uint64_t KEY_DELETE = 142; | |
uint64_t KEY_PAGEUP = 141; | |
uint64_t KEY_HOME = 140; | |
uint64_t KEY_INSERT = 139; | |
uint64_t KEY_PAUSE = 138; | |
uint64_t KEY_SCROLLLOCK = 137; | |
uint64_t KEY_PRINTSCREEN = 136; | |
uint64_t KEY_F12 = 135; | |
uint64_t KEY_F11 = 134; | |
uint64_t KEY_F10 = 133; | |
uint64_t KEY_F9 = 132; | |
uint64_t KEY_F8 = 131; | |
uint64_t KEY_F7 = 130; | |
uint64_t KEY_F6 = 129; | |
uint64_t KEY_F5 = 128; | |
uint64_t KEY_F4 = 127; | |
uint64_t KEY_F3 = 126; | |
uint64_t KEY_F2 = 125; | |
uint64_t KEY_F1 = 124; | |
uint64_t KEY_CAPSLOCK = 123; | |
uint64_t KEY_Z = 122; | |
uint64_t KEY_Y = 121; | |
uint64_t KEY_X = 120; | |
uint64_t KEY_W = 119; | |
uint64_t KEY_V = 118; | |
uint64_t KEY_U = 117; | |
uint64_t KEY_T = 116; | |
uint64_t KEY_S = 115; | |
uint64_t KEY_R = 114; | |
uint64_t KEY_Q = 113; | |
uint64_t KEY_P = 112; | |
uint64_t KEY_O = 111; | |
uint64_t KEY_N = 110; | |
uint64_t KEY_M = 109; | |
uint64_t KEY_L = 108; | |
uint64_t KEY_K = 107; | |
uint64_t KEY_J = 106; | |
uint64_t KEY_I = 105; | |
uint64_t KEY_H = 104; | |
uint64_t KEY_G = 103; | |
uint64_t KEY_F = 102; | |
uint64_t KEY_E = 101; | |
uint64_t KEY_D = 100; | |
uint64_t KEY_C = 99; | |
uint64_t KEY_B = 98; | |
uint64_t KEY_A = 97; | |
uint64_t KEY_BACKQUOTE = 96; | |
uint64_t KEY_UNDERSCORE = 95; | |
uint64_t KEY_CARET = 94; | |
uint64_t KEY_RIGHTBRACKET = 93; | |
uint64_t KEY_BACKSLASH = 92; | |
uint64_t KEY_LEFTBRACKET = 91; | |
uint64_t KEY_AT = 64; | |
uint64_t KEY_QUESTION = 63; | |
uint64_t KEY_GREATER = 62; | |
uint64_t KEY_EQUALS = 61; | |
uint64_t KEY_LESS = 60; | |
uint64_t KEY_SEMICOLON = 59; | |
uint64_t KEY_COLON = 58; | |
uint64_t KEY_9 = 57; | |
uint64_t KEY_8 = 56; | |
uint64_t KEY_7 = 55; | |
uint64_t KEY_6 = 54; | |
uint64_t KEY_5 = 53; | |
uint64_t KEY_4 = 52; | |
uint64_t KEY_3 = 51; | |
uint64_t KEY_2 = 50; | |
uint64_t KEY_1 = 49; | |
uint64_t KEY_0 = 48; | |
uint64_t KEY_SLASH = 47; | |
uint64_t KEY_PERIOD = 46; | |
uint64_t KEY_MINUS = 45; | |
uint64_t KEY_COMMA = 44; | |
uint64_t KEY_PLUS = 43; | |
uint64_t KEY_ASTERISK = 42; | |
uint64_t KEY_RIGHTPAREN = 41; | |
uint64_t KEY_LEFTPAREN = 40; | |
uint64_t KEY_QUOTE = 39; | |
uint64_t KEY_AMPERSAND = 38; | |
uint64_t KEY_DOLLAR = 36; | |
uint64_t KEY_PERCENT = 37; | |
uint64_t KEY_HASH = 35; | |
uint64_t KEY_QUOTEDBL = 34; | |
uint64_t KEY_EXCLAIM = 33; | |
uint64_t KEY_SPACE = 32; | |
uint64_t KEY_TAB = 9; | |
uint64_t KEY_BACKSPACE = 8; | |
uint64_t KEY_ESCAPE = 27; | |
uint64_t KEY_RETURN = 13; | |
uint64_t KEY_UNKNOWN = 0; | |
uint64_t HTTPS_RESULT_OK = 1; | |
uint64_t HTTPS_RESULT_PENDING = 0; | |
uint64_t HTTPS_RESULT_FAILED = 18446744073709551615; | |
uint64_t HTTPS_RESULT_SOCKET_ERROR = 18446744073709551614; | |
uint64_t HTTPS_RESULT_NO_MATCHING_ENCRYPTION_ALGORITHMS = 18446744073709551613; | |
uint64_t HTTPS_RESULT_CANNOT_VERIFY_CA_CHAIN = 18446744073709551612; | |
uint64_t HTTPS_RESULT_BAD_HOSTNAME = 18446744073709551611; | |
uint64_t HTTPS_RESULT_CERTIFICATE_EXPIRED = 18446744073709551610; | |
uint64_t HTTPS_RESULT_BAD_CERTIFICATE = 18446744073709551609; | |
uint64_t FILE_TYPE_OTHER = 3; | |
uint64_t FILE_TYPE_SYMLINK = 2; | |
uint64_t FILE_TYPE_DIRECTORY = 1; | |
uint64_t FILE_TYPE_REGULAR = 0; | |
uint64_t DISPLAY_ORIENTATION_PORTRAIT_FLIPPED = 4; | |
uint64_t DISPLAY_ORIENTATION_PORTRAIT = 3; | |
uint64_t DISPLAY_ORIENTATION_LANDSCAPE_FLIPPED = 2; | |
uint64_t DISPLAY_ORIENTATION_LANDSCAPE = 1; | |
uint64_t DISPLAY_ORIENTATION_UNKNOWN = 0; | |
uint64_t POWER_STATE_CHARGED = 4; | |
uint64_t POWER_STATE_CHARGING = 3; | |
uint64_t POWER_STATE_NO_BATTERY = 2; | |
uint64_t POWER_STATE_ON_BATTERY = 1; | |
uint64_t POWER_STATE_UNKNOWN = 0; | |
uint64_t APP_OPTIONS_GFX_DEBUG_BIT = 2048; | |
uint64_t APP_OPTIONS_GFX_VULKAN_BIT = 1024; | |
uint64_t APP_OPTIONS_GFX_METAL_BIT = 512; | |
uint64_t APP_OPTIONS_GFX_D3D12_BIT = 256; | |
uint64_t APP_OPTIONS_GFX_D3D11_BIT = 128; | |
uint64_t APP_OPTIONS_NO_AUDIO_BIT = 64; | |
uint64_t APP_OPTIONS_FILE_SYSTEM_DONT_DEFAULT_MOUNT_BIT = 32; | |
uint64_t APP_OPTIONS_WINDOW_POS_CENTERED_BIT = 16; | |
uint64_t APP_OPTIONS_HIDDEN_BIT = 8; | |
uint64_t APP_OPTIONS_RESIZABLE_BIT = 4; | |
uint64_t APP_OPTIONS_FULLSCREEN_BIT = 2; | |
uint64_t APP_OPTIONS_NO_GFX_BIT = 1; | |
uint64_t UNIFORM_TYPE_MAT4 = 6; | |
uint64_t UNIFORM_TYPE_INT4 = 5; | |
uint64_t UNIFORM_TYPE_INT2 = 4; | |
uint64_t UNIFORM_TYPE_INT = 3; | |
uint64_t UNIFORM_TYPE_FLOAT4 = 2; | |
uint64_t UNIFORM_TYPE_FLOAT2 = 1; | |
uint64_t UNIFORM_TYPE_FLOAT = 0; | |
uint64_t UNIFORM_TYPE_UNKNOWN = 18446744073709551615; | |
uint64_t BLENDFACTOR_SRC_ALPHA_SATURATE = 12; | |
uint64_t BLENDFACTOR_ONE_MINUS_CONSTANT_COLOR = 11; | |
uint64_t BLENDFACTOR_CONSTANT_COLOR = 10; | |
uint64_t BLENDFACTOR_ONE_MINUS_DST_ALPHA = 9; | |
uint64_t BLENDFACTOR_DST_ALPHA = 8; | |
uint64_t BLENDFACTOR_ONE_MINUS_SRC_ALPHA = 7; | |
uint64_t BLENDFACTOR_SRC_ALPHA = 6; | |
uint64_t BLENDFACTOR_ONE_MINUS_DST_COLOR = 5; | |
uint64_t BLENDFACTOR_DST_COLOR = 4; | |
uint64_t BLENDFACTOR_ONE_MINUS_SRC_COLOR = 3; | |
uint64_t BLENDFACTOR_SRC_COLOR = 2; | |
uint64_t BLENDFACTOR_ONE = 1; | |
uint64_t BLENDFACTOR_ZERO = 0; | |
uint64_t BLEND_OP_MAX = 4; | |
uint64_t BLEND_OP_MIN = 3; | |
uint64_t BLEND_OP_REVERSE_SUBTRACT = 2; | |
uint64_t BLEND_OP_SUBTRACT = 1; | |
uint64_t BLEND_OP_ADD = 0; | |
uint64_t STENCIL_OP_DECREMENT_WRAP = 7; | |
uint64_t STENCIL_OP_INCREMENT_WRAP = 6; | |
uint64_t STENCIL_OP_INVERT = 5; | |
uint64_t STENCIL_OP_DECREMENT_CLAMP = 4; | |
uint64_t STENCIL_OP_INCREMENT_CLAMP = 3; | |
uint64_t STENCIL_OP_REPLACE = 2; | |
uint64_t STENCIL_OP_ZERO = 1; | |
uint64_t STENCIL_OP_KEEP = 0; | |
uint64_t COMPARE_FUNCTION_GREATER_THAN_OR_EQUAL = 7; | |
uint64_t COMPARE_FUNCTION_GREATER_THAN = 6; | |
uint64_t COMPARE_FUNCTION_LESS_THAN_OR_EQUAL = 5; | |
uint64_t COMPARE_FUNCTION_NOT_EQUAL = 4; | |
uint64_t COMPARE_FUNCTION_EQUAL = 3; | |
uint64_t COMPARE_FUNCTION_LESS_THAN = 2; | |
uint64_t COMPARE_FUNCTION_NEVER = 1; | |
uint64_t COMPARE_FUNCTION_ALWAYS = 0; | |
uint64_t CULL_MODE_BACK = 2; | |
uint64_t CULL_MODE_FRONT = 1; | |
uint64_t CULL_MODE_NONE = 0; | |
uint64_t VERTEX_FORMAT_HALF4 = 29; | |
uint64_t VERTEX_FORMAT_HALF2 = 28; | |
uint64_t VERTEX_FORMAT_USHORT4_NORM = 27; | |
uint64_t VERTEX_FORMAT_USHORT2_NORM = 26; | |
uint64_t VERTEX_FORMAT_SHORT4_NORM = 25; | |
uint64_t VERTEX_FORMAT_SHORT2_NORM = 24; | |
uint64_t VERTEX_FORMAT_USHORT4 = 23; | |
uint64_t VERTEX_FORMAT_USHORT2 = 22; | |
uint64_t VERTEX_FORMAT_SHORT4 = 21; | |
uint64_t VERTEX_FORMAT_SHORT2 = 20; | |
uint64_t VERTEX_FORMAT_UBYTE4_NORM = 19; | |
uint64_t VERTEX_FORMAT_UBYTE2_NORM = 18; | |
uint64_t VERTEX_FORMAT_BYTE4_NORM = 17; | |
uint64_t VERTEX_FORMAT_BYTE2_NORM = 16; | |
uint64_t VERTEX_FORMAT_UBYTE4 = 15; | |
uint64_t VERTEX_FORMAT_UBYTE2 = 14; | |
uint64_t VERTEX_FORMAT_BYTE4 = 13; | |
uint64_t VERTEX_FORMAT_BYTE2 = 12; | |
uint64_t VERTEX_FORMAT_FLOAT4 = 11; | |
uint64_t VERTEX_FORMAT_FLOAT3 = 10; | |
uint64_t VERTEX_FORMAT_FLOAT2 = 9; | |
uint64_t VERTEX_FORMAT_FLOAT = 8; | |
uint64_t VERTEX_FORMAT_UINT4 = 7; | |
uint64_t VERTEX_FORMAT_UINT3 = 6; | |
uint64_t VERTEX_FORMAT_UINT2 = 5; | |
uint64_t VERTEX_FORMAT_UINT = 4; | |
uint64_t VERTEX_FORMAT_INT4 = 3; | |
uint64_t VERTEX_FORMAT_INT3 = 2; | |
uint64_t VERTEX_FORMAT_INT2 = 1; | |
uint64_t VERTEX_FORMAT_INT = 0; | |
uint64_t WRAP_MODE_MIRRORED_REPEAT = 2; | |
uint64_t WRAP_MODE_CLAMP_TO_EDGE = 1; | |
uint64_t WRAP_MODE_REPEAT = 0; | |
uint64_t FILTER_LINEAR = 1; | |
uint64_t FILTER_NEAREST = 0; | |
uint64_t PIXELFORMAT_OP_DEPTH = 5; | |
uint64_t PIXELFORMAT_OP_MSAA = 4; | |
uint64_t PIXELFORMAT_OP_ALPHA_BLENDING = 3; | |
uint64_t PIXELFORMAT_OP_RENDER_TARGET = 2; | |
uint64_t PIXELFORMAT_OP_BILINEAR_FILTER = 1; | |
uint64_t PIXELFORMAT_OP_NEAREST_FILTER = 0; | |
uint64_t PIXEL_FORMAT_D32_FLOAT_S8_UINT = 55; | |
uint64_t PIXEL_FORMAT_D24_UNORM_S8_UINT = 54; | |
uint64_t PIXEL_FORMAT_D32_FLOAT = 53; | |
uint64_t PIXEL_FORMAT_D24_UNORM = 52; | |
uint64_t PIXEL_FORMAT_D16_UNORM = 51; | |
uint64_t PIXEL_FORMAT_BC7_RGBA_UNORM_SRGB = 50; | |
uint64_t PIXEL_FORMAT_BC3_RGBA_UNORM_SRGB = 49; | |
uint64_t PIXEL_FORMAT_BC2_RGBA_UNORM_SRGB = 48; | |
uint64_t PIXEL_FORMAT_BC1_RGBA_UNORM_SRGB = 47; | |
uint64_t PIXEL_FORMAT_B8G8R8A8_UNORM_SRGB = 46; | |
uint64_t PIXEL_FORMAT_R8G8B8A8_UNORM_SRGB = 45; | |
uint64_t PIXEL_FORMAT_R16G16B16A16_INT = 44; | |
uint64_t PIXEL_FORMAT_R16G16_INT = 43; | |
uint64_t PIXEL_FORMAT_R16_INT = 42; | |
uint64_t PIXEL_FORMAT_R8G8B8A8_INT = 41; | |
uint64_t PIXEL_FORMAT_R8G8_INT = 40; | |
uint64_t PIXEL_FORMAT_R8_INT = 39; | |
uint64_t PIXEL_FORMAT_R16G16B16A16_UINT = 38; | |
uint64_t PIXEL_FORMAT_R16G16_UINT = 37; | |
uint64_t PIXEL_FORMAT_R16_UINT = 36; | |
uint64_t PIXEL_FORMAT_R8G8B8A8_UINT = 35; | |
uint64_t PIXEL_FORMAT_R8G8_UINT = 34; | |
uint64_t PIXEL_FORMAT_R8_UINT = 33; | |
uint64_t PIXEL_FORMAT_R11G11B10_UFLOAT = 32; | |
uint64_t PIXEL_FORMAT_R32G32B32A32_FLOAT = 31; | |
uint64_t PIXEL_FORMAT_R32G32_FLOAT = 30; | |
uint64_t PIXEL_FORMAT_R32_FLOAT = 29; | |
uint64_t PIXEL_FORMAT_R16G16B16A16_FLOAT = 28; | |
uint64_t PIXEL_FORMAT_R16G16_FLOAT = 27; | |
uint64_t PIXEL_FORMAT_R16_FLOAT = 26; | |
uint64_t PIXEL_FORMAT_R16G16B16A16_SNORM = 25; | |
uint64_t PIXEL_FORMAT_R16G16_SNORM = 24; | |
uint64_t PIXEL_FORMAT_R16_SNORM = 23; | |
uint64_t PIXEL_FORMAT_R8G8B8A8_SNORM = 22; | |
uint64_t PIXEL_FORMAT_R8G8_SNORM = 21; | |
uint64_t PIXEL_FORMAT_R8_SNORM = 20; | |
uint64_t PIXEL_FORMAT_BC6H_RGB_UFLOAT = 19; | |
uint64_t PIXEL_FORMAT_BC6H_RGB_FLOAT = 18; | |
uint64_t PIXEL_FORMAT_BC7_RGBA_UNORM = 17; | |
uint64_t PIXEL_FORMAT_BC5_RG_UNORM = 16; | |
uint64_t PIXEL_FORMAT_BC4_R_UNORM = 15; | |
uint64_t PIXEL_FORMAT_BC3_RGBA_UNORM = 14; | |
uint64_t PIXEL_FORMAT_BC2_RGBA_UNORM = 13; | |
uint64_t PIXEL_FORMAT_BC1_RGBA_UNORM = 12; | |
uint64_t PIXEL_FORMAT_B8G8R8A8_UNORM = 11; | |
uint64_t PIXEL_FORMAT_B4G4R4A4_UNORM = 10; | |
uint64_t PIXEL_FORMAT_B5G5R5A1_UNORM = 9; | |
uint64_t PIXEL_FORMAT_B5G6R5_UNORM = 8; | |
uint64_t PIXEL_FORMAT_R10G10B10A2_UNORM = 7; | |
uint64_t PIXEL_FORMAT_R16G16B16A16_UNORM = 6; | |
uint64_t PIXEL_FORMAT_R16G16_UNORM = 5; | |
uint64_t PIXEL_FORMAT_R16_UNORM = 4; | |
uint64_t PIXEL_FORMAT_R8G8B8A8_UNORM = 3; | |
uint64_t PIXEL_FORMAT_R8G8_UNORM = 2; | |
uint64_t PIXEL_FORMAT_R8_UNORM = 1; | |
uint64_t PIXEL_FORMAT_A8_UNORM = 0; | |
uint64_t PIXEL_FORMAT_INVALID = 18446744073709551615; | |
uint64_t BACKEND_TYPE_PRIVATE = 4; | |
uint64_t BACKEND_TYPE_METAL = 3; | |
uint64_t BACKEND_TYPE_D3D12 = 2; | |
uint64_t BACKEND_TYPE_D3D11 = 1; | |
uint64_t BACKEND_TYPE_VULKAN = 0; | |
uint64_t BACKEND_TYPE_INVALID = 18446744073709551615; | |
uint64_t SHAPE_TYPE_POLY = 4; | |
uint64_t SHAPE_TYPE_CAPSULE = 3; | |
uint64_t SHAPE_TYPE_AABB = 2; | |
uint64_t SHAPE_TYPE_CIRCLE = 1; | |
uint64_t SHAPE_TYPE_NONE = 0; | |
uint64_t MESSAGE_BOX_TYPE_INFORMATION = 2; | |
uint64_t MESSAGE_BOX_TYPE_WARNING = 1; | |
uint64_t MESSAGE_BOX_TYPE_ERROR = 0; | |
uint64_t RESULT_ERROR = 18446744073709551615; | |
uint64_t RESULT_SUCCESS = 0; | |
struct b2DebugDrawSettings { | |
char* draw_polygon; | |
char* draw_solid_polygon; | |
char* draw_circle; | |
char* draw_solid_circle; | |
char* draw_solid_capsule; | |
char* draw_segment; | |
char* draw_transform; | |
char* draw_point; | |
char* draw_string; | |
float drawingBounds_lowerBound_x; | |
float drawingBounds_lowerBound_y; | |
float drawingBounds_upperBound_x; | |
float drawingBounds_upperBound_y; | |
bool useDrawingBounds; | |
bool drawShapes; | |
bool drawJoints; | |
bool drawJointExtras; | |
bool drawAABBs; | |
bool drawMass; | |
bool drawContacts; | |
bool drawGraphColors; | |
bool drawContactNormals; | |
bool drawContactImpulses; | |
bool drawFrictionImpulses; | |
void* context; | |
}; | |
struct b2Counters { | |
int bodyCount; | |
int shapeCount; | |
int contactCount; | |
int jointCount; | |
int islandCount; | |
int stackUsed; | |
int staticTreeHeight; | |
int treeHeight; | |
int byteCount; | |
int taskCount; | |
}; | |
struct b2Profile { | |
float step; | |
float pairs; | |
float collide; | |
float solve; | |
float buildIslands; | |
float solveConstraints; | |
float prepareTasks; | |
float solverTasks; | |
float prepareConstraints; | |
float integrateVelocities; | |
float warmStart; | |
float solveVelocities; | |
float integratePositions; | |
float relaxVelocities; | |
float applyRestitution; | |
float storeImpulses; | |
float finalizeBodies; | |
float splitIslands; | |
float sleepIslands; | |
float hitEvents; | |
float broadphase; | |
float continuous; | |
}; | |
struct b2ContactEvents { | |
b2ContactBeginTouchEvent* beginEvents; | |
b2ContactEndTouchEvent* endEvents; | |
b2ContactHitEvent* hitEvents; | |
}; | |
struct b2SensorEvents { | |
b2SensorBeginTouchEvent* beginEvents; | |
b2SensorEndTouchEvent* endEvents; | |
}; | |
struct b2ShapeCastPairInput { | |
b2DistanceProxy proxyA; | |
b2DistanceProxy proxyB; | |
float transformA_p_x; | |
float transformA_p_y; | |
float transformA_q_c; | |
float transformA_q_s; | |
float transformB_p_x; | |
float transformB_p_y; | |
float transformB_q_c; | |
float transformB_q_s; | |
float translationB_x; | |
float translationB_y; | |
float maxFraction; | |
}; | |
struct b2ShapeCastInput { | |
float points_x; | |
float points_y; | |
float radius; | |
float translation_x; | |
float translation_y; | |
float maxFraction; | |
}; | |
struct b2Version { | |
int major; | |
int minor; | |
int revision; | |
}; | |
struct b2ManifoldPoint { | |
float point_x; | |
float point_y; | |
float anchorA_x; | |
float anchorA_y; | |
float anchorB_x; | |
float anchorB_y; | |
float separation; | |
float normalImpulse; | |
float tangentImpulse; | |
float maxNormalImpulse; | |
float normalVelocity; | |
uint16_t id; | |
bool persisted; | |
}; | |
struct b2ContactData { | |
void* shapeIdA; | |
void* shapeIdB; | |
b2Manifold manifold; | |
}; | |
struct b2Manifold { | |
b2ManifoldPoint points; | |
float normal_x; | |
float normal_y; | |
}; | |
struct b2BodyMoveEvent { | |
float transform_p_x; | |
float transform_p_y; | |
float transform_q_c; | |
float transform_q_s; | |
void* bodyId; | |
void* userData; | |
bool fellAsleep; | |
}; | |
struct b2ContactHitEvent { | |
void* shapeIdA; | |
void* shapeIdB; | |
float point_x; | |
float point_y; | |
float normal_x; | |
float normal_y; | |
float approachSpeed; | |
}; | |
struct b2ContactEndTouchEvent { | |
void* shapeIdA; | |
void* shapeIdB; | |
}; | |
struct b2ContactBeginTouchEvent { | |
void* shapeIdA; | |
void* shapeIdB; | |
}; | |
struct b2SensorEndTouchEvent { | |
void* sensorShapeId; | |
void* visitorShapeId; | |
}; | |
struct b2SensorBeginTouchEvent { | |
void* sensorShapeId; | |
void* visitorShapeId; | |
}; | |
struct b2WheelJointDef { | |
void* bodyIdA; | |
void* bodyIdB; | |
float localAnchorA_x; | |
float localAnchorA_y; | |
float localAnchorB_x; | |
float localAnchorB_y; | |
float localAxisA_x; | |
float localAxisA_y; | |
bool enableSpring; | |
float hertz; | |
float dampingRatio; | |
bool enableLimit; | |
float lowerTranslation; | |
float upperTranslation; | |
bool enableMotor; | |
float maxMotorTorque; | |
float motorSpeed; | |
bool collideConnected; | |
void* userData; | |
int internalValue; | |
}; | |
struct b2WeldJointDef { | |
void* bodyIdA; | |
void* bodyIdB; | |
float localAnchorA_x; | |
float localAnchorA_y; | |
float localAnchorB_x; | |
float localAnchorB_y; | |
float referenceAngle; | |
float linearHertz; | |
float angularHertz; | |
float linearDampingRatio; | |
float angularDampingRatio; | |
bool collideConnected; | |
void* userData; | |
int internalValue; | |
}; | |
struct b2RevoluteJointDef { | |
void* bodyIdA; | |
void* bodyIdB; | |
float localAnchorA_x; | |
float localAnchorA_y; | |
float localAnchorB_x; | |
float localAnchorB_y; | |
float referenceAngle; | |
bool enableSpring; | |
float hertz; | |
float dampingRatio; | |
bool enableLimit; | |
float lowerAngle; | |
float upperAngle; | |
bool enableMotor; | |
float motorSpeed; | |
float drawSize; | |
bool collideConnected; | |
void* userData; | |
int internalValue; | |
}; | |
struct b2PrismaticJointDef { | |
void* bodyIdA; | |
void* bodyIdB; | |
float localAnchorA_x; | |
float localAnchorA_y; | |
float localAnchorB_x; | |
float localAnchorB_y; | |
float localAxisA_x; | |
float localAxisA_y; | |
float referenceAngle; | |
bool enableSpring; | |
float hertz; | |
float dampingRatio; | |
bool enableLimit; | |
float lowerTranslation; | |
float upperTranslation; | |
bool enableMotor; | |
float maxMotorForce; | |
float motorSpeed; | |
bool collideConnected; | |
void* userData; | |
int internalValue; | |
}; | |
struct b2MouseJointDef { | |
void* bodyIdA; | |
void* bodyIdB; | |
float target_x; | |
float target_y; | |
float hertz; | |
float dampingRatio; | |
float maxForce; | |
bool collideConnected; | |
void* userData; | |
int internalValue; | |
}; | |
struct b2MotorJointDef { | |
void* bodyIdA; | |
void* bodyIdB; | |
float linearOffset_x; | |
float linearOffset_y; | |
float angularOffset; | |
float maxForce; | |
float maxTorque; | |
float correctionFactor; | |
bool collideConnected; | |
void* userData; | |
int internalValue; | |
}; | |
struct b2DistanceJointDef { | |
void* bodyIdA; | |
void* bodyIdB; | |
float localAnchorA_x; | |
float localAnchorA_y; | |
float localAnchorB_x; | |
float localAnchorB_y; | |
float length; | |
bool enableSpring; | |
float hertz; | |
float dampingRatio; | |
bool enableLimit; | |
float minLength; | |
float maxLength; | |
bool enableMotor; | |
float maxMotorForce; | |
float motorSpeed; | |
bool collideConnected; | |
void* userData; | |
int internalValue; | |
}; | |
struct b2TOIOutput { | |
int state; | |
float t; | |
}; | |
struct b2TOIInput { | |
b2DistanceProxy proxyA; | |
b2DistanceProxy proxyB; | |
float sweepA_localCenter_x; | |
float sweepA_localCenter_y; | |
float sweepA_c1_x; | |
float sweepA_c1_y; | |
float sweepA_c2_x; | |
float sweepA_c2_y; | |
float sweepA_q1_c; | |
float sweepA_q1_s; | |
float sweepA_q2_c; | |
float sweepA_q2_s; | |
float sweepB_localCenter_x; | |
float sweepB_localCenter_y; | |
float sweepB_c1_x; | |
float sweepB_c1_y; | |
float sweepB_c2_x; | |
float sweepB_c2_y; | |
float sweepB_q1_c; | |
float sweepB_q1_s; | |
float sweepB_q2_c; | |
float sweepB_q2_s; | |
float tMax; | |
}; | |
struct b2DistanceProxy { | |
float points_x; | |
float points_y; | |
float radius; | |
}; | |
struct b2ShapeDef { | |
void* userData; | |
float friction; | |
float restitution; | |
float density; | |
b2Filter filter; | |
bool isSensor; | |
bool enableSensorEvents; | |
bool enableContactEvents; | |
bool enableHitEvents; | |
bool enablePreSolveEvents; | |
bool forceContactCreation; | |
int internalValue; | |
}; | |
struct b2QueryFilter { | |
uint64_t categoryBits; | |
uint64_t maskBits; | |
}; | |
struct b2Filter { | |
uint64_t categoryBits; | |
uint64_t maskBits; | |
int groupIndex; | |
}; | |
struct b2MassData { | |
float mass; | |
float center_x; | |
float center_y; | |
float rotationalInertia; | |
}; | |
struct b2ChainDef { | |
b2Vec2* points; | |
float friction; | |
float restitution; | |
b2Filter filter; | |
bool isLoop; | |
int internalValue; | |
}; | |
struct b2BodyDef { | |
int type; | |
float position_x; | |
float position_y; | |
float rotation_c; | |
float rotation_s; | |
float linearVelocity_x; | |
float linearVelocity_y; | |
float angularVelocity; | |
float linearDamping; | |
float angularDamping; | |
float gravityScale; | |
float sleepThreshold; | |
void* userData; | |
bool enableSleep; | |
bool isAwake; | |
bool fixedRotation; | |
bool isBullet; | |
bool isEnabled; | |
bool automaticMass; | |
bool allowFastRotation; | |
int internalValue; | |
}; | |
struct b2WorldDef { | |
float gravity_x; | |
float gravity_y; | |
float restitutionThreshold; | |
float contactPushoutVelocity; | |
float hitEventThreshold; | |
float contactHertz; | |
float contactDampingRatio; | |
float jointHertz; | |
float jointDampingRatio; | |
float maximumLinearVelocity; | |
int frictionMixingRule; | |
int restitutionMixingRule; | |
bool enableSleep; | |
bool enableContinuous; | |
int workerCount; | |
void* enqueueTask; | |
void* finishTask; | |
void* userTaskContext; | |
int internalValue; | |
}; | |
struct b2CastOutput { | |
float normal_x; | |
float normal_y; | |
float point_x; | |
float point_y; | |
float fraction; | |
int iterations; | |
bool hit; | |
}; | |
struct b2RayCastInput { | |
float origin_x; | |
float origin_y; | |
float translation_x; | |
float translation_y; | |
float maxFraction; | |
}; | |
struct b2Hull { | |
float points_x; | |
float points_y; | |
}; | |
struct b2ChainSegment { | |
float ghost1_x; | |
float ghost1_y; | |
float segment_point1_x; | |
float segment_point1_y; | |
float segment_point2_x; | |
float segment_point2_y; | |
float ghost2_x; | |
float ghost2_y; | |
int chainId; | |
}; | |
struct b2Polygon { | |
float vertices_x; | |
float vertices_y; | |
float normals_x; | |
float normals_y; | |
float centroid_x; | |
float centroid_y; | |
float radius; | |
}; | |
struct b2Rot { | |
float c; | |
float s; | |
}; | |
struct b2Sweep { | |
float localCenter_x; | |
float localCenter_y; | |
float c1_x; | |
float c1_y; | |
float c2_x; | |
float c2_y; | |
float q1_c; | |
float q1_s; | |
float q2_c; | |
float q2_s; | |
}; | |
struct b2Segment { | |
float point1_x; | |
float point1_y; | |
float point2_x; | |
float point2_y; | |
}; | |
struct b2Capsule { | |
float center1_x; | |
float center1_y; | |
float center2_x; | |
float center2_y; | |
float radius; | |
}; | |
struct b2Circle { | |
float center_x; | |
float center_y; | |
float radius; | |
}; | |
struct b2Transform { | |
float p_x; | |
float p_y; | |
float q_c; | |
float q_s; | |
}; | |
struct b2AABB { | |
float lowerBound_x; | |
float lowerBound_y; | |
float upperBound_x; | |
float upperBound_y; | |
}; | |
struct b2Vec2 { | |
float x; | |
float y; | |
}; | |
struct CF_Touch { | |
uint64_t id; | |
float x; | |
float y; | |
float pressure; | |
}; | |
struct CF_ImeComposition { | |
char* composition; | |
int cursor; | |
int selection_len; | |
}; | |
struct CF_HttpsHeader { | |
char* name; | |
char* value; | |
}; | |
struct CF_Stat { | |
int type; | |
bool is_read_only; | |
uint64_t size; | |
uint64_t last_modified_time; | |
uint64_t created_time; | |
uint64_t last_accessed_time; | |
}; | |
struct CF_AtlasSubImage { | |
uint64_t image_id; | |
int w; | |
int h; | |
float minx; | |
float miny; | |
float maxx; | |
float maxy; | |
}; | |
struct CF_TemporaryImage { | |
void* tex; | |
int w; | |
int h; | |
float u_x; | |
float u_y; | |
float v_x; | |
float v_y; | |
}; | |
struct CF_TextEffect { | |
char* effect_name; | |
bool on_begin; | |
bool on_end; | |
int character; | |
int index_into_string; | |
int index_into_effect; | |
int glyph_count; | |
float elapsed; | |
float center_x; | |
float center_y; | |
float q0_x; | |
float q0_y; | |
float q1_x; | |
float q1_y; | |
int w; | |
int h; | |
float color_r; | |
float color_g; | |
float color_b; | |
float color_a; | |
float opacity; | |
float xadvance; | |
bool visible; | |
float font_size; | |
}; | |
struct CF_Pixel { | |
uint32_t val; | |
}; | |
struct SoundParams { | |
bool paused; | |
bool looped; | |
float volume; | |
float pan; | |
float pitch; | |
int sample_index; | |
}; | |
struct CF_RenderState { | |
int cull_mode; | |
CF_BlendState blend; | |
int depth_compare; | |
bool depth_write_enabled; | |
CF_StencilParams stencil; | |
}; | |
struct CF_BlendState { | |
bool enabled; | |
int pixel_format; | |
bool write_R_enabled; | |
bool write_G_enabled; | |
bool write_B_enabled; | |
bool write_A_enabled; | |
int rgb_op; | |
int rgb_src_blend_factor; | |
int rgb_dst_blend_factor; | |
int alpha_op; | |
int alpha_src_blend_factor; | |
int alpha_dst_blend_factor; | |
}; | |
struct CF_StencilParams { | |
bool enabled; | |
uint8_t read_mask; | |
uint8_t write_mask; | |
uint8_t reference; | |
CF_StencilFunction front; | |
CF_StencilFunction back; | |
}; | |
struct CF_StencilFunction { | |
int compare; | |
int fail_op; | |
int depth_fail_op; | |
int pass_op; | |
}; | |
struct CF_VertexAttribute { | |
char* name; | |
int format; | |
int offset; | |
}; | |
struct CF_CanvasParams { | |
CF_TextureParams target; | |
bool depth_stencil_enable; | |
CF_TextureParams depth_stencil_target; | |
}; | |
struct CF_TextureParams { | |
int pixel_format; | |
uint32_t usage; | |
int filter; | |
int wrap_u; | |
int wrap_v; | |
int width; | |
int height; | |
bool stream; | |
}; | |
struct CF_Manifold { | |
int count; | |
float depths; | |
float contact_points_x; | |
float contact_points_y; | |
float n_x; | |
float n_y; | |
}; | |
struct CF_SliceOutput { | |
CF_Poly front; | |
CF_Poly back; | |
}; | |
struct CF_Poly { | |
float verts_x; | |
float verts_y; | |
float norms_x; | |
float norms_y; | |
}; | |
struct CF_ToiResult { | |
int hit; | |
float toi; | |
float n_x; | |
float n_y; | |
float p_x; | |
float p_y; | |
int iterations; | |
}; | |
struct CF_Transform { | |
float r_s; | |
float r_c; | |
float p_x; | |
float p_y; | |
}; | |
struct CF_SinCos { | |
float s; | |
float c; | |
}; | |
struct CF_Halfspace { | |
float n_x; | |
float n_y; | |
float d; | |
}; | |
struct CF_Ray { | |
float p_x; | |
float p_y; | |
float d_x; | |
float d_y; | |
float t; | |
}; | |
struct CF_Raycast { | |
bool hit; | |
float t; | |
float n_x; | |
float n_y; | |
}; | |
struct CF_Capsule { | |
float a_x; | |
float a_y; | |
float b_x; | |
float b_y; | |
float r; | |
}; | |
struct CF_Circle { | |
float p_x; | |
float p_y; | |
float r; | |
}; | |
struct CF_Color { | |
float r; | |
float g; | |
float b; | |
float a; | |
}; | |
struct CF_Rect { | |
int x; | |
int y; | |
int w; | |
int h; | |
}; | |
struct CF_Aabb { | |
float min_x; | |
float min_y; | |
float max_x; | |
float max_y; | |
}; | |
struct CF_M3x2 { | |
float m_x_x; | |
float m_x_y; | |
float m_y_x; | |
float m_y_y; | |
float p_x; | |
float p_y; | |
}; | |
struct CF_M2x2 { | |
float x_x; | |
float x_y; | |
float y_x; | |
float y_y; | |
}; | |
struct v2 { | |
float x; | |
float y; | |
}; | |
struct CF_Result { | |
int code; | |
char* details; | |
}; | |
void wait_for_debugger(); | |
void mount_directory_as(char*, char*); | |
void dump_lua_api(); | |
b2Manifold b2CollideSmoothSegmentAndPolygon(b2ChainSegment, b2Transform, b2Polygon, b2Transform); | |
b2Manifold b2CollideSmoothSegmentAndCapsule(b2ChainSegment, b2Transform, b2Capsule, b2Transform); | |
b2Manifold b2CollideSmoothSegmentAndCircle(b2ChainSegment, b2Transform, b2Circle, b2Transform); | |
b2Manifold b2CollideSegmentAndPolygon(b2Segment, b2Transform, b2Polygon, b2Transform); | |
b2Manifold b2CollidePolygons(b2Polygon, b2Transform, b2Polygon, b2Transform); | |
b2Manifold b2CollidePolygonAndCapsule(b2Polygon, b2Transform, b2Capsule, b2Transform); | |
b2Manifold b2CollideSegmentAndCapsule(b2Segment, b2Transform, b2Capsule, b2Transform); | |
b2Manifold b2CollideCapsules(b2Capsule, b2Transform, b2Capsule, b2Transform); | |
b2Manifold b2CollidePolygonAndCircle(b2Polygon, b2Transform, b2Circle, b2Transform); | |
b2Manifold b2CollideSegmentAndCircle(b2Segment, b2Transform, b2Circle, b2Transform); | |
b2Manifold b2CollideCapsuleAndCircle(b2Capsule, b2Transform, b2Circle, b2Transform); | |
b2Manifold b2CollideCircles(b2Circle, b2Transform, b2Circle, b2Transform); | |
b2TOIOutput b2TimeOfImpact(b2TOIInput); | |
b2Transform b2GetSweepTransform(b2Sweep, float); | |
b2DistanceProxy b2MakeProxy(b2Hull, float); | |
b2CastOutput b2ShapeCast(b2ShapeCastPairInput); | |
bool b2ValidateHull(b2Hull); | |
b2Hull b2ComputeHull(b2Vec2*, int); | |
b2CastOutput b2ShapeCastPolygon(b2ShapeCastInput, b2Polygon); | |
b2CastOutput b2ShapeCastSegment(b2ShapeCastInput, b2Segment); | |
b2CastOutput b2ShapeCastCapsule(b2ShapeCastInput, b2Capsule); | |
b2CastOutput b2ShapeCastCircle(b2ShapeCastInput, b2Circle); | |
b2CastOutput b2RayCastPolygon(b2RayCastInput, b2Polygon); | |
b2CastOutput b2RayCastSegment(b2RayCastInput, b2Segment, bool); | |
b2CastOutput b2RayCastCapsule(b2RayCastInput, b2Capsule); | |
b2CastOutput b2RayCastCircle(b2RayCastInput, b2Circle); | |
bool b2PointInPolygon(b2Vec2, b2Polygon); | |
bool b2PointInCapsule(b2Vec2, b2Capsule); | |
bool b2PointInCircle(b2Vec2, b2Circle); | |
b2AABB b2ComputeSegmentAABB(b2Segment, b2Transform); | |
b2AABB b2ComputePolygonAABB(b2Polygon, b2Transform); | |
b2AABB b2ComputeCapsuleAABB(b2Capsule, b2Transform); | |
b2AABB b2ComputeCircleAABB(b2Circle, b2Transform); | |
b2MassData b2ComputePolygonMass(b2Polygon, float); | |
b2MassData b2ComputeCapsuleMass(b2Capsule, float); | |
b2MassData b2ComputeCircleMass(b2Circle, float); | |
b2Polygon b2TransformPolygon(b2Transform, b2Polygon); | |
b2Rot b2MakeRot(float); | |
b2Polygon b2MakeOffsetBox(float, float, b2Vec2, b2Rot); | |
b2Polygon b2MakeRoundedBox(float, float, float); | |
b2Polygon b2MakeBox(float, float); | |
b2Polygon b2MakeSquare(float); | |
b2Polygon b2MakeOffsetPolygon(b2Hull, float, b2Transform); | |
b2Polygon b2MakePolygon(b2Vec2*, int, float); | |
bool b2IsValidRay(b2RayCastInput); | |
float b2WheelJoint_GetMotorTorque(void*); | |
float b2WheelJoint_GetMaxMotorTorque(void*); | |
void b2WheelJoint_SetMaxMotorTorque(void*, float); | |
float b2WheelJoint_GetMotorSpeed(void*); | |
void b2WheelJoint_SetMotorSpeed(void*, float); | |
bool b2WheelJoint_IsMotorEnabled(void*); | |
void b2WheelJoint_EnableMotor(void*, bool); | |
void b2WheelJoint_SetLimits(void*, float, float); | |
float b2WheelJoint_GetUpperLimit(void*); | |
float b2WheelJoint_GetLowerLimit(void*); | |
bool b2WheelJoint_IsLimitEnabled(void*); | |
void b2WheelJoint_EnableLimit(void*, bool); | |
float b2WheelJoint_GetSpringDampingRatio(void*); | |
void b2WheelJoint_SetSpringDampingRatio(void*, float); | |
float b2WheelJoint_GetSpringHertz(void*); | |
void b2WheelJoint_SetSpringHertz(void*, float); | |
bool b2WheelJoint_IsSpringEnabled(void*); | |
void b2WheelJoint_EnableSpring(void*, bool); | |
void* b2CreateWheelJoint(int, b2WheelJointDef); | |
float b2WeldJoint_GetAngularDampingRatio(void*); | |
void b2WeldJoint_SetAngularDampingRatio(void*, float); | |
float b2WeldJoint_GetAngularHertz(void*); | |
void b2WeldJoint_SetAngularHertz(void*, float); | |
float b2WeldJoint_GetLinearDampingRatio(void*); | |
void b2WeldJoint_SetLinearDampingRatio(void*, float); | |
float b2WeldJoint_GetLinearHertz(void*); | |
void b2WeldJoint_SetLinearHertz(void*, float); | |
void* b2CreateWeldJoint(int, b2WeldJointDef); | |
float b2RevoluteJoint_GetMaxMotorTorque(void*); | |
void b2RevoluteJoint_SetMaxMotorTorque(void*, float); | |
float b2RevoluteJoint_GetMotorTorque(void*); | |
float b2RevoluteJoint_GetMotorSpeed(void*); | |
void b2RevoluteJoint_SetMotorSpeed(void*, float); | |
bool b2RevoluteJoint_IsMotorEnabled(void*); | |
void b2RevoluteJoint_EnableMotor(void*, bool); | |
void b2RevoluteJoint_SetLimits(void*, float, float); | |
float b2RevoluteJoint_GetUpperLimit(void*); | |
float b2RevoluteJoint_GetLowerLimit(void*); | |
float b2RevoluteJoint_GetAngle(void*); | |
float b2RevoluteJoint_GetSpringDampingRatio(void*); | |
void b2RevoluteJoint_SetSpringDampingRatio(void*, float); | |
float b2RevoluteJoint_GetSpringHertz(void*); | |
void b2RevoluteJoint_SetSpringHertz(void*, float); | |
bool b2RevoluteJoint_IsLimitEnabled(void*); | |
void b2RevoluteJoint_EnableSpring(void*, bool); | |
void* b2CreateRevoluteJoint(int, b2RevoluteJointDef); | |
float b2PrismaticJoint_GetMotorForce(void*); | |
float b2PrismaticJoint_GetMaxMotorForce(void*); | |
void b2PrismaticJoint_SetMaxMotorForce(void*, float); | |
float b2PrismaticJoint_GetMotorSpeed(void*); | |
void b2PrismaticJoint_SetMotorSpeed(void*, float); | |
bool b2PrismaticJoint_IsMotorEnabled(void*); | |
void b2PrismaticJoint_EnableMotor(void*, bool); | |
void b2PrismaticJoint_SetLimits(void*, float, float); | |
float b2PrismaticJoint_GetUpperLimit(void*); | |
float b2PrismaticJoint_GetLowerLimit(void*); | |
bool b2PrismaticJoint_IsLimitEnabled(void*); | |
void b2PrismaticJoint_EnableLimit(void*, bool); | |
float b2PrismaticJoint_GetSpringDampingRatio(void*); | |
void b2PrismaticJoint_SetSpringDampingRatio(void*, float); | |
float b2PrismaticJoint_GetSpringHertz(void*); | |
void b2PrismaticJoint_SetSpringHertz(void*, float); | |
bool b2PrismaticJoint_IsSpringEnabled(void*); | |
void b2PrismaticJoint_EnableSpring(void*, bool); | |
void* b2CreatePrismaticJoint(int, b2PrismaticJointDef); | |
float b2MouseJoint_GetMaxForce(void*); | |
void b2MouseJoint_SetMaxForce(void*, float); | |
float b2MouseJoint_GetSpringDampingRatio(void*); | |
void b2MouseJoint_SetSpringDampingRatio(void*, float); | |
float b2MouseJoint_GetSpringHertz(void*); | |
void b2MouseJoint_SetSpringHertz(void*, float); | |
b2Vec2 b2MouseJoint_GetTarget(void*); | |
void b2MouseJoint_SetTarget(void*, b2Vec2); | |
void* b2CreateMouseJoint(int, b2MouseJointDef); | |
float b2MotorJoint_GetCorrectionFactor(void*); | |
void b2MotorJoint_SetCorrectionFactor(void*, float); | |
float b2MotorJoint_GetMaxTorque(void*); | |
void b2MotorJoint_SetMaxTorque(void*, float); | |
float b2MotorJoint_GetMaxForce(void*); | |
void b2MotorJoint_SetMaxForce(void*, float); | |
float b2MotorJoint_GetAngularOffset(void*); | |
void b2MotorJoint_SetAngularOffset(void*, float); | |
b2Vec2 b2MotorJoint_GetLinearOffset(void*); | |
void b2MotorJoint_SetLinearOffset(void*, b2Vec2); | |
void* b2CreateMotorJoint(int, b2MotorJointDef); | |
float b2DistanceJoint_GetMotorForce(void*); | |
float b2DistanceJoint_GetMaxMotorForce(void*); | |
void b2DistanceJoint_SetMaxMotorForce(void*, float); | |
float b2DistanceJoint_GetMotorSpeed(void*); | |
void b2DistanceJoint_SetMotorSpeed(void*, float); | |
bool b2DistanceJoint_IsMotorEnabled(void*); | |
void b2DistanceJoint_EnableMotor(void*, bool); | |
float b2DistanceJoint_GetCurrentLength(void*); | |
float b2DistanceJoint_GetMaxLength(void*); | |
float b2DistanceJoint_GetMinLength(void*); | |
void b2DistanceJoint_SetLengthRange(void*, float, float); | |
bool b2DistanceJoint_IsLimitEnabled(void*); | |
void b2DistanceJoint_EnableLimit(void*, bool); | |
float b2DistanceJoint_GetSpringDampingRatio(void*); | |
float b2DistanceJoint_GetSpringHertz(void*); | |
void b2DistanceJoint_SetSpringDampingRatio(void*, float); | |
void b2DistanceJoint_SetSpringHertz(void*, float); | |
bool b2DistanceJoint_IsSpringEnabled(void*); | |
void b2DistanceJoint_EnableSpring(void*, bool); | |
float b2DistanceJoint_GetLength(void*); | |
void b2DistanceJoint_SetLength(void*, float); | |
void* b2CreateDistanceJoint(int, b2DistanceJointDef); | |
b2WheelJointDef b2DefaultWheelJointDef(); | |
b2WeldJointDef b2DefaultWeldJointDef(); | |
b2RevoluteJointDef b2DefaultRevoluteJointDef(); | |
b2PrismaticJointDef b2DefaultPrismaticJointDef(); | |
b2MouseJointDef b2DefaultMouseJointDef(); | |
b2MotorJointDef b2DefaultMotorJointDef(); | |
b2DistanceJointDef b2DefaultDistanceJointDef(); | |
float b2Joint_GetConstraintTorque(void*); | |
void b2Joint_WakeBodies(void*); | |
bool b2Joint_GetCollideConnected(void*); | |
void b2Joint_SetCollideConnected(void*, bool); | |
b2Vec2 b2Joint_GetLocalAnchorB(void*); | |
b2Vec2 b2Joint_GetLocalAnchorA(void*); | |
void* b2Joint_GetBodyB(void*); | |
void* b2Joint_GetBodyA(void*); | |
int b2Joint_GetType(void*); | |
bool b2Joint_IsValid(void*); | |
void b2DestroyJoint(void*); | |
bool b2Chain_IsValid(void*); | |
void b2Chain_SetRestitution(void*, float); | |
void b2Chain_SetFriction(void*, float); | |
void b2DestroyChain(void*); | |
void* b2CreateChain(void*, b2ChainDef); | |
b2ChainDef b2DefaultChainDef(); | |
b2Vec2 b2Shape_GetClosestPoint(void*, b2Vec2); | |
b2AABB b2Shape_GetAABB(void*); | |
int b2Shape_GetContactCapacity(void*); | |
void* b2Shape_GetParentChain(void*); | |
void b2Shape_SetPolygon(void*, b2Polygon); | |
void b2Shape_SetSegment(void*, b2Segment); | |
void b2Shape_SetCapsule(void*, b2Capsule); | |
void b2Shape_SetCircle(void*, b2Circle); | |
b2Polygon b2Shape_GetPolygon(void*); | |
b2Capsule b2Shape_GetCapsule(void*); | |
b2ChainSegment b2Shape_GetChainSegment(void*); | |
b2Segment b2Shape_GetSegment(void*); | |
b2Circle b2Shape_GetCircle(void*); | |
b2CastOutput b2Shape_RayCast(void*, b2RayCastInput*); | |
bool b2Shape_TestPoint(void*, b2Vec2); | |
bool b2Shape_AreHitEventsEnabled(void*); | |
void b2Shape_EnableHitEvents(void*, bool); | |
bool b2Shape_ArePreSolveEventsEnabled(void*); | |
void b2Shape_EnablePreSolveEvents(void*, bool); | |
bool b2Shape_AreContactEventsEnabled(void*); | |
void b2Shape_EnableContactEvents(void*, bool); | |
bool b2Shape_AreSensorEventsEnabled(void*); | |
void b2Shape_EnableSensorEvents(void*, bool); | |
void b2Shape_SetFilter(void*, b2Filter); | |
b2Filter b2Shape_GetFilter(void*); | |
float b2Shape_GetRestitution(void*); | |
void b2Shape_SetRestitution(void*, float); | |
float b2Shape_GetFriction(void*); | |
void b2Shape_SetFriction(void*, float); | |
float b2Shape_GetDensity(void*); | |
void b2Shape_SetDensity(void*, float); | |
bool b2Shape_IsSensor(void*); | |
void* b2Shape_GetBody(void*); | |
int b2Shape_GetType(void*); | |
bool b2Shape_IsValid(void*); | |
void b2DestroyShape(void*); | |
void* b2CreatePolygonShape(void*, b2ShapeDef, b2Polygon); | |
void* b2CreateCapsuleShape(void*, b2ShapeDef, b2Capsule); | |
void* b2CreateSegmentShape(void*, b2ShapeDef, b2Segment); | |
void* b2CreateCircleShape(void*, b2ShapeDef, b2Circle); | |
b2AABB b2Body_ComputeAABB(void*); | |
int b2Body_GetContactCapacity(void*); | |
int b2Body_GetJointCount(void*); | |
int b2Body_GetShapeCount(void*); | |
void b2Body_EnableHitEvents(void*, bool); | |
bool b2Body_IsBullet(void*); | |
void b2Body_SetBullet(void*, bool); | |
bool b2Body_IsFixedRotation(void*); | |
void b2Body_SetFixedRotation(void*, bool); | |
void b2Body_Enable(void*); | |
void b2Body_Disable(void*); | |
bool b2Body_IsEnabled(void*); | |
float b2Body_GetSleepThreshold(void*); | |
void b2Body_SetSleepThreshold(void*, float); | |
bool b2Body_IsSleepEnabled(void*); | |
void b2Body_EnableSleep(void*, bool); | |
void b2Body_SetAwake(void*, bool); | |
bool b2Body_IsAwake(void*); | |
float b2Body_GetGravityScale(void*); | |
void b2Body_SetGravityScale(void*, float); | |
float b2Body_GetAngularDamping(void*); | |
void b2Body_SetAngularDamping(void*, float); | |
float b2Body_GetLinearDamping(void*); | |
void b2Body_SetLinearDamping(void*, float); | |
bool b2Body_GetAutomaticMass(void*); | |
void b2Body_SetAutomaticMass(void*, bool); | |
void b2Body_ApplyMassFromShapes(void*); | |
b2MassData b2Body_GetMassData(void*); | |
void b2Body_SetMassData(void*, b2MassData); | |
b2Vec2 b2Body_GetWorldCenterOfMass(void*); | |
b2Vec2 b2Body_GetLocalCenterOfMass(void*); | |
float b2Body_GetRotationalInertia(void*); | |
float b2Body_GetMass(void*); | |
void b2Body_ApplyAngularImpulse(void*, float, bool); | |
void b2Body_ApplyLinearImpulseToCenter(void*, b2Vec2, bool); | |
void b2Body_ApplyLinearImpulse(void*, b2Vec2, b2Vec2, bool); | |
void b2Body_ApplyTorque(void*, float, bool); | |
void b2Body_ApplyForceToCenter(void*, b2Vec2, bool); | |
void b2Body_ApplyForce(void*, b2Vec2, b2Vec2, bool); | |
void b2Body_SetAngularVelocity(void*, float); | |
void b2Body_SetLinearVelocity(void*, b2Vec2); | |
float b2Body_GetAngularVelocity(void*); | |
b2Vec2 b2Body_GetLinearVelocity(void*); | |
b2Vec2 b2Body_GetLocalVector(void*, b2Vec2); | |
b2Vec2 b2Body_GetWorldPoint(void*, b2Vec2); | |
b2Vec2 b2Body_GetLocalPoint(void*, b2Vec2); | |
void b2Body_SetTransform(void*, b2Vec2, b2Rot); | |
b2Transform b2Body_GetTransform(void*); | |
b2Rot b2Body_GetRotation(void*); | |
b2Vec2 b2Body_GetPosition(void*); | |
void b2Body_SetType(void*, int); | |
int b2Body_GetType(void*); | |
bool b2Body_IsValid(void*); | |
void b2DestroyBody(void*); | |
void* b2CreateBody(int, b2BodyDef); | |
void b2World_DumpMemoryStats(int); | |
b2Counters b2World_GetCounters(int); | |
b2Profile b2World_GetProfile(int); | |
void b2World_EnableWarmStarting(int, bool); | |
void b2World_SetContactTuning(int, float, float, float); | |
void b2World_SetGravity(int, b2Vec2); | |
void b2World_SetHitEventThreshold(int, float); | |
void b2World_SetRestitutionThreshold(int, float); | |
void b2World_EnableContinuous(int, bool); | |
void b2World_EnableSleeping(int, bool); | |
void b2World_Step(int, float, int); | |
bool b2World_IsValid(int); | |
void b2DestroyWorld(int); | |
int b2CreateWorld(b2WorldDef); | |
b2BodyDef b2DefaultBodyDef(); | |
b2WorldDef b2DefaultWorldDef(); | |
b2Version b2GetVersion(); | |
int b2GetByteCount(); | |
float b2GetLengthUnitsPerMeter(); | |
void b2SetLengthUnitsPerMeter(float); | |
b2ShapeDef b2DefaultShapeDef(); | |
b2QueryFilter b2DefaultQueryFilter(); | |
b2Filter b2DefaultFilter(); | |
v2 imgui_slider_float2(char*, v2, float, float); | |
float imgui_slider_float(char*, float, float, float); | |
void imgui_set_scroll_here_y(float); | |
void imgui_text_colored(float, float, float, float, char*); | |
void imgui_set_next_item_open(bool); | |
void imgui_set_next_item_width(float); | |
char* imgui_input_text(char*, char*); | |
void imgui_text(char*); | |
bool imgui_is_any_window_hovered(); | |
bool imgui_want_keyboard_capture(); | |
bool imgui_want_mouse_capture(); | |
bool imgui_is_mouse_clicked_on_world(int); | |
void imgui_next_column(); | |
void imgui_columns(int); | |
void imgui_add_rect(v2, v2, CF_Color, float, float); | |
bool imgui_is_item_clicked(); | |
void imgui_set_cursor_screen_pos(v2); | |
v2 imgui_get_cursor_screen_pos(); | |
void imgui_dummy(float, float); | |
void imgui_pop_id(); | |
void imgui_push_id(int); | |
void imgui_set_frame_rounding(float); | |
void imgui_set_item_default_focus(); | |
bool imgui_is_item_hovered(); | |
bool imgui_selectable(char*, bool); | |
void imgui_end_combo(); | |
bool imgui_begin_combo_ex(char*, char*, int); | |
bool imgui_begin_combo(char*, char*); | |
void imgui_sameline(); | |
void imgui_same_line(); | |
bool imgui_collapsing_header_ex(char*, int); | |
bool imgui_collapsing_header(char*); | |
bool imgui_menu_item(char*, char*, bool); | |
void imgui_end_menu(); | |
void imgui_begin_menu(char*); | |
bool imgui_is_window_docked(); | |
void imgui_end_main_menu_bar(); | |
void imgui_begin_main_menu_bar(); | |
void imgui_dockspace_over_viewport(); | |
void imgui_demo_window(); | |
float imgui_float(char*, float); | |
int imgui_int(char*, int); | |
v2 imgui_float2(char*, v2, char*); | |
v2 imgui_v2(char*, v2, char*); | |
bool imgui_checkbox(char*, bool); | |
bool imgui_color(char*, CF_Color); | |
void imgui_separator_text(char*); | |
void imgui_separator(); | |
float imgui_get_frame_height(); | |
bool imgui_button_ex(char*, v2); | |
bool imgui_button(char*); | |
void imgui_set_next_window_size(v2); | |
void imgui_set_next_window_pos(v2); | |
void imgui_end(); | |
bool imgui_begin_ex(char*, bool, int); | |
void imgui_begin(char*); | |
char* version_string_linked(); | |
void sleep(int); | |
uint64_t get_tick_frequency(); | |
uint64_t get_ticks(); | |
bool is_paused(); | |
bool on_timestamp(double); | |
bool between_interval(float, float); | |
bool on_interval(float, float); | |
void pause_for_ticks(uint64_t); | |
void pause_for(float); | |
void set_target_framerate(int); | |
void set_fixed_timestep_max_updates(int); | |
void set_fixed_timestep(int); | |
float noise4(void*, float, float, float, float); | |
float noise3(void*, float, float, float); | |
float noise2(void*, float, float); | |
void destroy_noise(void*); | |
void* make_noise_fbm(uint64_t, float, float, int, float); | |
void* make_noise(uint64_t); | |
void joypad_rumble(int, uint16_t, uint16_t, int); | |
short joypad_axis_prev(int, int); | |
short joypad_axis(int, int); | |
bool joypad_button_just_released(int, int); | |
bool joypad_button_just_pressed(int, int); | |
bool joypad_button_down(int, int); | |
uint16_t joypad_product_version(int); | |
uint16_t joypad_firmware_version(int); | |
char* joypad_serial_number(int); | |
uint16_t joypad_product_id(int); | |
uint16_t joypad_vendor(int); | |
int joypad_type(int); | |
char* joypad_name(int); | |
int joypad_power_level(int); | |
bool joypad_is_connected(int); | |
int joypad_count(); | |
CF_Result joypad_add_mapping(char*); | |
bool input_get_ime_composition(CF_ImeComposition*); | |
void input_set_ime_rect(int, int, int, int); | |
bool input_is_ime_keyboard_shown(); | |
bool input_has_ime_keyboard_support(); | |
bool input_is_ime_enabled(); | |
void input_disable_ime(); | |
void input_enable_ime(); | |
void input_text_clear(); | |
bool input_text_has_data(); | |
int input_text_pop_utf32(); | |
void input_text_add_utf8(char*); | |
void mouse_lock_inside_window(bool); | |
bool mouse_hidden(); | |
void mouse_hide(bool); | |
bool mouse_double_clicked(int); | |
bool mouse_double_click_held(int); | |
float mouse_wheel_motion(); | |
bool mouse_just_released(int); | |
bool mouse_just_pressed(int); | |
bool mouse_down(int); | |
float mouse_y(); | |
float mouse_x(); | |
void clear_key_states(); | |
bool key_gui(); | |
bool key_alt(); | |
bool key_shift(); | |
bool key_ctrl(); | |
bool key_repeating(int); | |
bool key_just_released(int); | |
bool key_just_pressed(int); | |
bool key_down(int); | |
CF_HttpsHeader* https_response_headers(void*); | |
int https_response_headers_count(void*); | |
CF_HttpsHeader https_response_find_header(void*, char*); | |
char* https_response_content(void*); | |
int https_response_content_length(void*); | |
int https_response_code(void*); | |
void* https_response(void*); | |
int https_process(void*); | |
void https_destroy(void*); | |
void https_add_header(void*, char*, char*); | |
void* https_post(char*, int, char*, void*, int, bool); | |
void* https_get(char*, int, char*, bool); | |
char* normalize_path(char*); | |
char* fs_get_actual_path(char*); | |
char* fs_get_backend_specific_error_message(); | |
uint64_t fs_size(CF_File*); | |
uint64_t fs_tell(CF_File*); | |
CF_Result fs_eof(CF_File*); | |
bool fs_file_exists(char*); | |
CF_Result fs_create_directory(char*); | |
CF_Result fs_remove(char*); | |
CF_Result fs_close(CF_File*); | |
CF_File* fs_open_file_for_read(char*); | |
CF_File* fs_open_file_for_append(char*); | |
CF_File* fs_open_file_for_write(char*); | |
CF_File* fs_create_file(char*); | |
CF_Result fs_dismount(char*); | |
CF_Result fs_mount(char*, char*, bool); | |
char* fs_get_user_directory(char*, char*); | |
CF_Result fs_set_write_directory(char*); | |
char* fs_get_base_directory(); | |
CF_Result fs_init(char*); | |
void register_premade_atlas(char*, int, CF_AtlasSubImage*); | |
CF_TemporaryImage fetch_image(CF_Sprite*); | |
void render_to(void*, bool); | |
void draw_canvas(void*, v2, v2); | |
CF_Aabb screen_bounds_to_world(); | |
v2 screen_to_world(v2); | |
v2 world_to_screen(v2); | |
void draw_projection(CF_M3x2); | |
CF_M3x2 draw_peek(); | |
void draw_pop(); | |
void draw_push(); | |
void draw_TSR_absolute(v2, v2, float); | |
void draw_TSR(v2, v2, float); | |
void draw_rotate(float); | |
void draw_translate(float, float); | |
void draw_scale(float, float); | |
v2 draw_mul(v2); | |
void render_settings_set_uniform_color(char*, CF_Color); | |
void render_settings_set_uniform_v2(char*, v2); | |
void render_settings_set_uniform_float(char*, float); | |
void render_settings_set_uniform_int(char*, int); | |
void draw_set_texture(char*, void*); | |
bool draw_peek_alpha_discard(); | |
bool draw_pop_alpha_discard(); | |
void draw_push_alpha_discard(bool); | |
void* draw_peek_shader(); | |
void* draw_pop_shader(); | |
void draw_push_shader(void*); | |
void* make_draw_shader_from_source(char*); | |
void* make_draw_shader(char*); | |
void draw_set_atlas_dimensions(int, int); | |
CF_RenderState draw_peek_render_state(); | |
CF_RenderState draw_pop_render_state(); | |
void draw_push_render_state(CF_RenderState); | |
CF_Rect draw_peek_scissor(); | |
CF_Rect draw_pop_scissor(); | |
void draw_push_scissor(CF_Rect); | |
CF_Rect draw_peek_viewport(); | |
CF_Rect draw_pop_viewport(); | |
void draw_push_viewport(CF_Rect); | |
void draw_text(char*, v2, int); | |
v2 text_size(char*, int); | |
float text_height(char*, int); | |
float text_width(char*, int); | |
float peek_text_wrap_width(); | |
float pop_text_wrap_width(); | |
void push_text_wrap_width(float); | |
int peek_font_blur(); | |
int pop_font_blur(); | |
void push_font_blur(int); | |
float peek_font_size(); | |
float pop_font_size(); | |
void push_font_size(float); | |
char* peek_font(); | |
char* pop_font(); | |
void push_font(char*); | |
void destroy_font(char*); | |
CF_Result make_font_from_memory(void*, int, char*); | |
CF_Result make_font(char*, char*); | |
CF_Color draw_peek_vertex_attributes(); | |
CF_Color draw_pop_vertex_attributes(); | |
void draw_push_vertex_attributes(CF_Color); | |
float draw_peek_antialias_scale(); | |
float draw_pop_antialias_scale(); | |
void draw_push_antialias_scale(float); | |
bool draw_peek_antialias(); | |
bool draw_pop_antialias(); | |
void draw_push_antialias(bool); | |
CF_Color draw_peek_color(); | |
CF_Color draw_pop_color(); | |
void draw_push_color(CF_Color); | |
int draw_peek_layer(); | |
int draw_pop_layer(); | |
void draw_push_layer(int); | |
void draw_arrow(v2, v2, float, float); | |
void draw_bezier_line(v2, v2, v2, v2, int, float); | |
void draw_polygon_fill_simple(v2*, int); | |
void draw_polygon_fill(v2*, int, float); | |
void draw_polyline(v2*, int, float, bool); | |
void draw_line(v2, v2, float); | |
void draw_tri_fill(v2, v2, v2, float); | |
void draw_tri(v2, v2, v2, float, float); | |
void draw_capsule_fill(CF_Capsule); | |
void draw_capsule(CF_Capsule, float); | |
void draw_circle_fill(CF_Circle); | |
void draw_circle(CF_Circle, float); | |
void draw_box_rounded_fill(CF_Aabb, float); | |
void draw_box_rounded(CF_Aabb, float, float); | |
void draw_box_fill(CF_Aabb, float); | |
void draw_box(CF_Aabb, float, float); | |
void draw_quad_fill(CF_Aabb, float); | |
void draw_quad(CF_Aabb, float, float); | |
v2 sprite_get_local_offset(CF_Sprite*); | |
int sprite_get_loop_count(CF_Sprite*); | |
void sprite_set_play_speed_multiplier(CF_Sprite*, float); | |
float sprite_get_play_speed_multiplier(CF_Sprite*); | |
CF_Aabb sprite_get_slice(CF_Sprite*, char*); | |
void sprite_set_loop(CF_Sprite*, bool); | |
bool sprite_get_loop(CF_Sprite*); | |
void sprite_set_opacity(CF_Sprite*, float); | |
float sprite_get_opacity(CF_Sprite*); | |
void sprite_set_offset_y(CF_Sprite*, float); | |
void sprite_set_offset_x(CF_Sprite*, float); | |
float sprite_get_offset_y(CF_Sprite*); | |
float sprite_get_offset_x(CF_Sprite*); | |
void sprite_set_scale_y(CF_Sprite*, float); | |
void sprite_set_scale_x(CF_Sprite*, float); | |
void sprite_set_scale(CF_Sprite*, v2); | |
float sprite_get_scale_y(CF_Sprite*); | |
float sprite_get_scale_x(CF_Sprite*); | |
int sprite_get_height(CF_Sprite*); | |
int sprite_get_width(CF_Sprite*); | |
int sprite_height(CF_Sprite*); | |
int sprite_width(CF_Sprite*); | |
bool sprite_on_loop(CF_Sprite*); | |
bool sprite_will_finish(CF_Sprite*); | |
float sprite_animation_interpolant(CF_Sprite*); | |
float sprite_animation_delay(CF_Sprite*); | |
float sprite_frame_delay(CF_Sprite*); | |
void sprite_set_frame(CF_Sprite*, int); | |
int sprite_get_global_frame(CF_Sprite*); | |
int sprite_current_global_frame(CF_Sprite*); | |
int sprite_get_frame(CF_Sprite*); | |
int sprite_current_frame(CF_Sprite*); | |
int sprite_frame_count(CF_Sprite*); | |
void sprite_flip_y(CF_Sprite*); | |
void sprite_flip_x(CF_Sprite*); | |
void sprite_toggle_pause(CF_Sprite*); | |
void sprite_unpause(CF_Sprite*); | |
void sprite_pause(CF_Sprite*); | |
bool sprite_is_playing(CF_Sprite*, char*); | |
void sprite_play(CF_Sprite*, char*); | |
void sprite_reset(CF_Sprite*); | |
void sprite_update(CF_Sprite*); | |
void draw_sprite(CF_Sprite*); | |
CF_Result clipboard_set(char*); | |
char* clipboard_get(); | |
void music_set_on_finish(char*); | |
void sound_set_on_finish(char*); | |
void sound_stop(void*); | |
void sound_set_sample_index(void*, int); | |
void sound_set_pitch(void*, float); | |
void sound_set_volume(void*, float); | |
void sound_set_is_looped(void*, bool); | |
void sound_set_is_paused(void*, bool); | |
int sound_get_sample_index(void*); | |
float sound_get_pitch(void*); | |
float sound_get_volume(void*); | |
bool sound_get_is_looped(void*); | |
bool sound_get_is_paused(void*); | |
bool sound_is_active(void*); | |
void* play_sound(void*, SoundParams); | |
SoundParams sound_params_defaults(); | |
int music_get_sample_index(); | |
void music_set_sample_index(int); | |
void music_crossfade(void*, float); | |
void music_switch_to(void*, float, float); | |
void music_resume(); | |
void music_pause(); | |
void music_set_pitch(float); | |
void music_set_loop(bool); | |
void music_set_volume(float); | |
void stop_music(float); | |
void play_music(void*, float); | |
void music_stop(float); | |
void music_play(void*, float); | |
void audio_set_pause(bool); | |
void audio_set_sound_volume(float); | |
void audio_set_global_volume(float); | |
void audio_set_pan(float); | |
int audio_channel_count(void*); | |
int audio_sample_count(void*); | |
int audio_sample_rate(void*); | |
void audio_destroy(void*); | |
void* audio_load_wav_from_memory(void*, int); | |
void* audio_load_ogg_from_memory(void*, int); | |
void* audio_load_wav(char*); | |
void* audio_load_ogg(char*); | |
void audio_cull_duplicates(bool); | |
int app_get_power_percentage_left(); | |
int app_get_power_seconds_left(); | |
void app_set_icon(char*); | |
void app_set_title(char*); | |
void app_set_fullscreen_mode(); | |
void app_set_borderless_fullscreen_mode(); | |
void app_set_windowed_mode(); | |
void app_set_canvas_size(int, int); | |
void* app_get_canvas(); | |
ImGuiContext* app_init_imgui(); | |
bool app_get_vsync(); | |
void app_set_vsync(bool); | |
int app_get_canvas_height(); | |
int app_get_canvas_width(); | |
bool app_mouse_inside(); | |
bool app_mouse_exited(); | |
bool app_mouse_entered(); | |
bool app_was_restored(); | |
bool app_maximized(); | |
bool app_minimized(); | |
bool app_was_maximized(); | |
bool app_was_minimized(); | |
bool app_has_focus(); | |
bool app_gained_focus(); | |
bool app_lost_focus(); | |
bool app_was_moved(); | |
bool app_was_resized(); | |
void app_center_window(); | |
bool app_dpi_scaled_was_changed(); | |
float app_get_dpi_scale(); | |
v2 app_get_size(); | |
void app_show_window(); | |
void app_set_size(int, int); | |
void app_set_position(int, int); | |
v2 app_get_position(); | |
int app_get_height(); | |
int app_get_width(); | |
int app_draw_onto_screen(bool); | |
void app_signal_shutdown(); | |
bool app_is_running(); | |
void destroy_app(); | |
CF_Result make_app(char*, uint32_t, int, int, int, int, int, char*); | |
int display_orientation(uint32_t); | |
char* display_name(uint32_t); | |
CF_Rect display_bounds(uint32_t); | |
float display_refresh_rate(uint32_t); | |
int display_height(uint32_t); | |
int display_width(uint32_t); | |
int display_y(uint32_t); | |
int display_x(uint32_t); | |
int display_count(); | |
uint32_t default_display(); | |
void clear_color(float, float, float, float); | |
void commit(); | |
void draw_elements(); | |
void apply_shader(void*, void*); | |
void apply_mesh(void*); | |
void apply_scissor(int, int, int, int); | |
void apply_viewport(int, int, int, int); | |
void apply_canvas(void*, bool); | |
void material_clear_uniforms(void*); | |
void material_set_uniform_fs(void*, char*, void*, int, int); | |
void material_set_uniform_vs(void*, char*, void*, int, int); | |
void material_clear_textures(void*); | |
void material_set_texture_fs(void*, char*, void*); | |
void material_set_texture_vs(void*, char*, void*); | |
void material_set_render_state(void*, CF_RenderState); | |
void destroy_material(void*); | |
void* make_material(); | |
CF_RenderState render_state_defaults(); | |
void destroy_mesh(void*); | |
void* make_mesh(int, CF_VertexAttribute*, int, int); | |
void* canvas_get_depth_stencil_target(void*); | |
void* canvas_get_target(void*); | |
void destroy_canvas(void*); | |
void* make_canvas(CF_CanvasParams); | |
CF_CanvasParams canvas_defaults(int, int); | |
void destroy_shader(void*); | |
void shader_on_changed(char*); | |
void* make_shader_from_source(char*, char*); | |
void shader_directory(char*); | |
void* make_shader(char*, char*); | |
void texture_update(void*, void*, int); | |
void destroy_texture(void*); | |
void* make_texture(CF_TextureParams); | |
CF_TextureParams texture_defaults(int, int); | |
int query_backend(); | |
CF_ToiResult cast_poly_to_poly(CF_Poly, v2, CF_Poly, v2, bool); | |
CF_ToiResult cast_capsule_to_poly(CF_Capsule, v2, CF_Poly, v2, bool); | |
CF_ToiResult cast_capsule_to_capsule(CF_Capsule, v2, CF_Capsule, v2, bool); | |
CF_ToiResult cast_aabb_to_poly(CF_Aabb, v2, CF_Poly, v2, bool); | |
CF_ToiResult cast_aabb_to_capsule(CF_Aabb, v2, CF_Capsule, v2, bool); | |
CF_ToiResult cast_aabb_to_aabb(CF_Aabb, v2, CF_Aabb, v2, bool); | |
CF_ToiResult cast_circle_to_poly(CF_Circle, v2, CF_Poly, v2, bool); | |
CF_ToiResult cast_circle_to_capsule(CF_Circle, v2, CF_Capsule, v2, bool); | |
CF_ToiResult cast_circle_to_aabb(CF_Circle, v2, CF_Aabb, v2, bool); | |
CF_ToiResult cast_circle_to_circle(CF_Circle, v2, CF_Circle, v2, bool); | |
v2 endpoint(CF_Ray); | |
v2 impact(CF_Ray, float); | |
CF_Raycast cast_ray_to_poly(CF_Ray, CF_Poly); | |
CF_Raycast cast_ray_to_capsule(CF_Ray, CF_Capsule); | |
CF_Raycast cast_ray_to_aabb(CF_Ray, CF_Aabb); | |
CF_Raycast cast_ray_to_circle(CF_Ray, CF_Circle); | |
CF_M3x2 ortho_2d(float, float, float, float); | |
CF_Manifold poly_to_poly_manifold(CF_Poly*, CF_Transform*, CF_Poly*, CF_Transform*); | |
CF_Manifold capsule_to_poly_manifold(CF_Capsule, CF_Poly*, CF_Transform*); | |
CF_Manifold aabb_to_poly_manifold(CF_Aabb, CF_Poly*, CF_Transform*); | |
CF_Manifold circle_to_poly_manifold(CF_Circle, CF_Poly*, CF_Transform*); | |
CF_Manifold capsule_to_capsule_manifold(CF_Capsule, CF_Capsule); | |
CF_Manifold aabb_to_capsule_manifold(CF_Aabb, CF_Capsule); | |
CF_Manifold aabb_to_aabb_manifold(CF_Aabb, CF_Aabb); | |
CF_Manifold circle_to_capsule_manifold(CF_Circle, CF_Capsule); | |
CF_Manifold circle_to_aabb_manifold(CF_Circle, CF_Aabb); | |
CF_Manifold circle_to_circle_manifold(CF_Circle, CF_Circle); | |
CF_Raycast ray_to_poly(CF_Ray, CF_Poly*, CF_Transform*); | |
CF_Raycast ray_to_aabb(CF_Ray, CF_Aabb); | |
CF_Raycast ray_to_capsule(CF_Ray, CF_Capsule); | |
CF_Raycast ray_to_circle(CF_Ray, CF_Circle); | |
bool poly_to_poly(CF_Poly, CF_Poly); | |
bool capsule_to_poly(CF_Capsule, CF_Poly); | |
bool aabb_to_poly(CF_Aabb, CF_Poly); | |
bool circle_to_poly(CF_Circle, CF_Poly); | |
bool capsule_to_capsule(CF_Capsule, CF_Capsule); | |
bool aabb_to_capsule(CF_Aabb, CF_Capsule); | |
bool aabb_to_aabb(CF_Aabb, CF_Aabb); | |
bool circle_to_capsule(CF_Circle, CF_Capsule); | |
bool circle_to_aabb(CF_Circle, CF_Aabb); | |
bool circle_to_circle(CF_Circle, CF_Circle); | |
CF_SliceOutput slice(CF_Halfspace, CF_Poly, float); | |
float calc_area(CF_Poly); | |
v2 center_of_mass(CF_Poly); | |
CF_Raycast ray_to_halfspace(CF_Ray, CF_Halfspace); | |
CF_Poly make_poly(v2*, int); | |
void message_box(int, char*, char*); | |
bool is_error(CF_Result); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment