~ubuntu-branches/ubuntu/precise/stellarium/precise

« back to all changes in this revision

Viewing changes to src/modules/ZoneData.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Scott Howard
  • Date: 2010-02-15 20:48:39 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20100215204839-u3qgbv60rho997yk
Tags: 0.10.3-0ubuntu1
* New upstream release.
  - fixes intel rendering bug (LP: #480553)

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#ifndef _ZONEDATA_HPP_
21
21
#define _ZONEDATA_HPP_
22
22
 
23
 
#include <boost/intrusive_ptr.hpp>
24
 
 
25
23
// just for Vect3d.
26
24
// Take any Vector class instead, if you want to use the star feature in a
27
25
// different context.
28
26
#include "VecMath.hpp"
 
27
#include "StelObjectType.hpp"
29
28
 
30
29
class StelObject;
31
30
 
59
58
template <class Star>
60
59
struct SpecialZoneData : public ZoneData
61
60
{
62
 
        boost::intrusive_ptr<StelObject> createStelObject(const Star *s) const
 
61
        StelObjectP createStelObject(const Star *s) const
63
62
        {
64
63
                return s->createStelObject(*this);
65
64
        }
66
 
        
 
65
 
67
66
        //! Get array of stars in this zone.
68
67
        Star *getStars(void) const
69
68
        {