00001 00002 class credit : public base 00003 { 00004 public: 00005 credit(); 00006 ~credit(); 00007 00008 int init(coeur *,IGUIEnvironment *,IXMLReader*); 00009 int update(); 00010 int close(); 00011 00012 int start(); 00013 int stop(); 00014 00015 int addLogo(stringc); 00016 int addText(stringw); 00017 00018 bool OnEvent(const SEvent&); 00019 private: 00020 IGUIEnvironment* env; 00021 00022 IGUIFont* mainFont; 00023 00024 bool activate; 00025 00026 int newY; 00027 int y; 00028 00029 stringc sound; 00030 00031 std::vector<IGUIImage*> *logos; 00032 std::vector<IGUIStaticText*> *texts; 00033 }; 00034