Added leaning code for Tactical.  (bind +leanright, and +leanleft to use).  Will add to menu in next update.  Note this is a client and server update.

git-svn-id: svn://svn.icculus.org/alienarena/trunk@3773 05fc5d3f-ce2a-0410-9b80-abac23765f80
Added leaning binds to menu.

git-svn-id: svn://svn.icculus.org/alienarena/trunk@3774 05fc5d3f-ce2a-0410-9b80-abac23765f80
Warnings for low health base components.

git-svn-id: svn://svn.icculus.org/alienarena/trunk@3775 05fc5d3f-ce2a-0410-9b80-abac23765f80
Added zooming to tactical.

git-svn-id: svn://svn.icculus.org/alienarena/trunk@3776 05fc5d3f-ce2a-0410-9b80-abac23765f80
Hopefully prevent issues with needing blank lines at the end of cfg files.


git-svn-id: svn://svn.icculus.org/alienarena/trunk@3777 05fc5d3f-ce2a-0410-9b80-abac23765f80
Reindent r_program.c


git-svn-id: svn://svn.icculus.org/alienarena/trunk@3778 05fc5d3f-ce2a-0410-9b80-abac23765f80
Massive cleanup in declaration of the OpenGL functions.
- Eliminate the debug/logging versions; these are obsoleted by tools such as
  apitrace.
- Used the X-Macros technique to put a single list of GL functions in a new
  header, glfuncs.h. The preprocessor is used to manipulate that list so that
  it can be used to declare the function pointers *and* load them from the 
  OpenGL DLL.
Total savings: 7884 lines!
Still to do:
- Change Windows and Unix build systems so that qgl_unix.c, qgl.h, and
  qgl_win.c depend on changes to glfuncs.h (should at least build without this
  change.)
- Test the win32 code!


git-svn-id: svn://svn.icculus.org/alienarena/trunk@3779 05fc5d3f-ce2a-0410-9b80-abac23765f80
Re-add some Win32-specific GL extension prototypes


git-svn-id: svn://svn.icculus.org/alienarena/trunk@3780 05fc5d3f-ce2a-0410-9b80-abac23765f80
GL texture state tracking code overhaul.
This is fairly invasive, it basically fixes bugs in the wrappers aound the
texture binding/texture unit selection GL functions, and uses those wrappers
almost everywhere instead of the raw functions.
Advantages include the ability to batch things up and remove duplicate GL
calls, as well as less dependence on OpenGL throughout the renderer.


git-svn-id: svn://svn.icculus.org/alienarena/trunk@3781 05fc5d3f-ce2a-0410-9b80-abac23765f80
Win binary with Max's cleanup committed.

git-svn-id: svn://svn.icculus.org/alienarena/trunk@3782 05fc5d3f-ce2a-0410-9b80-abac23765f80
More consolidation between IQM and MD2 code.


git-svn-id: svn://svn.icculus.org/alienarena/trunk@3783 05fc5d3f-ce2a-0410-9b80-abac23765f80
Disruptor alt fire changed.  Fires a fire beam that detonates.  Less accuracy needed than primary fire, but uses twice as much ammo.  Balance tests show it to be roughly about the same effectiveness as primary fire overall.

git-svn-id: svn://svn.icculus.org/alienarena/trunk@3784 05fc5d3f-ce2a-0410-9b80-abac23765f80
Delete some ancient dead code.
References to gl3DfxSetPaletteEXT and glSelectTextureARB are now gone.


git-svn-id: svn://svn.icculus.org/alienarena/trunk@3785 05fc5d3f-ce2a-0410-9b80-abac23765f80
Invalidate texture state earlier in the OpenGL init process.


git-svn-id: svn://svn.icculus.org/alienarena/trunk@3786 05fc5d3f-ce2a-0410-9b80-abac23765f80
Workaround regression in liquid fragment shader code introduced in 3781.
TODO: The real fix is to never use GL_Bind unless immediately preceeded by
a GL_SelectTexture call. GL_MBind should be used in most places. 


git-svn-id: svn://svn.icculus.org/alienarena/trunk@3787 05fc5d3f-ce2a-0410-9b80-abac23765f80
Add warning messages for undefined behavior in the texture tracking code.
Whenever GL_Bind or GL_TexEnv is called and the current texture unit is
undefined (usually because of a call to GL_MBind,) a warning is printed.
Set developer 1 to enable.


git-svn-id: svn://svn.icculus.org/alienarena/trunk@3788 05fc5d3f-ce2a-0410-9b80-abac23765f80
Fix undefined GL_Bind/GL_TexEnv calls in r_script.c and r_draw.c.


git-svn-id: svn://svn.icculus.org/alienarena/trunk@3789 05fc5d3f-ce2a-0410-9b80-abac23765f80
Fix more undefined GL_Bind calls (texture upload, alpha surfaces, beams.)


git-svn-id: svn://svn.icculus.org/alienarena/trunk@3790 05fc5d3f-ce2a-0410-9b80-abac23765f80
Update scope image for tactical.

git-svn-id: svn://svn.icculus.org/alienarena/trunk@3791 05fc5d3f-ce2a-0410-9b80-abac23765f80
Merge  branch 'trunk' into 'devel'