84 |
} |
} |
85 |
|
|
86 |
Vob decor; |
Vob decor; |
87 |
public int addToListGL(gzz.client.GraphicsAPI.RenderingSurface win, |
public int putGL(VobScene vs, int coordsys1) { |
|
int[] list, int curs, int coordsys1, |
|
|
int coordsys2) { |
|
88 |
float r, g, b, a; |
float r, g, b, a; |
89 |
if(color != null) { |
if(color != null) { |
90 |
r = color.getRed()/255f; |
r = color.getRed()/255f; |
93 |
a = 1f; |
a = 1f; |
94 |
} else { r = g = b = a = -1; } |
} else { r = g = b = a = -1; } |
95 |
|
|
96 |
decor = GLRen.createTDecor(horizontal, dir, 1, r, g, b, a); |
if(decor == null) |
97 |
curs = decor.addToListGL(win, list, curs, coordsys1, coordsys2); |
decor = GLRen.createTDecor(horizontal, dir, 1, r, g, b, a); |
98 |
return curs; |
|
99 |
|
vs.map.put(decor, coordsys1); |
100 |
|
return 0; |
101 |
} |
} |
102 |
} |
} |
103 |
|
|