Angband.oook.cz
Angband.oook.cz
AboutDownloadVariantsLadderForumCompetitionSpoilersComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old June 26, 2012, 04:10   #1
Svladd Cjelik
Scout
 
Join Date: Mar 2008
Posts: 31
Svladd Cjelik is on a distinguished road
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.
Svladd Cjelik is offline   Reply With Quote
Old July 14, 2012, 00:19   #2
Patashu
Adept
 
Patashu's Avatar
 
Join Date: Jan 2008
Posts: 182
Patashu is on a distinguished road
I think the program does not have control over that unless it is producing its own window.
Patashu is offline   Reply With Quote
Old July 14, 2012, 03:25   #3
debo
Knight
 
Join Date: Oct 2011
Location: Toronto, Canada
Posts: 631
debo is on a distinguished road
Quote:
Originally Posted by Svladd Cjelik View Post
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
Curses is IMO really nasty to work with as a beginner. You could get the same flavour by rendering in something tamer (like QT), and rendering ASCII characters as fonts or whatever. You'd also have simple control of scaling as well.

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.
debo is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT +1. The time now is 17:25.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.