Second pair of gloves
As a little "in between" i am posting some of the code if have lying around, the first one is some code from my time at the university, more specifically from the game programming days. I am not sure that i have posted this before, which really is a shame, the only thing i could find about it is this pre C++ then Java post.
The game is called Temporal Wars and is a turn-based strategy game, all graphics and sounds were Made by Nerds(tm), needless to say i did some sound effects - my graphics skills have already been ridiculed on this site before.
The code (plus graphics and sounds) are available from here: http://dev.infonet.dk/~rto/bzr/temporalwars/ using Bazaar.
There is the start of some debian packaging in there, but it doesn't work at the moment (patches please?), and there is no win32 setup at the moment.
The next piece of code is a little elisp to make rcirc, the build-in IRC client in Emacs, work better with the modern desktop. More specifically it will notify you using the notify framework (windows users will call this "popup balloon) when someone writes a message to you (or including your username really).
If you have not tried the rcirc client yet - you really should!. It does just what is supposed, and you can go a long way even if the only IRC command you know is /join #channel.
(add-hook 'rcirc-print-hooks 'my-rcirc-print-hook)
(defun my-rcirc-print-hook (process sender response target text)
(when (and (string-match (rcirc-nick process) text)
(not (string= (rcirc-nick process) sender))
(not (string= (rcirc-server-name process) sender)))
(start-process "notify" nil "notify-send" (concat "rcirc: " sender) text)))
On Debian you need to install the libnotify-bin package to get the notify-send tool.
Oh, and if someone has my leather gloves that i left down at the pub, i would really like them back.
Gah! Second pair of nice black leather gloves i've lost down there. Now i just don't buy leather gloves anymore!
Ahh wonderful to see Temporal Wars again, and hear the wonderful sounds that you created. Nothing can beat the graphics that i created to that game! Maybe a small update is in order? Or should we just make sure that the people on Win32 can play it too?
Guess i have to give rcirc a try.
I am pretty sure that i saw your glows with you when we where at "Giraffen". So think you should just go down there and ask if they have them.