Skip to main content
GameDev.net gamedev.net
🔒 Locked

LineTo

Started by Samurai_x Jan 15, 2002 at 8:49 PM 6 replies 600+ views
Original Post
Samurai_x
Samurai_x
How do I use the LineTo function in console mode
Gaiiden
Gaiiden
I don''t beleive you can use Win32 API functions in a non-Win32 app, which is what a console is. But I could be wrong...

_________________________________________________________________

Drew Sikora
A.K.A. Gaiiden

ICQ #: 70449988
AOLIM: DarkPylat

Blade Edge Software
Staff Member, GDNet
Public Relations, Game Institute

3-time Contributing author, Game Design Methods , Charles River Media (coming GDC 2002)
Online column - Design Corner at Pixelate

NJ IGDA Chapter - NJ developers unite!! [Chapter Home | Chapter Forum]
Drew Sikora
Executive Producer
GameDev.net
Oluseyi
Oluseyi
quote:
Original post by Gaiiden
But I could be wrong...

True, but this time you aren''t.

Samurai_x: Sorry, dude. Graphics will have to wait a little while longer.

[ GDNet Start Here | GDNet FAQ | MS RTFM | STL | Google ]
Thanks to Kylotan for the idea!
Gaiiden
Gaiiden
quote:
Original post by Oluseyi
True, but this time you aren''t.


Ah! That''s always good to know. Yes indeedy do...

Drew Sikora
Executive Producer
GameDev.net
TheSalmon
TheSalmon
quote:
Original post by Anonymous Poster
so theres no way to draw a line in console mode


ASCII Art...?

---
No game will ever rule more than CBT!
---Mikael Lax
Mezz
Mezz
Only if you want to mess with the display and go into a graphics mode can you draw lines effectively (I''m not even sure Windows lets you do this?)

Alternatively, you could use lots of dashes.

-Mezz
Gaiiden
Gaiiden
You could get away with using the inline assembler and mode 13h graphics couldn''t you? Fun stuff
Drew Sikora
Executive Producer
GameDev.net

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.