Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 18, 2007, 7:40:40 PM (17 years ago)
Author:
nicolasc
Message:

bump, minor fixes

Location:
branches/presentation/src/world_entities/weapons
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/world_entities/weapons/crosshair.cc

    r10714 r10721  
    6464  this->material = new Material;
    6565
    66   //this->subscribeEvent(ES_GAME, EV_MOUSE_MOTION);
     66//   this->subscribeEvent(ES_GAME, EV_MOUSE_MOTION);
    6767
    6868  // center the mouse on the screen, and also hide the cursors
    69   /*  SDL_WarpMouse(GraphicsEngine::getInstance()->getResolutionX()/2, GraphicsEngine::getInstance()->getResolutionY()/2);
    70   GraphicsEngine::showMouse(false);
    71   SDL_WarpMouse(GraphicsEngine::getInstance()->getResolutionX()/2, GraphicsEngine::getInstance()->getResolutionY()/2);*/
     69/*  SDL_WarpMouse(GraphicsEngine::getInstance()->getResolutionX()/2, GraphicsEngine::getInstance()->getResolutionY()/2);*/
     70//   GraphicsEngine::showMouse(false);
     71//   SDL_WarpMouse(GraphicsEngine::getInstance()->getResolutionX()/2, GraphicsEngine::getInstance()->getResolutionY()/2);
    7272}
    7373
  • branches/presentation/src/world_entities/weapons/nadion_laser.cc

    r10719 r10721  
    147147
    148148  pj->setAbsCoor(this->getEmissionPoint());
    149 //   pj->setAbsDir(this->getAbsDir());
     149//   pj->setAbsDir(Quaternion(this->getDefaultTarget()->getAbsCoor() - this->getAbsCoor(), Vector(0,0,0)));
     150  pj->setAbsDir(this->getAbsDir());
    150151  pj->activate();
    151152
  • branches/presentation/src/world_entities/weapons/weapon_manager.h

    r10719 r10721  
    9191    Weapon* getWeapon(int slotID) const;
    9292
    93     // FIXME ::
    9493//    bool hasFreeSlot(int configID, long capability = WTYPE_ALL) { return ( getNextFreeSlot(configID, capability ) != -1)? true : false; };
    9594
Note: See TracChangeset for help on using the changeset viewer.