22 #ifndef AGS_PLUGINS_AGSCREDITZ_AGSCREDITZ_H 23 #define AGS_PLUGINS_AGSCREDITZ_AGSCREDITZ_H 25 #include "ags/plugins/ags_plugin.h" 26 #include "ags/plugins/ags_creditz/drawing.h" 27 #include "common/array.h" 28 #include "common/rect.h" 29 #include "common/str.h" 33 namespace AGSCreditz {
35 typedef int (*IntFunction)(
int val1);
45 bool _outline =
false;
52 bool finished =
false;
70 bool title_centered =
false;
71 bool title_outline =
false;
81 bool finished =
false;
98 int drawCredit(
int sequence,
int credit);
102 void specialEffect(
int sequence,
int credit,
const Common::String &text,
103 int font,
int color, int32 x_pos);
104 void drawStEffects(
int sequence,
int id,
int style);
105 void speeder(
int sequence);
109 VERSION_11 = 11, VERSION_20 = 20
114 CreditArray _credits[10];
115 StCreditArray _stCredits[10];
116 bool _creditsRunning = 0, _paused = 0, _staticCredits = 0;
117 int _creditSequence = 0, _yPos = 0, _sequenceHeight = 0, _speedPoint = 0;
118 int _calculatedSequenceHeight = 0, _timer = 0, _currentStatic = 0;
119 int _numChars = 0, _timer2 = 0;
120 int _emptyLineHeight = 10;
127 bool _resolutionFlag =
false;
128 int32 _screenWidth = 0, _screenHeight = 0, _screenColorDepth = 0;
129 int32 _staticScreenWidth = 0;
130 bool _staticWidthMatches =
false;
133 void calculateSequenceHeight(
int sequence);
134 int VGACheck(
int value);
135 void startSequence(
int sequence);
Definition: ags_creditz.h:48
Definition: plugin_base.h:171
Definition: ags_creditz.h:96
Definition: ags_creditz.h:84
Definition: ags_creditz.h:79
Definition: ags_creditz.h:59
Definition: ags_creditz.h:37
Definition: plugin_base.h:189