[COMPLETED 0.78.0] Resolutions
[COMPLETED 0.78.0] Resolutions
more Resolutions + Widescreen Resolutions
menu stretch to Fullscreen in all Resolutions
videos should play Fullscreen in all Resolutions
more demos included
menu stretch to Fullscreen in all Resolutions
videos should play Fullscreen in all Resolutions
more demos included
DiViNiTY MUSIC:
http://www.myspace.com/divinity002
http://www.myspace.com/divinity002
No resolution limit
Can the res limit be removed please? Paradoxnj said it was easy to change.
Once I was sad, and I stopped being sad and was awesome instead.
True story.
True story.
Re: No resolution limit
In D3D_main.cpp in the D3DDrv7x change the following function:
...by commenting out the following lines
... and either making AppInfo.Modes a dynamic array or increase the limit for MAX_APP_MODES.
The OpenGL driver already supports higher resolutions.
Code: Select all
static HRESULT CALLBACK EnumDisplayModesCallback(LPDDSURFACEDESC2 pddsd, LPVOID lpContext)
{
App_Mode *pMode;
if (!pddsd)
return DDENUMRET_OK;
if (pddsd->dwWidth > 1280 || pddsd->dwHeight > 1024)
return DDENUMRET_OK;
if (AppInfo.NumModes >= MAX_APP_MODES)
return DDENUMRET_CANCEL;
pMode = &AppInfo.Modes[AppInfo.NumModes++];
// Save this mode at the end of the mode array and increment mode count
pMode->Width = pddsd->dwWidth;
pMode->Height = pddsd->dwHeight;
pMode->Bpp = pddsd->ddpfPixelFormat.dwRGBBitCount;
pMode->ThisDriverCanDo = FALSE;
return DDENUMRET_OK;
}
Code: Select all
if (pddsd->dwWidth > 1280 || pddsd->dwHeight > 1024)
return DDENUMRET_OK;
The OpenGL driver already supports higher resolutions.
Many Bothans died to bring you this signature....
Re: No resolution limit
Awesome.
- darksmaster923
- Posts: 1857
- Joined: Wed Jan 03, 2007 10:32 pm
- Location: Huntington Beach, California, USA
Re: No resolution limit
The following code tells the driver not to enumerate any modes over 1280x1024:
If you want to remove the limit, you have to comment out these lines and either increase the array size or make it a dynamic array.
Code: Select all
if (pddsd->dwWidth > 1280 || pddsd->dwHeight > 1024)
return DDENUMRET_OK;
Many Bothans died to bring you this signature....
Re: Resolutions
Or at least please gives us bigger screen resolution than the 1280-1024 -which is the same since 2003.
Re: Resolutions
If you would have read two posts down you would have seen this:
http://www.realityfactory.info/forum/vi ... f=4&t=4532
http://www.realityfactory.info/forum/vi ... f=4&t=4532
Re: Resolutions
Yes but these people might not be able to build RF from source. They may not have the knowledge or the wherewithal to build it. RF is games without programming. The lads on here tend to be artists they need these things sorting by programmers.
Re: Resolutions
My point was it was already in the feature request section and they didn't have to start a new post.
Re: No resolution limit
Sorry Allanon I hadn't noticed (My age is catching up with me). Merged.
- QuestOfDreams
- Site Admin
- Posts: 1520
- Joined: Sun Jul 03, 2005 11:12 pm
- Location: Austria
- Contact:
Re: No resolution limit
Increased d3d driver resolution limit to 2048x1280 in version 0.78.0.0