Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old May 25th, 2006, 7:41 PM   #1
Varrickmana
Newbie
 
Varrickmana's Avatar
 
Join Date: May 2006
Posts: 21
Rep Power: 0 Varrickmana is on a distinguished road
Lightbulb sort of a noob question...

Well, as u probably have realised by now if you've had the privilage of listening to me complain and rant on about my other problems, that I am creating a simple dos-based rpg. :p Well, I have another question. I am working on making a "score sheet" for the player if he types in a certian thing that will tell him his stats, lvl, race, profession, etc. Well, how can I make a nice looking scoresheet? There must be a way to draw nice horizontal lines, but I have not yet goten that far in my over-900-page book yet. If someone has a cool idea to make the score sheet nice or any other sugesstions for my game, then they would be gratefully accepted.


P.S. also maybe how to make text colored if you aren't too annoyed with me already

P.S.S. and how might I go about making an inventory for the player?
__________________
Kids, every year, more than 400,000 people die from tobacco chewing, smoking, an-
MY GOD, HERE COMES A ZOMBIE PIRATE NINJA!!!!!!

Last edited by Varrickmana; May 25th, 2006 at 7:59 PM.
Varrickmana is offline   Reply With Quote
Old May 25th, 2006, 8:07 PM   #2
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 8 Ooble is on a distinguished road
What operating system are you using? If your command-line interface supports Unicode characters (the Windows XP command prompt does, I belive), you can use those to draw the lines: there are non-breaking line characters in the Unicode character set.

As for making text coloured: Windows; Everything Else.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old May 25th, 2006, 8:21 PM   #3
Varrickmana
Newbie
 
Varrickmana's Avatar
 
Join Date: May 2006
Posts: 21
Rep Power: 0 Varrickmana is on a distinguished road
I use Windows XP. Thanks for the link.
__________________
Kids, every year, more than 400,000 people die from tobacco chewing, smoking, an-
MY GOD, HERE COMES A ZOMBIE PIRATE NINJA!!!!!!
Varrickmana is offline   Reply With Quote
Old May 25th, 2006, 8:27 PM   #4
Jimbo
Battle Programmer
 
Jimbo's Avatar
 
Join Date: Feb 2006
Location: Bellevue, WA, USA
Posts: 742
Rep Power: 3 Jimbo is on a distinguished road
I'd recommend taking a look at some of the stuff in <iomanip>, or if you're using C style output (which I doubt) you could use printf to make things line up purdylike.
Jimbo is offline   Reply With Quote
Old May 26th, 2006, 9:18 AM   #5
Varrickmana
Newbie
 
Varrickmana's Avatar
 
Join Date: May 2006
Posts: 21
Rep Power: 0 Varrickmana is on a distinguished road
Cool! Sounds good, but I still have 1 question:
How would I go about making an inventory for the player?
__________________
Kids, every year, more than 400,000 people die from tobacco chewing, smoking, an-
MY GOD, HERE COMES A ZOMBIE PIRATE NINJA!!!!!!
Varrickmana is offline   Reply With Quote
Old May 26th, 2006, 10:00 AM   #6
free-zombie
Programmer
 
free-zombie's Avatar
 
Join Date: May 2006
Location: Bavaria, Germany
Posts: 50
Rep Power: 0 free-zombie is an unknown quantity at this point
Send a message via ICQ to free-zombie Send a message via MSN to free-zombie Send a message via Yahoo to free-zombie
for an inventory, I'd probably make a simple class "Item" (maybe subclass it for special items - or just store the type inside if it's simple) and make the inventory a std::list<Item>
that would allow you to edit the inventory with well-documented STL methods
free-zombie is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

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




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:02 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC