69 |
} |
} |
70 |
|
|
71 |
Vob dlist; |
Vob dlist; |
72 |
public int addToListGL(gzz.client.GraphicsAPI.RenderingSurface win, |
public int putGL(VobScene vs, int coordsys1) { |
|
int[] list, int curs, int coordsys1, |
|
|
int coordsys2) { |
|
73 |
if(dlist == null) |
if(dlist == null) |
74 |
dlist = GLCache.getCallListBoxCoorded( |
dlist = GLCache.getCallListBoxCoorded( |
75 |
"PushAttrib CURRENT_BIT ENABLE_BIT\nColor "+ColorUtil.colorGLString(color)+"\n"+ |
"PushAttrib CURRENT_BIT ENABLE_BIT\nColor "+ColorUtil.colorGLString(color)+"\n"+ |
76 |
"Disable TEXTURE_2D\nBegin LINE_STRIP\nVertex "+x0+" "+y0+ |
"Disable TEXTURE_2D\nBegin LINE_STRIP\nVertex "+x0+" "+y0+ |
77 |
"\nVertex "+x1+" "+y1+"\nEnd\nPopAttrib\n"); |
"\nVertex "+x1+" "+y1+"\nEnd\nPopAttrib\n"); |
78 |
|
|
79 |
curs = dlist.addToListGL(win, list, curs, coordsys1, coordsys2); |
vs.map.put(dlist, coordsys1); |
80 |
return curs; |
return 0; |
81 |
} |
} |
82 |
|
|
83 |
} |
} |