Most Dark Basic Professional if not all, Make Object functions build the object using a triangle-list primitive. So, every three sided polygon in an object uses three vertices. With all the mesh, memblock and vertex data commands, there is no function to build an object of any primitive type. The vertex data is held in video memory. Dark basics DBO format can however display any vertex primitive type it is pointed to.

In my internal version, I have added a function that allows you to build an object of any primitive type you desire. If interested, I can add the finishing touches and post a link. Here is a list of bug fixes and additional functions, so far.

+ Code SnippetVersion 2.0 - SubVersion 1
==========================
Editor
------
Changed resource in dbp_config.dll to Version 2.0.
Cleaned up keyword files.
Added missing and undocumented functions to keyword file.
New functions added to keyword file.
3D Math
-------
Changes to the make and delete vector/matrix functions - no longer return a value. Make Vector2 1
Copy Vector4 - Internal parameters switched. pVecDestination was set to iSource not iDestination. Effectively copying the source to the source vector.
PI - Function added to return pi - Pi()
Radian - Function to change angle in degrees to radians. - Radian [(Angle Degrees)]
Degree - Function to change anglr in radians to degrees. - Degree [(Angle Radians)]
Set Matrix4 Element - Function to set a matrix4 element. - Set Matrix4 Element [Matrix4Result, Element Index, Value]
Set Projection Matrix4 - Function to set camera projection matrix with matrix4 structure. - Set Projection Matrix4 [Matrix4]
Decompose Matrix4 - Function to extract scale, rotation and translation matrix from a combined matrix. - Decompose Matrix4 [ScaleMatrix4Result, RotationMatrix4Result, TranslationMatrix4Result, Matrix4]
AdvancedMatrix
--------------
AdvancedTerrain
---------------
Animation
---------
Basic2D
-------
Note: The Box and Line functions use DirectX and may not be compatable on all video cards when used with Lock Pixels & Unlock Pixels.
Modified 2D core functions dot, point, circle and ellipse.
Circle - Now can be optimized using Lock Pixels & Unlock Pixels for batch operation.
Ellipse - Now can be optimized using Lock Pixels & Unlock Pixels for batch operation.
Circle - Added optional parameter for hollow or filled primitive. - Circle [X, Y, Radius, Fill]
Ellipse - Added optional parameter for hollow or filled primitive. - Ellipse [X, Y, X Radius, Y Radius, Fill]
Paint - Added paint function. - Paint [X, Y]
Bitmap
------
Save Bitmap - Function reintroduced. - Save Bitmap [Filename][Filename, Bitmap Number]
Camera
------
Camera FOV - Added function to return camera field of view. - Camera FOV [*no parameter*][(Camera Number)]
Camera Near - Added function to return camera near clipping distance. - Camera Near [*no parameter*][(Camera Number)]
Camera Far - Added function to return camera far clipping distance. - Camera Far [*no parameter*][(Camera Number)]
Camera Aspect - Added function to return camera aspect ratio. - Camera Aspect [*no parameter*][(Camera Number)]
Move Camera Up - Added function. - Move Camera Up [Distance Value][Camera Number, Distance Value]
Move Camera Down - Added function. - Move Camera Down [Distance Value][Camera Number, Distance Value]
Move Camera Left - Added function. - Move Camera Left [Distance Value][Camera Number, Distance Value]
Move Camera Right - Added function. - Move Camera Right [Distance Value][Camera Number, Distance Value]
Core
----
ARRAY PTR - Function added to return a pointer to an array. - Array Ptr (Array Name())
SNG - Added sgn operator. - Sgn (Value)
File
----
FTP
---
Image
-----
Input
-----
Light
-----
Matrix
------
Memblocks
---------
Multiplayer
-----------
MultiplayerPlus
---------------
Music
-----
Object
------
Stencil Shadows now appear as they did before v1.077rc7.
Make Object Cylinder - Parameter added. - Make Object Cylinder [Object Number, Size, Segments]
Make Object Pyramid - Added missing string table entry. - Make Object Pyramid [Object Number, Size]
Make Object Pyramid - Called internal function MakeMeshPyramid. This function is also called by Set Effect On. Overload of function MakeMeshPyramid added to build a more effective pyramid.
Exclude Object On - Will not effect the source object, when object is a instance of a object.
Exclude Object Off - Will not effect the source object when object is a instance of a object.
Object World Matrix4 - Function added to retrieve object world matrix into matrix4 structure. - Object World Matrix4 [Object Number, Matrix4Result]
Set Object World Matrix4 - Function added to set objects world matrix from matrix4 structure. - Set Object World Matrix4 [Object Number, Matrix4]
Flush Video Memory - Function reintroduced.
Create Object - Function added to create an object of any primitive type. - Create Object [Object Number, FVF, PrimitiveType, PrimitiveCount, VertexCount, IndexCount]
Object Scale X - Function added to return the objects x scale. - Object Scale X [(Object Number)]
Object Scale Y - Function added to return the objects y scale. - Object Scale Y [(Object Number)]
Object Scale Z - Function added to return the objects z scale. - Object Scale Z [(Object Number)]
ODE
---
Particle
--------
Sound
-----
Set Sound Volume - Now has a more natural sounding range 0-100.
Sprite
------
System
------
Device Lost - Function added for lost device detection. - Device Lost [*no parameter*]
Window Active - Function added to check if window is the active window. - Window Active [*no parameter*]
Text
----