Repository navigation
Installation
Every push to the root branch builds BlitzLLVM for Windows (x64 and arm64), Linux (x64) and macOS (arm64) and publishes the result as the nightly release: https://github.com/Xaymar/BlitzLLVM/releases/tag/nightly
- Linux: install the two Flatpaks,
blitzllvm-<version>-<commit>-linux-x64-runtime.flatpakfirst and thenblitzllvm-<version>-<commit>-linux-x64.flatpak(-linux-arm64on ARM), withflatpak install --user --bundle <file>. There is no zip, and no deb, rpm, Arch or snap package. The first holds the shared libraries that every program made by BlitzLLVM uses, the second the compiler and tools; see Flatpak. - macOS: install
blitzllvm-<version>-<commit>-macos-universal.pkg. - Windows: run
blitzllvm-<version>-<commit>-windows-setup.exe. It works on x64 and on arm64 Windows, installs the tools of your computer and can build programs for both. It looks for LLVM (clang and lld) onPATHand inC:\Program Files\LLVM\bin, offers to install it withwinget install -e --id LLVM.LLVMwhen it is missing, can add BlitzLLVM toPATH, and comes with an uninstaller. Silent installs (/VERYSILENT) install only BlitzLLVM, add/INSTALLLLVM=yesto install LLVM too. Or downloadblitzllvm-<version>-<commit>-windows.zipand extract it yourself:bin/x86_64has the x64 tools andbin/arm64the arm64 tools.
For the zip:
-
Extract it anywhere. The layout is:
bin/blitzcc the compiler (blitzcc.exe on Windows) bin/blitz-format formats source code, see [[blitz-format]] bin/blitz-recompiler turns executables of the original Blitz compilers into BlitzLLVM programs, see [[Blitz-Recompiler]] lib/blitzllvm/runtime/ the runtime sources (inline/) and the libraries per architecture (x86_64/, arm64/; macOS has them directly), keep lib next to bin userlibs/ user libraries help/ the HTML help in the layout of the Blitz3D help: open help/index.html (the Flatpak has it in /app/share/doc/blitzllvm/help) samples/ the samples of BlitzLLVM: tutorials/, games/ and v1.0/ (feature showcases); the samples and games of the original Blitz3D (original-blitz3d/, with its tutorials) and BlitzPlus (original-blitzplus/) with their media; share/blitzllvm/samples in the deb, rpm and pkg packages -
Optionally add the
bindirectory to yourPATH.
Tagged releases are published at https://github.com/Xaymar/BlitzLLVM/releases with the same files.
If you built it yourself, cmake --install produces the same layout, see Building.
BlitzLLVM writes LLVM IR and hands it to clang, which has to be installed and on your PATH. Use another one with --cc <path> or the BLITZLLVM_CC environment variable.
- Windows: install LLVM from https://github.com/llvm/llvm-project/releases, or the "C++ Clang tools for Windows" component of Visual Studio.
- Debian and Ubuntu:
sudo apt-get install clang - macOS:
xcode-select --install
Programs draw through Vulkan 1.3 into an SDL3 window, so a Vulkan 1.3 capable driver has to be installed. The Vulkan loader is loaded when the program starts, and the result is a single executable. AVIF, JPEG XL, TIFF and WebP images are decoded by shared libraries (avif, dav1d, jxl, tiff, webp and the libraries they use), which blitzcc copies next to programs that open a window; keep them next to the program when you ship it, or those four formats don't load (the program says so on the console). Set BLITZLLVM_HEADLESS=1 to run a program without a window or GPU.
On Windows computers with more than one graphics card (a laptop with an integrated and a dedicated one), programs ask the driver for the high performance card, as blitzcc exports NvOptimusEnablement, NvOptimusEnablementCuda and AmdPowerXpressRequestHighPerformance for them. The setting of Windows for the program (Settings, Display, Graphics) still wins over this.
Save this as hello.bb:
Print "Hello from BlitzLLVM"
and run it (blitzcc builds it in a temporary directory and runs it, like the original), or build an executable:
blitzcc hello.bb
blitzcc -o hello hello.bb
./hello # hello.exe on WindowsUseful options:
blitzcc program.bb # build and run right away (arguments for the program go after --args)
blitzcc -o program program.bb # only build the executable
blitzcc -O2 -o program program.bb # a lower optimization level (the default is -O3)
blitzcc --fast-math full -o program program.bb # also assume that Float math never produces NaN or Infinity (see below)
blitzcc -S program.bb # only write the LLVM IR (program.ll)
blitzcc --target <triple> program.bb # cross-compile (the Windows package builds for x64 and arm64: --target aarch64-w64-mingw32 or x86_64-w64-mingw32)
blitzcc -q program.bb # quiet: no version banner and no warnings
blitzcc -W4 -Werror program.bb # more warnings (-W0 to -W4, -W2 is the default), and any warning is an error, see [[Warnings]]
blitzcc -Wno-implicit-lossy-real-to-int program.bb # turn off one warning
blitzcc +q program.bb # very quiet: no messages from the compiler at all, errors included (it still returns a non-zero exit code)
blitzcc -c program.bb # compile only: check the program, don't create an executable (unless -o is given)
blitzcc -d program.bb # debug: no optimization, with debug information (DWARF, or CodeView for Windows MSVC)
blitzcc -g -O2 program.bb # debug information in an optimized build
blitzcc --console -o program program.bb # Windows: a console program (by default programs have no console window, see [[Differences]])
blitzcc --icon game.ico -o game game.bb # Windows: the icon of the program (without it, programs get the BlitzLLVM icon)
blitzcc -k # list all keywords, runtime functions and userlib functions
blitzcc +k # same, with the syntax of the functions, the way Blitz3D lists them (Left$ ( string$,count% ))
blitzcc --dump-keywords # same, with the syntax in our own notation, every type by its name (Left:String string:String, count:Int32)
blitzcc -v # print the version of the compiler and runtime, like the original
blitzcc --version # print "blitzcc <version>" and exit-
-vprints the version like the original does, and still compiles a file that is given with it. -
--versionprintsblitzcc <version>, likeblitz-format --versionandblitz-tidy --version.--versionand--helpstop right away, whatever else is given. -
--verboseprints the verbose output of the commands that are run. -
+kturns every integer type into a%and every float type into a#, so tools that expect the list of Blitz3D can read it. -
--dump-keywordsdoes not convert anything. It uses the notation of this wiki: the types are written out (Int8,Int32,Int64,Float32,Float64,String,Pointer, ...), a parameter with a default value has it behind an=, and a function that returns nothing has no type behind its name.
The userlibs for -k, +k and --dump-keywords are the .decls files in userlibs next to bin (or in share/blitzllvm/userlibs), or in the directory given with --userlibs-dir.
Userlibs work like they do in Blitz3D. A program that calls a function from a .decls file loads the library it names when it runs, with LoadLibrary (Windows) or dlopen (Linux, macOS), and looks the function up with GetProcAddress or dlsym. The library is loaded on the first call of one of its functions, so it does not have to exist when the program is built.
- The library is looked for in the userlibs directory, next to the program, next to the source file, and then by the system.
user32.dllorlibm.so.6work without being copied anywhere. - The userlibs directory is
--userlibs-dir, then the environment variableBLITZLLVM_USERLIBS, then the one of the installation. - The name in the
.libline is tried as written, and with the extension of the platform (mylib.dllfindslibmylib.soorlibmylib.dylib), so one.declsfile works everywhere. - If the library or the function can not be found, the program stops with a runtime error when the function is called.
- Functions use the C calling convention. Strings are C strings, and banks and objects are passed as the address of their memory.
- A decorated name (
_Name@8) falls back toNameif the library does not export it as written. - Static libraries (
.a,.lib) can not be loaded this way.
blitzcc --help lists all of them.
Programs are built with -O3 and loop unrolling by default. -d builds without optimization.
Float math is controlled with --fast-math:
-
precise(the default, also calledoff) is exact IEEE behavior, with no reordering and no fused multiply-add. The result is the same on every CPU. -
safecompiles with the LLVM fast-math flagsreassoc nsz arcp contract afn. They allow reordering, fused multiply-add and reciprocal math, so results may differ from the original and between CPUs in the last digits. -
fullalso assumes that NaN and Infinity never occur. Checks likex <> x(is this NaN?) are then always false, so it is opt-in.
Arguments and operands are evaluated in the order of the original Blitz3D, which is not left to right (see Language Quirks). --sane-evaluation-order evaluates them from left to right.
The original accepts default values of fields (Field lives% = 3) but never uses them. --field-defaults lets New set the fields to them, see Language Quirks.
--entity-overrides lets EntityColor, EntityAlpha, EntityFX, EntityShininess and PaintEntity replace what the brushes of a model say, where the original combines them (colors and alphas multiplied, FX OR'd, shininess added).
--modern turns on all of them, and --no-<name> turns one off again (--modern --no-field-defaults); the last option for a feature wins. A program can also ask for them itself, with a comment the original ignores in the comments at the top of its main file: ;#pragma modern, ;#pragma entity-overrides or ;#pragma no-sane-evaluation-order. That wins over the options, see Modern Mode.
Programs written for BlitzPlus need --blitzplus: BlitzPlus kept images and fonts when Graphics or EndGraphics ran, while Blitz3D freed them, see Graphics.
The default targets a generic CPU of the architecture. Add --llvm-flag -march=native for a program that only runs on the machine that built it.
Programs on Windows are GUI programs, so starting one does not open a console window. Started from a terminal, a program uses it: Print, Write, Input, DebugLog and runtime errors follow the redirection of the terminal (program.exe > out.txt, 2> log.txt), and the prompt may come back before the output ends (use start /wait program.exe). Started without a terminal there is nothing to print to: Print and DebugLog show nothing (DebugLog still goes to an attached debugger) and a runtime error is shown in a message box. For a program that never opens a window, build it with blitzcc --console, which opens a console window when started without a terminal.
Getting started
Language
- Language
- Types and numbers
- Vectors and matrices
- Parameter modes (In, Out, InOut)
- Language Quirks
- Modern mode
- Include Files
- Userlib declarations
Tools
Language Features
- Overview
Time & Date (8)
BlitzBasic
- Overview
Audio (49)
- Overview
-
AddAudioEffect
-
AddChannelEffect
-
ApplyAudioScene
-
AudioBusParent
-
AudioBusVolume
-
AudioEffectBypass
-
AudioEffectParam
-
AudioSceneBypass
-
AudioSceneListener
-
AudioSceneParam
-
AudioSceneVolume
-
BlendAudioScene
-
CaptureAudioScene
-
ChannelBus
-
ChannelPan
-
ChannelPitch
-
ChannelPlaying
-
ChannelSend
-
ChannelVolume
-
ClearAudioScene
-
CopyAudioScene
-
CreateAudioBus
-
CreateAudioScene
-
FreeAudioBus
-
FreeAudioEffect
-
FreeAudioScene
-
FreeSound
-
GetAudioBusParent
-
GetAudioBusVolume
-
GetAudioEffectParam
-
GetChannelBus
-
GetChannelSend
-
Load3DSound
-
LoadSound
-
LoopSound
-
MusicBus
-
PauseAudioBus
-
PauseChannel
-
PlayCDTrack
-
PlayMusic
-
PlaySound
-
ResumeAudioBus
-
ResumeChannel
-
SoundBus
-
SoundPan
-
SoundPitch
-
SoundVolume
-
StopAudioBus
-
StopChannel
Display (50)
- Overview
-
AvailVidMem
-
AvailVidMem64
-
CountDisplayModes
-
CountDisplays
-
CountGfxDrivers
-
CountGfxModes
-
CountRefreshRates
-
DisplayDepth
-
DisplayHeight
-
DisplayModeDepth
-
DisplayModeHeight
-
DisplayModeRefreshRate
-
DisplayModeWidth
-
DisplayName
-
DisplayRefreshRate
-
DisplayScale
-
DisplayWidth
-
DisplayX
-
DisplayY
-
EndGraphics
-
Flip
-
GammaBlue
-
GammaGreen
-
GammaRed
-
GetGraphicsRefreshRate
-
GfxDriver
-
GfxDriverName
-
GfxModeDepth
-
GfxModeExists
-
GfxModeFormat
-
GfxModeHeight
-
GfxModeWidth
-
Graphics
-
GraphicsDepth
-
GraphicsFormat
-
GraphicsHeight
-
GraphicsLost
-
GraphicsPalette
-
GraphicsWidth
-
HidePointer
-
PrimaryDisplay
-
RefreshRateAt
-
SetGamma
-
SetGfxDriver
-
SetGraphicsRefreshRate
-
ShowPointer
-
TotalVidMem
-
TotalVidMem64
-
UpdateGamma
-
VWait
Fonts and Text (12)
Images (39)
- Overview
-
AsyncLoading
-
AsyncSaving
-
AutoMidHandle
-
CopyImage
-
CreateImage
-
DrawBlock
-
DrawBlockRect
-
DrawImage
-
DrawImageRect
-
FreeImage
-
GrabImage
-
HandleImage
-
ImageBuffer
-
ImageFrameDelay
-
ImageFrames
-
ImageHeight
-
ImageReady
-
ImageRectCollide
-
ImageRectOverlap
-
ImagesCollide
-
ImagesOverlap
-
ImageWidth
-
ImageXHandle
-
ImageYHandle
-
LoadAnimImage
-
LoadImage
-
MaskImage
-
MidHandle
-
RectsOverlap
-
ResizeImage
-
RotateImage
-
SaveImage
-
SavesFailed
-
SavesPending
-
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
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
3D Sound (24)
- Overview
-
ChannelDoppler
-
ChannelRadius
-
CreateListener
-
EmitMovie
-
EmitSound
-
GetChannelDoppler
-
GetChannelFalloff
-
GetChannelRadius
-
GetFalloff
-
GetListenerAirAbsorption
-
GetListenerDistance
-
GetListenerDoppler
-
GetListenerRadius
-
GetListenerRolloff
-
GetSpeedOfSound
-
ListenerAirAbsorption
-
ListenerDistance
-
ListenerDoppler
-
ListenerFalloff
-
ListenerRadius
-
ListenerRolloff
-
SetChannelFalloff
-
SetFalloff
-
SpeedOfSound
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
Entities (46)
- Overview
-
AlignToVector
-
CopyEntity
-
CountChildren
-
CreatePivot
-
EntityAlpha
-
EntityAutoFade
-
EntityBlend
-
EntityClass
-
EntityColor
-
EntityDepthFade
-
EntityDistance
-
EntityFX
-
EntityInView
-
EntityLightChannel
-
EntityLighting
-
EntityName
-
EntityOrder
-
EntityParent
-
EntityPitch
-
EntityReady
-
EntityRoll
-
EntityShininess
-
EntityStatic
-
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
-
CreatePhysicsBodyFromEntity
-
CreatePhysicsConeConstraint
-
CreatePhysicsDistanceConstraint
-
CreatePhysicsFixedConstraint
-
CreatePhysicsHingeConstraint
-
CreatePhysicsPointConstraint
-
CreatePhysicsSliderConstraint
-
CreatePhysicsWorld
-
FreePhysicsConstraint
-
FreePhysicsWorld
-
GetPhysicsAngularDamping
-
GetPhysicsAngularVelocityX
-
GetPhysicsAngularVelocityY
-
GetPhysicsAngularVelocityZ
-
GetPhysicsAwake
-
GetPhysicsBaumgarte
-
GetPhysicsBodyMotion
-
GetPhysicsBodyShape
-
GetPhysicsBodyWorld
-
GetPhysicsConstraintBroken
-
GetPhysicsContactCount
-
GetPhysicsContactDepth
-
GetPhysicsContactEntityA
-
GetPhysicsContactEntityB
-
GetPhysicsContactNX
-
GetPhysicsContactNY
-
GetPhysicsContactNZ
-
GetPhysicsContactReport
-
GetPhysicsContactSensor
-
GetPhysicsContactSlop
-
GetPhysicsContactX
-
GetPhysicsContactY
-
GetPhysicsContactZ
-
GetPhysicsContinuous
-
GetPhysicsContinuousDefault
-
GetPhysicsDeterministic
-
GetPhysicsFriction
-
GetPhysicsGravityScale
-
GetPhysicsGravityX
-
GetPhysicsGravityY
-
GetPhysicsGravityZ
-
GetPhysicsHitDistance
-
GetPhysicsHitEntity
-
GetPhysicsHitNX
-
GetPhysicsHitNY
-
GetPhysicsHitNZ
-
GetPhysicsHitX
-
GetPhysicsHitY
-
GetPhysicsHitZ
-
GetPhysicsLayer
-
GetPhysicsLinearDamping
-
GetPhysicsLinearVelocityX
-
GetPhysicsLinearVelocityY
-
GetPhysicsLinearVelocityZ
-
GetPhysicsMaskHigh
-
GetPhysicsMaskLow
-
GetPhysicsMass
-
GetPhysicsMaxDelta
-
GetPhysicsMaxSteps
-
GetPhysicsMode
-
GetPhysicsOverlap
-
GetPhysicsPositionIterations
-
GetPhysicsRate
-
GetPhysicsRestitution
-
GetPhysicsSensor
-
GetPhysicsSleepThreshold
-
GetPhysicsSolver
-
GetPhysicsSpeculativeDistance
-
GetPhysicsSubsteps
-
GetPhysicsThreads
-
GetPhysicsVelocityIterations
-
GetPhysicsWorldSleeping
-
PhysicsAngularDamping
-
PhysicsAngularVelocity
-
PhysicsApplyAngularImpulse
-
PhysicsApplyForce
-
PhysicsApplyForceAt
-
PhysicsApplyImpulse
-
PhysicsApplyImpulseAt
-
PhysicsApplyTorque
-
PhysicsBaumgarte
-
PhysicsBodyMotion
-
PhysicsBodyWorld
-
PhysicsBoxCast
-
PhysicsCapsuleCast
-
PhysicsConstraintBreakForce
-
PhysicsConstraintLimits
-
PhysicsConstraintMotor
-
PhysicsConstraintSpring
-
PhysicsContactReport
-
PhysicsContactSlop
-
PhysicsContinuous
-
PhysicsContinuousDefault
-
PhysicsDeterministic
-
PhysicsFriction
-
PhysicsGravity
-
PhysicsGravityScale
-
PhysicsLayer
-
PhysicsLinearDamping
-
PhysicsLinearVelocity
-
PhysicsMass
-
PhysicsMaxDelta
-
PhysicsMaxSteps
-
PhysicsMode
-
PhysicsOverlapBox
-
PhysicsOverlapSphere
-
PhysicsPointInside
-
PhysicsPositionIterations
-
PhysicsRate
-
PhysicsRayCast
-
PhysicsRestitution
-
PhysicsSensor
-
PhysicsSleeping
-
PhysicsSleepThreshold
-
PhysicsSolver
-
PhysicsSpeculativeDistance
-
PhysicsSphereCast
-
PhysicsSubsteps
-
PhysicsThreads
-
PhysicsUpdate
-
PhysicsVelocityIterations
-
PhysicsWake
-
PhysicsWorldSleeping
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
-
CreateTexture
-
FreeSampler
-
FreeTexture
-
GetSamplerAddressModeU
-
GetSamplerAddressModeV
-
GetSamplerAddressModeW
-
GetSamplerAnisotropy
-
GetSamplerBorderColorA
-
GetSamplerBorderColorB
-
GetSamplerBorderColorG
-
GetSamplerBorderColorR
-
GetSamplerFilterMag
-
GetSamplerFilterMin
-
GetSamplerFilterMip
-
GetSamplerLodBias
-
GetSamplerLodMax
-
GetSamplerLodMin
-
LoadAnimTexture
-
LoadAtlas
-
LoadTexture
-
PositionTexture
-
RotateTexture
-
SaveTexture
-
ScaleTexture
-
SetCubeFace
-
SetCubeMode
-
SetSamplerAddressModeU
-
SetSamplerAddressModeV
-
SetSamplerAddressModeW
-
SetSamplerAnisotropy
-
SetSamplerBorderColor
-
SetSamplerFilterMag
-
SetSamplerFilterMin
-
SetSamplerFilterMip
-
SetSamplerLodBias
-
SetSamplerLodMax
-
SetSamplerLodMin
-
SetTextureSampler
-
TextureBlend
-
TextureBuffer
-
TextureCoords
-
TextureFilter
-
TextureFrameDelay
-
TextureFrames
-
TextureHeight
-
TextureName
-
TextureReady
-
TextureWidth
World (26)
- Overview
-
ActiveTextures
-
AmbientLight
-
AntiAlias
-
CaptureWorld
-
ClearWorld
-
Dither
-
DitherMode
-
DitherTemporal
-
GetGraphicsHDR
-
GraphicsOrderIndependentTransparency
-
HWDither
-
HWHDRActive
-
HWHDRPeakNits
-
HWHDRSupported
-
HWMultiTex
-
HWOrderIndependentTransparency
-
HWTexUnits
-
RenderCamera
-
RenderWorld
-
SetGraphicsHDR
-
Stats3D
-
TransparencyDistanceSortMode
-
TrisRendered
-
UpdateWorld
-
WBuffer
-
WireFrame
BlitzPlus
- Overview
Gadgets (50)
- Overview
-
ActivateGadget
-
AddGadgetItem
-
ButtonState
-
ClearGadgetItems
-
CountGadgetItems
-
CreateButton
-
CreateComboBox
-
CreateHtmlView
-
CreateLabel
-
CreateListBox
-
CreatePanel
-
CreateProgBar
-
CreateSlider
-
CreateTabber
-
DisableGadget
-
EnableGadget
-
FreeGadget
-
GadgetFont
-
GadgetGroup
-
GadgetHeight
-
GadgetItemText
-
GadgetText
-
GadgetWidth
-
GadgetX
-
GadgetY
-
HideGadget
-
HtmlViewBack
-
HtmlViewCurrentURL
-
HtmlViewEventURL
-
HtmlViewForward
-
HtmlViewGo
-
HtmlViewRun
-
HtmlViewStatus
-
InsertGadgetItem
-
ModifyGadgetItem
-
RemoveGadgetItem
-
SelectedGadgetItem
-
SelectGadgetItem
-
SetButtonState
-
SetGadgetFont
-
SetGadgetLayout
-
SetGadgetShape
-
SetGadgetText
-
SetPanelColor
-
SetPanelImage
-
SetSliderRange
-
SetSliderValue
-
ShowGadget
-
SliderValue
-
UpdateProgBar
Differences
- Overview
Features (37)
- Asynchronous loading
- Blitz-Recompiler
- 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: Arrays
- Language: Control flow
- Language: Data
- Lost graphics device
- Model formats
- Modern mode
- 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 (494)
-
ActivateWindow
-
ActiveObjects
-
ActiveWindow
-
AddAudioEffect
-
AddChannelEffect
-
AddVertex
-
AnimateMD2
-
AntiAlias
-
ApplyAudioScene
-
AppTitle
-
AsyncLoading
-
AsyncSaving
-
AudioBusParent
-
AudioBusVolume
-
AudioEffectBypass
-
AudioEffectParam
-
AudioSceneBypass
-
AudioSceneParam
-
AudioSceneVolume
-
AvailVidMem
-
AvailVidMem64
-
BlendAudioScene
-
BrushTexture
-
BSPAmbientLight
-
BSPLighting
-
BufferDirty
-
Byte
-
ByteSwap
-
CameraFogMode
-
CanvasBuffer
-
CaptureAudioScene
-
ChannelBus
-
ChannelDoppler
-
ChannelPan
-
ChannelPitch
-
ChannelPlaying
-
ChannelRadius
-
ChannelSend
-
ChannelVolume
-
ClientHeight
-
ClientWidth
-
CloseMovie
-
Collisions
-
CollisionTime
-
Confirm
-
CopyPixel
-
CopyPixelFast
-
CopyRect
-
CountDisplayModes
-
CountDisplays
-
CountGfxDrivers
-
CountGfxModes
-
CountHostAddresses
-
CountHostIPs
-
CountRefreshRates
-
CreateButton
-
CreateCanvas
-
CreateComboBox
-
CreateCone
-
CreateCylinder
-
CreateHtmlView
-
CreateImage
-
CreateLabel
-
CreateListBox
-
CreateListener
-
CreateMenu
-
CreatePhysicsBody
-
CreatePhysicsBodyFromEntity
-
CreatePhysicsConeConstraint
-
CreatePhysicsDistanceConstraint
-
CreatePhysicsFixedConstraint
-
CreatePhysicsHingeConstraint
-
CreatePhysicsPointConstraint
-
CreatePhysicsSliderConstraint
-
CreatePhysicsWorld
-
CreatePlane
-
CreateSampler
-
CreateSphere
-
CreateTabber
-
CreateTCPServer
-
CreateTerrain
-
CreateTextArea
-
CreateTexture
-
CreateToolBar
-
CreateUDPStream
-
CreateWindow
-
DebugObjects
-
Desktop
-
DesktopBuffer
-
DirectInputEnabled
-
DisplayDepth
-
DisplayHeight
-
DisplayModeDepth
-
DisplayModeHeight
-
DisplayModeRefreshRate
-
DisplayModeWidth
-
DisplayName
-
DisplayRefreshRate
-
DisplayScale
-
DisplayWidth
-
DisplayX
-
DisplayY
-
Double
-
DrawBlockRect
-
DrawImage
-
DrawImageRect
-
DrawMovie
-
EmitMovie
-
EmitSound
-
EnableDirectInput
-
EndGraphics
-
EntityDepthFade
-
EntityLighting
-
EntityStatic
-
EntityTexture
-
Flip
-
FlipCanvas
-
FlushJoy
-
FlushKeys
-
FlushMouse
-
FontHeight
-
FontWidth
-
FormatTextAreaText
-
FreeAudioEffect
-
FreeFont
-
FreeImage
-
FreePhysicsConstraint
-
FreePhysicsWorld
-
FreeSound
-
FreeTexture
-
FrontBuffer
-
GammaBlue
-
GammaGreen
-
GammaRed
-
GetBrushTexture
-
GetHostAddress
-
GetJoy
-
GetKey
-
GetMouse
-
GetMovieTexture
-
GetPhysicsAngularDamping
-
GetPhysicsAngularVelocityX
-
GetPhysicsAngularVelocityY
-
GetPhysicsAngularVelocityZ
-
GetPhysicsAwake
-
GetPhysicsBaumgarte
-
GetPhysicsBodyMotion
-
GetPhysicsBodyShape
-
GetPhysicsBodyWorld
-
GetPhysicsConstraintBroken
-
GetPhysicsContactCount
-
GetPhysicsContactDepth
-
GetPhysicsContactEntityA
-
GetPhysicsContactEntityB
-
GetPhysicsContactNX
-
GetPhysicsContactNY
-
GetPhysicsContactNZ
-
GetPhysicsContactReport
-
GetPhysicsContactSensor
-
GetPhysicsContactSlop
-
GetPhysicsContactX
-
GetPhysicsContactY
-
GetPhysicsContactZ
-
GetPhysicsContinuous
-
GetPhysicsContinuousDefault
-
GetPhysicsDeterministic
-
GetPhysicsFriction
-
GetPhysicsGravityScale
-
GetPhysicsGravityX
-
GetPhysicsGravityY
-
GetPhysicsGravityZ
-
GetPhysicsHitDistance
-
GetPhysicsHitEntity
-
GetPhysicsHitNX
-
GetPhysicsHitNY
-
GetPhysicsHitNZ
-
GetPhysicsHitX
-
GetPhysicsHitY
-
GetPhysicsHitZ
-
GetPhysicsLayer
-
GetPhysicsLinearDamping
-
GetPhysicsLinearVelocityX
-
GetPhysicsLinearVelocityY
-
GetPhysicsLinearVelocityZ
-
GetPhysicsMaskHigh
-
GetPhysicsMaskLow
-
GetPhysicsMass
-
GetPhysicsMaxDelta
-
GetPhysicsMaxSteps
-
GetPhysicsMode
-
GetPhysicsOverlap
-
GetPhysicsPositionIterations
-
GetPhysicsRate
-
GetPhysicsRestitution
-
GetPhysicsSensor
-
GetPhysicsSleepThreshold
-
GetPhysicsSolver
-
GetPhysicsSpeculativeDistance
-
GetPhysicsSubsteps
-
GetPhysicsThreads
-
GetPhysicsVelocityIterations
-
GetPhysicsWorldSleeping
-
GetSurfaceBrush
-
GetTCPStreamAddress
-
GetUDPMsgAddress
-
GetUDPStreamAddress
-
GfxDriver3D
-
GfxDriverCaps3D
-
GfxDriverName
-
GfxModeDepth
-
GfxModeExists
-
GfxModeFormat
-
GfxModeHeight
-
GfxModeWidth
-
GrabImage
-
Graphics
-
Graphics3D
-
GraphicsDepth
-
GraphicsFormat
-
Half
-
HidePointer
-
HostIP
-
HtmlViewEventURL
-
HtmlViewRun
-
HtmlViewStatus
-
HWMultiTex
-
HWRawInput
-
ImageBuffer
-
ImagesCollide
-
Include
-
Input
-
Int
-
JoyChanged
-
JoyDeviceConnected
-
JoyDeviceCount
-
JoyDeviceName
-
JoyHat
-
JoyType
-
JoyWait
-
KeyboardChanged
-
KeyboardDeviceConnected
-
KeyboardDeviceCount
-
KeyboardDeviceName
-
KeyDown
-
KeyHit
-
LastJoyDevice
-
LastKeyboardDevice
-
LastMouseDevice
-
LeadingZeros
-
ListenerAirAbsorption
-
ListenerDistance
-
ListenerDoppler
-
ListenerFalloff
-
ListenerRadius
-
ListenerRolloff
-
Load3DSound
-
LoadAnimMesh
-
LoadAnimTexture
-
LoadBSP
-
LoadBuffer
-
LoaderMatrix
-
LoadFont
-
LoadImage
-
LoadMesh
-
LoadSound
-
LoadTerrain
-
LoadTexture
-
Locate
-
LockBuffer
-
LockedFormat
-
LockedPitch
-
LockedPixels
-
LockMouse
-
LockTextArea
-
Long
-
LoopMovie
-
LoopSound
-
MaximizeWindow
-
MeshCullBox
-
Microseconds
-
MinimizeWindow
-
ModifyTerrain
-
MouseChanged
-
MouseDeviceConnected
-
MouseDeviceCount
-
MouseDeviceName
-
MouseDown
-
MouseHit
-
MouseX
-
MouseXSpeed
-
MouseY
-
MouseYSpeed
-
MouseZ
-
MouseZSpeed
-
MoveMouse
-
MovieBus
-
MovieChannel
-
MovieHeight
-
MovieLength
-
MoviePlaying
-
MoviePosition
-
MovieVolume
-
MovieWidth
-
Notify
-
OpenMovie
-
OpenTCPStream
-
PauseAudioBus
-
PauseChannel
-
PauseMovie
-
PhysicsAngularDamping
-
PhysicsAngularVelocity
-
PhysicsApplyAngularImpulse
-
PhysicsApplyForce
-
PhysicsApplyForceAt
-
PhysicsApplyImpulse
-
PhysicsApplyImpulseAt
-
PhysicsApplyTorque
-
PhysicsBaumgarte
-
PhysicsBodyMotion
-
PhysicsBodyWorld
-
PhysicsBoxCast
-
PhysicsCapsuleCast
-
PhysicsConstraintBreakForce
-
PhysicsConstraintLimits
-
PhysicsConstraintMotor
-
PhysicsConstraintSpring
-
PhysicsContactReport
-
PhysicsContactSlop
-
PhysicsContinuous
-
PhysicsContinuousDefault
-
PhysicsDeterministic
-
PhysicsFriction
-
PhysicsGravity
-
PhysicsGravityScale
-
PhysicsLayer
-
PhysicsLinearDamping
-
PhysicsLinearVelocity
-
PhysicsMass
-
PhysicsMaxDelta
-
PhysicsMaxSteps
-
PhysicsMode
-
PhysicsOverlapBox
-
PhysicsOverlapSphere
-
PhysicsPointInside
-
PhysicsPositionIterations
-
PhysicsRate
-
PhysicsRayCast
-
PhysicsRestitution
-
PhysicsSensor
-
PhysicsSleeping
-
PhysicsSleepThreshold
-
PhysicsSolver
-
PhysicsSpeculativeDistance
-
PhysicsSphereCast
-
PhysicsSubsteps
-
PhysicsThreads
-
PhysicsUpdate
-
PhysicsVelocityIterations
-
PhysicsWake
-
PhysicsWorldSleeping
-
PickedTime
-
PlayCDTrack
-
PlayMovie
-
PlayMusic
-
PlaySound
-
PopCount
-
Print
-
Proceed
-
ProfileBegin
-
ProfileEnable
-
ProfileEnd
-
ProfileFlipCount
-
ProfileFPS
-
ProfileItemCount
-
ProfileItemName
-
ProfileOutput
-
ProfileSample
-
ProfileSlow
-
ProfileValue
-
ProjectedX
-
ProjectedZ
-
QueryObject
-
RawInput
-
RawInputEnabled
-
ReadPixel
-
ReadPixel64
-
ReadPixelFast
-
ReadPixelFast64
-
RefreshRateAt
-
RenderWorld
-
RequestColor
-
RequestDir
-
RequestFile
-
RequestFont
-
ResizeImage
-
ResumeAudioBus
-
ResumeChannel
-
RotL
-
RotR
-
RuntimeError
-
SatByte
-
SatInt
-
SatLong
-
SatShort
-
SatUByte
-
SatUInt
-
SatULong
-
SatUShort
-
SaveBuffer
-
SaveImage
-
ScaleImage
-
ScanLine
-
SeekMovie
-
SendUDPMsg
-
SendUDPMsgTo
-
SetBuffer
-
SetChannelFalloff
-
SetCubeFace
-
SetCubeMode
-
SetFalloff
-
SetFont
-
SetGadgetFont
-
SetGamma
-
SetGfxDriver
-
SetMenuText
-
SetMinWindowSize
-
SetSamplerAddressModeU
-
SetSamplerAddressModeV
-
SetSamplerAddressModeW
-
SetSamplerAnisotropy
-
SetSamplerBorderColor
-
SetSamplerFilterMag
-
SetSamplerFilterMin
-
SetSamplerFilterMip
-
SetSamplerLodBias
-
SetTextAreaFont
-
SetToolBarTips
-
SetWindowSizeLimit
-
Short
-
ShowPointer
-
Single
-
SoundPan
-
SoundPitch
-
SoundVolume
-
SpeedOfSound
-
SpriteDepthFade
-
SpriteViewMode
-
StartNetGame
-
Stats3D
-
Step
-
Stop
-
StopChannel
-
StopMovie
-
StringHeight
-
StringWidth
-
SystemProperty
-
TCPStreamIP
-
TerrainDetail
-
TerrainShading
-
Text
-
TextureBlend
-
TextureBuffer
-
TextureCoords
-
TextureHeight
-
TextureName
-
TextureWidth
-
TFormImage
-
TotalVidMem
-
TrailingZeros
-
TrisRendered
-
UByte
-
UDPMsgIP
-
UDPStreamIP
-
UInt
-
ULong
-
UnlockMouse
-
UpdateGamma
-
UpdateWindowMenu
-
UShort
-
VertexTexCoords
-
VertexW
-
VKeyDown
-
VKeyHit
-
VWait
-
WaitJoy
-
WBuffer
-
WindowScale
-
WindowScaling
-
WireFrame
-
Write
-
WritePixel
-
WritePixel64
-
WritePixelFast
-
WritePixelFast64
-
ActivateWindow
More