Preserved Topic: Importing an ANSi to a C++ program ... |
|
---|---|
Author | Thread |
Nervous Wreck (II) Inmate From: Surrey, BC |
posted 06-14-2001 18:37
Ok. I'm stuck. I've made some wicked ANSi pics for a little RPG game I'm making for school. I want to know HOW you import an ANSi pic to a c++ program. The textbooks don't have jack crap about it!!!!! |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
posted 06-14-2001 22:26
Don't call me stupid, but wouldn't it just be a read function which reads in ANSI characters (i.e. bytes) and then you use a function which turns the bytes into readable characters. |
Nervous Wreck (II) Inmate From: Surrey, BC |
posted 06-19-2001 07:34
Well, I have a simple RPG test base game going on here. BUT, I don't find simple little characters appealing for craphics so I went out and used ACiD draw to make me some ANSi screens of some trees and crap. Now all I want to do is just replace the crap representation of pictures that I got and replace them with an ANSi picture. The file I saved it in is in *.ANS. |
Maniac (V) Inmate From: Seatte, Warshington, USA |
posted 06-19-2001 18:33
.ans sounds to me like a proprietary file structure. You're best bet is to try and find some info on the .ans structure. You can always pull the data out via binary read, you just need a map for the data, and any compression algorithms used. I would start by gathering more info on ACiD draw. I've never heard of it and I can't find it anywhere on the web (except on warez sites). Who makes it, what is their web url? As a last resort, you might try asking the makers for some help making the files. |
Maniac (V) Inmate From: Seatte, Warshington, USA |
posted 06-19-2001 18:34
Another thought, can ACiD draw export as anything else? |
Maniac (V) Mad Scientist From: the west wing |
posted 06-19-2001 22:49
heh |