Changeset 57


Ignore:
Timestamp:
May 30, 2010, 1:05:25 PM (14 years ago)
Author:
Torben Dannhauer
Message:

corrected cluster/dataIO_clusterUDP.h and extLink/dataIO_extLinkDummy.h and extLink/dataIO_extLinkVCL.h to be able to use it in any combination.h

Location:
osgVisual
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • osgVisual/include/cluster/dataIO_clusterUDP.h

    r32 r57  
    2323#include <osgDB/ReaderWriter>
    2424#include <iostream>
     25#include <winsock2.h>
     26#pragma comment ( lib, "WSock32.lib" )
    2527
    2628#include "dataIO_clusterUDP_Transmission.h"
  • osgVisual/include/core/visual_core.h

    r55 r57  
    8686
    8787
     88
    8889namespace osgVisual
    8990{
  • osgVisual/include/extLink/dataIO_extLinkDummy.h

    r32 r57  
    1818#include <dataIO_extLink.h>
    1919#include <osg/Notify>
     20#include <vector>
    2021
    2122namespace osgVisual
     
    3334{
    3435public:
    35         dataIO_extLinkDummy(std::vector<dataIOSlot>& dataSlots_);
     36        dataIO_extLinkDummy(std::vector<dataIO_slot>& dataSlots_);
    3637        virtual ~dataIO_extLinkDummy(void);
    3738
  • osgVisual/src/core/visual_core.cpp

    r55 r57  
    422422
    423423        // Size ermitteln.
    424         stringbuf *pbuf;
     424        std::stringbuf *pbuf;
    425425        pbuf = myOstream.rdbuf();
    426426        OSG_NOTIFY( osg::WARN ) << "PBUF Bytes available: " << pbuf->in_avail() << std::endl;
  • osgVisual/src/extLink/dataIO_extLinkDummy.cpp

    r55 r57  
    1515*/
    1616
    17 #include "dataIO_extLinkDummy.h"
     17#include <dataIO_extLinkDummy.h>
    1818
    19 dataIO_extLinkDummy::dataIO_extLinkDummy(std::vector<dataIOSlot>& dataSlots_) : dataIO_extLink(dataSlots_)
     19#include <visual_dataIO.h>      // include in.cpp to avoid circular inclusion (visual_dataIO <-> extLinkDummy)
     20
     21
     22using namespace osgVisual;
     23
     24dataIO_extLinkDummy::dataIO_extLinkDummy(std::vector<dataIO_slot>& dataSlots_) : dataIO_extLink(dataSlots_)
    2025{
    2126        OSG_NOTIFY( osg::ALWAYS ) << "extLinkDummy constructed" << std::endl;
  • osgVisual/src/extLink/dataIO_extLinkVCL.cpp

    r31 r57  
    1717#include <dataIO_extLinkVCL.h>
    1818
    19 #include <visual_dataIO.h>
     19#include <visual_dataIO.h>      // include in.cpp to avoid circular inclusion (visual_dataIO <-> extLinkVCL)
    2020
    2121using namespace osgVisual;
  • osgVisual/src/sky_Silverlining/visual_skySilverLining.cpp

    r54 r57  
    300300        updateCallback->operator ()(this, NULL);
    301301
    302         setTime(16,00,23);
     302        setTime(12,00,23);
    303303        setVisibility(50000);
    304304        //atmosphere->GetConditions()->SetFog( 0.8, 1, 1, 1);   // use this for simulation real fog.
     
    315315        //addCloudLayer( 0, 300000, 300000, 600.0, 2351.0, 0.5, NIMBOSTRATUS );
    316316        //addCloudLayer( 0, 5000000, 5000000, 600.0, 7351.0, 0.2, CIRRUS_FIBRATUS );
    317         addCloudLayer( 1, 8000, 10000, 3000, 2000.0, 0.01, CUMULONIMBUS_CAPPILATUS );
    318         //addCloudLayer( 1, 25000, 25000, 3000, 2000.0, 0.05, CUMULUS_CONGESTUS );
     317        //addCloudLayer( 0, 50000, 50000, 600.0, 7351.0, 0.2, CIRROCUMULUS );
     318        //addCloudLayer( 1, 8000, 10000, 3000, 2000.0, 0.01, CUMULONIMBUS_CAPPILATUS );
     319        addCloudLayer( 1, 200000, 200000, 3000, 2000.0, 0.05, CUMULUS_CONGESTUS );
    319320        //addCloudLayer( 1, 500000, 500000, 15000, 2000.0, 0.6, STRATUS );
    320321        //cloudLayerSlots[1].cloudLayerPointer->SetPrecipitation(SilverLining::CloudLayer::RAIN, 15.0 );
Note: See TracChangeset for help on using the changeset viewer.