website/screenshots.php
Jeff Teunissen 9e6f75ccbd Update for PHP 7.x
PHP 7 doesn't like the old short tags we were using (it's possible to re-enable
them, but won't be for version 8, so we might as well switch now), and the old
MySQL APIs are now gone entirely, replaced with something different.

This should make everything work at least as well as it used to.

Also, one file used to be checked in with CRLF line endings. ??
2022-04-27 13:14:47 -04:00

38 lines
2.6 KiB
PHP

<?php // Preamble
$pageName = "Screenshots";
$focused = "none"; // Dock icon name to gets a border
$currPage = "shots"; // Name of the page, for the menu
require "parts/preamble.php"; // Load most of document
function screenshot ($name, $caption, $width=200, $height=150)
{
echo '<P class="lined">'
.' <CENTER><A class="screenshot" href="/img/screenshots/' . $name . '.png"><IMG src="/img/screenshots/' . $name . '.jpg" width="' . $width . '" height="' . $height . '" alt="View at full size"></A></CENTER><BR>'
. $caption
.'</P>';
}
?>
<P>
Here are some screen captures of QuakeForge in action, showing off
some of the things we've done to this beast. None of these shots are
gamma-modified or doctored, they are what you actually see in the game.
</P>
<DIV class="featureBox">
<DIV class="featureTitle">QuakeForge: Newtree</DIV>
<?php
screenshot ('glsl-sw', 'The SW renderer... or is it? No, it\'s the GLSL Renderer. :)', 240, 150);
screenshot ('glsl-entalpha', 'GLSL Renderer with entity alpha on <a href="http://www.quaddicted.com/reviews/back2forwards.html">Forwards Compatible</a>', 240, 150);
screenshot ('glsl-water+fog', 'GLSL Renderer with fog and transparent water on <a href="http://wp.vondur.net/?page_id=1047">Elements</a>', 240, 150);
screenshot ('glsl-fog', 'GLSL Renderer with excessive fog on the quake start map', 240, 150);
screenshot ('eels', 'Vondur\'s <a href="http://wp.vondur.net/?page_id=1047">Elements</a>, with tasty GL fog.', 240, 150);
screenshot ('marcher', 'Kinn\'s amazing <a href="https://www.quaddicted.com/reviews/kinn_marcher.html">The Marcher Fortress</a>, with a skybox force-loaded.');
screenshot ('wateralpha-0.3', 'The Elder World pool, with a watervised map and with r_wateralpha 0.3. If you look closely, you can see the partially fullbright texture on the nail box below.');
screenshot ('dlights-quad-rocket', 'This one really shows off dynamic lighting and fullbrights. The player has quad damage, causing them to give off a blue dynamic light. A rocket is exploding after hitting a wall, and in the background you see the fullbrights on the exit glowing bright red.');
screenshot ('conback', 'This shows our logo as a <a href="/files/conback.lmp.gz">conback</a> (or, <a href="/files/pakQF.pak">more conveniently</a>, works as is). Also shows ALSA sound initialisation.');
screenshot ('location', 'This shows a location marker (visible only with r_drawentities 0) which was placed shortly before taking the screenshot');
screenshot ('smoke', 'Smoke trails and lights. Nuff said :)');
// put more here
?>
</DIV>