IncludeFile #PB_Compiler_Home + "examples/3d/Screen3DRequester.pb" Removed: ASCII mode for internal PureBasic string representation, PureBasic is now unicode only.Īs every beta, only the english doc is up to date for now, so be sure to use it if you want to have more info about new commands. Changed: ParticleVelocity() to support current velocity. Added: #PB_MessageRequester_Info, #PB_MessageRequester_Error and #PB_MessageRequester_Warning for MessageRequester() Added: syntax support, to get the address of a string constant Added: FormatNumber() to have money like formatted numbers easily Added: UTF8() and Ascii() to create easily UTF8 and Ascii string buffers (needs to be freed with FreeMemory()) Added: ResetStructure() which clear and reinitialize a structure buffer Added: DebuggerError(), DebuggerWarning(), CloseDebugOutput() Added: PathSegments(), AddPathSegments() to get/set a path in string format Added: PathBoundsX(), PathBoundsY(), PathBoundsWidth(), PathBoundsHeight() to get the bounding box of a path Added: PathLength(), PathPointX(), PathPointY(), PathPointAngle() Added: RegisterFontFile() to use custom fonts file easily Added: Bounding box size support to CreateEntityBody() Added: GenericJoint() to create any type of joint Added: AddSubEntity() (see CompoundBody.pb) Added: #PB_Entity_PlaneBody, #PB_Entity_ConeBody and #PB_Entity_CompoundBody body type Added: CreateTube(), CreateTorus(), CreateIcoSphere() and CreateCapsule() Added: PickBody() to easily manipulate a 3D body with mouse Added: Vehicle library to create 3D vehicles with wheels easily If your program was already compiled with the unicode switch, then nothing will changed for you (if it does, then there is a bug somewhere, don't hesitate to report it). 2 new helpers functions have been added as well to created easily an ASCII or UTF8 buffer from a string: Ascii() and UTF8(). To sum-up, internal string representation are now always in unicode, and if you need to interact with third part libraries, the suggested approach is to use pseudotypes (p-ascii, p-utf8) combined with Import/EndImport or Prototypes. PureBasic 5.50 is now available as beta in your online account ! The most important change is the unicode only compiler.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |