PDA

View Full Version : CL_PerlinNoise on BreakingChanges



chumz
02-10-2013, 07:28 PM
Hi,

it seems that there is nothing about '''CL_PerlinNoise''' on the page:

http://clanlib.org/wiki/BreakingChanges

(yes it won't break older code, but code for 2.3 won't compile with 2.1)

Judas
02-11-2013, 07:29 AM
The BreakingChanges wiki is mainly meant as a guide for upgrading source code written for earlier versions of ClanLib. It doesn't list what is new or when each class/function was introduced.

For better or worse, this library breaks backwards compatibility relatively often. This is an indirect consequence of being a relative high-level framework where it is harder to make solutions that scale to many different use cases, and also that the main developers of this library like to play with bleeding edge technologies. This means that once in a while we reach the conclusion that some abstraction or generalization was too naive and we patch the API.

Generally, games are written once and then only updated to keep them running if architectures change. The official policy is therefore that a game would typically be written up against a specific version of the library, and then the micro version number is for API-compatible bug fixes. 2.3.0, 2.3.1, 2.3.2 etc are all using the same API.

The minor version releases (2.4 is next) are for minor API changes (typically things added, maybe some things slightly changed). The major version releases (3.0 is next) are for major API changes. One example of such a major change for 3.0 is that its using a 'clan' namespace rather than the CL_ prefix.