[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This section documents the major changes between versions 0.90 and 0.92 of of Crystal Space.
csInitializer::CreateEnvironment()
now accepts two additional
parameters: argc
and argv
.
Consequently csInitializer::SetupKeyboardHandler()
has been removed.
The iCollideSystem::Collide()
function now accepts
csReversibleTransform
transforms instead of just csTransform
.
The following deregistration functions have been removed. Instead, use the
normal DecRef()
mechanism.
iTextureManager::UnregisterTexture()
iTextureManager::UnregisterMaterial()
The functions iRegion::Find...()
will no longer increase
the reference count of the returned objects.
iEngine::GetThingState()
has not been removed but this function
is now deprecated. It is recommended that you get the iMeshObjectType
for the thing mesh objects the usual way (i.e. by loading the plugin).
The following functions were made const
in iThingState
:
CurveTexel()
CurveVertex()
GetCurveVertices()
GetCurveVertexCount()
GetCurveCount()
GetCurvesScale()
GetMovingOption()
GetPortalCount()
GetPortal()
GetPortalPolygon()
GetVertexCount()
Renamed two functions in iThingState
:
CurveVertex()
to GetCurveVertex()
CurveTexel()
to GetCuveTexel()
Added several functions to iThingState
:
FindPolygonIndex()
RemovePolygon()
RemovePolygons()
SetVertex()
DeleteVertex()
DeleteVertices()
SetCurveVertex()
SetCurveTexel()
ClearCurveVertices()
FindCurveIndex()
RemoveCurve()
RemoveCurves()
Added iIsoEngine::GetMaterialList()
and removed all other
material functions from iIsoEngine
except the one to create a material
from a VFS path.
Added iIsoEngine::GetMeshFactories()
and removed the following
functions.
AddMeshFactory()
FindMeshFactory()
RemoveMeshFactory()
Changed iTerrFuncState::LoadMaterialGroup()
so that the first
parameter is now a material list (iMaterialList
) instead of
iEngine
.
Changed iLoaderPlugin::Parse()
to accept a material list and mesh
factory list (iMaterialList
and iMeshFactoryList
) instead of an
iEngine
instance.
Changed iSaverPlugin::WriteDown()
so that it no longer has
the iEngine
parameter.
Added SetLogicalParent()
and GetLogicalParent()
to
both iMeshObject
and iMeshObjectFactory
. This should
be no issue for applications simply using mesh objects but it is an
issue if you made your own mesh object implementation. Also beware
that there have been some changes in the way the parser interact
with the plugin loaders. The plugin loaders are no longer responsible
for setting the factory pointer. The parser will now do that.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |