problems with graphics under TAM

andrew.d.hay mvadh at cbnews.att.com
Tue Feb 19 22:46:27 AEST 1991


In article <1991Feb18.190101.22034 at uncecs.edu> tcamp at uncecs.edu (Ted A. Campbell) writes:
[]
"(2) Can we address text to specific pixel locations?
"
"I fear that (under TAM) the answer is no. Everything I read
"and try suggests that text has to be addressed to a character
"cell location, and cannot be addressed to a pixel-specific
"location. But have I missed something? One would think that
"on a bitmapped terminal the placement of text at pixel specific
"locations would be possible. Without this capability, the TAM
"implementation of my software will be seriously retarded.

this is true.  however, you might be able to define your fonts as
icons.  tam allows 64 icons in an iconfile array, so you'd need to
find a way to chain iconfiles...
i've devoted some thought to this with the intent of producing a tam
nethack, with a custom font for fixed things like food and traps, and
custom icons for monsters and the player, and bitmaps for the dungeon.
would it be possible to create a large icon array as a struct of
smaller arrays, thus allowing access to all icons with a single
pointer and using no fancy arithmetic?
nothing coded, though.

p.s. if i remember rightly, icons are limited to 16*16.

-- 
Andrew Hay		+------------------------------------------------------+
Ragged Individualist	| 			JAAAAAAANE!		       |
AT&T-BL Ward Hill MA	|	    HOW DO YOU STOP THIS CRAZY THING?	       |
a.d.hay at att.com		+------------------------------------------------------+



More information about the Comp.sys.3b1 mailing list