I don't think this is illegal unless the author copied Valve's code into there
EDIT: I've seen the code. It seems many large chunks of the code are based on disassemblying Valve's HL engine, and not a clean reimplemention.
For this reason, I've removed the link. Sorry man. Anyways feel free to re-add the links if I'm wrong, or when you managed to replace all those stuff
