[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

C.3 API Changes from 0.92 to 0.94

This section documents the major changes between versions 0.92 and 0.94 of of Crystal Space.

Loader and Saver Changes

All plugins implementing iLoaderPlugin will have to be changed since the material and mesh factory lists are now replaced with a iLoaderContext parameter.

This change also means that iTerrFuncState::LoadMaterialGroup() now expects an iLoaderContext instead of iMaterialList.

WARNING! This loader change means that the searching restricted on the current region now actually works! This means that by default when loading a map it will ONLY find objects defined in this map!

The iSaverPlugin interface has also changed. It now uses an iFile parameter instead of iStrVector.

iCamera changes

Added iCamera::SetFarPlane() and changed iCamera::GetFarPlane() to return a pointer to the far plane. This function will return NULL if no far plane is used.

The following defines have changed:

Engine Changes

Far plane handling in the engine has changed. Polygons are no longer clipped exactly to the far plane but instead the polygons are rejected which are fully behind the far plane.

iEngine::LoadMeshFactory() and iEngine::LoadMeshWrapper() used to have a `classId' parameter. That parameter has now been removed.

Various Changes

csPlane3::ClipPolygon() will now by default consider the polygon to be visible on the negative side of the plane (csPlane3::Classify()) as opposed to the positive side like it used to be. It now has a third parameter `reversed' which you can set to true so that it behaves again as before.

Various Constant Changes

The following defines have been changed:


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated using texi2html