31.03.2009, 17:46:47
So someone nagged me into looking at the graphics code. While I do not intend to hold any releases up because of it, I think I can give you the ability to fiddle with some more graphics controls at your own risk. What I will enable includes:
.Force - force DirectDraw into either software emulation or hardware rendering mode, default being "don't force anything, do what you think is best". The infamous ddraw.dll that people were peddling earlier simply forces this setting into software emulation mode.
.Memory - whether to force this surface into video RAM or system RAM, "Composite" stands for surface name, and there are multiple surfaces such as Composite, Tile, Hidden, Alternate, Primary, Sidebar, etc. I don't really know what which of them do, but whatever, this is supposed to be a test. Two of these surfaces are usually controlled with [Video]VideoBackBuffer=y/n while the rest are hardcoded, this gives finer control.
.Force3D - should this surface be forced into what Westwood named 3D, again I do not know what precisely it is.
I'll post more info as I find it, in the mean time, I want thoughts on all the graphics stuff.
Code:
;ra2md.ini
[Graphics.Advanced]
DirectX.Force=(default|hardware|emulation)
Surface.Composite.Memory=(default|VRAM|System)
Surface.Composite.Force3D=(default|yes|no)
.Force - force DirectDraw into either software emulation or hardware rendering mode, default being "don't force anything, do what you think is best". The infamous ddraw.dll that people were peddling earlier simply forces this setting into software emulation mode.
.Memory - whether to force this surface into video RAM or system RAM, "Composite" stands for surface name, and there are multiple surfaces such as Composite, Tile, Hidden, Alternate, Primary, Sidebar, etc. I don't really know what which of them do, but whatever, this is supposed to be a test. Two of these surfaces are usually controlled with [Video]VideoBackBuffer=y/n while the rest are hardcoded, this gives finer control.
.Force3D - should this surface be forced into what Westwood named 3D, again I do not know what precisely it is.
I'll post more info as I find it, in the mean time, I want thoughts on all the graphics stuff.