- add a COLGROUP_MOVING_STATIC (in the future we should try to reduce the number...
[supertux.git] / src / sector.hpp
index 57a2665..50edf73 100644 (file)
@@ -49,6 +49,7 @@ class SpawnPoint;
 class MovingObject;
 class CollisionHit;
 class Level;
+class Portable;
 
 enum MusicType {
   LEVEL_MUSIC,
@@ -164,6 +165,7 @@ public:
   typedef std::vector<GameObject*> GameObjects;
   typedef std::vector<MovingObject*> MovingObjects;
   typedef std::vector<SpawnPoint*> SpawnPoints;
+  typedef std::vector<Portable*> Portables;
 
 private:
   Level* level; /**< Parent level containing this sector */
@@ -222,6 +224,8 @@ private:
   typedef std::vector<HSQOBJECT> ScriptList;
   ScriptList scripts;
 
+  Color ambient_light;
+
 public: // TODO make this private again
   /// show collision rectangles of moving objects (for debugging)
   static bool show_collrects;
@@ -230,6 +234,7 @@ public: // TODO make this private again
   GameObjects gameobjects;
   MovingObjects moving_objects;
   SpawnPoints spawnpoints;
+  Portables portables;
 
   std::string music;
   float gravity;