[RTS Camera] - Adapted to 1.5.1 / 1.6 ?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
mking
Posts: 2
Joined: Tue Sep 01, 2009 5:47 pm
Location: United Kingdom
Contact:

[RTS Camera] - Adapted to 1.5.1 / 1.6 ?

Post by mking »

Hello all,

In regards to the RTS Camera tutorial provided by CMD Kewin (http://www.irrlicht3d.org/wiki/index.ph ... ByCmdKewin), has anyone successfully adapted the source code to work with Irrlicht 1.5.1 (or 1.6)?


If so, could they please please please share it out, because I have been trying to adapt the code snippet to work, and no matter what strategy I use, it always fails.


Thanks a bunch!

Mikey
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

It shouldn't take much work. You will have to...
  1. rename a few functions (as documented in changes.txt). i.e., OnPreRender() becomes OnRegisterSceneNode()
  2. change function declarations and definitions to match the signatures in ICameraSceneNode.h. i.e., f32 getFOV() becomes f32 getFOV() const.
If, after trying, you are still having problems, you should post details about what problems you are having so that others can actually help you.

Travis
Post Reply