Crystal Space
Welcome, Guest. Please login or register.
November 23, 2014, 10:03:10 am

Login with username, password and session length
Search:     Advanced search
9018 Posts in 2046 Topics by 9094 Members
Latest Member: Olafzjez
* Home Help Search Login Register
+  Crystal Space
|-+  Miscellaneous
| |-+  Article/Tutorial Discussion
| | |-+  Found two errors in Documentation
« previous next »
Pages: [1] Print
Author Topic: Found two errors in Documentation  (Read 5181 times)
schorsch_76
Newbie
*
Posts: 7


View Profile
« on: June 02, 2006, 11:51:50 am »

Hi,

First error:

in CS/trunk/docs/html/manual/cs_4.2.4.9.html#4.2.4.9 ( 4.2.4.9 Laser Class )
Quote
This function handles the lifetime of the laser. Again depending on the elapsed ticks since previous frame. This function also makes the beam flicker by changing the color. Additionally, every time the laserbeam changes color it will check if there is an adversary hit by the laser. This happens with the Check() function below:
    

void Laser::Check ()
{
  // Do a beam to check if we hit an adversary.
  csVector3 isect;
  iMeshWrapper* mesh = lasersector->HitBeamPortals (laserstart,
     laserend, isect, 0);
  if (mesh)
  {
    csRef<Adversary> adv = CS_GET_CHILD_OBJECT (
       mesh->QueryObject (), Adversary);
    if (adv)
    {
      // Hit!
      app->ExplodeAdversary (adv);
    }
  }
}

it should be
Quote
    if (adv)
    {
      // Hit!
      app->GetGame().ExplodeAdversary (adv);
    }

In the source it is so.


The second error:
in CS/trunk/docs/html/manual/cs_4.9.21.html#4.9.21 ( 4.9.21 Explosion Mesh Object )
Quote
Object Loader

Also see the general documentation for particle systems for other recognized keywords. See section Particle Systems in General.

<dropsize w="" h="" />

    Size of the droplets for the snow (width and height).
<center x="" y="" z="" />

    Center of the explosion. In most cases you should use the origin here (0,0,0) and let the engine control the position of the explosion.

it should be:
Quote
<dropsize w="" h="" />

    Size of the particles of the explosion (width and height).
<center x="" y="" z="" />


I think these are copy & paste errors wink

I have the current subversion trunk. But i wont upload it, because i think i have no write access wink .. but i have a sourceforge account

Logged
jorrit
Administrator
Hero Member
*****
Posts: 1706


View Profile
« Reply #1 on: June 02, 2006, 02:37:26 pm »

Thanks for reporting. I fixed the errors in svn now.

Greetings,
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 6.181 seconds with 18 queries.