ZenGL 0.2 RC6 released.
Changelog:
- [Direct3D]fixed problem with render targets when using FreePascal 2.4.x
- [Direct3D]fixed tex_SetMask, wich was broken in RC5
- [Direct3D]fixed problems with camera and render targets
- [OpenGL]fixed slow terminating in some cases
- [Linux]DIRECTORY_HOME will return $HOME/.config/
- [Windows]timers will stop when window is moving(with enabled APP_USE_AUTPAUSE)
- [Windows]rendering will not stop when window is moving(with disabled APP_USE_AUTPAUSE)
- [MacOS X]fixed problem with wnd_SetCaption when using dylib
- [MacOS X]removed deprecated SetWTitle from wnd_SetCaption
- [MacOS X]DIRECTORY_HOME will return /Users/$username/Library/Preferences
- [MacOS X]all resources will checks first in App/Contents/Resources
- [MacOS X]log-file now puts near bundle
- optimized all functions which loads resources from memory
- fixed potential memory leak in font_LoadFromFile and font_LoadFromMemory
- fixed bug with scaling of text(the right bottom corner)
- PasJPEG replaced by original libjpeg8b(speed up to 5x for FreePascal and USE_LIBJPEG, by default enabled for GNU/Linux and MacOS X)
- PasZLib was replaced by original zlib 1.2.5(speed up to 1.5x)
- optimizaed loading of ini-files
- cam2d_Set now works like cam2d_Apply, but doesn't applied automatically when render target is set. cam2d_Apply was removed
- now ini_LoadFromFile and file_Open returns a result
- argument Directory was added to file_Exists for checking if directory exists
- now rtarget_Add is more "safe"
- behavior of rtarget_Set when use camera was changed, now camera works only for TARGET_SCREEN, for TARGET_TEXTURE it must be set manually
- changed declaration of ini_ReadKeyStr, key_GetText, file_GetName, file_GetExtension and file_GetDirectory
- file_Find now sorts the list
- now mouse_X/mouse_Y returns coordinates using global mouse position for all OS's
- added new functions: cam2d_Get and sengine2d_Get
- added argument SeparateAlpha to fx_SetBlendMode
- improved particles subsystem
- added loading of emitters from files
- added new constants for zgl_Get: ZGL_VERSION, ZGL_VERSION_STRING, ZGL_VERSION_DATE and MANAGER_EMITTER2D
- added header file of Chipmunk
Links was updated here. Now available archives with binaries for different OS's. I hope next release will be stable 0.2 with frozen APII will try to realize joystick support under MacOS X, provide particle editor and maybe start to write documentation in English
Sad moment - 64-bit windows binaries now won't work, but 32-bit works fine as always![]()
Bookmarks