Skip to content

Commit

Permalink
Removed import within class body.
Browse files Browse the repository at this point in the history
Unfortunately, mainline Processing is inconsistent on if imports within class bodies are allowed by the language definition. JavaBuild currently allows it (though does not explicitly permit it) while SourceUtil assumes that imports are "hoistable" to the top of the sketch so imply that the language does not permit it. The Sam Pottinger branch of Processing (specifically sampottinger/processing#15) makes SourceUtil's assumption explicity by dissallowing import statements within class bodies. This PR updates romanesco in response.
  • Loading branch information
sampottinger committed Aug 23, 2019
1 parent 2e06aa9 commit b9dea80
Show file tree
Hide file tree
Showing 55 changed files with 517 additions and 1,134 deletions.
Binary file removed .DS_Store
Binary file not shown.
11 changes: 0 additions & 11 deletions src/sources/A___rendering_33/A__CORE_ROMANESCO.pde
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -449,14 +449,3 @@ void center_sketch(ivec2 loc) {
int term_y_1 = height/2;
loc.y = term_y_0 - term_y_1;
}











3 changes: 0 additions & 3 deletions src/sources/A___rendering_33/A___rendering_33.pde
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,3 @@ void mouseWheel(MouseEvent e) {
wheel[0] = e.getCount() *speedWheel;
}
}



4 changes: 0 additions & 4 deletions src/sources/A___rendering_33/A_debug.pde
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,3 @@ void test_set_pix_density() {
set(x,y,c);
}
}




3 changes: 0 additions & 3 deletions src/sources/A___rendering_33/B_Core_Prescene.pde
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,3 @@ void key_false() {
if (key_left) key_left = false;
if (key_right) key_right = false;
}



6 changes: 1 addition & 5 deletions src/sources/A___rendering_33/B_Core_Scene.pde
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ void init_value_temp_prescene() {
* MANAGE DIALOGUE SCENE
*/
void save_dial_scene(String path) {
Table save_dial = new Table();
processing.data.Table save_dial = new processing.data.Table();
save_dial.addColumn("fx active");
save_dial.addColumn("fx slider active");
TableRow table_row = save_dial.addRow();
Expand All @@ -100,7 +100,3 @@ void save_dial_scene(String path) {
table_row.setString("fx slider active",list_slider);
saveTable(save_dial,path+"/dialogue_from_scene.csv");
}




14 changes: 0 additions & 14 deletions src/sources/A___rendering_33/D_depracated.pde
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -481,17 +481,3 @@ class Canvas {
}
// END CANVAS
/////////////














13 changes: 0 additions & 13 deletions src/sources/A___rendering_33/O_Abyss.pde
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -1584,16 +1584,3 @@ class The_Abbyss extends Romanesco {
//END CATALOGUE

}













9 changes: 0 additions & 9 deletions src/sources/A___rendering_33/O_Arbre.pde
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -242,12 +242,3 @@ class ArbreRomanesco extends Romanesco {
}
}
}









14 changes: 0 additions & 14 deletions src/sources/A___rendering_33/O_Atome.pde
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -1462,17 +1462,3 @@ String whichSentence(String txt, int whichChapter, int whichSentence) {

return repartition[whichChapter][whichSentence] ;
}














12 changes: 0 additions & 12 deletions src/sources/A___rendering_33/O_BoumBoum.pde
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -125,15 +125,3 @@ class BoumBoum extends Romanesco {
}
}
}












15 changes: 0 additions & 15 deletions src/sources/A___rendering_33/O_Boxolyzer.pde
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -263,18 +263,3 @@ class Boxolyzer extends Romanesco {
}
}
}















19 changes: 0 additions & 19 deletions src/sources/A___rendering_33/O_Cellular_automata.pde
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -229,22 +229,3 @@ class Cellular_automata extends Romanesco {
}
}
}



















29 changes: 0 additions & 29 deletions src/sources/A___rendering_33/O_Ecosystem_host.pde
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -350,32 +350,3 @@ void costume_DNA(Helix helix, int target, vec3 size, float direction, Costume co
costume(pos_b, size, angle_b,costume) ;

}





























6 changes: 0 additions & 6 deletions src/sources/A___rendering_33/O_Escargot.pde
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -1822,9 +1822,3 @@ int timer(float tempo) {
chronometer = newChronometer ;
return chrnmtr ;
}






19 changes: 0 additions & 19 deletions src/sources/A___rendering_33/O_FF_Flux.pde
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -195,22 +195,3 @@ class Flux extends Romanesco {
}
}
}



















19 changes: 0 additions & 19 deletions src/sources/A___rendering_33/O_FF_Force_field.pde
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -354,22 +354,3 @@ class FF extends Romanesco {
colorMode(color_mode_ref,color_arg_ref.red(),color_arg_ref.gre(),color_arg_ref.blu(),color_arg_ref.alp());
}
}



















12 changes: 0 additions & 12 deletions src/sources/A___rendering_33/O_FF_Puppet_Master.pde
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -329,15 +329,3 @@ class Puppet_master extends Romanesco {
} else return true;
}
}












15 changes: 0 additions & 15 deletions src/sources/A___rendering_33/O_Grillo.pde
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -213,18 +213,3 @@ class Grillo extends Romanesco {
}
}
}















9 changes: 0 additions & 9 deletions src/sources/A___rendering_33/O_Hexagone.pde
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -283,12 +283,3 @@ class Honeycomb extends Romanesco {
}
}
//end object two









8 changes: 0 additions & 8 deletions src/sources/A___rendering_33/O_Kino.pde
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -201,11 +201,3 @@ class Kino extends Romanesco {
}
}
}








4 changes: 0 additions & 4 deletions src/sources/A___rendering_33/O_Kofosphere.pde
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,3 @@ class Kofosphere extends Romanesco {
}
}
}




6 changes: 0 additions & 6 deletions src/sources/A___rendering_33/O_Letter.pde
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -304,9 +304,3 @@ class Letter extends Romanesco {
return pts ;
}
}






12 changes: 0 additions & 12 deletions src/sources/A___rendering_33/O_Lorenz.pde
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -149,15 +149,3 @@ class Lorenz extends Romanesco {
if(mode == 1) endShape() ;
}
}












15 changes: 0 additions & 15 deletions src/sources/A___rendering_33/O_Mer.pde
Original file line number Diff line number Diff line change
Expand Up @@ -217,18 +217,3 @@ class Mer extends Romanesco {
}
//
}















9 changes: 0 additions & 9 deletions src/sources/A___rendering_33/O_Rosace.pde
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -1367,12 +1367,3 @@ class Rose {


}









0 comments on commit b9dea80

Please sign in to comment.