X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fmaterials%2Flighting.h;fp=source%2Fmaterials%2Flighting.h;h=2a8756c3e567442758a9372932d7e958c7214ee6;hb=3b0cb993f410b05fc6309d41aa292f4e57c35519;hp=226dee1c05a740e27a23d53baec2e4416e4a558a;hpb=a8383f1163cd020e2ce2c030e93defd2f9909a1d;p=libs%2Fgl.git diff --git a/source/materials/lighting.h b/source/materials/lighting.h index 226dee1c..2a8756c3 100644 --- a/source/materials/lighting.h +++ b/source/materials/lighting.h @@ -19,13 +19,14 @@ sources. class Lighting { public: - class Loader: public DataFile::ObjectLoader + class Loader: public DataFile::CollectionObjectLoader { private: static ActionMap shared_actions; public: Loader(Lighting &); + Loader(Lighting &, Collection &); private: virtual void init_actions(); @@ -35,8 +36,9 @@ public: void fog_density(float); void fog_half_distance(float); void horizon_angle(float); - void light(); - void light_index(unsigned); + void light(const std::string &); + void light_inline(); + void light_inline_index(unsigned); void sky_color(float, float, float); void zenith_direction(float, float, float); };