in this file. made it to look like gl_vidsdl.c.
glquake.h: removed commented out multitexture stuff.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@126 af15c1b1-3010-417e-b628-4374ebc0bcbd
in conwidth and conheight recalculation (fitzquake-0.85 change).
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@122 af15c1b1-3010-417e-b628-4374ebc0bcbd
bpps for this width/height, just pick one (fitzquake-0.85 change).
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@121 af15c1b1-3010-417e-b628-4374ebc0bcbd
to operate correctly with the raised limits of fitzquake-0.85.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@118 af15c1b1-3010-417e-b628-4374ebc0bcbd
glquake.h (dev_stats): Add extern.
(dev_peakstats): Likewise.
(dev_overflows): Likewise.
(lightmap_textures): Likewise.
(gl_warpimagesize): Likewise.
(r_drawflat_cheatsafe): Likewise.
(r_fullbright_cheatsafe): Likewise.
(r_lightmap_cheatsafe): Likewise.
(r_drawworld_cheatsafe): Likewise.
gl_texmgr.h (notexture): Likewise.
(nulltexture): Likewise.
(d_8to24table): Likewise.
(d_8to24table_fbright): Likewise.
(d_8to24table_nobright): Likewise.
(d_8to24table_conchars): Likewise.
(d_8to24table_shirt): Likewise.
(d_8to24table_pants): Likewise.
gl_screen.c (sb_lines): Remove and make it live only in sbar.c.
(vid): Remove and make it live only in gl_vid*.c
gl_vidsdl.c (m_state): Remove and make it live only in menu.c.
gl_vidnt.c (m_state): Likewise.
net_dgrm.c (m_state): Remove extern declaration.
menu.c (m_state): Tagged the m_state enum as m_state_e and moved it to menu.h.
Declared m_state as enum m_state_e.
menu.h (enum m_state_e): Moved from menu.c to here.
(m_state): Added extern declaration.
gl_rmain.c (r_drawflat_cheatsafe): Made the global to live here.
(r_fullbright_cheatsafe): Likewise.
(r_lightmap_cheatsafe): Likewise.
(r_drawworld_cheatsafe): Likewise.
gl_warp.c (gl_warpimagesize): Likewise.
host.c (dev_stats): Likewise.
(dev_peakstats): Likewise.
(dev_overflows): Likewise.
gl_texmgr.c (notexture): Likewise.
(nulltexture): Likewise.
(d_8to24table): Likewise.
(d_8to24table_fbright): Likewise.
(d_8to24table_nobright): Likewise.
(d_8to24table_conchars): Likewise.
(d_8to24table_shirt): Likewise.
(d_8to24table_pants[): Likewise.
r_brush.c (lightmap_textures): Likewise.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@117 af15c1b1-3010-417e-b628-4374ebc0bcbd
length calculation by dropping some sprintf() and strlen() calls.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@116 af15c1b1-3010-417e-b628-4374ebc0bcbd
to pr_edict.c. Assign a static array of zeroes to sv.model_precache[0]
and sv.sound_precache[0], instead of pr_strings, in sv_main.c.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@109 af15c1b1-3010-417e-b628-4374ebc0bcbd
return its own copy, which I feel safer with. Adjusted its callers.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@105 af15c1b1-3010-417e-b628-4374ebc0bcbd
name and assining the new port number to net_hostport. based on ProQuake
code. This makes a command line like "+connect ip:port" work.
(Test_f): Call Strip_Port().
(Test2_f): Likewise.
(Datagram_Connect): Likewise.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@103 af15c1b1-3010-417e-b628-4374ebc0bcbd
so that a command line like "+connect ip:port2 works.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@102 af15c1b1-3010-417e-b628-4374ebc0bcbd
This has been referred to by Baker as the NAT fix of ProQuake. Applied upon
Steven's suggestion and it made me able to connect to bigfoot.quake1.net:26001
too.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@98 af15c1b1-3010-417e-b628-4374ebc0bcbd
any purpose for quite some time. added userdir as a new member, user's
directory on UNIX platforms. if user directories are enabled, basedir
and userdir will point to different memory locations, otherwise to the same.
this member will be enabled/used later.
common.c: removed all references to cachedir and com_cachedir which don't
serve any purpose for quite some time.
main (main): removed assingment to cachedir member.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@96 af15c1b1-3010-417e-b628-4374ebc0bcbd
(COM_InitFilesystem): used global com_basedir instead of the automatic
basedir variable.
common.h (com_basedir): added extern.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@95 af15c1b1-3010-417e-b628-4374ebc0bcbd
can call it one after another. will be needed later.
(get_va_buffer): new helper for va().
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@92 af15c1b1-3010-417e-b628-4374ebc0bcbd
alias to the existing "mods" command. (this was unintentionally applied in
revision 87, sigh...)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@88 af15c1b1-3010-417e-b628-4374ebc0bcbd
mk_header.c : added tiny C source to generate conback.h header from the lmp.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@79 af15c1b1-3010-417e-b628-4374ebc0bcbd
gl_draw.c (Draw_CheckConback): new proc.
(Draw_Init): moved mod-provided gfx/conback.lmp check form here to
Draw_CheckConback().
draw.h (Draw_CheckConback): added prototype.
gl_texmgr.c (TexMgr_NewGame): call Draw_CheckConback().
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@78 af15c1b1-3010-417e-b628-4374ebc0bcbd