~ubuntu-branches/debian/sid/ember/sid

« back to all changes in this revision

Viewing changes to src/components/ogre/environment/caelum/include/CaelumSystem.h

  • Committer: Package Import Robot
  • Author(s): Olek Wojnar, Stephen M. Webb, Olek Wojnar
  • Date: 2016-08-06 18:39:19 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20160806183919-4g72j3flj7xe2stj
Tags: 0.7.2+dfsg-1
[ Stephen M. Webb ]
* debian/control: updated build-depends to newer minimum versions
  (closes: #704786)
* debian/control: updated Standards-Version to 3.9.4 (updated VCS-* fields)
* debian/patches/0001-ember.in-test-expr.patch: removed (fixed upstream)
* debian/patches/0002-add-update_lua_bindings.patch: removed (fixed upstream)
* debian/patches/0003-add-atlas-pkg.patch: removed (fixed upstream)
* debian/patches/0004-domain-bindings-lua-makefile.patch: refreshed
* debian/patches/0005-ember.in-prefix.patch: removed (fixed upstream)
* debian/patches/0006-spellcheck-similiar.patch: removed (fixed upstream)
* debian/patches/0007-revert-libwfut-version.patch: refreshed
* debian/patches/0008-replace-fastdeletegate-with-sigc++.patch: removed
 (fixed upstream)
* debian/patches/0009-spelling-bach.patch: removed (fixed upstream)
* debian/patches/0010-fix-ember-script-args.patch: removed (fixed upstream)
* debian/patches/0011-qualify-template-functions.patch: removed (fixed
  upstream)
* debian/patches/0012-fix-osdir-headers.patch: removed (fixed upstream)
* debian/patches/0013-remove-invalid-linker-flags.patch: removed (fixed
  upstream)
* debian/patches/0014-add-missing-ogrelodstrategy.patch: new
* debian/control: fixed Vcs-Browser URL
* debian/patches/0015-verbose-configure-errors.patch: new
* debian/patches/0016-boost-1.53.patch: new
* debian/control: bump boost build dependeny to 1.53

[ Olek Wojnar ]
* New upstream release (Closes: #799748)
* Add myself as new uploader
  - Remove Stephen Webb per his request
  - Thanks for all the contributions, Stephen!
* d/patches/0007-revert-libwfut-version.patch: removed (unnecessary)
* d/control
  - Remove pre-dependency on dpkg
  - Update standards to 3.9.8 (no changes)
  - Update Vcs lines for secure URIs
* Import patch from the wfmath package to replace MersenneTwister.h
  -- Avoids problems from ambiguous copyright of the original file
* Update dependencies for version 0.7.2
* Enable all hardening options
* Add three lintian overrides
  -- Ignore install into usr/bin (binary)
  -- Ignore .rc files needed for WIN32 build (source)
  -- Ignore false positive of spelling error (binary)
* d/copyright: Update contributors and dates
* d/rules
  -- Do not remove "sounddefinitions" directory
  -- Enable parallel build
  -- Do not install into games directories
  -- Remove dh_builddeb override since xz is now the default
* d/watch: update file extensions
* Remove three patches, add eight patches, update remaining patches
  -- 0004-domain-bindings-lua-makefile.patch (implemented upstream)
  -- 0014-add-missing-ogrelodstrategy.patch (implemented upstream)
  -- 0016-boost-1.53.patch (patch target file removed upstream)
  -- 0018-enable-subdir-objects.patch (Fix automake 1.14 warnings)
  -- 0019-update-boost-m4.patch (Fix invalid boost_major_version)
  -- 0020-remove-obsolete-includes.patch (Fix obsolete includes)
  -- 0021-GraphicalChangeAdapter-fix-for-newer-compilers.patch (Added)
  -- 0022-fix-typos.patch (Fix typos identified by lintian)
  -- 0023-add-keywords-to-desktop-file.patch (Add Keywords to .desktop file)
  -- 0024-fix-icon-location (Make icon location Icon Theme Spec-compliant)
  -- 0025-fix-duplicate-script-install.patch (Was causing build failures)

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
     *  connected through this class. This class is responsible for tracking and
52
52
     *  updating sub-components.
53
53
     *
54
 
     *  This class "owns" all of the subcomponents, using std::auto_ptr members.
 
54
     *  This class "owns" all of the subcomponents, using std::unique_ptr members.
55
55
     *  When you call functions like setXxx(new Xxx()) this class takes
56
56
     *  ownership of the object's lifetime and will try to update it as
57
57
     *  appropriate. All components are optional; disable one component should
167
167
        bool mEnsureSingleShadowSource;
168
168
 
169
169
                /// The sky gradients image (for lookups).
170
 
        std::auto_ptr<Ogre::Image> mSkyGradientsImage;
 
170
        std::unique_ptr<Ogre::Image> mSkyGradientsImage;
171
171
 
172
172
        /// The sun gradients image (for lookups).
173
 
        std::auto_ptr<Ogre::Image> mSunColoursImage;
 
173
        std::unique_ptr<Ogre::Image> mSunColoursImage;
174
174
 
175
175
        /// Observer Latitude (on the earth).
176
176
        Ogre::Degree mObserverLatitude;
181
181
                Ogre::Degree azimuth, Ogre::Degree altitude);
182
182
                
183
183
                // References to sub-components
184
 
        std::auto_ptr<UniversalClock> mUniversalClock;
185
 
        std::auto_ptr<SkyDome> mSkyDome;
186
 
        std::auto_ptr<BaseSkyLight> mSun;
187
 
        std::auto_ptr<Moon> mMoon;
188
 
        std::auto_ptr<ImageStarfield> mImageStarfield;
189
 
        std::auto_ptr<PointStarfield> mPointStarfield;
190
 
        std::auto_ptr<GroundFog> mGroundFog;
191
 
        std::auto_ptr<CloudSystem> mCloudSystem;
192
 
                std::auto_ptr<PrecipitationController> mPrecipitationController;
193
 
                std::auto_ptr<DepthComposer> mDepthComposer;
 
184
        std::unique_ptr<UniversalClock> mUniversalClock;
 
185
        std::unique_ptr<SkyDome> mSkyDome;
 
186
        std::unique_ptr<BaseSkyLight> mSun;
 
187
        std::unique_ptr<Moon> mMoon;
 
188
        std::unique_ptr<ImageStarfield> mImageStarfield;
 
189
        std::unique_ptr<PointStarfield> mPointStarfield;
 
190
        std::unique_ptr<GroundFog> mGroundFog;
 
191
        std::unique_ptr<CloudSystem> mCloudSystem;
 
192
                std::unique_ptr<PrecipitationController> mPrecipitationController;
 
193
                std::unique_ptr<DepthComposer> mDepthComposer;
194
194
 
195
195
    public:
196
196
        typedef std::set<Ogre::Viewport*> AttachedViewportSet;