Difference between revisions of "GSDP:GAM100/CProcessing"
From Inside
>Justin.chambers |
>Justin.chambers |
||
Line 116: | Line 116: | ||
* [[GSDP:GAM100/CProcessing/CP_Sound_GetGroupPitch()|CP_Sound_GetGroupPitch()]] | * [[GSDP:GAM100/CProcessing/CP_Sound_GetGroupPitch()|CP_Sound_GetGroupPitch()]] | ||
+ | === Font === | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Font_GetDefault()|CP_Font_GetDefault()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Font_Load()|CP_Font_Load()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Font_Set()|CP_Font_Set()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Font_DrawText()|CP_Font_DrawText()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Font_DrawTextBox()|CP_Font_DrawTextBox()]] | ||
− | + | === Input === | |
+ | * [[GSDP:GAM100/CProcessing/CP_Input_KeyTriggered()|CP_Input_KeyTriggered()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_KeyReleased()|CP_Input_KeyReleased()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_KeyDown()|CP_Input_KeyDown()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_MouseTriggered()|CP_Input_MouseTriggered()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_MouseReleased()|CP_Input_MouseReleased()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_MouseDragged()|CP_Input_MouseDragged()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_MouseDown()|CP_Input_MouseDown()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_MouseMoved()|CP_Input_MouseMoved()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_MouseClicked()|CP_Input_MouseClicked()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_MouseDoubleClicked()|CP_Input_MouseDoubleClicked()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_MouseWheel()|CP_Input_MouseWheel()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_GetMouseX()|CP_Input_GetMouseX()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_GetMouseY()|CP_Input_GetMouseY()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_GetMousePreviousX()|CP_Input_GetMousePreviousX()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_GetMousePreviousY()|CP_Input_GetMousePreviousY()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_GetMouseDeltaX()|CP_Input_GetMouseDeltaX()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_GetMouseDeltaY()|CP_Input_GetMouseDeltaY()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_GetMouseWorldX()|CP_Input_GetMouseWorldX()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_GetMouseWorldY()|CP_Input_GetMouseWorldY()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_GamepadTriggered()|CP_Input_GamepadTriggered()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_GamepadTriggeredAdvanced()|CP_Input_GamepadTriggeredAdvanced()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_GamepadReleased()|CP_Input_GamepadReleased()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_GamepadReleasedAdvanced()|CP_Input_GamepadReleasedAdvanced()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_GamepadDown()|CP_Input_GamepadDown()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_GamepadDownAdvanced()|CP_Input_GamepadDownAdvanced()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_GamepadRightTrigger()|CP_Input_GamepadRightTrigger()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_GamepadRightTriggerAdvanced()|CP_Input_GamepadRightTriggerAdvanced()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_GamepadLeftTrigger()|CP_Input_GamepadLeftTrigger()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_GamepadLeftTriggerAdvanced()|CP_Input_GamepadLeftTriggerAdvanced()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_GamepadRightStick()|CP_Input_GamepadRightStick()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_GamepadRightStickAdvanced()|CP_Input_GamepadRightStickAdvanced()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_GamepadLeftStick()|CP_Input_GamepadLeftStick()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_GamepadLeftStickAdvanced()|CP_Input_GamepadLeftStickAdvanced()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_GamepadConnected()|CP_Input_GamepadConnected()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_Input_GamepadConnectedAdvanced()|CP_Input_GamepadConnectedAdvanced()]] | ||
Revision as of 23:08, 19 September 2020
Reference
Engine
- CP_System_Run()
- CP_System_Terminate()
- CP_System_SetNextGameState()
- CP_System_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()
Globals
- CP_Input_GetMouseX()
- CP_Input_GetMouseY()
- CP_Input_GetMousePreviousX()
- CP_Input_GetMousePreviousY()
- CP_Input_GetMouseWorldX()
- CP_Input_GetMouseWorldY()
Types
- ShapeMode
- CP_POSITION_MODE
- CP_BLEND_MODE
- PColor
- CP_Color
- PColorHSV
- CP_ColorHSV
- PFont
- CP_Font
- PImage
- CP_Image
- PSound
- CP_Sound
Math
Input
Enums
Functions
- keyPressed()
- CP_Input_KeyTriggered()
- keyReleased()
- CP_Input_KeyReleased()
- keyIsDown()
- CP_Input_KeyDown()
- mousePressed()
- CP_Input_MouseTriggered()
- mouseReleased()
- CP_Input_MouseReleased()
- mouseDragged()
- CP_Input_MouseDragged()
- mouseIsDown()
- CP_Input_MouseDown()
- mouseMoved()
- CP_Input_MouseMoved()
- mouseClicked()
- CP_Input_MouseClicked()
- doubleClicked()
- CP_Input_MouseDoubleClicked()
- mouseWheel()
- CP_Input_MouseWheel()
Math
Utility
- clampFloat()
- CP_Math_ClampFloat()
- clampInt()
- CP_Math_ClampInt()
- lerpFloat()
- CP_Math_LerpFloat()
- lerpInt()
- CP_Math_LerpInt()
- sq()
- CP_Math_Sq()
- degrees()
- CP_Math_Degrees()
- radians()
- CP_Math_Radians()
Matrix
- mat3()
- mat3_identity()
- CP_Matrix_Identity()
- mat3_set()
- CP_Matrix_Set()
- mat3_from_vector()
- CP_Matrix_FromVector()
- mat3_scale()
- CP_Matrix_Scale()
- mat3_translate()
- CP_Matrix_Translate()
- mat3_rotate()
- CP_Matrix_Rotate()
- mat3_rotate_rad()
- CP_Matrix_RotateRadians()
- mat3_transpose()
- CP_Matrix_Transpose()
- mat3_inverse()
- CP_Matrix_Inverse()
- mat3_concat()
- CP_Matrix_Multiply()
Vector
- vec2()
- vec2_zero()
- vec2_set()
- vec2_neg()
- vec2_add()
- vec2_sub()
- vec2_norm()
- vec2_scale()
- mat3_mult_vec2()
- CP_Vector_MatrixMultiply()
- vec2_length()
- vec2_distance()
- vec2_dot()
- vec2_cross()
- vec2_angle()
Random
- randomSeed()
- randomFloat()
- randomRangeFloat()
- randomInt()
- randomRangeInt()
- randomGaussian()
- noise()
- noiseSeed()
Setting
- setWindowTitle()
- background()
- fill()
- noFill()
- stroke()
- noStroke()
- strokeWeight()
- size()
- fullscreen()
- fullscreenAdvanced()
- blendMode()
- cursor()
- noCursor()
- translate()
- scale()
- scaleX()
- scaleY()
- rotate()
- applyMatrix()
- resetMatrix()
- save()
- restore()
- worldToScreen()
- screenToWorld()
Draw Calls
Shape
- rect()
- ellipse()
- circle()
- line()
- point()
- triangle()
- quad()
- rectRotated()
- ellipseRotated()
- lineRotated()
- triangleRotated()
- quadRotated()
- beginShape()
- vertex()
- endShape()
- rectMode()
- ellipseMode()
- CP_Graphics_DrawRect()
- CP_Graphics_DrawEllipse()
- CP_Graphics_DrawCircle()
- CP_Graphics_DrawLine()
- CP_Graphics_DrawPoint()
- CP_Graphics_DrawTriangle()
- CP_Graphics_DrawQuad()
- CP_Graphics_DrawRectAdvanced()
- CP_Graphics_DrawEllipseAdvanced()
- CP_Graphics_DrawLineAdvanced()
- CP_Graphics_DrawTriangleAdvanced()
- CP_Graphics_DrawQuadAdvanced()
- CP_Graphics_BeginShape()
- CP_Graphics_AddVertex()
- CP_Graphics_EndShape()
- CP_Settings_RectMode()
- CP_Settings_EllipseMode()
Image
- loadImage()
- loadImageAdvanced()
- image()
- imageRotated()
- imageSize()
- imageMode()
- createImage()
- createImageAdvanced()
- freeImage()
- imageWidth()
- imageHeight()
- imagePixel()
- imageCreateSubimage()
- imageCreateSubimageAdvanced()
- imageCreateTint()
- imageCreateTintAdvanced()
- imageData()
- imageUpdate()
- readFrameBuffer()
- readFrameBufferAdvanced()
Text
Sound
- soundLoad()
- soundFree()
- soundPlay()
- soundPlayAdvanced()
- soundPauseAll()
- soundResumeAll()
- soundStopAll()
Time
Deprecated Code
This section has old function references and old examples to be removed
- 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()