behave itself a little more often. I can find no explanation why and it
seems like it should possibly do nothing, but it SEEMS to help.
Thanks for the suggestion Tim.
Add Cbuf_Execute_Sets to execute /only/ +set commands.
Break out common code from Cbuf_Execute and Cbuf_Execute_Sets into
a local function.
cmd.h:
add prototype for Cbuf_Execute_Sets
host.c:
use it
only set it from the cmdline (you now CAN set it from the cmdline BTW!),
it defaults to the current directory if you don't.
New cvar fs_sharepath. Defaults to fs_basepath->string and is changed in
the same manner. If you do change it, files in gamedirs under it will be
used first with basepath's files overriding them.
This allows you to keep your paks in a read-only location (cdrom or unix
/usr/share) and still be able to override those files and save configs.
S_Init() is now where it belongs--outside of VID_Init(). I think I did
manage to update every target. If I missed one, kill the sound.h include
and remove S_Init() from VID_Init().
New Cvar: r_sky, defaults to 0, turn it on if you want to use skyboxes.
Cvar r_skyname can actually be used now I _think_, need another skybox
to test it. Quake2000's instructions were used in the skybox stuff but,
as all know by now, our tree is so different from anyone else's that I had
to redo a number of things. But thanks all the same--cut the time spent
debugging it in half. I also want to thank whoever did the night skybox
on the MegaTF page I used to test. Looks great on start map!
New GL-specific Cvar: r_conspin, defaults to 0. Turn it on. You can turn
it off too. Shamelessly ripped from QER.
of the input routines it can use. All vid targets should do this for the
input method they should use. While this is essentially hardcoding, it's
kinda necessary for now. Once we have everything working and tested we
can work on an interdependency scheme so X input methods only work with X
output methods, etc...
put Host_GetConsoleCommands back
uquake/server.h:
proto for SV_Frame
uquake/sv_main.c
add SV_ClientPrintf SV_BroadcastPrintf SV_DropClient SV_Frame* from
old host.c