Skip to content

Commit

Permalink
Remove unused toTransparency parameters from Character, GUI, and Obje…
Browse files Browse the repository at this point in the history
…ct TweenFadeIn/Out functions.
  • Loading branch information
edmundito committed Jul 12, 2015
1 parent 126f1fa commit 73c945d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 13 deletions.
5 changes: 4 additions & 1 deletion CHANGES.TXT
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Revision History
================
================

2.0.1 (Jul 12 2015)
- Fix: Remove toTransparency parameters from some TweenFadeOut functions.

2.0.0 (February 28 2014)
- Added ability to stop individual Tweens.
Expand Down
12 changes: 6 additions & 6 deletions Tween/Tween.asc
Original file line number Diff line number Diff line change
Expand Up @@ -1503,22 +1503,22 @@ int TweenTransparency(this Character*, float timing, int toTransparency, TweenEa

// Fade Out/Fade In

int TweenFadeOut(this GUI*, float timing, int toTransparency, TweenEasingType easingType, TweenStyle style, float startDelay, TweenTimingType timingType) {
int TweenFadeOut(this GUI*, float timing, TweenEasingType easingType, TweenStyle style, float startDelay, TweenTimingType timingType) {
return this.TweenTransparency(timing, 100, easingType, style, startDelay, timingType);
}
int TweenFadeIn(this GUI*, float timing, int toTransparency, TweenEasingType easingType, TweenStyle style, float startDelay, TweenTimingType timingType) {
int TweenFadeIn(this GUI*, float timing, TweenEasingType easingType, TweenStyle style, float startDelay, TweenTimingType timingType) {
return this.TweenTransparency(timing, 0, easingType, style, startDelay, timingType);
}
int TweenFadeOut(this Object*, float timing, int toTransparency, TweenEasingType easingType, TweenStyle style, float startDelay, TweenTimingType timingType) {
int TweenFadeOut(this Object*, float timing, TweenEasingType easingType, TweenStyle style, float startDelay, TweenTimingType timingType) {
return this.TweenTransparency(timing, 100, easingType, style, startDelay, timingType);
}
int TweenFadeIn(this Object*, float timing, int toTransparency, TweenEasingType easingType, TweenStyle style, float startDelay, TweenTimingType timingType) {
int TweenFadeIn(this Object*, float timing, TweenEasingType easingType, TweenStyle style, float startDelay, TweenTimingType timingType) {
return this.TweenTransparency(timing, 0, easingType, style, startDelay, timingType);
}
int TweenFadeOut(this Character*, float timing, int toTransparency, TweenEasingType easingType, TweenStyle style, float startDelay, TweenTimingType timingType) {
int TweenFadeOut(this Character*, float timing, TweenEasingType easingType, TweenStyle style, float startDelay, TweenTimingType timingType) {
return this.TweenTransparency(timing, 100, easingType, style, startDelay, timingType);
}
int TweenFadeIn(this Character*, float timing, int toTransparency, TweenEasingType easingType, TweenStyle style, float startDelay, TweenTimingType timingType) {
int TweenFadeIn(this Character*, float timing, TweenEasingType easingType, TweenStyle style, float startDelay, TweenTimingType timingType) {
return this.TweenTransparency(timing, 0, easingType, style, startDelay, timingType);
}

Expand Down
12 changes: 6 additions & 6 deletions Tween/Tween.ash
Original file line number Diff line number Diff line change
Expand Up @@ -267,12 +267,12 @@ import function StopTweenZ(this Character*, TweenStopResult result=Tween_STOP_RE
import int TweenTransparency(this GUI*, float timing, int toTransparency, TweenEasingType easingType=Tween_EASING_TYPE_GUI, TweenStyle style=Tween_STYLE_GUI, float startDelay=Tween_START_DELAY_GUI, TweenTimingType timingType=Tween_TIMING_GUI);
import int TweenTransparency(this Object*, float timing, int toTransparency, TweenEasingType easingType=Tween_EASING_TYPE, TweenStyle style=Tween_STYLE, float startDelay=Tween_START_DELAY, TweenTimingType timingType=Tween_TIMING);
import int TweenTransparency(this Character*, float timing, int toTransparency, TweenEasingType easingType=Tween_EASING_TYPE, TweenStyle style=Tween_STYLE, float startDelay=Tween_START_DELAY, TweenTimingType timingType=Tween_TIMING);
import int TweenFadeOut(this GUI*, float timing, int toTransparency, TweenEasingType easingType=Tween_EASING_TYPE_GUI, TweenStyle style=Tween_STYLE_GUI, float startDelay=Tween_START_DELAY_GUI, TweenTimingType timingType=Tween_TIMING_GUI);
import int TweenFadeIn(this GUI*, float timing, int toTransparency, TweenEasingType easingType=Tween_EASING_TYPE_GUI, TweenStyle style=Tween_STYLE_GUI, float startDelay=Tween_START_DELAY_GUI, TweenTimingType timingType=Tween_TIMING_GUI);
import int TweenFadeOut(this Object*, float timing, int toTransparency, TweenEasingType easingType=Tween_EASING_TYPE, TweenStyle style=Tween_STYLE, float startDelay=Tween_START_DELAY, TweenTimingType timingType=Tween_TIMING);
import int TweenFadeIn(this Object*, float timing, int toTransparency, TweenEasingType easingType=Tween_EASING_TYPE, TweenStyle style=Tween_STYLE, float startDelay=Tween_START_DELAY, TweenTimingType timingType=Tween_TIMING);
import int TweenFadeOut(this Character*, float timing, int toTransparency, TweenEasingType easingType=Tween_EASING_TYPE, TweenStyle style=Tween_STYLE, float startDelay=Tween_START_DELAY, TweenTimingType timingType=Tween_TIMING);
import int TweenFadeIn(this Character*, float timing, int toTransparency, TweenEasingType easingType=Tween_EASING_TYPE, TweenStyle style=Tween_STYLE, float startDelay=Tween_START_DELAY, TweenTimingType timingType=Tween_TIMING);
import int TweenFadeOut(this GUI*, float timing, TweenEasingType easingType=Tween_EASING_TYPE_GUI, TweenStyle style=Tween_STYLE_GUI, float startDelay=Tween_START_DELAY_GUI, TweenTimingType timingType=Tween_TIMING_GUI);
import int TweenFadeIn(this GUI*, float timing, TweenEasingType easingType=Tween_EASING_TYPE_GUI, TweenStyle style=Tween_STYLE_GUI, float startDelay=Tween_START_DELAY_GUI, TweenTimingType timingType=Tween_TIMING_GUI);
import int TweenFadeOut(this Object*, float timing, TweenEasingType easingType=Tween_EASING_TYPE, TweenStyle style=Tween_STYLE, float startDelay=Tween_START_DELAY, TweenTimingType timingType=Tween_TIMING);
import int TweenFadeIn(this Object*, float timing, TweenEasingType easingType=Tween_EASING_TYPE, TweenStyle style=Tween_STYLE, float startDelay=Tween_START_DELAY, TweenTimingType timingType=Tween_TIMING);
import int TweenFadeOut(this Character*, float timing, TweenEasingType easingType=Tween_EASING_TYPE, TweenStyle style=Tween_STYLE, float startDelay=Tween_START_DELAY, TweenTimingType timingType=Tween_TIMING);
import int TweenFadeIn(this Character*, float timing, TweenEasingType easingType=Tween_EASING_TYPE, TweenStyle style=Tween_STYLE, float startDelay=Tween_START_DELAY, TweenTimingType timingType=Tween_TIMING);
import function StopTweenTransparency(this Character*, TweenStopResult result=Tween_STOP_RESULT);
import function StopTweenTransparency(this Object*, TweenStopResult result=Tween_STOP_RESULT);
import function StopTweenTransparency(this GUI*, TweenStopResult result=Tween_STOP_RESULT);
Expand Down

0 comments on commit 73c945d

Please sign in to comment.