Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 17, 2008, 3:33:03 PM (16 years ago)
Author:
landauf
Message:
  • added a backlight to all SpaceShips, leaving a trail behind (configurable)
  • changed some lines in SpaceShipAI, AI seems to be more fair now…
  • fixed a bug in Math.cc algorithms to calculate radar positions and AI movement (division by zero and acos of 1.000001)
  • added destroy() and destroydelay to ParticleSpawner, so the smoketrail of a destroyed enemy stays visible for some seconds
  • added 2 lines to Orxonox.cc to make the length of the backlight-trail independend of the gamespeed

########################
# !!! MEDIA UPDATE !!! #
########################

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/objects/SpaceShip.h

    r1602 r1608  
    3737#include "Model.h"
    3838#include "tools/BillboardSet.h"
    39 #include "ParticleSpawner.h"
    4039
    4140namespace orxonox
     
    145144            BillboardSet rightThrusterFlare_;
    146145
     146            Backlight* backlight_;
     147
    147148            BillboardSet redBillboard_;
    148149            BillboardSet greenBillboard_;
     
    151152            float blinkTime_;
    152153
    153             ParticleSpawner smoke_;
    154             ParticleSpawner fire_;
     154            ParticleSpawner* smoke_;
     155            ParticleSpawner* fire_;
    155156
    156157            BillboardSet crosshairNear_;
Note: See TracChangeset for help on using the changeset viewer.