1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
// solarSystem.h
#define solarSystem_H
BITMAP *planetMERCURY;
BITMAP *planetVENUS;
BITMAP *planetEARTH;
BITMAP *planetMARS;
BITMAP *planetJUPITER;
BITMAP *planetSATURN;
BITMAP *planetURANUS;
BITMAP *planetNEPTUNE;
void solarSystem()
{
planetMERCURY = load_bitmap( "planetMERCURY.bmp", NULL);
planetVENUS = load_bitmap( "planetVENUS.bmp", NULL);
planetEARTH = load_bitmap( "planetEARTH.bmp", NULL);
planetMARS = load_bitmap( "planetMARS.bmp", NULL);
planetJUPITER = load_bitmap( "planetJUPITER.bmp", NULL);
planetSATURN = load_bitmap( "planetSATURN.bmp", NULL);
planetURANUS = load_bitmap( "planetURANUS.bmp", NULL);
planetNEPTUNE = load_bitmap( "planetNEPTUNE.bmp", NULL);
/* NameHere = load_bitmap( "NameHere.bmp", NULL); */
draw_sprite( screen, planetMERCURY, 0, 0);
draw_sprite( screen, planetVENUS, 150, 0);
draw_sprite( screen, planetEARTH, 300, 0);
draw_sprite( screen, planetMARS, 450, 0);
draw_sprite( screen, planetJUPITER,600, 0);
draw_sprite( screen, planetSATURN, 750, 0);
draw_sprite( screen, planetURANUS, 900, 0);
draw_sprite( screen, planetNEPTUNE, 1050, 0);
/* draw_sprite( screen, NameHere, x, y); */
}
|