Repository navigation
Blitz Recompiler
blitz-recompiler reads the compiled program out of an executable of the original compiler, translates its x86 code to LLVM IR and builds it with blitzcc, so that the program runs on the BlitzLLVM runtime. Only use it on programs that you made, or that you may modify.
blitz-recompiler game.exe -o game-recompiled
blitz-recompiler -S game.exe # only write the LLVM IR
blitz-recompiler --userlibs-dir userlibs game.exe # where the .decls files of its user libraries are| Option | What it does |
|---|---|
-o <file> |
The executable to create. Without it, the name of the input with -recompiled added. |
-S, --emit-llvm
|
Only write the LLVM IR (.ll) and don't build an executable. |
--info, --commands
|
Describe the program (its functions, globals and what it needs from the runtime) and stop; --commands also lists every command it calls. |
--blitzcc <path> |
The blitzcc that builds the IR. Without it, the one next to blitz-recompiler. |
--userlibs-dir <dir> |
Where the .decls files and libraries of its user libraries are, see below. |
--strict |
Fail when a part of the program can't be translated. Without it, that function raises a runtime error when the program calls it. |
-v, -q
|
Print every step, or only errors. |
-- <options> |
Everything after a lone -- goes to blitzcc as it is (-O3, --target, ...). |
The compiler of the original always wrote the same kind of x86 code, and blitz-recompiler only translates that: if the code of a function contains something else, that function can't be translated (see --strict). Strings, instances of your own Types, arrays and Data live in a 32 bit address space inside the program, as in the original; everything the runtime hands out (images, entities, sounds, ...) is a number, as in BlitzLLVM. The commands are called with the arguments that the executable passes, so a program only works if BlitzLLVM has all commands that it uses (--info tells).
Behaviour of the original that BlitzLLVM changes (such as DirectPlay for multiplayer) is changed in recompiled programs too. A recompiled program is a new program: it does not contain the runtime of the original, and it needs the files next to the executable that it needed before.
A program of the original calls the functions of its user libraries (Decls files in the userlibs directory of the original) through addresses that the original runtime filled in. The executable says which function of which DLL a call is (_AddInts@8 in ulib.dll), but not what the function takes and returns: that was only in the .decls file when the program was made. So blitz-recompiler reads the Userlib-Declarations files of the userlibs directory (--userlibs-dir, $BLITZLLVM_USERLIBS, or the directory of the installation) and looks for a declaration of the same library and function for every call. If there is none, blitz-recompiler stops with an error that names the library function and the directory that it searched, and writes nothing.
The DLLs of the original are 32 bit x86 programs, which a BlitzLLVM program can not load. The libraries have to be built for the system of the program (a .so, .dylib or .dll of the same name, as for source programs), and their functions take what a C compiler gives them there. The recompiled program is a 32 bit program inside, so each call gets a small converter (a thunk) that is made from the declaration:
| Original passes | Library gets |
|---|---|
Int (or a smaller number) |
the number, extended to 32 bits like C does |
Float |
a float
|
String |
a pointer to the characters (a C string) |
* (bank) |
the address of the memory of the bank |
Returned Int, Float and String values are converted back the same way; a returned string is copied at once, because the library may reuse its buffer. A declaration that uses a type the original can not pass (Long, Double, Half) is refused, because the program only ever passes 32 bit values. The calling convention is that of the system the program runs on, not stdcall.
Not supported: a pointer to a Type object as a * parameter (only banks), and Windows system DLLs on other systems.
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 (34)
- 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: 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