How can you use D3D to draw text in a text file -.-
How would I draw text from a text file? (DrawString)
Last edited by seeplusplus; 10-03-2010 at 09:20 AM.
Goals:
Green = Done
Blue = Getting Somewhere
Red = Not Done
- Mouse Grid
- PTC Method
- Trigger Bot
I'm trying to think of more stuff!
How can you use D3D to draw text in a text file -.-
Dont ban me
Yes... thats wat im asking...
Goals:
Green = Done
Blue = Getting Somewhere
Red = Not Done
- Mouse Grid
- PTC Method
- Trigger Bot
I'm trying to think of more stuff!
Do You Mean Too Log Text Into A File
To get the text in a text file and then draw it.
Goals:
Green = Done
Blue = Getting Somewhere
Red = Not Done
- Mouse Grid
- PTC Method
- Trigger Bot
I'm trying to think of more stuff!
This should help you, it shows you exactly how to do what your askign for
1. Loading A text File
2. Retrieving lines of text
3. Drawing Lines of Text
Part 2 - Loading a text file the easy way | www.catch22.net
You can figure out the D3D Part :P
Enjoy
Dont ban me
I got that. But I can't figure out the D3D part!
Goals:
Green = Done
Blue = Getting Somewhere
Red = Not Done
- Mouse Grid
- PTC Method
- Trigger Bot
I'm trying to think of more stuff!
wassup40 (10-03-2010)
[php]std::ifstream file;/pe to read a file
char text[1024];//ur text u want to print with max 1024(kb) letters
file.open("your.file");//open ur file
if(file.good())//if this file is exist
while(!file.eof())//as long not the end of file
file.getline(text,1024);//get 1024 letters from the file if they are not 1024 its ok but more it will not read
file.close;//close ur file[/php]
and here u see a DrawText: https://www.mpgh.net/forum/207-combat...functions.html
The Internet SHOULD Be Illegal
When you say
"Java is a great programming language because it works on all platforms"
it is just like
"anal sex is great because it works on all genders"
Are YOU a Troll?
Mr.Magicman (10-03-2010),Stephen (10-04-2010),wassup40 (10-03-2010)
wassup40 (10-03-2010)
no problem, but never forgot basics
The Internet SHOULD Be Illegal
When you say
"Java is a great programming language because it works on all platforms"
it is just like
"anal sex is great because it works on all genders"
Are YOU a Troll?