WidePrix3 1.0 by hatcher the patcher

This patch makes it possible to play MicroProse's Grand Prix 3 in widescreen and also adds a lookaround feature.

SUPPORTED VERSIONS:
- GP3 1.13
- GP3 2000

IMPORTANT: This patch does not eliminate the need to use dgVoodoo and all the other tricks that make this game work on modern systems!

DISCLAIMER: Although the resolution can be set freely, I give no guarantees that the game will work in your chosen resolution and aspect ratio.
            Standard 16:9 resolutions (1920x1080 and 1280x720) have been tested and known to work.

This patch can be run in unison with GPxPatch. To make this possible, the starting process differs from my other patches.

HOW TO CONFIGURE
1. Create a file called WidePrix3.cfg next to WidePrix3.exe.

2. Use the following config settings:
- vid_customWidth [width]
- vid_customHeight [height]

- vid_fovOffset [offset]
	- WidePrix3 will automatically adjust the default fov for the selected aspect ratio. You can adjust it further with this but it's not necessary.
	  A negative number will make it zoom out more, a positive number will zoom in more.
	  To give you a sense of the range, the default value is 255, in 16:9 it's adjusted to 191.

- joy_lookLeft [device] [button]
- joy_lookRight [device] [button]
- joy_lookBack [device] [button]

You can just copy the lookaround binds from either x86GP2 or secondwind. 


HOW TO RUN
1. Start WidePrix3.exe first. It's not going to start the game. It's going to wait for the game to be started.
IMPORTANT: If you want to use WidePrix3 together with GPxPatch, you have to start WidePrix3 in administrator mode!

2. When WidePrix3 says in the console that it's waiting for the game, start GP3 either through GPxPatch or the regular gp3.exe.


POTENTIAL ISSUES AND POTENTIAL FIXES
Q: WidePrix3 attaches to the game successfully but it still loads in 4:3.
A: Try the other dgVoodoo device in the game's Render Device settings.

Q: Some kind of virtual mirror shows up at the bottom of my cockpit.
A: Increase the fov a bit.

Q: The cars in front of me look very pixelated.
A: The game treats a wider fov as if you were actually further away so it activates the 2D cars sooner. Increase the RCR distances in GPxPatch -> GPxLap.

Q: My LCD screen doesn't turn on when a race starts.
A: Switch to another car and back.

Q: The edge of the lollipop and the cleaning hand is cut off in widescreen.
A: Fill them in with your imagination.

Q: The text on the pit monitor is not aligned correctly.
A: You gain some, you lose some.