1 #ifndef obj_dummy_h
2 #define obj_dummy_h
3 
4 #include "../simobj.h"
5 #include "../display/simimg.h"
6 
7 
8 /**
9  * prissi: a dummy typ for old things, which are now ignored
10  */
11 class dummy_obj_t : public obj_t
12 {
13 	public:
dummy_obj_t(loadsave_t * file)14 		dummy_obj_t(loadsave_t* file) :
15 			obj_t()
16 		{
17 			rdwr(file);
18 			// do not remove from this position, since there will be nothing
19 			obj_t::set_flag(obj_t::not_on_map);
20 		}
21 
get_typ()22 		typ      get_typ()   const OVERRIDE { return obj_t::undefined; }
get_image()23 		image_id get_image() const OVERRIDE { return IMG_EMPTY; }
24 };
25 
26 #endif
27