Mircea Kitsune [Thu, 31 Mar 2011 00:34:41 +0000 (03:34 +0300)]
Use chase_active -1 in the code, which behaves just like 1. This can be used to mark chase_active as set by the code and thus avoid any risk of it getting stuck.
Mircea Kitsune [Thu, 31 Mar 2011 00:18:22 +0000 (03:18 +0300)]
Change how the camera position is set. No more setting the chase_back cvar, but use R_SetView to change the origin. Thanks for the help to tZork and Samual :)
Mircea Kitsune [Sat, 26 Mar 2011 17:51:33 +0000 (19:51 +0200)]
Allow chase_active to be used normally while not dead or during an intermission. Still has the issue that chase_active will remain 1 if you disconnect while dead, when you start Xonotic next time. Perhaps this can be fixed by simply set-ing the cvars in defaultXonotic.cfg?
Mircea Kitsune [Sat, 26 Mar 2011 17:26:16 +0000 (19:26 +0200)]
Disable intermission chase by default. The camera stays very close to the player for some unknown reason, and doesn't go all the way to the required distance.
terencehill [Tue, 22 Mar 2011 18:30:55 +0000 (19:30 +0100)]
Check for negative values returned by search_begin searching for waypoints frames
Also add a function to load waypoints frames of a specific extension to avoid code duplication
Actually, previous code is changed with the addition of the check for dh and of the variable ext_len
terencehill [Sun, 20 Mar 2011 22:32:23 +0000 (23:32 +0100)]
Fix issues when shooting if you have unlimited ammo and current ammo is 0:
crylink and HLAC shoot once and then don't shoot anymore (or switch to a better weapon)
uzi doesn't shoot at all (or switches to a better weapon)
terencehill [Sun, 20 Mar 2011 00:01:10 +0000 (01:01 +0100)]
Add a quick check to exec the reticle code only when the reticle gets drawn!
The logic in this part of code is still a bit stupid and redundant, but I think no1 cares about so let leave it for the sake of the diff simplicity
terencehill [Thu, 17 Mar 2011 21:08:25 +0000 (22:08 +0100)]
Restore menu_picmip_bypass cvar description deleted by akari I think unintentionally in 34c4a6687aaf83a50e266b63ef9ae1b299129f38
Things like this happen when the diff isn't checked line by line...
Samual [Mon, 14 Mar 2011 05:47:05 +0000 (01:47 -0400)]
Fix some of the broken things in univeral_reload_system merge to master. -- this should've been done before merging! but, anyway it's mostly fine now. Has problems with weaponarena though... need to figure that out.
Mircea Kitsune [Sat, 12 Mar 2011 22:29:45 +0000 (00:29 +0200)]
Separate rings for Nex charge / MineLayer mines and reload. You can now see everything when using the nex with both charge and reloading enabled, or the minelayer with limited mines and reloading. The rings also won't overlap, and ammo rings can be individually sized and toggled.
Rudolf Polzer [Wed, 9 Mar 2011 11:53:20 +0000 (12:53 +0100)]
Fix some stupidities in the code I just merged: changing the log output is bad so long after it got done that way (people may be parsing it!), and the %d in the printfs were there for a reason (I know using %s there would be more efficient, but %d tells what that data actually IS)
terencehill [Tue, 8 Mar 2011 18:42:34 +0000 (19:42 +0100)]
Add missing cl_swapattacks_minelayer to hook-firing_swap.cfg
Also apply weapon impulse order to cl_swapattacks_* cvars list for future easier maintenance
terencehill [Mon, 7 Mar 2011 23:11:48 +0000 (00:11 +0100)]
Do not use spaces within string logged by sv_eventlog
Not sure it's a requirement, but I note that every other logged string got no space, so... if I'm wrong pls revert :)
Samual [Thu, 3 Mar 2011 04:25:53 +0000 (23:25 -0500)]
Fix the lifetimes for projectiles (THEY USED TO BE WAY TOO HIGH!) -- Also change the damage of the HLAC, even though i'm going to remove it later for now it will be "balanced."
Mircea Kitsune [Wed, 2 Mar 2011 22:21:16 +0000 (00:21 +0200)]
crosshair_ring instead of crosshair_ring_sniperrifle. Since the ammo cvars can be set to any value, and the ring for reloading must not have any spacings. I believe the crosshair_ring_sniperrifle image can be deleted, as its no longer used, but I won't do this in this branch
Mircea Kitsune [Wed, 2 Mar 2011 22:19:06 +0000 (00:19 +0200)]
Merge branch 'master' into mirceakitsune/universal_reload_system, with some VERY conflicting changes. This is why I have waiting a long time for a branch to get merged in master.