diff options
author | Holger Zickner <[email protected]> | 2004-11-03 08:53:27 +0000 |
---|---|---|
committer | Holger Zickner <[email protected]> | 2004-11-03 08:53:27 +0000 |
commit | 5634134db18049e3d44e0aa4cda7b871a4ea7a40 (patch) | |
tree | 864b37646674cdb59884a26bfe6a5abdac056f34 /src/jake2/qcommon | |
parent | 24284e5926af9dd90414ac57fe7c764128ffe13c (diff) |
mouse wheel support
Diffstat (limited to 'src/jake2/qcommon')
-rw-r--r-- | src/jake2/qcommon/Qcommon.java | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/jake2/qcommon/Qcommon.java b/src/jake2/qcommon/Qcommon.java index b89ee07..d4072fa 100644 --- a/src/jake2/qcommon/Qcommon.java +++ b/src/jake2/qcommon/Qcommon.java @@ -2,7 +2,7 @@ * Qcommon.java * Copyright 2003 * - * $Id: Qcommon.java,v 1.11 2004-10-28 21:31:31 cawe Exp $ + * $Id: Qcommon.java,v 1.12 2004-11-03 08:53:27 hzi Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -77,13 +77,7 @@ public final class Qcommon extends Globals { FS.InitFilesystem(); Jake2.Q2Dialog.setStatus("loading config..."); - Cbuf.AddText("exec default.cfg\n"); - Cbuf.Execute(); - Cvar.Set("vid_fullscreen", "0"); - Cbuf.AddText("exec config.cfg\n"); - - Cbuf.AddEarlyCommands(true); - Cbuf.Execute(); + reconfigure(); FS.setCDDir(); // use cddir from config.cfg FS.markBaseSearchPaths(); // mark the default search paths @@ -241,6 +235,8 @@ public final class Qcommon extends Globals { static void reconfigure() { Cbuf.AddText("exec default.cfg\n"); + Cbuf.AddText("bind MWHEELUP weapnext\n"); + Cbuf.AddText("bind MWHEELDOWN weapprev\n"); Cbuf.Execute(); Cvar.Set("vid_fullscreen", "0"); Cbuf.AddText("exec config.cfg\n"); |