Repository navigation
Vectors and Matrices
A vector is a row of numbers of one type, a matrix is a row of vectors. They are values like a Float: copying one gives a second one, there is nothing to free, and they work as a Global, a Local, a parameter, a return type and a field of a Type. They are not arrays: a Dim array can not hold them yet, and an array declared with a size in brackets (Local a[3] or Local a:Float[3]) is still an array that counts up to the highest index, as in the original.
The size is part of the name of the type: the type, then the width, then for a matrix an x and the height.
| Written | Meaning |
|---|---|
FloatVector3 |
3 Float numbers |
IntVector4 |
4 Int numbers |
FloatMatrix4x3 |
4 columns of 3 numbers (4 wide, 3 high) |
DoubleMatrix2x2 |
a 2 by 2 matrix of Double
|
- Every number type has them:
Byte,UByte,Short,UShort,Int,UInt,Long,ULong,Half,FloatandDouble. - The sizes are width first, then height.
FloatMatrix4x3is 4 vectors ofFloatVector3, andm[column][row]is one number. - A size is from 1 to 1024, and a matrix has two sizes at most.
- The name of the number type can have a size in it:
Int8Vector3,Float32Vector2andUInt16Matrix2x2are vectors and matrices of those number types. - A function of your program with the name of a vector (a function called
FloatVector3) is called instead of making one.
A type name is a function. Give it all numbers, one number for all of them, or vectors and numbers that add up to the size.
Local a:FloatVector3 = FloatVector3(1, 2, 3)
Local b:FloatVector4 = FloatVector4(a, 4)
Local c:FloatVector3 = FloatVector3(7)
Local d:DoubleVector3 = DoubleVector3(a)
Local m:FloatMatrix2x2 = FloatMatrix2x2(FloatVector2(1, 2), FloatVector2(3, 4))
Print b\w
Print c\z
Print d\y
Print m[1][0]4.0
7.0
2.0
3.0
With no numbers the result is all zeros. A vector that is declared without a value is all zeros too.
\x \y \z \w (or \r \g \b \a) are the numbers of a vector with 2 to 4 numbers, and can be changed. Several letters read several numbers as a vector: v\xy, v\zyx. Letters can repeat, and the result can not be assigned to. v[2] is the third number, m[1] is the second column of a matrix, and an index outside of the size is a runtime error.
Local position:FloatVector3 = FloatVector3(1, 2, 3)
Local velocity:FloatVector3 = FloatVector3(0.5, 0, -1)
position = position + velocity * 2
position\y = 10
Print position\x
Print position\y
Print position\z
Print position\zx\x2.0
10.0
1.0
1.0
-
+ - * /,Mod,^and the bit operators work on every number of two vectors (or two matrices) of the same size, and between a vector or matrix and a number.v * 2and2 * vdouble every number. -
*between two matrices is the matrix product, and between a matrix and a vector it is the matrix times a column: a matrix of K columns and M rows times one of N columns and K rows has N columns and M rows, and times a vector of K numbers it gives a vector of M numbers. A vector on the left is a row: a vector of K numbers times a matrix of N columns and K rows gives a vector of N numbers. ForFloatVector3timesFloatVector3it is the product of every number, because that is what vectors do. -
=and<>compare all numbers.<,>and the others, andNot, are errors. - The result has the number type with more bits:
Int16Vector2 + Int8Vector2is anInt16Vector2,FloatVector2 + DoubleVector2is aDoubleVector2. Two vectors of the same number type stay that type, even a small one (Int8Vector2 + Int8Vector2is anInt8Vector2and wraps around,HalfVector2 + HalfVector2is aHalfVector2). An integer vector with a real one (or a real number) follows the rules of the single numbers in Types and numbers. The result goes back to the size of the variable it is assigned to (with the same warnings for losing digits). - Assigning a vector to a vector of another number type converts every number. A different size is an error.
- A vector can not be printed, used as a condition or given where a number is wanted. Convert nothing by accident: write the number you mean (
v\x).
A function can take and return them. It works with a copy of what it was given, so the caller's vector never changes behind its back.
Function Cross:FloatVector3(a:FloatVector3, b:FloatVector3)
Return FloatVector3(a\y * b\z - a\z * b\y, a\z * b\x - a\x * b\z, a\x * b\y - a\y * b\x)
End Function
Local up:FloatVector3 = Cross(FloatVector3(1, 0, 0), FloatVector3(0, 1, 0))
Print up\z
Print Cross(FloatVector3(0, 1, 0), FloatVector3(0, 0, 1))[0]1.0
1.0
-
OutandInOutparameters can not be vectors or matrices yet. - A big result (above 64 KB) is made in memory that all calls of a recursive function share. Do not hold on to one across a recursive call.
- A
Constcan not be a vector.
- A vector or matrix of more than 4096 bytes in a function is made on every call, and above 64 KB it is on the heap. The warning
large-local-arraypoints at them. - The math functions (
Dot,Cross,Normalize,Transposeand so on), the commands for banks and streams, and quaternions are not there yet.
Getting started
Language
- Language
- Types and numbers
- Parameter modes (In, Out, InOut)
- Language Quirks
- Include Files
- Userlib declarations
Tools
Language Features
- Overview
Math (31)
- Overview
- Abs
- ACos
- ASin
- ATan
- ATan2
- ByteSwap 〔BlitzLLVM〕
- Ceil
- Cos
- Exp
- Floor
- LeadingZeros 〔BlitzLLVM〕
- Log
- Log10
- Mod
- Pi
- PopCount 〔BlitzLLVM〕
- RotL 〔BlitzLLVM〕
- RotR 〔BlitzLLVM〕
- SatByte 〔BlitzLLVM〕
- SatInt 〔BlitzLLVM〕
- SatLong 〔BlitzLLVM〕
- SatShort 〔BlitzLLVM〕
- SatUByte 〔BlitzLLVM〕
- SatUInt 〔BlitzLLVM〕
- SatULong 〔BlitzLLVM〕
- SatUShort 〔BlitzLLVM〕
- Sgn
- Sin
- Sqr
- Tan
- TrailingZeros 〔BlitzLLVM〕
Time & Date (8)
BlitzBasic
- Overview
Buffers and Pixels (20)
- Overview
- BackBuffer
- BufferDirty
- CopyPixel
- CopyPixelFast
- CopyRect
- FrontBuffer
- GraphicsBuffer
- LoadBuffer
- LockBuffer
- ReadPixel
- ReadPixel64 〔BlitzLLVM〕
- ReadPixelFast
- ReadPixelFast64 〔BlitzLLVM〕
- SaveBuffer 〔BlitzLLVM〕
- SetBuffer
- UnlockBuffer
- WritePixel
- WritePixel64 〔BlitzLLVM〕
- WritePixelFast
- WritePixelFast64 〔BlitzLLVM〕
Display (48)
- Overview
- AvailVidMem
- AvailVidMem64
- CountDisplayModes 〔BlitzLLVM〕
- CountDisplays 〔BlitzLLVM〕
- CountGfxDrivers
- CountGfxModes
- CountRefreshRates 〔BlitzLLVM〕
- DisplayDepth 〔BlitzLLVM〕
- DisplayHeight 〔BlitzLLVM〕
- DisplayModeDepth 〔BlitzLLVM〕
- DisplayModeHeight 〔BlitzLLVM〕
- DisplayModeRefreshRate 〔BlitzLLVM〕
- DisplayModeWidth 〔BlitzLLVM〕
- DisplayName 〔BlitzLLVM〕
- DisplayRefreshRate 〔BlitzLLVM〕
- DisplayScale 〔BlitzLLVM〕
- DisplayWidth 〔BlitzLLVM〕
- DisplayX 〔BlitzLLVM〕
- DisplayY 〔BlitzLLVM〕
- EndGraphics
- Flip
- GammaBlue
- GammaGreen
- GammaRed
- GfxDriver 〔BlitzLLVM〕
- GfxDriverName
- GfxModeDepth
- GfxModeExists
- GfxModeFormat
- GfxModeHeight
- GfxModeWidth
- Graphics
- GraphicsDepth
- GraphicsFormat
- GraphicsHeight
- GraphicsLost
- GraphicsPalette
- GraphicsWidth
- HidePointer
- PrimaryDisplay 〔BlitzLLVM〕
- RefreshRateAt 〔BlitzLLVM〕
- SetGamma
- SetGfxDriver
- ShowPointer
- TotalVidMem
- TotalVidMem64
- UpdateGamma
- VWait
Fonts and Text (12)
Images (39)
- Overview
- AsyncLoading 〔BlitzLLVM〕
- AsyncSaving 〔BlitzLLVM〕
- AutoMidHandle
- CopyImage
- CreateImage
- DrawBlock
- DrawBlockRect
- DrawImage
- DrawImageRect
- FreeImage
- GrabImage
- HandleImage
- ImageBuffer
- ImageFrameDelay
- ImageFrames
- ImageHeight
- ImageReady 〔BlitzLLVM〕
- ImageRectCollide
- ImageRectOverlap
- ImagesCollide
- ImagesOverlap
- ImageWidth
- ImageXHandle
- ImageYHandle
- LoadAnimImage
- LoadImage
- MaskImage
- MidHandle
- RectsOverlap
- ResizeImage
- RotateImage
- SaveImage 〔BlitzLLVM〕
- SavesFailed 〔BlitzLLVM〕
- SavesPending 〔BlitzLLVM〕
- ScaleImage
- TFormFilter
- TFormImage
- TileBlock
- TileImage
Mouse (25)
- Overview
- DirectInputEnabled
- EnableDirectInput
- FlushMouse
- GetMouse
- HWRawInput
- LastMouseDevice
- LockMouse
- MouseChanged
- MouseDeviceConnected
- MouseDeviceCount
- MouseDeviceName
- MouseDown
- MouseHit
- MouseWait
- MouseX
- MouseXSpeed
- MouseY
- MouseYSpeed
- MouseZ
- MouseZSpeed
- MoveMouse
- RawInput
- RawInputEnabled
- UnlockMouse
- WaitMouse
Movies (15)
- Overview
- CloseMovie
- DrawMovie
- GetMovieTexture 〔BlitzLLVM〕
- LoopMovie 〔BlitzLLVM〕
- MovieHeight
- MovieLength 〔BlitzLLVM〕
- MoviePlaying
- MoviePosition 〔BlitzLLVM〕
- MovieVolume 〔BlitzLLVM〕
- MovieWidth
- OpenMovie
- PauseMovie 〔BlitzLLVM〕
- PlayMovie 〔BlitzLLVM〕
- SeekMovie 〔BlitzLLVM〕
- StopMovie 〔BlitzLLVM〕
Network (26)
- Overview
- AcceptTCPStream
- CloseTCPServer
- CloseTCPStream
- CloseUDPStream
- CountHostAddresses
- CountHostIPs
- CreateTCPServer
- CreateUDPStream
- DottedIP
- GetHostAddress
- GetTCPStreamAddress
- GetUDPMsgAddress
- GetUDPStreamAddress
- HostIP
- OpenTCPStream
- RecvUDPMsg
- SendUDPMsg
- SendUDPMsgTo
- TCPStreamIP
- TCPStreamPort
- TCPTimeouts
- UDPMsgIP
- UDPMsgPort
- UDPStreamIP
- UDPStreamPort
- UDPTimeouts
Blitz3D
- Overview
Animation (16)
BSP (4)
- Overview
- BSPAmbientLight
- BSPLighting
- BSPLightmapColor 〔BlitzLLVM〕
- LoadBSP
Cameras (28)
- Overview
- CameraClsColor
- CameraClsMode
- CameraCulling
- CameraCullingSource
- CameraFogColor
- CameraFogMode
- CameraFogRange
- CameraProject
- CameraProjMode
- CameraRange
- CameraViewport
- CameraZoom
- CreateCamera
- GetCameraBuffer
- GetCameraClipPlane
- GetCameraClipPlaneEnabled
- GetCameraProjectionMatrix
- GetCameraStencil
- GetCameraViewMatrix
- ResetCameraProjectionMatrix
- ResetCameraViewMatrix
- SetCameraBuffer
- SetCameraClipPlane
- SetCameraClipPlaneEnabled
- SetCameraProjectionMatrix
- SetCameraStencil
- SetCameraStencilClear
- SetCameraViewMatrix
Display (9)
- Overview
- CountGfxModes3D
- GfxDriver3D
- GfxDriverCaps3D
- GfxMode3D
- GfxMode3DExists
- GfxMode3DHeight 〔BlitzLLVM〕
- GfxMode3DWidth 〔BlitzLLVM〕
- Graphics3D
- Windowed3D
Entities (46)
- Overview
- AlignToVector
- CopyEntity
- CountChildren
- CreatePivot
- EntityAlpha
- EntityAutoFade
- EntityBlend
- EntityClass
- EntityColor
- EntityDepthFade 〔BlitzLLVM〕
- EntityDistance
- EntityFX
- EntityInView
- EntityLightChannel 〔BlitzLLVM〕
- EntityLighting
- EntityName
- EntityOrder
- EntityParent
- EntityPitch
- EntityReady 〔BlitzLLVM〕
- EntityRoll
- EntityShininess
- EntityStatic 〔BlitzLLVM〕
- EntityTexture
- EntityX
- EntityY
- EntityYaw
- EntityZ
- FindChild
- FreeEntity
- GetChild
- GetMatElement
- GetParent
- HideEntity
- MoveEntity
- NameEntity
- PaintEntity
- PointEntity
- PositionEntity
- RotateEntity
- ScaleEntity
- SetEntityStencil
- SetEntityStencilBack
- ShowEntity
- TranslateEntity
- TurnEntity
Lights (5)
Physics (124)
- Overview
- CreatePhysicsBody 〔BlitzLLVM〕
- CreatePhysicsBodyFromEntity 〔BlitzLLVM〕
- CreatePhysicsConeConstraint 〔BlitzLLVM〕
- CreatePhysicsDistanceConstraint 〔BlitzLLVM〕
- CreatePhysicsFixedConstraint 〔BlitzLLVM〕
- CreatePhysicsHingeConstraint 〔BlitzLLVM〕
- CreatePhysicsPointConstraint 〔BlitzLLVM〕
- CreatePhysicsSliderConstraint 〔BlitzLLVM〕
- CreatePhysicsWorld 〔BlitzLLVM〕
- FreePhysicsConstraint 〔BlitzLLVM〕
- FreePhysicsWorld 〔BlitzLLVM〕
- GetPhysicsAngularDamping 〔BlitzLLVM〕
- GetPhysicsAngularVelocityX 〔BlitzLLVM〕
- GetPhysicsAngularVelocityY 〔BlitzLLVM〕
- GetPhysicsAngularVelocityZ 〔BlitzLLVM〕
- GetPhysicsAwake 〔BlitzLLVM〕
- GetPhysicsBaumgarte 〔BlitzLLVM〕
- GetPhysicsBodyMotion 〔BlitzLLVM〕
- GetPhysicsBodyShape 〔BlitzLLVM〕
- GetPhysicsBodyWorld 〔BlitzLLVM〕
- GetPhysicsConstraintBroken 〔BlitzLLVM〕
- GetPhysicsContactCount 〔BlitzLLVM〕
- GetPhysicsContactDepth 〔BlitzLLVM〕
- GetPhysicsContactEntityA 〔BlitzLLVM〕
- GetPhysicsContactEntityB 〔BlitzLLVM〕
- GetPhysicsContactNX 〔BlitzLLVM〕
- GetPhysicsContactNY 〔BlitzLLVM〕
- GetPhysicsContactNZ 〔BlitzLLVM〕
- GetPhysicsContactReport 〔BlitzLLVM〕
- GetPhysicsContactSensor 〔BlitzLLVM〕
- GetPhysicsContactSlop 〔BlitzLLVM〕
- GetPhysicsContactX 〔BlitzLLVM〕
- GetPhysicsContactY 〔BlitzLLVM〕
- GetPhysicsContactZ 〔BlitzLLVM〕
- GetPhysicsContinuous 〔BlitzLLVM〕
- GetPhysicsContinuousDefault 〔BlitzLLVM〕
- GetPhysicsDeterministic 〔BlitzLLVM〕
- GetPhysicsFriction 〔BlitzLLVM〕
- GetPhysicsGravityScale 〔BlitzLLVM〕
- GetPhysicsGravityX 〔BlitzLLVM〕
- GetPhysicsGravityY 〔BlitzLLVM〕
- GetPhysicsGravityZ 〔BlitzLLVM〕
- GetPhysicsHitDistance 〔BlitzLLVM〕
- GetPhysicsHitEntity 〔BlitzLLVM〕
- GetPhysicsHitNX 〔BlitzLLVM〕
- GetPhysicsHitNY 〔BlitzLLVM〕
- GetPhysicsHitNZ 〔BlitzLLVM〕
- GetPhysicsHitX 〔BlitzLLVM〕
- GetPhysicsHitY 〔BlitzLLVM〕
- GetPhysicsHitZ 〔BlitzLLVM〕
- GetPhysicsLayer 〔BlitzLLVM〕
- GetPhysicsLinearDamping 〔BlitzLLVM〕
- GetPhysicsLinearVelocityX 〔BlitzLLVM〕
- GetPhysicsLinearVelocityY 〔BlitzLLVM〕
- GetPhysicsLinearVelocityZ 〔BlitzLLVM〕
- GetPhysicsMaskHigh 〔BlitzLLVM〕
- GetPhysicsMaskLow 〔BlitzLLVM〕
- GetPhysicsMass 〔BlitzLLVM〕
- GetPhysicsMaxDelta 〔BlitzLLVM〕
- GetPhysicsMaxSteps 〔BlitzLLVM〕
- GetPhysicsMode 〔BlitzLLVM〕
- GetPhysicsOverlap 〔BlitzLLVM〕
- GetPhysicsPositionIterations 〔BlitzLLVM〕
- GetPhysicsRate 〔BlitzLLVM〕
- GetPhysicsRestitution 〔BlitzLLVM〕
- GetPhysicsSensor 〔BlitzLLVM〕
- GetPhysicsSleepThreshold 〔BlitzLLVM〕
- GetPhysicsSolver 〔BlitzLLVM〕
- GetPhysicsSpeculativeDistance 〔BlitzLLVM〕
- GetPhysicsSubsteps 〔BlitzLLVM〕
- GetPhysicsThreads 〔BlitzLLVM〕
- GetPhysicsVelocityIterations 〔BlitzLLVM〕
- GetPhysicsWorldSleeping 〔BlitzLLVM〕
- PhysicsAngularDamping 〔BlitzLLVM〕
- PhysicsAngularVelocity 〔BlitzLLVM〕
- PhysicsApplyAngularImpulse 〔BlitzLLVM〕
- PhysicsApplyForce 〔BlitzLLVM〕
- PhysicsApplyForceAt 〔BlitzLLVM〕
- PhysicsApplyImpulse 〔BlitzLLVM〕
- PhysicsApplyImpulseAt 〔BlitzLLVM〕
- PhysicsApplyTorque 〔BlitzLLVM〕
- PhysicsBaumgarte 〔BlitzLLVM〕
- PhysicsBodyMotion 〔BlitzLLVM〕
- PhysicsBodyWorld 〔BlitzLLVM〕
- PhysicsBoxCast 〔BlitzLLVM〕
- PhysicsCapsuleCast 〔BlitzLLVM〕
- PhysicsConstraintBreakForce 〔BlitzLLVM〕
- PhysicsConstraintLimits 〔BlitzLLVM〕
- PhysicsConstraintMotor 〔BlitzLLVM〕
- PhysicsConstraintSpring 〔BlitzLLVM〕
- PhysicsContactReport 〔BlitzLLVM〕
- PhysicsContactSlop 〔BlitzLLVM〕
- PhysicsContinuous 〔BlitzLLVM〕
- PhysicsContinuousDefault 〔BlitzLLVM〕
- PhysicsDeterministic 〔BlitzLLVM〕
- PhysicsFriction 〔BlitzLLVM〕
- PhysicsGravity 〔BlitzLLVM〕
- PhysicsGravityScale 〔BlitzLLVM〕
- PhysicsLayer 〔BlitzLLVM〕
- PhysicsLinearDamping 〔BlitzLLVM〕
- PhysicsLinearVelocity 〔BlitzLLVM〕
- PhysicsMass 〔BlitzLLVM〕
- PhysicsMaxDelta 〔BlitzLLVM〕
- PhysicsMaxSteps 〔BlitzLLVM〕
- PhysicsMode 〔BlitzLLVM〕
- PhysicsOverlapBox 〔BlitzLLVM〕
- PhysicsOverlapSphere 〔BlitzLLVM〕
- PhysicsPointInside 〔BlitzLLVM〕
- PhysicsPositionIterations 〔BlitzLLVM〕
- PhysicsRate 〔BlitzLLVM〕
- PhysicsRayCast 〔BlitzLLVM〕
- PhysicsRestitution 〔BlitzLLVM〕
- PhysicsSensor 〔BlitzLLVM〕
- PhysicsSleeping 〔BlitzLLVM〕
- PhysicsSleepThreshold 〔BlitzLLVM〕
- PhysicsSolver 〔BlitzLLVM〕
- PhysicsSpeculativeDistance 〔BlitzLLVM〕
- PhysicsSphereCast 〔BlitzLLVM〕
- PhysicsSubsteps 〔BlitzLLVM〕
- PhysicsThreads 〔BlitzLLVM〕
- PhysicsUpdate 〔BlitzLLVM〕
- PhysicsVelocityIterations 〔BlitzLLVM〕
- PhysicsWake 〔BlitzLLVM〕
- PhysicsWorldSleeping 〔BlitzLLVM〕
Sprites (7)
Surfaces (29)
- Overview
- AddTriangle
- AddVertex
- ClearSurface
- CountSurfaces
- CountTriangles
- CountVertices
- CreateSurface
- FindSurface
- GetSurface
- PaintSurface
- TriangleVertex
- UpdateNormals
- VertexAlpha
- VertexBlue
- VertexColor
- VertexCoords
- VertexGreen
- VertexNormal
- VertexNX
- VertexNY
- VertexNZ
- VertexRed
- VertexTexCoords
- VertexU
- VertexV
- VertexW
- VertexX
- VertexY
- VertexZ
Textures (51)
- Overview
- AtlasTexture
- ClearTextureFilters
- CreateSampler 〔BlitzLLVM〕
- CreateTexture
- FreeSampler 〔BlitzLLVM〕
- FreeTexture
- GetSamplerAddressModeU 〔BlitzLLVM〕
- GetSamplerAddressModeV 〔BlitzLLVM〕
- GetSamplerAddressModeW 〔BlitzLLVM〕
- GetSamplerAnisotropy 〔BlitzLLVM〕
- GetSamplerBorderColorA 〔BlitzLLVM〕
- GetSamplerBorderColorB 〔BlitzLLVM〕
- GetSamplerBorderColorG 〔BlitzLLVM〕
- GetSamplerBorderColorR 〔BlitzLLVM〕
- GetSamplerFilterMag 〔BlitzLLVM〕
- GetSamplerFilterMin 〔BlitzLLVM〕
- GetSamplerFilterMip 〔BlitzLLVM〕
- GetSamplerLodBias 〔BlitzLLVM〕
- GetSamplerLodMax 〔BlitzLLVM〕
- GetSamplerLodMin 〔BlitzLLVM〕
- LoadAnimTexture
- LoadAtlas
- LoadTexture
- PositionTexture
- RotateTexture
- SaveTexture 〔BlitzLLVM〕
- ScaleTexture
- SetCubeFace
- SetCubeMode
- SetSamplerAddressModeU 〔BlitzLLVM〕
- SetSamplerAddressModeV 〔BlitzLLVM〕
- SetSamplerAddressModeW 〔BlitzLLVM〕
- SetSamplerAnisotropy 〔BlitzLLVM〕
- SetSamplerBorderColor 〔BlitzLLVM〕
- SetSamplerFilterMag 〔BlitzLLVM〕
- SetSamplerFilterMin 〔BlitzLLVM〕
- SetSamplerFilterMip 〔BlitzLLVM〕
- SetSamplerLodBias 〔BlitzLLVM〕
- SetSamplerLodMax 〔BlitzLLVM〕
- SetSamplerLodMin 〔BlitzLLVM〕
- SetTextureSampler 〔BlitzLLVM〕
- TextureBlend
- TextureBuffer
- TextureCoords
- TextureFilter
- TextureFrameDelay
- TextureFrames
- TextureHeight
- TextureName
- TextureReady 〔BlitzLLVM〕
- TextureWidth
World (21)
- Overview
- ActiveTextures
- AmbientLight
- AntiAlias
- CaptureWorld
- ClearWorld
- Dither
- DitherMode
- DitherTemporal
- GraphicsOrderIndependentTransparency
- HWDither
- HWMultiTex
- HWOrderIndependentTransparency
- HWTexUnits
- RenderCamera
- RenderWorld
- Stats3D
- TransparencyDistanceSortMode
- TrisRendered
- UpdateWorld
- WBuffer
- WireFrame
BlitzPlus
- Overview
Gadgets (50)
- Overview
- ActivateGadget
- AddGadgetItem
- ButtonState
- ClearGadgetItems
- CountGadgetItems
- CreateButton
- CreateComboBox
- CreateHtmlView 〔BlitzLLVM〕
- CreateLabel
- CreateListBox
- CreatePanel
- CreateProgBar
- CreateSlider
- CreateTabber
- DisableGadget
- EnableGadget
- FreeGadget
- GadgetFont
- GadgetGroup
- GadgetHeight
- GadgetItemText
- GadgetText
- GadgetWidth
- GadgetX
- GadgetY
- HideGadget
- HtmlViewBack 〔BlitzLLVM〕
- HtmlViewCurrentURL 〔BlitzLLVM〕
- HtmlViewEventURL 〔BlitzLLVM〕
- HtmlViewForward 〔BlitzLLVM〕
- HtmlViewGo 〔BlitzLLVM〕
- HtmlViewRun 〔BlitzLLVM〕
- HtmlViewStatus 〔BlitzLLVM〕
- InsertGadgetItem
- ModifyGadgetItem
- RemoveGadgetItem
- SelectedGadgetItem
- SelectGadgetItem
- SetButtonState
- SetGadgetFont
- SetGadgetLayout
- SetGadgetShape
- SetGadgetText
- SetPanelColor
- SetPanelImage
- SetSliderRange
- SetSliderValue
- ShowGadget
- SliderValue
- UpdateProgBar
Differences
- Overview
Features (33)
- Asynchronous loading
- Colors
- CPU optimizations
- Debug handle checks
- Debug handle checks: Runtime errors as breakpoints
- GPU optimizations
- GPU optimizations: Sprite shapes
- Image formats
- Include Files
- IPv6
- Language: Data
- Lost graphics device
- Model formats
- Movie controls
- Multiplayer
- Parameter modes (In, Out, InOut)
- Physics
- Profiling your own code
- Quality improvements: Depth buffer
- Quality improvements: Large meshes
- Quality improvements: Many lights
- Quality improvements: Mip maps
- Saving pictures
- Scan Codes
- Sound resampling
- Spherical fog
- Sprite depth fade (soft edges)
- The windows of BlitzPlus
- Types and numbers
- Types and numbers: Number suffixes
- Types and numbers: Void
- Userlib declarations
- Vectors and matrices
Commands (465)
- ActivateWindow
- ActiveObjects
- ActiveWindow
- AddVertex
- AnimateMD2
- AntiAlias
- AppTitle
- AsyncLoading 〔BlitzLLVM〕
- AsyncSaving 〔BlitzLLVM〕
- AvailVidMem
- AvailVidMem64
- BrushTexture
- BSPAmbientLight
- BSPLighting
- BufferDirty
- Byte 〔BlitzLLVM〕
- ByteSwap 〔BlitzLLVM〕
- CameraFogMode
- CanvasBuffer
- ChannelPan
- ChannelPitch
- ChannelPlaying
- ChannelVolume
- ClientHeight
- ClientWidth
- CloseMovie
- Collisions
- CollisionTime
- Confirm
- CopyPixel
- CopyPixelFast
- CopyRect
- CountDisplayModes 〔BlitzLLVM〕
- CountDisplays 〔BlitzLLVM〕
- CountGfxDrivers
- CountGfxModes
- CountHostAddresses
- CountHostIPs
- CountRefreshRates 〔BlitzLLVM〕
- CreateButton
- CreateCanvas
- CreateComboBox
- CreateCone
- CreateCylinder
- CreateHtmlView 〔BlitzLLVM〕
- CreateImage
- CreateLabel
- CreateListBox
- CreateListener
- CreateMenu
- CreatePhysicsBody 〔BlitzLLVM〕
- CreatePhysicsBodyFromEntity 〔BlitzLLVM〕
- CreatePhysicsConeConstraint 〔BlitzLLVM〕
- CreatePhysicsDistanceConstraint 〔BlitzLLVM〕
- CreatePhysicsFixedConstraint 〔BlitzLLVM〕
- CreatePhysicsHingeConstraint 〔BlitzLLVM〕
- CreatePhysicsPointConstraint 〔BlitzLLVM〕
- CreatePhysicsSliderConstraint 〔BlitzLLVM〕
- CreatePhysicsWorld 〔BlitzLLVM〕
- CreatePlane
- CreateSampler 〔BlitzLLVM〕
- CreateSphere
- CreateTabber
- CreateTCPServer
- CreateTerrain
- CreateTextArea
- CreateTexture
- CreateToolBar
- CreateUDPStream
- CreateWindow
- DebugObjects
- Desktop
- DesktopBuffer
- DirectInputEnabled
- DisplayDepth 〔BlitzLLVM〕
- DisplayHeight 〔BlitzLLVM〕
- DisplayModeDepth 〔BlitzLLVM〕
- DisplayModeHeight 〔BlitzLLVM〕
- DisplayModeRefreshRate 〔BlitzLLVM〕
- DisplayModeWidth 〔BlitzLLVM〕
- DisplayName 〔BlitzLLVM〕
- DisplayRefreshRate 〔BlitzLLVM〕
- DisplayScale 〔BlitzLLVM〕
- DisplayWidth 〔BlitzLLVM〕
- DisplayX 〔BlitzLLVM〕
- DisplayY 〔BlitzLLVM〕
- Double 〔BlitzLLVM〕
- DrawBlockRect
- DrawImage
- DrawImageRect
- DrawMovie
- EmitSound
- EnableDirectInput
- EndGraphics
- EntityDepthFade 〔BlitzLLVM〕
- EntityLighting
- EntityStatic 〔BlitzLLVM〕
- EntityTexture
- Flip
- FlipCanvas
- FlushJoy
- FlushKeys
- FlushMouse
- FontHeight
- FontWidth
- FormatTextAreaText
- FreeFont
- FreeImage
- FreePhysicsConstraint 〔BlitzLLVM〕
- FreePhysicsWorld 〔BlitzLLVM〕
- FreeSound
- FreeTexture
- FrontBuffer
- GammaBlue
- GammaGreen
- GammaRed
- GetBrushTexture
- GetHostAddress
- GetJoy
- GetKey
- GetMouse
- GetMovieTexture 〔BlitzLLVM〕
- GetPhysicsAngularDamping 〔BlitzLLVM〕
- GetPhysicsAngularVelocityX 〔BlitzLLVM〕
- GetPhysicsAngularVelocityY 〔BlitzLLVM〕
- GetPhysicsAngularVelocityZ 〔BlitzLLVM〕
- GetPhysicsAwake 〔BlitzLLVM〕
- GetPhysicsBaumgarte 〔BlitzLLVM〕
- GetPhysicsBodyMotion 〔BlitzLLVM〕
- GetPhysicsBodyShape 〔BlitzLLVM〕
- GetPhysicsBodyWorld 〔BlitzLLVM〕
- GetPhysicsConstraintBroken 〔BlitzLLVM〕
- GetPhysicsContactCount 〔BlitzLLVM〕
- GetPhysicsContactDepth 〔BlitzLLVM〕
- GetPhysicsContactEntityA 〔BlitzLLVM〕
- GetPhysicsContactEntityB 〔BlitzLLVM〕
- GetPhysicsContactNX 〔BlitzLLVM〕
- GetPhysicsContactNY 〔BlitzLLVM〕
- GetPhysicsContactNZ 〔BlitzLLVM〕
- GetPhysicsContactReport 〔BlitzLLVM〕
- GetPhysicsContactSensor 〔BlitzLLVM〕
- GetPhysicsContactSlop 〔BlitzLLVM〕
- GetPhysicsContactX 〔BlitzLLVM〕
- GetPhysicsContactY 〔BlitzLLVM〕
- GetPhysicsContactZ 〔BlitzLLVM〕
- GetPhysicsContinuous 〔BlitzLLVM〕
- GetPhysicsContinuousDefault 〔BlitzLLVM〕
- GetPhysicsDeterministic 〔BlitzLLVM〕
- GetPhysicsFriction 〔BlitzLLVM〕
- GetPhysicsGravityScale 〔BlitzLLVM〕
- GetPhysicsGravityX 〔BlitzLLVM〕
- GetPhysicsGravityY 〔BlitzLLVM〕
- GetPhysicsGravityZ 〔BlitzLLVM〕
- GetPhysicsHitDistance 〔BlitzLLVM〕
- GetPhysicsHitEntity 〔BlitzLLVM〕
- GetPhysicsHitNX 〔BlitzLLVM〕
- GetPhysicsHitNY 〔BlitzLLVM〕
- GetPhysicsHitNZ 〔BlitzLLVM〕
- GetPhysicsHitX 〔BlitzLLVM〕
- GetPhysicsHitY 〔BlitzLLVM〕
- GetPhysicsHitZ 〔BlitzLLVM〕
- GetPhysicsLayer 〔BlitzLLVM〕
- GetPhysicsLinearDamping 〔BlitzLLVM〕
- GetPhysicsLinearVelocityX 〔BlitzLLVM〕
- GetPhysicsLinearVelocityY 〔BlitzLLVM〕
- GetPhysicsLinearVelocityZ 〔BlitzLLVM〕
- GetPhysicsMaskHigh 〔BlitzLLVM〕
- GetPhysicsMaskLow 〔BlitzLLVM〕
- GetPhysicsMass 〔BlitzLLVM〕
- GetPhysicsMaxDelta 〔BlitzLLVM〕
- GetPhysicsMaxSteps 〔BlitzLLVM〕
- GetPhysicsMode 〔BlitzLLVM〕
- GetPhysicsOverlap 〔BlitzLLVM〕
- GetPhysicsPositionIterations 〔BlitzLLVM〕
- GetPhysicsRate 〔BlitzLLVM〕
- GetPhysicsRestitution 〔BlitzLLVM〕
- GetPhysicsSensor 〔BlitzLLVM〕
- GetPhysicsSleepThreshold 〔BlitzLLVM〕
- GetPhysicsSolver 〔BlitzLLVM〕
- GetPhysicsSpeculativeDistance 〔BlitzLLVM〕
- GetPhysicsSubsteps 〔BlitzLLVM〕
- GetPhysicsThreads 〔BlitzLLVM〕
- GetPhysicsVelocityIterations 〔BlitzLLVM〕
- GetPhysicsWorldSleeping 〔BlitzLLVM〕
- GetSurfaceBrush
- GetTCPStreamAddress
- GetUDPMsgAddress
- GetUDPStreamAddress
- GfxDriver3D
- GfxDriverCaps3D
- GfxDriverName
- GfxModeDepth
- GfxModeExists
- GfxModeFormat
- GfxModeHeight
- GfxModeWidth
- GrabImage
- Graphics
- Graphics3D
- GraphicsDepth
- GraphicsFormat
- Half 〔BlitzLLVM〕
- HidePointer
- HostIP
- HtmlViewEventURL 〔BlitzLLVM〕
- HtmlViewRun 〔BlitzLLVM〕
- HtmlViewStatus 〔BlitzLLVM〕
- HWMultiTex
- HWRawInput
- ImageBuffer
- ImagesCollide
- Include
- Input
- Int
- JoyChanged
- JoyDeviceConnected
- JoyDeviceCount
- JoyDeviceName
- JoyHat
- JoyType
- JoyWait
- KeyboardChanged
- KeyboardDeviceConnected
- KeyboardDeviceCount
- KeyboardDeviceName
- KeyDown
- KeyHit
- LastJoyDevice
- LastKeyboardDevice
- LastMouseDevice
- LeadingZeros 〔BlitzLLVM〕
- Load3DSound
- LoadAnimMesh
- LoadAnimTexture
- LoadBSP
- LoadBuffer
- LoaderMatrix
- LoadFont
- LoadImage
- LoadMesh
- LoadSound
- LoadTerrain
- LoadTexture
- Locate
- LockBuffer
- LockedFormat
- LockedPitch
- LockedPixels
- LockMouse
- LockTextArea
- Long 〔BlitzLLVM〕
- LoopMovie 〔BlitzLLVM〕
- LoopSound
- MaximizeWindow
- MeshCullBox
- Microseconds 〔BlitzLLVM〕
- MinimizeWindow
- ModifyTerrain
- MouseChanged
- MouseDeviceConnected
- MouseDeviceCount
- MouseDeviceName
- MouseDown
- MouseHit
- MouseX
- MouseXSpeed
- MouseY
- MouseYSpeed
- MouseZ
- MouseZSpeed
- MoveMouse
- MovieHeight
- MovieLength 〔BlitzLLVM〕
- MoviePlaying
- MoviePosition 〔BlitzLLVM〕
- MovieVolume 〔BlitzLLVM〕
- MovieWidth
- Notify
- OpenMovie
- OpenTCPStream
- PauseChannel
- PauseMovie 〔BlitzLLVM〕
- PhysicsAngularDamping 〔BlitzLLVM〕
- PhysicsAngularVelocity 〔BlitzLLVM〕
- PhysicsApplyAngularImpulse 〔BlitzLLVM〕
- PhysicsApplyForce 〔BlitzLLVM〕
- PhysicsApplyForceAt 〔BlitzLLVM〕
- PhysicsApplyImpulse 〔BlitzLLVM〕
- PhysicsApplyImpulseAt 〔BlitzLLVM〕
- PhysicsApplyTorque 〔BlitzLLVM〕
- PhysicsBaumgarte 〔BlitzLLVM〕
- PhysicsBodyMotion 〔BlitzLLVM〕
- PhysicsBodyWorld 〔BlitzLLVM〕
- PhysicsBoxCast 〔BlitzLLVM〕
- PhysicsCapsuleCast 〔BlitzLLVM〕
- PhysicsConstraintBreakForce 〔BlitzLLVM〕
- PhysicsConstraintLimits 〔BlitzLLVM〕
- PhysicsConstraintMotor 〔BlitzLLVM〕
- PhysicsConstraintSpring 〔BlitzLLVM〕
- PhysicsContactReport 〔BlitzLLVM〕
- PhysicsContactSlop 〔BlitzLLVM〕
- PhysicsContinuous 〔BlitzLLVM〕
- PhysicsContinuousDefault 〔BlitzLLVM〕
- PhysicsDeterministic 〔BlitzLLVM〕
- PhysicsFriction 〔BlitzLLVM〕
- PhysicsGravity 〔BlitzLLVM〕
- PhysicsGravityScale 〔BlitzLLVM〕
- PhysicsLayer 〔BlitzLLVM〕
- PhysicsLinearDamping 〔BlitzLLVM〕
- PhysicsLinearVelocity 〔BlitzLLVM〕
- PhysicsMass 〔BlitzLLVM〕
- PhysicsMaxDelta 〔BlitzLLVM〕
- PhysicsMaxSteps 〔BlitzLLVM〕
- PhysicsMode 〔BlitzLLVM〕
- PhysicsOverlapBox 〔BlitzLLVM〕
- PhysicsOverlapSphere 〔BlitzLLVM〕
- PhysicsPointInside 〔BlitzLLVM〕
- PhysicsPositionIterations 〔BlitzLLVM〕
- PhysicsRate 〔BlitzLLVM〕
- PhysicsRayCast 〔BlitzLLVM〕
- PhysicsRestitution 〔BlitzLLVM〕
- PhysicsSensor 〔BlitzLLVM〕
- PhysicsSleeping 〔BlitzLLVM〕
- PhysicsSleepThreshold 〔BlitzLLVM〕
- PhysicsSolver 〔BlitzLLVM〕
- PhysicsSpeculativeDistance 〔BlitzLLVM〕
- PhysicsSphereCast 〔BlitzLLVM〕
- PhysicsSubsteps 〔BlitzLLVM〕
- PhysicsThreads 〔BlitzLLVM〕
- PhysicsUpdate 〔BlitzLLVM〕
- PhysicsVelocityIterations 〔BlitzLLVM〕
- PhysicsWake 〔BlitzLLVM〕
- PhysicsWorldSleeping 〔BlitzLLVM〕
- PickedTime
- PlayCDTrack
- PlayMovie 〔BlitzLLVM〕
- PlayMusic
- PlaySound
- PopCount 〔BlitzLLVM〕
- Proceed
- ProfileBegin
- ProfileEnable
- ProfileEnd
- ProfileFlipCount
- ProfileFPS
- ProfileItemCount
- ProfileItemName
- ProfileOutput
- ProfileSample
- ProfileSlow
- ProfileValue
- ProjectedX
- ProjectedZ
- QueryObject
- RawInput
- RawInputEnabled
- ReadPixel
- ReadPixel64 〔BlitzLLVM〕
- ReadPixelFast
- ReadPixelFast64 〔BlitzLLVM〕
- RefreshRateAt 〔BlitzLLVM〕
- RenderWorld
- RequestColor
- RequestDir
- RequestFile
- RequestFont
- ResizeImage
- ResumeChannel
- RotL 〔BlitzLLVM〕
- RotR 〔BlitzLLVM〕
- RuntimeError
- SatByte 〔BlitzLLVM〕
- SatInt 〔BlitzLLVM〕
- SatLong 〔BlitzLLVM〕
- SatShort 〔BlitzLLVM〕
- SatUByte 〔BlitzLLVM〕
- SatUInt 〔BlitzLLVM〕
- SatULong 〔BlitzLLVM〕
- SatUShort 〔BlitzLLVM〕
- SaveBuffer 〔BlitzLLVM〕
- SaveImage 〔BlitzLLVM〕
- ScaleImage
- ScanLine
- SeekMovie 〔BlitzLLVM〕
- SendUDPMsg
- SendUDPMsgTo
- SetBuffer
- SetChannelFalloff
- SetCubeFace
- SetCubeMode
- SetFalloff
- SetFont
- SetGadgetFont
- SetGamma
- SetGfxDriver
- SetMenuText
- SetMinWindowSize
- SetSamplerAddressModeU 〔BlitzLLVM〕
- SetSamplerAddressModeV 〔BlitzLLVM〕
- SetSamplerAddressModeW 〔BlitzLLVM〕
- SetSamplerAnisotropy 〔BlitzLLVM〕
- SetSamplerBorderColor 〔BlitzLLVM〕
- SetSamplerFilterMag 〔BlitzLLVM〕
- SetSamplerFilterMin 〔BlitzLLVM〕
- SetSamplerFilterMip 〔BlitzLLVM〕
- SetSamplerLodBias 〔BlitzLLVM〕
- SetTextAreaFont
- SetToolBarTips
- SetWindowSizeLimit
- Short 〔BlitzLLVM〕
- ShowPointer
- Single 〔BlitzLLVM〕
- SoundPan
- SoundPitch
- SoundVolume
- SpriteDepthFade 〔BlitzLLVM〕
- SpriteViewMode
- StartNetGame
- Stats3D
- Step
- Stop
- StopChannel
- StopMovie 〔BlitzLLVM〕
- StringHeight
- StringWidth
- SystemProperty
- TCPStreamIP
- TerrainDetail
- TerrainShading
- Text
- TextureBlend
- TextureBuffer
- TextureCoords
- TextureHeight
- TextureName
- TextureWidth
- TFormImage
- TotalVidMem
- TrailingZeros 〔BlitzLLVM〕
- TrisRendered
- UByte 〔BlitzLLVM〕
- UDPMsgIP
- UDPStreamIP
- UInt 〔BlitzLLVM〕
- ULong 〔BlitzLLVM〕
- UnlockMouse
- UpdateGamma
- UpdateWindowMenu
- UShort 〔BlitzLLVM〕
- VertexTexCoords
- VertexW
- VKeyDown
- VKeyHit
- VWait
- WaitJoy
- WBuffer
- WindowScale 〔BlitzLLVM〕
- WindowScaling 〔BlitzLLVM〕
- WireFrame
- Write
- WritePixel
- WritePixel64 〔BlitzLLVM〕
- WritePixelFast
- WritePixelFast64 〔BlitzLLVM〕
More