Exemplo n.º 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);

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