Orwell DevC++ Graphic mode

how do i set display modes as the code right here seems to give me an error
95 37 C:\Users\JonnySarhanis\Documents\devC++\elbimbo.cpp [Error] 'VGA_LIGHTGREEN' was not declared in this scope

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
void drawplanets()
{
    //call the specified X coordinates
	//arc radius of the sun
	drawplanets (-90,100,VGA_YELLOW,EMPTY_FILL);
	//mercury
	drawplanets(0.4 * au1, 0.4 * erad,VGA_BROWN,LTBKSLASH_FILL);
	//Venus 
	drawplanets(0.7 * au1, 1.0, * erad, VGA_WHITE, SOLID_FILL);
	//Earth
	drawplanets(1.0*au1,1.0*erad,VGA_LIGHTBLUE,SOLID_FILL);
	//Mars
	drawplanets(1.5 * au1,0.4 * erad, VGA_LIGHTRED, CLOSE_DOT_FILL);
	//Jupiter
	drawplanets(5.2 * au2, 11.2 * erad, VGA_WHITE, LINE_FILL);
	//Saturn
	drawplanets(9.5 * au2, 4.2 * erad, VGA_LIGHTGREEN, LINE_FILL);
	//Uranus
	drawplanets(19.2 * au2, 4.2 * erad, VGA_GREEN, LINE_FILL);
}


Last edited on
Topic archived. No new replies allowed.