Field

Changeset 288:fdbcedd769f0

Show
Ignore:
Timestamp:
12/02/2008 12:19:26 AM (1 month ago)
Author:
marc@f1.local
branch:
default
Message:

Faceless wasn't

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • development/.classpath

    r269 r288  
    2929        <classpathentry exported="true" kind="lib" path="depends/xstream-1.2.2/xstream/target/xstream-SNAPSHOT.jar" sourcepath="depends/xstream-1.2.2/xstream/src"/> 
    3030        <classpathentry exported="true" kind="lib" path="depends/jdnc-0_7-all.jar" sourcepath="/Users/marc/fieldwork/field/development/depends/swingx/docs"/> 
    31         <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> 
     31        <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.launching.macosx.MacOSXType/JVM 1.5.0 (MacOS X Default)"/> 
    3232        <classpathentry kind="src" output="classes" path=".apt_generated"> 
    3333                <attributes> 
  • development/java/field/Faceless.java

    r221 r288  
    33import field.core.execution.AutoEngage; 
    44import field.core.execution.PhantomFluidSheet; 
    5 import field.core.ui.FieldMenus; 
    65import field.launch.Launcher; 
    76import field.launch.SystemProperties; 
     
    2120        public void launch() { 
    2221 
    23                 phantom = FieldMenus.fieldMenus.openSheet(SystemProperties.getProperty("field.scratch", "field.Blank.xml"), false); 
    24  
     22                phantom = new PhantomFluidSheet(SystemProperties.getProperty("field.scratch", "field.Blank.xml"), false, false); 
     23                 
    2524                Launcher.getLauncher().registerUpdateable(new iUpdateable() { 
    2625 
  • development/java/field/graphics/core/BasicTextures.java

    r267 r288  
    22 
    33import java.net.URL; 
    4 import java.nio.ByteBuffer; 
    54 
    65import javax.media.opengl.GL; 
     
    260259 
    261260 
    262                       ByteBuffer b = image.getImage(); 
    263  
    264                       for (int i = 0; i < b.capacity(); i++) { 
    265                               if (i % 4 == 0) 
    266                                       System.out.println(); 
    267                               System.out.print(b.get() + " "); 
    268                       } 
    269  
     261//                    ByteBuffer b = image.getImage(); 
     262// 
     263//                    for (int i = 0; i < b.capacity(); i++) { 
     264//                            if (i % 4 == 0) 
     265//                                    System.out.println(); 
     266//                            System.out.print(b.get() + " "); 
     267//                    } 
     268// 
    270269                         
    271270                        return true; 
  • development/java/field/graphics/qt/ByteImage.java

    r267 r288  
    88public class ByteImage { 
    99 
    10         private final String filename; 
     10        private String filename; 
    1111        private int width; 
    1212        private int height; 
     
    2323 
    2424                if (image == 0) 
     25                { 
     26                        System.err.println(" about to load image <"+filename+">"); 
     27                        if (filename.indexOf(":")==-1) 
     28                                filename = "file://"+filename; 
    2529                        image = new CoreImage().image_createWithURL(filename); 
     30                } 
    2631 
    2732                width = (int) new CoreImage().image_getExtentWidth(image);