| | |
Graphics.h turmoil
![]() |
•
•
Join Date: Dec 2004
Posts: 10
Reputation:
Solved Threads: 0
Thanks, but either I'm just stupid, or I'm still wading.
Here's the above code I'm trying to use, but it doesn't seem to be working. How do I get to compile it in DOS?
I'm really sorry for taking up your time.
status() is a function, by the way, which accepts strings.
Hope you had a Merry Christmas!
Me. :mrgreen: :rolleyes:
:!:
int graphdriver = VGA;
int graphmode = VGAHI;
int graphicerr = 0;
//Directory for BGI Drivers
char driverpath[]="C:\BC5\BGI";
initgraph(&graphdriver, &graphmode, driverpath);
graphicerr = graphresult();
if(graphicerr!=gr0k)
{
status("Error in Graphics Display. Consult your computer technician for details.");
exit(0);
}I'm really sorry for taking up your time.
status() is a function, by the way, which accepts strings.
Hope you had a Merry Christmas!
Me. :mrgreen: :rolleyes:
:!:
>How do I get to compile it in DOS?
Are you using DOS? Or are you one of the many ignorant people in the world who think that the Windows command prompt is DOS? You really are behind the times by many years. There are many superior alternatives to BGI these days.
Are you using DOS? Or are you one of the many ignorant people in the world who think that the Windows command prompt is DOS? You really are behind the times by many years. There are many superior alternatives to BGI these days.
In case you were wondering, yes, I do hate you.
![]() |
Other Threads in the Game Development Forum
- Previous Thread: graphic.h
- Next Thread: Simulating 30° with 45° images/tiles
Views: 7316 | Replies: 14
| Thread Tools | Search this Thread |
Tag cloud for Game Development
3d activision agile ai allegro app auction avatar c++ camera china cod development ebay engine fov fpx game game-development gamedevelopment gameprogramming gamer games gaming graphics gta hack infinity-ward intel iphone l-systems larrabee legal lindenmayer matrix microsoft mmorpg modded modern-warfare modern-warfare-2 multicore mw2 nes news nintendo opengl playstation politics processor programming project-natal projection ps3 rare rockstar rpg search selection software sony spooks spy stadium-events studio wii world-of-warcraft xbox xbox-live






