[quake3-bugzilla] [Bug 4790] Modular Rendering System

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Thu Dec 2 09:17:30 EST 2010


http://bugzilla.icculus.org/show_bug.cgi?id=4790

--- Comment #2 from gimhael <matthias.bentrup at googlemail.com> 2010-12-02 09:17:26 EST ---
Created an attachment (id=2496)
 --> (http://bugzilla.icculus.org/attachment.cgi?id=2496)
adapted patch for Makefile

I have adapted your patch to use the standard Makefile and adapted it so that
it compiles on linux and also cross-compiles to mingw.

I had to replace the .def file with a __declspec(dllexport) declaration, but
MSVC supports that too, doesn't it ?

The tr_subs.c hack is plain ugly, so I removed all calls to Com_Printf etc.
from the renderer, but they are still needed for q_shared.c :(

I also moved Q_acos into q_math.c, I think that's the proper place for it and
makes it obsolete in tr_subs.c.

As the SMP code is only in the renderer the Makefile does no longer build a
separate smp-client, but a renderer_smp dll, and you can select it via
/cl_renderer. This means that /r_smp is a bit obsolete now, but I didn't change
it, so you can use the smp-dll in non-smp mode...

-- 
Configure bugmail: http://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the quake3-bugzilla mailing list