created mirror
This commit is contained in:
64
Modules/vob/VobStore.java
Normal file
64
Modules/vob/VobStore.java
Normal file
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
VobStore.java
|
||||
*
|
||||
* Copyright (c) 2001, Ted Nelson and Tuomas Lukka
|
||||
*
|
||||
* You may use and distribute under the terms of either the GNU Lesser
|
||||
* General Public License, either version 2 of the license or,
|
||||
* at your choice, any later version. Alternatively, you may use and
|
||||
* distribute under the terms of the XPL.
|
||||
*
|
||||
* See the LICENSE.lgpl and LICENSE.xpl files for the specific terms of
|
||||
* the licenses.
|
||||
*
|
||||
* This software is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the README
|
||||
* file for more details.
|
||||
*
|
||||
*/
|
||||
/*
|
||||
* Written by Benjamin Fallenstein
|
||||
*/
|
||||
package org.gzigzag;
|
||||
import java.util.*;
|
||||
import java.awt.*;
|
||||
|
||||
/** A store for Vobs.
|
||||
*/
|
||||
|
||||
public class VobStore implements ZZScene {
|
||||
public static final String rcsid = "$Id: VobStore.java,v 1.1 2001/01/20 08:56:19 bfallenstein Exp $";
|
||||
|
||||
public static final boolean dbg = true;
|
||||
private static final void p(String s) { if(dbg) System.out.println(s); }
|
||||
private static final void pa(String s) { System.out.println(s); }
|
||||
|
||||
public boolean interpConns = false;
|
||||
|
||||
/** Visual objects.
|
||||
*/
|
||||
private int nvobs;
|
||||
private Vob[] vobs = new Vob[30];
|
||||
boolean vsorted = false;
|
||||
boolean vtagged = false;
|
||||
|
||||
/** Connections between vobs.
|
||||
* These are rendered before (under) the vobs of the same depth. Note
|
||||
* that they are interpolated if the interpConns flag is set.
|
||||
*/
|
||||
private int nconns;
|
||||
private Connection[] conns = new Connection[30];
|
||||
boolean csorted = false;
|
||||
|
||||
/** Decorations.
|
||||
* These are always rendered last (above everything else). They are never
|
||||
* interpolated.
|
||||
*/
|
||||
private int ndecors;
|
||||
private Decoration[] decors = new Decoration[2];
|
||||
|
||||
// ??? private int maxdepth = 0;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user