EZVGA graphics library FAQ (Frequently Asked Questions):
---------------------------------------------------------
By Matthew Bentley

Questions list:
1. How can I draw straight to the screen without clipping ?

2. How can I get PCX/BLD/RAW files to load up straight to the screen ?

3. Why can't I get this PCX/BLD/RAW file to load ?

4. Hey, how come when I save PCX files using EZVGA, they can't be read by
   other programs ?



Questions & Answers:
1. Q : 	How can I draw straight to the screen without clipping ?
   A : 	The EZVGA library contains a pointer to the screen array called 'VIDEO'.
	Please note the capital letters. Using this, you can make a point at
	any part of the screen - the basic equation to do this is :
		VIDEO[y * 320 + x] = colour;
	However, the fastest way to do this is :
		VIDEO[(y << 8) + (y << 6) + xp] = colour;
	This is using bit-shifting, which, if you know your binary, amounts
	to shifting all the bits in a variable to the left (<<) or to the
	right (>>) - effectively multiplying or dividing the variable by 2
	every time you do it. This is heaps faster than using the * or / 
	operators. So, if we can see 320 as being made up of 256 (2 to the
	power of 8) and 64 (2 to the power of 6), to multiply y by 320, all
	we have to do is bitshift y to the left by 8, and again by 6.
	All of the writing to the screen within the EZVGA library uses bit-
	shifting.
2. Q :	How can I get PCX/BLD/RAW files to load up straight to the screen ?
   A :	Simply put 'VIDEO' in the place of where you would normally put your
	graphics array.
3. Q :  Why can't I get this PCX/BLD/RAW file to load ?
   A :	Double-check that when you type in the location of the file in your
	code that you use two slashes (\\) instead of one (\) - this is to 
	tell your C++ compiler that the slash is a character, not a switch.
	E.g :
		Wrong :
		loadpcx ("c:\prog\matts.pcx", VIDEO, palarray);

		Right :
		loadpcx ("c:\\prog\\matts.pcx", VIDEO, palarray);
	If you don't do this, the program will look for the file in the 
	root directory.
4. Q :	Hey, how come when I save PCX files using EZVGA, they can't be read by
	other programs ?
   A :	This is a bug. The PCX files saved from EZVGA load up fine under it, 
	but other programs can't read them. If you can figure out from the
	header file what is wrong with my encoding, please tell me.

*** END OF FAQ ***
