Project

General

Profile

« Previous | Next » 

Revision 13981586

Added by Leszek Koltunski about 6 years ago

Small things.

View differences:

src/main/java/org/distorted/library/main/DistortedMaster.java
33 33
public class DistortedMaster
34 34
  {
35 35
  private static ArrayList<Slave> mSlaves = new ArrayList<>();
36
/**
37
 * Not part of public API, do not document (public only because has to be used in PostprocessEffects)
38
 *
39
 * @y.exclude
40
 */
36

  
41 37
  public interface Slave
42 38
    {
43
    /**
44
     * Not part of public API, do not document
45
     * @y.exclude
46
     */
47 39
    void doWork();
48 40
    }
49 41

  
......
71 63
    }
72 64

  
73 65
///////////////////////////////////////////////////////////////////////////////////////////////////
74
/**
75
 * Not part of public API, do not document
76
 * @y.exclude
77
 */
66

  
78 67
  public static void newSlave(Slave s)
79 68
    {
80 69
    int num = mSlaves.size();
src/main/java/org/distorted/library/main/DistortedObject.java
66 66
  private static long mNextSystemID = 0;
67 67

  
68 68
  private long mID;
69
  protected int mType;
69
  private int mType;
70 70

  
71 71
///////////////////////////////////////////////////////////////////////////////////////////////////
72 72

  
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