713 |
*/ |
*/ |
714 |
float texf = 0.5; |
float texf = 0.5; |
715 |
|
|
716 |
DBG(dbg_irregularquad) << "Dice: " << dicex << " " << dicey << " " << diceb << "\n"; |
DBG(dbg_irregularquad) << "Dice: " << dicex << " " << dicey << " " << diceb << "\\n"; |
717 |
|
|
718 |
for (int pass = 0; pass < (mode ? 4 : 1); pass++) { |
for (int pass = 0; pass < (mode ? 4 : 1); pass++) { |
719 |
|
|
842 |
}; |
}; |
843 |
""", |
""", |
844 |
"RenderCode" : """ |
"RenderCode" : """ |
845 |
|
if (dbg) { |
846 |
|
cout << "HorizText:\\n"; |
847 |
|
for (unistring::iterator it = txt.begin(); it != txt.end(); ++it) |
848 |
|
cout << "'" << (char)*it << "' (" << (int)*it << ")\\n"; |
849 |
|
} |
850 |
|
|
851 |
Vertexer<Coords> v(coords1, widthmul, heightmul, origin); |
Vertexer<Coords> v(coords1, widthmul, heightmul, origin); |
852 |
glPushAttrib(GL_ENABLE_BIT); |
glPushAttrib(GL_ENABLE_BIT); |
853 |
glEnable(GL_BLEND); |
glEnable(GL_BLEND); |
856 |
v |
v |
857 |
); |
); |
858 |
glPopAttrib(); |
glPopAttrib(); |
859 |
|
if (dbg) cout << "HorizText done\\n"; |
860 |
|
|
861 |
""" |
""" |
862 |
}, |
}, |