Results 1 to 2 of 2

Thread: ClanLib 2.1.0 Released

  1. #1
    ClanLib Developer
    Join Date
    May 2007

    Default ClanLib 2.1.0 Released

    We have released ClanLib 2.1.0

    Find it at:

    There have been various modifications since the previous release. The biggest change is to the clanSound internals, making it more reliable and faster.

    These are a list of important changes since the previous release (2.0.4)

    - IMPORTANT: To solve some problems with co-hosting different versions of ClanLib, and to better support breaking changes in the future, we've changed how ClanLib names its libraries under Unix.

    ClanLib now creates, (and so on), instead of naming it and

    Every breaking release will increase the 2.x.0 number. Every backward compatible release will get a 2.1.x version.

    - IMPORTANT: Display: CL_Sprite animation delay now uses milliseconds integers, instead of float seconds. There was a discrepancy between the documentation and what it actually did. Previously, using floats, we lost accuracy. Now the control of animation speed should now be 100% accurate.

    CL_Sprite::update(int time_elapsed_ms) now refers to milliseconds instead of seconds. If you previously did sprite.update(float), you now need to feed it a number 1000 as large (or stop dividing CL_System::get_time() by 1000.0f when calculating delta time). If you don't use a time parameter to sprite.update() it is calculated automatically as before.

    - IMPORTANT: ClanSDL has moved out of the main package, as clanGDI is better and faster. ClanSDL is still available in the Contrib repository - read more about it on

    - Core: CL_Line::clip() function has moved to CL_LineSegment::clip(). It was placed in the wrong class in the last release. CL_Line is an line with an infinite length, thus requires a different clipping method.

    - GL and GL1: CL_GraphicContext get_pixeldata() has been fixed. The image is now no longer upside-down.

    - Sound: CL_SoundBuffer_Session::set_frequency() no longer returns a bool on failure. (It's now always successful).

    - Sound: CL_SoundFormat::sf_8bit_signed changed to sf_8bit_unsigned.

    - Sound: CL_EchoFilter "shift factor" paramter changed from int to float.

    - Sound: All sound filters now use floating point sounds (-1.0f to 1.0f) instead of integer (-32768 to 32767).

    - Core: CL_File no longer has a default access parameter in its constructor.
    Add CL_File::access_read, CL_File::access_write or CL_File::access_read_write.

    - Core: CL_VirtualDirectory get_name() renamed to get_identifier() and CL_VirtualFileSystem get_name() renamed to get_identifier().

    - Display: Changed tablet input device get_type() to return
    CL_InputDevice::tablet instead of CL_InputDevice::pointer.

    - Display: Changed tablet buttons to use CL_KEY_TABLETN, (where N is 1-10) instead of CL_MOUSE_LEFT etc.

    Other modifications to the clanlib internals can be found inside the ClanLib 2.0 SVN logs.


  2. #2
    ClanLib Developer
    Join Date
    May 2007


    Note, the doxygen style documentation for this release can now be found at:

    The classic documentation style is still at

Similar Threads

  1. ClanLib 2.0.3 Released
    By sphair in forum Official ClanLib SDK Forums
    Replies: 5
    Last Post: 07-28-2009, 12:09 PM
  2. Seems we released a new version - 2.0.2
    By sphair in forum Official ClanLib SDK Forums
    Replies: 7
    Last Post: 05-19-2009, 02:26 PM
  3. Dink Src Released
    By Seth in forum Game development
    Replies: 12
    Last Post: 01-15-2004, 07:46 PM
  4. FQ 0.92 released
    By Seth in forum Funeral Quest
    Replies: 0
    Last Post: 01-03-2003, 02:50 AM
  5. Toolfish released
    By Seth in forum Other RTsoft Games
    Replies: 0
    Last Post: 10-20-2002, 08:55 AM



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts