Skip to main content

Introducing gl-adventure

This month (February 2018), I'm freeing gl-adventure (as I've already done for biology and librlgl). A little dungeon crawl game written in C.

The menu
The game
This project doesn't intend to create a beautiful game, so it's ugly. It is about learning C/opengl the hard way.

Comments

Popular posts from this blog

How to make a map of variant in C++

This code is used by RainbruRPG to store any scalar types in a single class instance. It's already in use since revision 254 to save game states values when switching fullscreen or changing screen resolution.
The map class It's basically a map of boost::variant using std::string as map key. I decided to use function template setter and getter to have a standardized exception-based error handling, but you could have multiple parameter-based specialized getter/setter (void set(bool), void set(int)...).