PureBasic 5.20 LTS is out (Rockstar release)

Developed or developing a new product in PureBasic? Tell the world about it.
Fred
Administrator
Administrator
Posts: 16664
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

PureBasic 5.20 LTS is out (Rockstar release)

Post by Fred »

Hi Folks,

To celebrate GTA V, the new Rockstar game out today, we are very happy to annouce the final 5.20 version of PureBasic ! It's available on your online account, and brings tons of new features and general internal improvement. Here is the full feature list:

Code: Select all

Added: Module support for the compiler
Added: Runtime library
Added: Dialog library
Added: GTK3 subsystem for Linux
Added: DirectX11 subsystem for Windows (doesn't not support the 3D engine for now)
Added: Named enumeration support to allow continuing a previous enumeration
Added: JoystickName(), JoystickZ()
Added: Optional #PB_Relative flag to JoystickX/Y/Z() to have more precise values
Added: Optional pad number to JoystickX/Y/Z() to handle more complex gamepads
Added: ZoomSprite() now accepts #PB_Default as Width/Height to reset to initial sprite size
Added: 'Color' and 'Intensity' parameter to DisplayTransparentSprite()
Added: ClipSprite() now support #PB_Default for individual parameter
Added: #PB_Sprite_PixelCollision flag to CreateSprite(), LoadSprite() to enable pixel collision
Added: Zoom support to SpritePixelCollision() and SpriteCollision()
Added: OpenGL support for SpriteBlending() (warning, it just wraps OpenGL mode, so it can behave different than DirectX)
Added: 32-bit support for SpriteOutput() for DX and OpenGL
Added: #PB_EventType_Focus and #PB_EventType_LostFocus support to EditorGadget()
Added: #PB_EventType_RightClick support to ListViewGadget()
Added: #PB_EventType_Change support to PanelGadget() and DateGadget()
Added: #PB_Prototype and #PB_Module support to Defined()
Added: All Init() functions can be called more than once without issue (like InitSound(), InitNetwork() etc.)
Added: #PB_FileSystem_Force support to DeleteFile()
Added: #PB_FileSystem_NoExtension support to GetFilePart()
Added: Back color parameter to CreateImage()
Added: #PB_Entity_NbSubEntities to GetEntityAttribute()
Added: MeshIndexCount(), SetRenderQueue(), FetchEntityMaterial(), GetMeshData(), SetMeshData()
Added: CPUName(), Un/BindEvent(), Un/BindGadgetEvent(), Un/BindMenuEvent()
Added: Previous location is displayed when declaring a structure, interface, prototype or procedure twice.
Added: 2 license files to easy add the needed information when shipping PB programs (see reference documentation)
Added: Bool() is now evaluated at compile time if the whole expression is constant
Added: Debugger check for SortStructuredList() and SortList() to ensure the specified list is of correct type
Added: Linux executables created on new distribution should still work on old linux.
Added: #PB_EventType_FirstCustomValue for use with PostEvent()
Added: CameraFollow(), ExamineWorldCollisions(), NextWorldCollision(), FirstWorldCollisionEntity(), SecondWorldCollisionEntity()
Added: WorldCollisionContact(), WorldCollisionNormal(), WorldCollisionAppliedImpulse()
Added: BuildMeshTangents(), MeshVertexTangent(), CopyTexture()
Added: Pitch(), Roll(), Yaw()
Added: #PB_Gadget_RequiredSize support for GadgetWidth/Height()
Added: #PB_Entity_LinearSleeping, #PB_Entity_AngularSleeping, #PB_Entity_DeactivationTime, #PB_Entity_IsActive,
Added: #PB_Entity_AngularVelocityX/Y/Z, #PB_Entity_ScaleX/Y/Z, #PB_Entity_AngularVelocity, #PB_Entity_HasContactResponse for Get/SetEntityAttribute()

Optimized: Pixel sprite collision routines are now much faster with DirectX
Optimized: More peephole optimizations on x64 assembler output
Optimized: Faster compilation for big programs
Optimized: Linux build server have been upgraded, now using a better GCC which produce better code.

Changed: SpinGadget() EventType are now #PB_EventType_Up and #PB_EventType_Down instead of -1 and 1.
Changed: renamed ZoomSprite3D() to ZoomSprite()
Changed: renamed TransformSprite3D() to TransformSprite()
Changed: renamed RotateSprite3D() to RotateSprite()
Changed: renamed Sprite3DQuality() to SpriteQuality() 
Changed: renamed Sprite3DBlending() to SpriteBlending()
Changed: renamed the whole 'Module' library to 'Music'
Changed: renamed Frame3DGadget() to FrameGadget()
Changed: renamed Frame3DGadget3D() to FrameGadget3D()
Changed: renamed #PB_Shorcut_Prior to #PB_Shorcut_PageUp and #PB_Shorcut_Next to #PB_Shorcut_PageDown
Changed: Packer plugin constant renamed to #PB_PackerPlugin_XXX
Changed: RayCollide() now returns the colliding #Entity.

Updated: WebGadget() on Windows doesn't needs ATL.dll anymore
Updated: zlib to 1.2.8
Updated: pqlib (PostgreSQL) to 9.2.4
Updated: ziplib to 0.11.1
Updated: SCNotification scintilla structure

Removed: Mozilla ActiveX support for WebGadget() on Windows as the last ActiveX version is way too old (2005)
Removed: Sprite3D library (merged with regular sprite library)
Removed: Palette library (outdated)
Removed: RenderMovieFrame() and #PB_Movie_Rendered (outdated)
Removed: DisplayTranslucentSprite() -> replaced with 'Alpha' parameter for DisplayTransparentSprite()
Removed: DisplaySolidSprite() -> replaced with 'Color' parameter for DisplayTransparentSprite()
Removed: DisplayRGBFilter() -> can be replaced with a zoomed sprite with color
Removed: DisplayShadowSprite() -> can be replaced with DisplayTransparentSprite() with color
Removed: StartSpecialFX(), StopSpecialFX(), DisplayAlphaSprite(), ChangeAlphaIntensity(), UseBuffer()
Removed: SetWindowCallback() on OS X, can be replaced with BindEvent()
Removed: Carbon subsystem on OS X, it was too old be used with new libs
We would like to thanks again all the beta testers who found tons a issues and all the help we got from various people, especially on the doc side ! This a LTS (Long Term Support) release, so it will be bug fixed for 2 years until 17th September 2015, while the commandset and compiler functions won't be modified.

Have fun coding,

The Fantaisie Software Team.
eesau
Enthusiast
Enthusiast
Posts: 589
Joined: Fri Apr 27, 2007 12:38 pm
Location: Finland

Re: PureBasic 5.20 LTS is out (Rockstar release)

Post by eesau »

Awesome, congratulations and thanks for all the hard work!
PMV
Enthusiast
Enthusiast
Posts: 727
Joined: Sat Feb 24, 2007 3:15 pm
Location: Germany

Re: PureBasic 5.20 LTS is out (Rockstar release)

Post by PMV »

I want to say thank you for this milestone Image
auser
Enthusiast
Enthusiast
Posts: 195
Joined: Wed Sep 06, 2006 6:59 am

Re: PureBasic 5.20 LTS is out (Rockstar release)

Post by auser »

Thank you... there are some nice additions. :)
User avatar
Shield
Addict
Addict
Posts: 1021
Joined: Fri Jan 21, 2011 8:25 am
Location: 'stralia!
Contact:

Re: PureBasic 5.20 LTS is out (Rockstar release)

Post by Shield »

Cool!
Image
Blog: Why Does It Suck? (http://whydoesitsuck.com/)
"You can disagree with me as much as you want, but during this talk, by definition, anybody who disagrees is stupid and ugly."
- Linus Torvalds
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: PureBasic 5.20 LTS is out (Rockstar release)

Post by PB »

Thanks, team! :)

Also, don't forget everyone, that while updates like this are 100% free,
you can still make an optional donation at PureBasic.com to show your
continued support and appreciation. Even just a few bucks is okay.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
User avatar
Tenaja
Addict
Addict
Posts: 1949
Joined: Tue Nov 09, 2010 10:15 pm

Re: PureBasic 5.20 LTS is out (Rockstar release)

Post by Tenaja »

You will be seeing a tangible thank you very soon.

:D
User avatar
Bisonte
Addict
Addict
Posts: 1232
Joined: Tue Oct 09, 2007 2:15 am

Re: PureBasic 5.20 LTS is out (Rockstar release)

Post by Bisonte »

Image
PureBasic 6.10 LTS (Windows x86/x64) | Windows10 Pro x64 | Asus TUF X570 Gaming Plus | R9 5900X | 64GB RAM | GeForce RTX 3080 TI iChill X4 | HAF XF Evo | build by vannicom​​
English is not my native language... (I often use DeepL to translate my texts.)
User avatar
KJ67
Enthusiast
Enthusiast
Posts: 218
Joined: Fri Jun 26, 2009 3:51 pm
Location: Westernmost tip of Norway

Re: PureBasic 5.20 LTS is out (Rockstar release)

Post by KJ67 »

Thank you! :D
The best preparation for tomorrow is doing your best today.
c4s
Addict
Addict
Posts: 1981
Joined: Thu Nov 01, 2007 5:37 pm
Location: Germany

Re: PureBasic 5.20 LTS is out (Rockstar release)

Post by c4s »

That's definitely one of the most polished releases so far. Thank you very much!


Offtopic:
Fred wrote:To celebrate GTA V, the new Rockstar game [...]
You really earned yourself some gaming time for this cool game. Hopefully it will be released for the PC as well... :?
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
davido
Addict
Addict
Posts: 1890
Joined: Fri Nov 09, 2012 11:04 pm
Location: Uttoxeter, UK

Re: PureBasic 5.20 LTS is out (Rockstar release)

Post by davido »

Thanks PB Team for all the hard work and patience in bringing out the 3rd great release in less than one year! :D
DE AA EB
gekkonier
User
User
Posts: 78
Joined: Mon Apr 23, 2007 9:42 am

Re: PureBasic 5.20 LTS is out (Rockstar release)

Post by gekkonier »

Dang! 5.20 release and fresh gta...

... that means goodbye reallife :twisted:

Thank you for all your hard work!
User avatar
tj1010
Enthusiast
Enthusiast
Posts: 624
Joined: Mon Feb 25, 2013 5:51 pm
Location: US or Estonia
Contact:

Re: PureBasic 5.20 LTS is out (Rockstar release)

Post by tj1010 »

gekkonier wrote:Dang! 5.20 release and fresh gta...

... that means goodbye reallife :twisted:

Thank you for all your hard work!

lol yeah.. and for a good while considering how big GTA V is.. It's one of the only games actually worth 60 USD IMO
The truth hurts.
User avatar
Rings
Moderator
Moderator
Posts: 1427
Joined: Sat Apr 26, 2003 1:11 am

Re: PureBasic 5.20 LTS is out (Rockstar release)

Post by Rings »

Rockstar wrote:Welcome to Los Santos 'fred', have a nice Day
maybe we met at the Los Santos Golf course for a round ?
SPAMINATOR NR.1
sec
Enthusiast
Enthusiast
Posts: 789
Joined: Sat Aug 09, 2003 3:13 am
Location: 90-61-92 // EU or ASIA
Contact:

Re: PureBasic 5.20 LTS is out (Rockstar release)

Post by sec »

what is GTA V?
Post Reply