22 #ifndef ILLUSIONS_BBDOU_BBDOU_CREDITS_H 23 #define ILLUSIONS_BBDOU_BBDOU_CREDITS_H 25 #include "illusions/specialcode.h" 26 #include "illusions/thread.h" 30 class IllusionsEngine_BBDOU;
31 class BbdouSpecialCode;
39 const uint kCreditsItemsCount = 64;
45 void start(uint32 endSignalPropertyId,
float speedModifier);
48 void updateTexts(
int yIncr);
51 uint32 _endSignalPropertyId;
56 const char *getText(uint index);
57 void drawTextToControl(uint32 objectId,
const char *text, uint alignment);
58 bool readNextLine(uint &leftIndex, uint &rightIndex);
59 void initCreditsItems();
60 void freeCreditsItems();
61 uint32 getNextFreeObjectId();
62 void removeText(uint32 objectId);
63 void resetObjectPos(uint32 objectId);
64 void createCreditsThread(
float speedModifier);
70 int onUpdate()
override;
71 void onNotify()
override;
72 void onResume()
override;
73 void onTerminated()
override;
78 uint32 _lastUpdateTime;
83 #endif // ILLUSIONS_BBDOU_BBDOU_CREDITS_H Definition: bbdou_credits.h:41
Definition: bbdou_credits.h:67
Definition: bbdou_credits.h:34
Definition: illusions_bbdou.h:60