This post contains the latest TBGL version with help file.
Added since ThinBASIC 1.8.9.0 release
[A] tbgl_PushLineWidth / tbgl_PopLineWidth, tbgl_PushLineStipple / tbgl_PopLineStipple, bgl_PushPointSize / tbgl_PopPointSize, tbgl_PushColor / tbgl_PopColor, tbgl_PushPolygonLook / tbgl_PopPolygonLook, tbgl_PushTexture / tbgl_PopTexture, tbgl_PushAlphaFunc / tbgl_PopAlphaFunc , tbgl_PushBlendFunc / tbgl_PopBlendFunc, tbgl_PushDepthFunc / tbgl_PopDepthFunc
[A] %TBGL_TEX_CRISPANISO
[A] tbgl_SpriteExists
[I] tbgl_Color - this function can now take optional alpha parameter
[I] tbgl_EntitySetPos, tbgl_EntityMove, tbgl_EntityPush, tbgl_EntitySetRot, tbgl_EntityTurn - These functions can now ommit Z parameter
[I] tbgl_Rect - this function can now take optional parameter to force plane aligned rendering
[F] tbgl_GetFontTextSize - works now for all font slots
[A] tbgl_BindWindowEvent, tbgl_UnBindWindowEvent, tbgl_OnDropFiles_GetFileCount, tbgl_OnDropFiles_GetFileName
[A] tbgl_GetTextureData
[F] %TBGL_TEX_ANISO, %TBGL_TEX_CRISPANISO presume level 2 of anisotropy in case programmer does not specify it.
[A] tbgl_EntityGetTexture
[A] tbgl_PrintFont2D
[I] tbgl_BuildFont - returns font slot
[F] tbgl_GetWindowPos, tbgl_SetWindowMinClient
[F] tbgl_ShowCursor
[F] tbgl_PrintFont, tbgl_PrintFont2d
[A] tbgl_GetFreeTextureIndex
How to install?
The attached ZIP file contains two directories - Lib and Help. Your thinBASIC directory contains these directories as well, so you can simply patch the existing installation with the attached update with no further changes necessary.
To make new keywords recognised in ThinAIR, please run the following script in your installation:
\thinBasic\thinAir\Syntax\thinBasic\thinBasic.CreateSyntaxIni.tBasic
Bookmarks