Exemple #1
0
void TextCreate (int width, int height)
{

  GLtexture*    t;

  view_size.x = width;
  view_size.y = height;
  t = TextureFromName ("font.png");
  font.FaceSet (t->id);

}
Exemple #2
0
CPointer::CPointer()
{
    m_last_cell.x = m_last_cell.y = -1;
    m_texture = TextureFromName( "ring" );
    m_entity_type = "pointer";
}