Project

General

Profile

« Previous | Next » 

Revision 13981586

Added by Leszek Koltunski over 5 years ago

Small things.

View differences:

src/main/java/org/distorted/library/main/EffectQueue.java
37 37
  private static final int DETACH = 1;
38 38
  private static final int DETALL = 2;
39 39

  
40
  protected int mNumEffects;      // 'ToBe' will be more than mNumEffects if doWork() hasn't
41
  protected int mNumEffectsToBe;  // added them yet (or less if it hasn't removed some yet)
42
  protected float[] mUniforms;
43
  protected long[] mCurrentDuration;
44
  protected Effect[] mEffects;
45
  protected int[] mName;
46
  protected long mTime=0;
47
  protected static int[] mMax = new int[EffectType.LENGTH];
48
  protected ArrayList<EffectListener> mListeners =null;
49
  protected int mNumListeners=0;  // ==mListeners.length(), but we only create mListeners if the first one gets added
50
  protected long mDistortedEffectsID;
51

  
40
  int mNumEffects;      // 'ToBe' will be more than mNumEffects if doWork() hasn't
41
  int mNumEffectsToBe;  // added them yet (or less if it hasn't removed some yet)
42
  float[] mUniforms;
43
  long[] mCurrentDuration;
44
  Effect[] mEffects;
45
  int[] mName;
46
  long mTime=0;
47
  ArrayList<EffectListener> mListeners =null;
48
  int mNumListeners=0;  // ==mListeners.length(), but we only create mListeners if the first one gets added
49
  long mDistortedEffectsID;
50

  
51
  private static int[] mMax = new int[EffectType.LENGTH];
52 52
  private static long mNextID;
53 53
  private static HashMap<ArrayList<Long>,Long> mMapID = new HashMap<>(); // maps lists of Effect IDs (longs) to a
54 54
                                                                         // single long - the queue ID.
55

  
56 55
  private ArrayList<DistortedNode> mNodes = null;
57 56
  private long mID;
58 57
  private static boolean mCreated;

Also available in: Unified diff