GSDP:GAM100/CProcessing
From Inside
Release
Overview
Reference
Engine
- CP_Engine_Run()
- CP_Engine_Terminate()
- CP_Engine_SetNextGameState()
- CP_Engine_SetNextGameStateForced()
- CP_Engine_SetPreUpdateFunction()
- CP_Engine_SetPostUpdateFunction()
System
- CP_System_SetWindowSize()
- CP_System_SetWindowPosition()
- CP_System_Fullscreen()
- CP_System_FullscreenAdvanced()
- CP_System_GetWindowWidth()
- CP_System_GetWindowHeight()
- CP_System_GetDisplayWidth()
- CP_System_GetDisplayHeight()
- CP_System_GetWindowHandle()
- CP_System_SetWindowTitle()
- CP_System_ShowCursor()
- CP_System_ShowConsole()
- CP_System_GetFrameCount()
- CP_System_GetFrameRate()
- CP_System_SetFrameRate()
- CP_System_GetDt()
- CP_System_GetMillis()
- CP_System_GetSeconds()
Settings
- CP_Settings_Background()
- CP_Settings_Fill()
- CP_Settings_NoFill()
- CP_Settings_Stroke()
- CP_Settings_NoStroke()
- CP_Settings_StrokeWeight()
- CP_Settings_Tint()
- CP_Settings_NoTint()
- CP_Settings_AntiAlias()
- CP_Settings_LineCapMode()
- CP_Settings_LineJointMode()
- CP_Settings_RectMode()
- CP_Settings_EllipseMode()
- CP_Settings_ImageMode()
- CP_Settings_BlendMode()
- CP_Settings_ImageFilterMode()
- CP_Settings_ImageWrapMode()
- CP_Settings_Save()
- CP_Settings_Restore()
- CP_Settings_ApplyMatrix()
- CP_Settings_ResetMatrix()
- CP_Settings_Scale()
- CP_Settings_Rotate()
- CP_Settings_Translate()
- CP_Settings_TextSize()
- CP_Settings_TextAlignment()
Color
- CP_Color_Create()
- CP_Color_Lerp()
- CP_Color_FromColorHSV()
- CP_ColorHSV_Create()
- CP_ColorHSV_Lerp()
- CP_ColorHSV_FromColor()
Graphics
- CP_Graphics_DrawPoint()
- CP_Graphics_DrawLine()
- CP_Graphics_DrawLineAdvanced()
- CP_Graphics_DrawRect()
- CP_Graphics_DrawRectAdvanced()
- CP_Graphics_DrawCircle()
- CP_Graphics_DrawEllipse()
- CP_Graphics_DrawEllipseAdvanced()
- CP_Graphics_DrawTriangle()
- CP_Graphics_DrawTriangleAdvanced()
- CP_Graphics_DrawQuad()
- CP_Graphics_DrawQuadAdvanced()
- CP_Graphics_BeginShape()
- CP_Graphics_AddVertex()
- CP_Graphics_EndShape()
Image
- CP_Image_Load()
- CP_Image_Free()
- CP_Image_GetWidth()
- CP_Image_GetHeight()
- CP_Image_Draw()
- CP_Image_DrawAdvanced()
- CP_Image_DrawSubImage()
- CP_Image_CreateFromData()
- CP_Image_Screenshot()
- CP_Image_GetPixelData()
- CP_Image_GetPixelBufferSize()
- CP_Image_UpdatePixelData()
Sound
- CP_Sound_Load()
- CP_Sound_LoadMusic()
- CP_Sound_Free()
- CP_Sound_Play()
- CP_Sound_PlayMusic()
- CP_Sound_PlayAdvanced()
- CP_Sound_PauseAll()
- CP_Sound_PauseGroup()
- CP_Sound_ResumeAll()
- CP_Sound_ResumeGroup()
- CP_Sound_StopAll()
- CP_Sound_StopGroup()
- CP_Sound_SetGroupVolume()
- CP_Sound_GetGroupVolume()
- CP_Sound_SetGroupPitch()
- CP_Sound_GetGroupPitch()
Font
Input
- CP_Input_KeyTriggered()
- CP_Input_KeyReleased()
- CP_Input_KeyDown()
- CP_Input_MouseTriggered()
- CP_Input_MouseReleased()
- CP_Input_MouseDragged()
- CP_Input_MouseDown()
- CP_Input_MouseMoved()
- CP_Input_MouseClicked()
- CP_Input_MouseDoubleClicked()
- CP_Input_MouseWheel()
- CP_Input_GetMouseX()
- CP_Input_GetMouseY()
- CP_Input_GetMousePreviousX()
- CP_Input_GetMousePreviousY()
- CP_Input_GetMouseDeltaX()
- CP_Input_GetMouseDeltaY()
- CP_Input_GetMouseWorldX()
- CP_Input_GetMouseWorldY()
- CP_Input_GamepadTriggered()
- CP_Input_GamepadTriggeredAdvanced()
- CP_Input_GamepadReleased()
- CP_Input_GamepadReleasedAdvanced()
- CP_Input_GamepadDown()
- CP_Input_GamepadDownAdvanced()
- CP_Input_GamepadRightTrigger()
- CP_Input_GamepadRightTriggerAdvanced()
- CP_Input_GamepadLeftTrigger()
- CP_Input_GamepadLeftTriggerAdvanced()
- CP_Input_GamepadRightStick()
- CP_Input_GamepadRightStickAdvanced()
- CP_Input_GamepadLeftStick()
- CP_Input_GamepadLeftStickAdvanced()
- CP_Input_GamepadConnected()
- CP_Input_GamepadConnectedAdvanced()
Math
- CP_Math_ClampInt()
- CP_Math_ClampFloat()
- CP_Math_LerpInt()
- CP_Math_LerpFloat()
- CP_Math_Square()
- CP_Math_Distance()
- CP_Math_Degrees()
- CP_Math_Radians()
- CP_Math_ScreenToWorld()
- CP_Math_WorldToScreen()
Vector
- CP_Vector_Set()
- CP_Vector_Zero()
- CP_Vector_Negate()
- CP_Vector_Add()
- CP_Vector_Subtract()
- CP_Vector_Normalize()
- CP_Vector_Scale()
- CP_Vector_MatrixMultiply()
- CP_Vector_Length()
- CP_Vector_Distance()
- CP_Vector_DotProduct()
- CP_Vector_CrossProduct()
- CP_Vector_Angle()
Matrix
- CP_Matrix_Set()
- CP_Matrix_Identity()
- CP_Matrix_FromVector()
- CP_Matrix_Scale()
- CP_Matrix_Translate()
- CP_Matrix_Rotate()
- CP_Matrix_RotateRadians()
- CP_Matrix_Transpose()
- CP_Matrix_Inverse()
- CP_Matrix_Multiply()
Random
- CP_Random_GetBool()
- CP_Random_GetInt()
- CP_Random_RangeInt()
- CP_Random_GetFloat()
- CP_Random_RangeFloat()
- CP_Random_Seed()
- CP_Random_Gaussian()
- CP_Random_Noise()
- CP_Random_NoiseSeed()
Types
Deprecated Code
This section has old function references and past examples to be removed
- CP_System_Run()
- CP_System_Terminate()
- CP_System_SetNextGameState()
- CP_System_SetNextGameStateForced()
- keyPressed()
- keyReleased()
- keyIsDown()
- mousePressed()
- mouseReleased()
- mouseDragged()
- mouseIsDown()
- mouseMoved()
- mouseClicked()
- doubleClicked()
- mouseWheel()
- mat3()
- mat3_identity()
- mat3_set()
- mat3_from_vector()
- mat3_scale()
- mat3_translate()
- mat3_rotate()
- mat3_rotate_rad()
- mat3_transpose()
- mat3_inverse()
- mat3_concat()
- mat3_mult_vec2()
- vec2()
- vec2_zero()
- vec2_set()
- vec2_neg()
- vec2_add()
- vec2_sub()
- vec2_norm()
- vec2_scale()
- vec2_length()
- vec2_distance()
- vec2_dot()
- vec2_cross()
- vec2_angle()
- randomSeed()
- randomFloat()
- randomRangeFloat()
- randomInt()
- randomRangeInt()
- randomGaussian()
- noise()
- noiseSeed()
- setWindowTitle()
- background()
- fill()
- noFill()
- stroke()
- noStroke()
- strokeWeight()
- size()
- fullscreen()
- fullscreenAdvanced()
- blendMode()
- cursor()
- noCursor()
- translate()
- scale()
- scaleX()
- scaleY()
- rotate()
- applyMatrix()
- resetMatrix()
- save()
- restore()
- worldToScreen()
- screenToWorld()
- rect()
- ellipse()
- circle()
- line()
- point()
- triangle()
- quad()
- rectRotated()
- ellipseRotated()
- lineRotated()
- triangleRotated()
- quadRotated()
- beginShape()
- vertex()
- endShape()
- rectMode()
- ellipseMode()
- loadImage()
- loadImageAdvanced()
- image()
- imageRotated()
- imageSize()
- imageMode()
- createImage()
- createImageAdvanced()
- freeImage()
- imageWidth()
- imageHeight()
- imagePixel()
- imageCreateSubimage()
- imageCreateSubimageAdvanced()
- imageCreateTint()
- imageCreateTintAdvanced()
- imageData()
- imageUpdate()
- readFrameBuffer()
- readFrameBufferAdvanced()