|
|
#1 |
|
Scout
Join Date: Mar 2008
Posts: 31
![]() |
Help with tile size and c++ please
Hey everyone,
Been playing since the late 90's, lurking since the mid 00's, posting on and off for a few years, and now I am finally starting to code. I am learning C++ at university, and for my major project I am looking into some serious Roguelike development. It's shaping up to be a sci-fi Roguelike with some adventure aspects mixed in. I have my basic map and movement functions working and am learning my way around the curses library and to be honest, I am having a blast! My question however, is this. How do I change the tile width in the windows terminal? I want square tiles and so far google and forum searches have come up with very little. Thanks in advance
__________________
DIRK GENTLY'S HOLISTIC DETECTIVE AGENCY We solve the whole crime. We find the whole person. |
|
|
|
|
|
#2 |
|
Adept
Join Date: Jan 2008
Posts: 182
![]() |
I think the program does not have control over that unless it is producing its own window.
|
|
|
|
|
|
#3 | |
|
Knight
Join Date: Oct 2011
Location: Toronto, Canada
Posts: 631
![]() |
Quote:
I imagine there's a way to change the tile size from within your program by sending instructions to the underlying shell, but terminals only know rows and columns. The only way to change "tile width" would be to change the font size etc. of the character set your terminal is using, AFAIK. |
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Tile painters: request for a new tile | takkaria | Development | 8 | June 17, 2011 12:01 |
| Dungeon size: small | Timo Pietilä | Development | 42 | June 5, 2011 17:59 |
| Font size on ubuntu? | AltF4 | Vanilla | 5 | October 27, 2010 20:33 |
| Dungeon Size ? | lugonn | Vanilla | 5 | September 2, 2007 12:11 |
| Attachment size limit | Magnate | Oook! | 2 | July 30, 2007 11:26 |