[quake3] VM incompatibilities with anisotropic filtering patch and improvements with ongoing development

Thilo Schulz arny at ats.s.bawue.de
Sat Apr 29 14:12:17 EDT 2006


On Saturday 29 April 2006 13:18, Erik Auerswald wrote:
> I'd prefer the second method. Additionally, patched VM files could be
> provided in a .pk3 file (that would eliminate the need to use the shared
> libs to activate all of the ioq3 fixes as well).

Ok, I have done a little patch that fixes the incompatibility issues by 
introducing a glconfig_compat_t structure that features the original layout.
I also added a few defines, bells and whistles that give a bit more 
flexibility when doing stand-alone games where compatibility issues are of no 
concern.
As is the original goal of the project, the patch shouldn't hurt compatibility 
at all, per default.
Any complaints/comments? (Zakk?)

I am typecasting the glconfig_t pointers to a glconfig_compat_t pointer if the 
API version of the UI is <= 6 and then copy the structs over. I don't know 
about how sure one can be that all compilers handle memory layout in 
structures the same way, so I can still add a more proper copying function if 
it is required.

-- 
Thilo Schulz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: idq3-compatibility-patch.diff
Type: text/x-diff
Size: 6024 bytes
Desc: not available
URL: <http://icculus.org/pipermail/quake3/attachments/20060429/fe923773/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://icculus.org/pipermail/quake3/attachments/20060429/fe923773/attachment.pgp>


More information about the quake3 mailing list