[Bug 3626] New: The setenv console command is created after the *.cfg files are read

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Sun May 4 12:03:45 EDT 2008


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

           Summary: The setenv console command is created after the *.cfg
                    files are read
           Product: Quake 3
           Version: SVN HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P3
         Component: Misc
        AssignedTo: zakk at icculus.org
        ReportedBy: Kapffer at macbay.de
         QAContact: quake3-bugzilla at icculus.org


The setenv console command is created in cl_main.c long *after*
{default,q3config,autoexec}.cfg have been read, rendering it rather useless for
setting up the environment from inside the engine.

I have a need for it to set the SDL_HAS3BUTTONMOUSE environment variable which
will turn of emulation of a second and third mouse button (using Command- and
Option-Click) inside SDL on a Macintosh. This coupling of mouse button and
modifier isn't useful in a FPS and makes it impossible to assign an independent
function to Command or Option without affecting the mouse button (and is
different from the original Quake 3).

My workaround is to misuse the activeAction variable in autoexec.cfg:
set activeAction setenv SDL_HAS3BUTTONMOUSE !


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



More information about the quake3-bugzilla mailing list