[nexuiz-commits] r6923 - in trunk/data/qcsrc: client server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Mon Jun 8 13:37:04 EDT 2009
Author: div0
Date: 2009-06-08 13:37:04 -0400 (Mon, 08 Jun 2009)
New Revision: 6923
Modified:
trunk/data/qcsrc/client/miscfunctions.qc
trunk/data/qcsrc/server/w_tuba.qc
Log:
tuba: +jump = octave higher (need to make ogg files for this now)
Modified: trunk/data/qcsrc/client/miscfunctions.qc
===================================================================
--- trunk/data/qcsrc/client/miscfunctions.qc 2009-06-08 17:22:47 UTC (rev 6922)
+++ trunk/data/qcsrc/client/miscfunctions.qc 2009-06-08 17:37:04 UTC (rev 6923)
@@ -298,6 +298,8 @@
}
vec_x *= vid_conwidth / vid_width;
vec_y *= vid_conheight / vid_height;
+ print(vtos(vec), " -> ");
+ print(vtos(cs_project(cs_unproject(vec))), "\n");
return vec;
}
Modified: trunk/data/qcsrc/server/w_tuba.qc
===================================================================
--- trunk/data/qcsrc/server/w_tuba.qc 2009-06-08 17:22:47 UTC (rev 6922)
+++ trunk/data/qcsrc/server/w_tuba.qc 2009-06-08 17:37:04 UTC (rev 6923)
@@ -33,6 +33,8 @@
}
if(pl.BUTTON_CROUCH)
note -= 12;
+ if(pl.BUTTON_JUMP)
+ note += 12;
if(hittype & HITTYPE_SECONDARY)
note += 7;
@@ -61,6 +63,8 @@
// -18.........................+12
// *** ********************* ****
// -18............................+15
+ // with jump: ... +24
+ // ... +27
return note;
}
More information about the nexuiz-commits
mailing list