Difference between revisions of "Rlutil"

From RogueBasin
Jump to navigation Jump to search
(Created page with '{{library| name = rlutil |developer = Aave |released = |updated = Mar 05 2010 |dependencies = none |status = Beta |licensing = WTFPL |language = C, C++ |platforms = …')
 
m (Wikify developer name)
 
Line 1: Line 1:
{{library| name = rlutil
{{library| name = rlutil
|developer = Aave
|developer = [[Aave]]
|released =  
|released =  
|updated = Mar 05 2010
|updated = Mar 05 2010

Latest revision as of 10:28, 6 March 2010

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