Rlutil

From RogueBasin
Revision as of 10:27, 6 March 2010 by Aave (talk | contribs) (Created page with '{{library| name = rlutil |developer = Aave |released = |updated = Mar 05 2010 |dependencies = none |status = Beta |licensing = WTFPL |language = C, C++ |platforms = …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
rlutil
Library project
Developer Aave
Released
Updated Mar 05 2010
Status Beta
Licensing WTFPL
P. Language C, C++
Platforms Windows, Linux
Dependencies none
Official site of rlutil


Rlutil is a tiny C++ and C utility collection for cross-platform console roguelike development. It consists of mainly I/O functions that can be used to create pure console mode roguelikes (or other apps) that work on both Windows and Linux.

Main functionalities include colored output, keyboard input that doesn't require Return-keypresses and cursor manipulation. It also behaves nicely whether you use C++ or C - meaning that e.g. it automagically uses std::strings, streams and namespaces with C++.

WinAPI or ANSI escape codes are used depending on platform. Mac OSX compatibility needs testing and patches.

Example uses

Just by including rlutil.h instead of conio.h, kbhit() / getch() / gotoxy() based sources become usable on Linux.

Links

   $ git clone git://github.com/tapio/rlutil.git