// Preamble
$pageName = "Documentation";
$currPage = "docs"; // Name of the page, for the menu
require "parts/preamble.php"; // Load most of document
need ("table");
function doc_list ($title, $list, $type)
{
?>
tableTitle ($title, 1, featureHeadColor);
?>
reset ($list);
while (list (, $cdl) = each ($list)) {
if (is_file ('doc/' . $cdl . '-' . $type . '.txt')) {
echo '- ';
echo '' . $cdl . '';
echo '
';
}
}
?>
|
tableBoxFooter ();
}
function program_doc_list ($title, $list, $notes)
{
tableBoxHeader (featureBgColor, featureHeadColor);
tableTitle ($title, 2, featureHeadColor);
?>
if (is_file ('doc/' . $notes . '-notes' . '.txt')) {
$lines = file ('doc/' . $notes . '-notes' . '.txt');
reset ($lines);
while (list (, $line) = each ($lines)) {
print $line;
}
} else {
echo " There are no errata for this release.";
}
?>
|
doc_list ("Cvar Documentation", $list, "cvars"); ?>
|
doc_list ("Command Documentation", $list, "cmds"); ?>
|
tableBoxFooter ();
}
?>
$program_list = array (
"nq-3dfx",
"nq-ggi",
"nq-glx",
"nq-mgl",
"nq-sdl",
"nq-sdl32",
"nq-sgl",
"nq-svga",
"nq-wgl",
"nq-x11",
"nq-server",
"qw-client-3dfx",
"qw-client-ggi",
"qw-client-glx",
"qw-client-mgl",
"qw-client-sdl",
"qw-client-sdl32",
"qw-client-sgl",
"qw-client-svga",
"qw-client-wgl",
"qw-client-x11",
"qw-master",
"qw-server"
);
program_doc_list ("QuakeForge 0.5", $program_list, "quakeforge");
?>
$program_list = array (
"qf-client-3dfx",
"qf-client-ggi",
"qf-client-glx",
"qf-client-mgl",
"qf-client-sdl",
"qf-client-sgl",
"qf-client-svga",
"qf-client-wgl",
"qf-client-x11",
"qf-server"
);
program_doc_list ("QuakeForge 0.3", $program_list, "");
?>