View Single Post
Old 11-03-2009, 10:03 AM   #6
scandum
Senior Member
 
Join Date: Jun 2004
Posts: 315
scandum will become famous soon enough
Re: Client support for graphical maps?

One option is using a VT100 map as is common on Emlen Muds, in combination with a custom font, like Medievia's.

VT100 support works with telnet, putty, zmud, and wintin++/tintin++ which should cover over 50% of the mudders out there and all platforms. The VT100 codes are described in man console_codes, you typically set a scrolling region, using \e[11;24r which would split a 24 row screen into a 10 row static upper part (row 1 to 10) and a 14 row scrolling part (row 11 to 24). Then you can save the cursor using \e7, jump to the top section using \e[1;1H (first row, first column), draw the map, and return to wherever the cursor was when using \e7 by using \e8. You'd likely need to implement NAWS to get the client's screen size.

It could look somewhat like this: and medievia has some interesting screenshots as well not sure if there are other muds out there with cool fonts.

There's a list of clients and what they support here:
scandum is offline   Reply With Quote