Project

General

Profile

« Previous | Next » 

Revision 9d12dd4a

Added by Leszek Koltunski almost 8 years ago

Fix Lint warnings, correct a lot of comments, adjust EffectListener interface.

View differences:

src/main/java/org/distorted/examples/effectqueue/EffectQueueRenderer.java
136 136
///////////////////////////////////////////////////////////////////////////////////////////////////
137 137
// the library sending messages to us. This is running on a library 'MessageSender' thread.
138 138

  
139
  public void effectMessage(final EffectMessage em, final long effectID, final EffectNames effectName, final long objectID, final String message)
139
  public void effectMessage(final EffectMessage em, final long effectID, final EffectNames effectName, final long objectID)
140 140
    {
141 141
    EffectQueueActivity act = (EffectQueueActivity)mView.getContext();
142 142

  
src/main/java/org/distorted/examples/effects3d/Effects3DActivity.java
401 401
    firstScreen = false;
402 402

  
403 403
    Distorted.setMaxVertex(20);    // those have to be called before
404
    Distorted.setMaxFragment(3);   // any DistortedObject gets created!
404
    Distorted.setMaxFragment(3);   // any DistortedEffect get created!
405 405

  
406 406
    if( mObjectType==1 )
407 407
      {
src/main/java/org/distorted/examples/listener/ListenerRenderer.java
92 92
///////////////////////////////////////////////////////////////////////////////////////////////////
93 93
// the library sending messages to us. This is running on a library 'MessageSender' thread.
94 94

  
95
   public void effectMessage(final EffectMessage em, final long effectID, final EffectNames effectName, final long objectID, final String message)
95
   public void effectMessage(final EffectMessage em, final long effectID, final EffectNames effectName, final long objectID)
96 96
     {
97 97
     switch(em)
98 98
        {
src/main/java/org/distorted/examples/starwars/StarWarsRenderer.java
367 367
///////////////////////////////////////////////////////////////////////////////////////////////////
368 368
// the library sending messages to us. This is running on a library 'MessageSender' thread.
369 369

  
370
  public void effectMessage(final EffectMessage em, final long effectID, final EffectNames effectName, final long objectID, final String message)
370
  public void effectMessage(final EffectMessage em, final long effectID, final EffectNames effectName, final long objectID)
371 371
    {
372 372
    if( em==EffectMessage.EFFECT_FINISHED )
373 373
      {

Also available in: Unified diff