00001
00006 #ifndef SCENE_H
00007 #define SCENE_H
00008
00009
00010
00011
00012
00013
00014 #include "lang.h"
00015 #include "obj.h"
00016 #include "sdltypes.h"
00017
00018
00019
00020
00021
00022
00023
00025
00032 class Scene {
00033
00034 public :
00035
00037 Scene();
00038
00040 ~Scene();
00041
00043 void collect_items(Pval *pl);
00044
00046 static Scene *read(void);
00047
00049 static Scene *eval(void);
00050
00052 static Val parse(int c, Pval *pl);
00053
00054
00055 private :
00056
00057 View *view;
00058 Image *img;
00059 LightSources *lights;
00060 SceneObjects *objs;
00061 };
00062
00063 #endif //SCENE_H