Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2503


Ignore:
Timestamp:
Dec 17, 2008, 10:51:07 AM (15 years ago)
Author:
rgrieder
Message:

Updated msvc files.
Maybe fixed a bug in:
if (condition); Note the semicolon
{

dosomething();

}

Location:
code/branches/presentation
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/src/orxonox/objects/pickup/BaseItem.cc

    r2500 r2503  
    33
    44
     5#include "OrxonoxStableHeaders.h"
    56#include "BaseItem.h"
    67#include "core/CoreIncludes.h"
  • code/branches/presentation/src/orxonox/objects/pickup/PickupSpawner.cc

    r2500 r2503  
     1#include "OrxonoxStableHeaders.h"
    12#include "PickupSpawner.h"
    23#include "BaseItem.h"
     
    110111        SUPER(PickupSpawner, changedActivity);
    111112
    112         for (std::set<WorldEntity*>::iterator it = this->getAttachedObjects().begin(); it != this->getAttachedObjects().end(); ++it)
     113        for (std::set<WorldEntity*>::const_iterator it = this->getAttachedObjects().begin(); it != this->getAttachedObjects().end(); ++it)
    113114                (*it)->setVisible(this->isActive());
    114115}
  • code/branches/presentation/src/orxonox/objects/pickup/ShipEquipment.cc

    r2500 r2503  
     1#include "OrxonoxStableHeaders.h"
    12#include "BaseItem.h"
    23#include "ShipEquipment.h"
     
    2728                COUT(3) << "SWAP?" <<  endl;
    2829                //Abfrage- irgendne ifschleife...
    29                 if((checkSlot(item)->dropped(player))==true);
     30                if((checkSlot(item)->dropped(player))==true)
    3031                {
    3132                        Equipment.insert ( std::pair<std::string, BaseItem*>(item->getName(),item) );
  • code/branches/presentation/src/orxonox/objects/pickup/Turbo.cc

    r2500 r2503  
     1#include "OrxonoxStableHeaders.h"
    12#include "Turbo.h"
    23
  • code/branches/presentation/visual_studio/vc8/orxonox.vcproj

    r2495 r2503  
    683683                                        </File>
    684684                                </Filter>
     685                                <Filter
     686                                        Name="pickup"
     687                                        >
     688                                        <File
     689                                                RelativePath="..\..\src\orxonox\objects\pickup\BaseItem.cc"
     690                                                >
     691                                        </File>
     692                                        <File
     693                                                RelativePath="..\..\src\orxonox\objects\pickup\PickupSpawner.cc"
     694                                                >
     695                                        </File>
     696                                        <File
     697                                                RelativePath="..\..\src\orxonox\objects\pickup\ShipEquipment.cc"
     698                                                >
     699                                        </File>
     700                                        <File
     701                                                RelativePath="..\..\src\orxonox\objects\pickup\Turbo.cc"
     702                                                >
     703                                        </File>
     704                                </Filter>
    685705                        </Filter>
    686706                        <Filter
     
    13601380                                        <File
    13611381                                                RelativePath="..\..\src\orxonox\objects\items\MultiStateEngine.h"
     1382                                                >
     1383                                        </File>
     1384                                </Filter>
     1385                                <Filter
     1386                                        Name="pickup"
     1387                                        >
     1388                                        <File
     1389                                                RelativePath="..\..\src\orxonox\objects\pickup\BaseItem.h"
     1390                                                >
     1391                                        </File>
     1392                                        <File
     1393                                                RelativePath="..\..\src\orxonox\objects\pickup\PickupSpawner.h"
     1394                                                >
     1395                                        </File>
     1396                                        <File
     1397                                                RelativePath="..\..\src\orxonox\objects\pickup\ShipEquipment.h"
     1398                                                >
     1399                                        </File>
     1400                                        <File
     1401                                                RelativePath="..\..\src\orxonox\objects\pickup\ShipEquipmentClasses.h"
     1402                                                >
     1403                                        </File>
     1404                                        <File
     1405                                                RelativePath="..\..\src\orxonox\objects\pickup\ShipItem.h"
     1406                                                >
     1407                                        </File>
     1408                                        <File
     1409                                                RelativePath="..\..\src\orxonox\objects\pickup\Turbo.h"
     1410                                                >
     1411                                        </File>
     1412                                        <File
     1413                                                RelativePath="..\..\src\orxonox\objects\pickup\Usable.h"
    13621414                                                >
    13631415                                        </File>
Note: See TracChangeset for help on using the changeset viewer.