Source for todo.php:
<?php
ini_set('include_path', ini_get('include_path') . ':/home/benm/public_html');
include 'http_header.php'; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<?php $f = "todo";
include 'head.php';
if(isset($_GET['action']))
{
/* $_GET['action'] is essentially here so that we can distinguish between
'no GET vars because this is our first time here' and 'no GET vars
because we've turned them all off */
$tremulous = isset($_GET['tremulous']);
$website = isset($_GET['website']);
$coding = isset($_GET['coding']);
}
else
{
$tremulous = $coding = $website = TRUE;
} ?>
<title>todo list - ben's machinery</title>
<style type="text/css">
<?php // Gather the $_GET vars and set the initial styles to match
if(!$tremulous) { ?>
li.todo-tremulous
{ display: none; }
<?php }
if(!$website) { ?>
li.todo-website
{ display: none; }
<?php }
if(!$coding) { ?>
li.todo-coding
{ display: none; }
<?php } ?>
</style>
<script type="application/javascript" src="/~benm/scripts/setDisplay.js">
//I'd self-close this element but vim's syntax highlight breaks :(
</script>
</head>
<body>
<?php include 'title.php' ?>
<?php if($_GET['redirect'] == 'true') { ?>
<div class="note">If you've been redirected here from coding/todo.php, please <a href="mailto:admin@elarned.org">email</a> me or send me a <a href="../comments.php">comment</a> so I can fix the link.</div>
<?php } ?>
<h2><span style="background-color: #ff0; color: #000;">TODO:</span></h2>
<form action="todo.php">
<div><input type="checkbox" name="tremulous" <?php
if($tremulous) { ?>checked="checked"<?php
} ?> onmouseup="setDisplay(this, 'todo-tremulous')"/> <span class="todo-tremulous">Tremulous</span> | <input type="checkbox" name="website" <?php
if($website) { ?>checked="checked"<?php
} ?> onmouseup="setDisplay(this, 'todo-website');"/> <span class="todo-website">Website</span> | <input type="checkbox" name="coding" <?php
if($coding) { ?>checked="checked"<?php
} ?> onmouseup="setDisplay(this, 'todo-coding');"/> <span class="todo-coding">Coding</span> | <!--
For JS users the page will update on click, but this allows it to be done via PHP also, albeit with a refresh.
Also, for JS users this button will allow them to link others to the page, since it will fill the address bar with the appropriate GET vars.
I should probably try to articulate this to the user, but phrases long enough to express the idea appropriately tend to bloat the URI.
--> <input id="apply" type="submit" name="action" value="Apply"/>
</div></form>
<ol class="todo">
<li class="todo-website">Fix the titling CSS<br/>
<span class="detail">On narrow windows, not all of the title will fit. It should wrap, but this is gonna be difficult to reconcile with the floating (and more to the point, the body going under the title).</span></li>
<li class="todo-tremulous">MGDev<br/>
<span class="detail">Norf 'noticed that going from printing to walking keeps the sprinting-level stamina drain', adv granger doesn't take fall damage if ww is on, Item_Text_Wrap continues to cause issues for me.</span></li>
<li class="todo-website">Fix my line-breaking and tabbing issues<br/>
<span class="detail">Much of my website is lovely and indented for super source readability, but it turns out that Firefox includes these indents in its copy/paste along with the newlines I use to keep things convenient for vim.
In order to make my website more copiable, I really need to poke around, un-indenting the website and using alternative methods to re-establish readability. The <a href="coding/done.php">portfolio</a> is an example of where I've started this practice.</span></li>
<li class="todo-website">Decide on a content licence for the Sauerbraten map<br/>
<span class="detail">The textures, source code, and map files are made free to download but by the rules of my <a href="licensing.php">Licensing</a> page, rights to distribution, modification etc. are still held. It is my full intention to release everything under a fairly permissive licence, but I need to read one first. Still. I hope I don't just public domain everything out of sheer laziness again.</span></li>
<li class="todo-tremulous">Adapt !info system to mgdev's help window<br/>
<span class="detail">mgdev has a help system whereby users get a neat tabulated presentation of some helpful information in text form. It's pretty and easy to use but the text is hard-coded and therefore inflexible.
My server-delivered info system allows for customisability on a per-server basis, which allows for a wider range of uses or applications. The system of transmitting this information across the network is inefficient but well worth it if properly implemented.</span></li>
<li class="todo-tremulous">Rewrite buildlog/revert<br/>
<span class="detail">Rereading the revert code recently, I've seen a number of ways in which it could be improved: basically all of the logging stuff should be functionalised, as currently they make a big mess everywhere.
This would be a good opportunity as well to cut down on the bloat that surrounds the function, as really the Swiss-Army knife it is now mostly serves to confuse its users.</span></li>
<li class="todo-tremulous">Make basilisks emit little hearts as they run along<br/>
<span class="detail">No, I don't have any sane justification for this.<br/>
Yes, it most certainly would be awesome.</span></li>
<li class="todo-website">Get some advertising<br/>
<span class="detail">I want cash to fund all sorts of things, and Google's
program is unobtrusive and stylish, although its actual level of revenue
is to be doubted. Other appealing options include
<a href="http://www.projectwonderful.com/">Project Wonderful</a>, although
I think I might need a greater viewership to make it worthwhile.</span></li>
<li class="todo-tremulous">Inform buildlog of how much teamdamage some
buildable took<br/>
<span class="detail">Medic: 'When a structure get's
TKed, wouldn't it be nice to see how much hp was lost in game and in the
buildlog? I think it could help settle that arguement of "hey man, don't
ban me, I only put the last shot on it."'</span></li>
<li class="todo-tremulous">Better damage feedback for buildables.<br/>
<span class="detail">Currently, thumping an mgturret with a few well-placed
tyrant swipes gets you nothing but a clunk sound. Constructing buildables
don't even give that. Alien buildables should bleed like alien players, and
human buildables should spit little shards of metal at you. Damaged human
buildables should spit sparks, thicker smoke, perhaps even behave
erratically. Some buildables need a [better] death animation, although
that's not really my field.</span></li>
<li class="todo-website">Update my documentation<br/>
<span class="detail">I maintain a list on this website of <a href="coding/done.php">contributions I've made to Tremulous' source</a>, but it has not been updated for some time, and I've come a long way as a developer since then.
I need to catalogue this work properly, for my own benefit as much as anyone else's</span></li>
<li class="todo-tremulous">Give funds for bleeding<br/>
<span class="detail">We've all been in those rifle-tyrant deadlocks, where
it's quite simply impossible to get that final shot in. Although perhaps
biasing towards humans (unless I implemented the floating-point alien
system) this could prove an interesting game mechanic (and a solution for
those moments where you desperately want a shotgun but have 149 creds in
the bank)</span></li>
<li class="todo-tremulous">Visual feedback for credit income<br/>
<span class="detail">Sometimes credits can be added and you don't even
notice, let alone know why. Some kind of UI item that highlighted when
you gained or lost credits and perhaps even a reason (e.g. Dretch: 175)
would look pretty cool and might be genuinely useful.</span></li>
<li class="todo-coding">Learn C++<br/>
<span class="detail">Bit of a big one, this, but shouldn't be too hard given my C knowledge base. Knowledge of C++ should finally put me in a position to a) mod Sauerbraten and b) finally get onto that collaborative text editor project that I've been thinking about for some time.
</span></li>
<li class="todo-tremulous">Make and release a serious mod<br/>
<span class="detail">I've a few ideas knocking around, including a spinup
chaingun, shell-loading shotgun, stream lasgun etc. that I think deserve
an airing. Most of these are done, however releasing them together as a
mod is something I've not yet managed.<br/>
Things to be in it:
</span><ul class="detail">
<li>Spinup chaingun?</li>
<li>Alternative sidearms</li>
<li>Shell-loading shotgun</li>
<li>Smooth regen</li>
<li>Idea courtesy of Raytray: grangers go faster on creep</li>
<li>Ideas that didn't make the cut on MGDev, wholly or partially sporked
from Risujin's code</li>
<li>Buildable jump-pads, if f0rqu3 never tremxs it</li>
</ul></li>
</ol>
<?php include 'footer.php' ?>
</body>
</html>