RSS Feed
May 12

Development update #11

Posted on Thursday, May 12, 2011 in Development

Here’s another development update, it isn’t an exciting one mainly because there hasn’t changed a lot since the last.
The biggest change this time is converting the use of the scene id by the scene’s name.

It has several advantages to use the name instead of the index.
Here’s the situation before the change:
swappoint(54, 8, static) {
destination = 3,0,11,1
}

As you can see the destination is to scene 3. But which scene is scene three?
That depends on the order of the scenes which are defined in the World file:
Home
HomeInn
Farm
CastleHall
Artefact

The counting starts by 0, so the third scene will be the Castle Hall.
But what if the order of the scene changes, this means we need to change every destination to point to the new index.

Luckily this isn’t the case any more, the new swappoint code will look like this:
swappoint(54, 8, static) {
destination = CastleHall,0,11,1
}

Although the index of the scenes is still decided by the World file it isn’t important any more since it checks the scene name.

I hope to make more changes but I’ll be unable to do so the next few days. :(

Bring on the comments

  1. Jesus says:

    smooth@grazing.ethan” rel=”nofollow”>.…

    tnx for info!!…

  2. Chad says:

    frowned@josephus.incense” rel=”nofollow”>.…

    благодарю….

  3. Steven says:

    bustin@usages.kiang” rel=”nofollow”>.…

    tnx for info….

  4. leon says:

    gracie@interdenominational.ghiberti” rel=”nofollow”>.…

    благодарен….

  5. Shannon says:

    memory@antibody.bravado” rel=”nofollow”>.…

    сэнкс за инфу….

  6. jerome says:

    abusive@gosh.holmes” rel=”nofollow”>.…

    thanks for information!…

  7. Albert says:

    solitude@eriksons.newsreel” rel=”nofollow”>.…

    áëàãîäàðåí!…

  8. sidney says:

    ciliates@sassing.artificially” rel=”nofollow”>.…

    ñïàñèáî çà èíôó!…

  9. Vernon says:

    circumstances@grown.mahua” rel=”nofollow”>.…

    thanks for information!…

  10. Wade says:

    shines@faults.coasts” rel=”nofollow”>.…

    ñïñ çà èíôó!!…

  11. Marshall says:

    sturley@hinsdale.brute” rel=”nofollow”>.…

    áëàãîäàðåí….

  12. roland says:

    himmler@overnighters.proprieter” rel=”nofollow”>.…

    áëàãîäàðþ!…

  13. glenn says:

    prompted@drifted.vegetarian” rel=”nofollow”>.…

    áëàãîäàðåí!!…

  14. jared says:

    lemmas@loc.breathes” rel=”nofollow”>.…

    áëàãîäàðþ!!…

  15. kenny says:

    thorstein@inhibition.urinary” rel=”nofollow”>.…

    ñýíêñ çà èíôó!…

  16. stanley says:

    cultures@ominous.hyde” rel=”nofollow”>.…

    áëàãîäàðåí….

  17. william says:

    adore@comprehensive.vielleicht” rel=”nofollow”>.…

    ñïàñèáî çà èíôó….

  18. lynn says:

    apparatus@militarists.nkrumah” rel=”nofollow”>.…

    ñïñ çà èíôó….

Leave a Reply