namespace movie -> has been removed
movie::Movie -> video::Movie
movie::MovieManager::loadMovie -> video::VideoDriver::loadMovie
movie::MovieManager::renderMovieTexture -> video::Movie::renderTexture
movie::MovieManager::playMovie -> video::Movie::play
video::Movie* MyMovieObject = spRenderer->loadMovie("MyMovieFile.avi");
if (!MyMovieObject->valid())
io::printError("The movie could not be loaded");
MyMovieObject->play();
MyMovieObject->setSeek(0.5);
MyMovieObject->setSpeed(1.5);
MyMovieObject->renderTexture(MyTextureObject);
MyMovieObject->reload("MyMovieField2.avi");
createListener -> createSoundDevice
sound::SensitiveSoundDevice* spListener = sound::createSoundDevice();
sound::Sound* MySoundObject = spListener->loadSound("MySoundFile.wav");
if (!MySoundObject->valid())
io::printError("The sound could not be loaded");
MySoundObject->play();
MySoundObject->setVolume(0.5);
MySoundObject->setSeek(0.1);
MySoundObject->setSpeed(1.5);
while (!MySoundObject->playing())
if (MySoundObject->finish())
io::printMessage("The sound has been finished");
SOUNDDEVICE_AUTODETECT
SOUNDDEVICE_WINMM
SOUNDDEVICE_DUMMY
network::NetworkSystem* spNetwork = new network::NetworkSystem();
if (I_Am_The_Server)
{
if (!spNetwork->openServer(Port))
io::printError("The server could not be opened");
}
else
{
if (!spNetwork->joinServer("192.168.0.1", Port))
io::printError("The server could not be opened");
}
spNetwork->sendPacket("MyMessage", 0);
network::SNetworkPacket MyPacket;
if (spNetwork->pickPacket(MyPacket))
io::printMessage(io::stringc("I've got a network message: ") + MyPacket.Message);
spNetwork->disconnect();
io::FileLoader -> io::FileSystem
io::FileSystem* spFileSys = spDevice->getFileSystem();
io::File* MyFileObject = spFileSys->openFile("MyFile.dat");
if (!MyFileObject)
io::printError("The file could not be opened");
MyFileObject->writeString("MyTextField");
MyFileObject->writeStringN("MyTextField");
MyFileObject->writeStringC("MyTextField");
MyFileObject->writeStringData("MyTextField");
MyFileObject->writeValue<s32>(math::Random(100));
while (!MyFileObject->isEOF())
io::printMessage(MyFileObject->readString());
MyFileObject->readValue<s32>();
FILE* AnsiCFileHandle = MyFileObject->getHandle();
s32 FileSizeInBytes = MyFileObject->getSize();
spFileSys->closeFile(MyFileObject);
Node::doTranslate -> Node::translate
Node::doTransform -> Node::transform
Node::doTurn -> Node::turn
Node::doMove -> Node::move
Entity::doTextureTranslate -> Entity::textureTranslate
Entity::doTextureTransform -> Entity::textureTransform
Entity::doTextureTurn -> Entity::textureTurn
Entity::doMeshTranslate-> Entity::meshTranslate
Entity::doMeshTransform -> Entity::meshTranslate
Entity::doMeshTurn-> Entity::meshTurn
scene::Entity* MyMeshObjectA = spSmngr->createModel(scene::ENTITY_TEAPOT);
scene::Entity* MyMeshObjectB = spSmngr->createModel(scene::ENTITY_TORUS, 15);
scene::SModelConstruct MyConstruct;
MyConstruct.Segments = 10;
MyConstruct.DegreeLength = 360.0f * 2;
MyConstruct.Size = 1.0f;
scene::Entity* MyMeshObjectA = spSmngr->createModel(scene::ENTITY_SPIRAL, MyConstruct);
+scene::AnimationNode
+scene::AnimationMorphTarget
+scene::AnimationSkeletal
scene::Animation::doAnimate -> play (+pause, stop, setSpeed, getSeek etc.)
UserControl::isKeyPressed -> keyDown
UserControl::isKeyReleased -> keyReleased
UserControl::isKeyHit -> keyHit
UserControl::isMouseButtonPressed -> mouseDown
UserControl::isMouseButtonReleased -> mouseReleased
UserControl::isMouseButtonHit -> mouseHit