2 * This file implements object specific functions and classes
3 * from the defaction.hh header
5 * Copyright (C) 2008 Hermann Walth
7 * This file is part of OpenStranded
9 * OpenStranded is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation, either version 3 of the License, or
12 * (at your option) any later version.
14 * OpenStranded is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with OpenStranded. If not, see <http://www.gnu.org/licenses/>.
27 #include "defaction.hh"
28 #include "../object.hh"
30 def::object::ActionList::ActionList ():
33 this->listItem ("id") = new def::IDAction (S2_OBJECT
);
34 this->listItem ("name") = new def::NameAction (S2_OBJECT
);
35 this->listItem ("model") = new def::ModelAction (S2_OBJECT
);
36 this->listItem ("icon") = new def::IconAction (S2_OBJECT
);
38 this->listItem ("x") = new def::XAction (S2_OBJECT
);
39 this->listItem ("y") = new def::YAction (S2_OBJECT
);
40 this->listItem ("z") = new def::ZAction (S2_OBJECT
);
41 this->listItem ("scale") = new def::ScaleAction (S2_OBJECT
);
43 this->listItem ("r") = new def::RAction (S2_OBJECT
);
44 this->listItem ("g") = new def::GAction (S2_OBJECT
);
45 this->listItem ("b") = new def::BAction (S2_OBJECT
);
46 this->listItem ("color") = new def::ColorAction (S2_OBJECT
);
48 this->listItem ("autofade") = new def::AutofadeAction (S2_OBJECT
);
49 this->listItem ("alpha") = new def::AlphaAction (S2_OBJECT
);
50 this->listItem ("shine") = new def::ShineAction (S2_OBJECT
);