PRPGL is a project mainly written in C++ and C, it's free.
Procedural RPG library
Library of useful functions for creating procedurally generated RPG-games