|
From: <ste...@ge...> - 2000-12-28 22:10:58
|
Thanks alot, I think I'll try it out! :-)
But, where can i find help to get started with dev-cpp, because I can't =
make it work so far. It's like you have to know which files to include =
'n stuff.
Where can i find help to get started with some really kewl =
game+graphics-programming in (fx. dev-cpp), maybe even with some kewl =
stuff like DirectX, OpenGL and Direct3D.
Well, I hope you guys got some cool things for me.
Thanks, 'n ceep coding! :-)
----- Original Message -----=20
From: Elias Pschernig=20
To: dev...@li...=20
Sent: Thursday, December 28, 2000 1:32 PM
Subject: Re: [Dev-C++] some more to Graphics
If you want to do a graphics application, there are some reasons =
(hardware-acceleration, 32bit support, support for libraries...) why i =
would suggest you to switch to another compiler (Dev-C++ of course, or =
at least DJGPP). But anyway, if you are using Turbo C++, didn't it come =
with a graphics library ? If i remember right it is the library with the =
.BGI drivers - i think you can get a driver for VESA (for 640x480x256 =
mode), and then just use setactivepage() and setvisiblepage() functions =
to do page flipping.
Oh, well... that's sound kinda cool.
I'm doing something like this in my programs;
unsigned char *VGA =3D (unsigned char *) MK_FP(0xA000, 0);
unsigned char *BUFF =3D NULL;
BUFF =3D new unsigned char[64000]; 320x200 =3D 64000
draw_stuff_to_buff( );
__fmemcpy(VGA, BUFF, 64000);
So, is there anyone who has something to use for some kewl and fast =
graphics for games in min. 640x480. I'm using Turbo C++ 3.0
Thanks!
|