Difference between revisions of "GSDP:GAM100/CProcessing"
From Inside
>Justin.chambers |
>Justin.chambers |
||
Line 3: | Line 3: | ||
{{Columns|3}} | {{Columns|3}} | ||
− | === | + | === Engine === |
− | |||
* [[GSDP:GAM100/CProcessing/CP_System_Run() |CP_System_Run() ]] | * [[GSDP:GAM100/CProcessing/CP_System_Run() |CP_System_Run() ]] | ||
− | |||
* [[GSDP:GAM100/CProcessing/CP_System_Terminate() |CP_System_Terminate() ]] | * [[GSDP:GAM100/CProcessing/CP_System_Terminate() |CP_System_Terminate() ]] | ||
− | |||
* [[GSDP:GAM100/CProcessing/CP_System_SetNextGameState() |CP_System_SetNextGameState() ]] | * [[GSDP:GAM100/CProcessing/CP_System_SetNextGameState() |CP_System_SetNextGameState() ]] | ||
− | |||
* [[GSDP:GAM100/CProcessing/CP_System_SetNextGameStateForced()|CP_System_SetNextGameStateForced()]] | * [[GSDP:GAM100/CProcessing/CP_System_SetNextGameStateForced()|CP_System_SetNextGameStateForced()]] | ||
− | * [[GSDP:GAM100/CProcessing/ | + | * [[GSDP:GAM100/CProcessing/CP_Engine_SetPreUpdateFunction() |CP_Engine_SetPreUpdateFunction() ]] |
+ | * [[GSDP:GAM100/CProcessing/CP_Engine_SetPostUpdateFunction() |CP_Engine_SetPostUpdateFunction() ]] | ||
+ | |||
+ | === System === | ||
+ | * [[GSDP:GAM100/CProcessing/CP_System_SetWindowSize()|CP_System_SetWindowSize()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_System_SetWindowPosition()|CP_System_SetWindowPosition()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_System_Fullscreen()|CP_System_Fullscreen()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_System_FullscreenAdvanced()|CP_System_FullscreenAdvanced()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_System_GetWindowWidth()|CP_System_GetWindowWidth()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_System_GetWindowHeight()|CP_System_GetWindowHeight()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_System_GetDisplayWidth()|CP_System_GetDisplayWidth()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_System_GetDisplayHeight()|CP_System_GetDisplayHeight()]] | ||
* [[GSDP:GAM100/CProcessing/CP_System_GetWindowHandle() |CP_System_GetWindowHandle() ]] | * [[GSDP:GAM100/CProcessing/CP_System_GetWindowHandle() |CP_System_GetWindowHandle() ]] | ||
− | * [[GSDP:GAM100/CProcessing/ | + | * [[GSDP:GAM100/CProcessing/CP_System_SetWindowTitle()|CP_System_SetWindowTitle()]] |
− | * [[GSDP:GAM100/CProcessing/ | + | * [[GSDP:GAM100/CProcessing/CP_System_ShowCursor()|CP_System_ShowCursor()]] |
− | * [[GSDP:GAM100/CProcessing/ | + | * [[GSDP:GAM100/CProcessing/CP_System_ShowConsole()|CP_System_ShowConsole()]] |
+ | * [[GSDP:GAM100/CProcessing/CP_System_GetFrameCount()|CP_System_GetFrameCount()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_System_GetFrameRate()|CP_System_GetFrameRate()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_System_SetFrameRate()|CP_System_SetFrameRate()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_System_GetDt()|CP_System_GetDt()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_System_GetMillis()|CP_System_GetMillis()]] | ||
+ | * [[GSDP:GAM100/CProcessing/CP_System_GetSeconds()|CP_System_GetSeconds()]] | ||
+ | |||
+ | |||
===== Globals ===== | ===== Globals ===== | ||
− | |||
* [[GSDP:GAM100/CProcessing/CP_Input_GetMouseX() |CP_Input_GetMouseX() ]] | * [[GSDP:GAM100/CProcessing/CP_Input_GetMouseX() |CP_Input_GetMouseX() ]] | ||
− | |||
* [[GSDP:GAM100/CProcessing/CP_Input_GetMouseY()|CP_Input_GetMouseY()]] | * [[GSDP:GAM100/CProcessing/CP_Input_GetMouseY()|CP_Input_GetMouseY()]] | ||
− | |||
* [[GSDP:GAM100/CProcessing/CP_Input_GetMousePreviousX()|CP_Input_GetMousePreviousX()]] | * [[GSDP:GAM100/CProcessing/CP_Input_GetMousePreviousX()|CP_Input_GetMousePreviousX()]] | ||
− | |||
* [[GSDP:GAM100/CProcessing/CP_Input_GetMousePreviousY()|CP_Input_GetMousePreviousY()]] | * [[GSDP:GAM100/CProcessing/CP_Input_GetMousePreviousY()|CP_Input_GetMousePreviousY()]] | ||
− | |||
* [[GSDP:GAM100/CProcessing/CP_Input_GetMouseWorldX()|CP_Input_GetMouseWorldX()]] | * [[GSDP:GAM100/CProcessing/CP_Input_GetMouseWorldX()|CP_Input_GetMouseWorldX()]] | ||
− | |||
* [[GSDP:GAM100/CProcessing/CP_Input_GetMouseWorldY()|CP_Input_GetMouseWorldY()]] | * [[GSDP:GAM100/CProcessing/CP_Input_GetMouseWorldY()|CP_Input_GetMouseWorldY()]] | ||
− | + | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
* [[GSDP:GAM100/CProcessing/CP_System_GetCanvasWidth()|CP_System_GetCanvasWidth()]] | * [[GSDP:GAM100/CProcessing/CP_System_GetCanvasWidth()|CP_System_GetCanvasWidth()]] | ||
− | |||
* [[GSDP:GAM100/CProcessing/CP_System_GetCanvasHeight()|CP_System_GetCanvasHeight()]] | * [[GSDP:GAM100/CProcessing/CP_System_GetCanvasHeight()|CP_System_GetCanvasHeight()]] | ||
Revision as of 22:22, 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()
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
Color
- color()
- colorHSV()
- lerpColor()
- lerpColorHSV()
- rgb2hsv()
- hsv2rgb()
- CP_Color_Create()
- CP_ColorHSV_Create()
- CP_Color_Lerp()
- CP_ColorHSV_Lerp()
- CP_Color_FromColorHSV()
- CP_ColorHSV_FromColor()
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()