/XConsole

XConsole is a Linux-Windows console app library.

Primary LanguageC++MIT LicenseMIT

XConsole

XConsole is a Linux-Windows console app base.

Uses CMake and C++17 (ncurses for UNIX)

Usage

Paste the XConsole/ into your project and #include "XConsole/include.h"

Features

Creates a console window on Linux, allows smooth drawing and refreshing on Windows at any coordinate.

Please note that on Linux the window X and Y are correct, while on Windows the Y is the total amount of lines, usually 9001. (sigh)

RenderSystem

Accessed through a provided g_pRenderSystem pointer.

printAt - Prints a given string at a given coordinate.

Vector2D

normalize - Normalizes the Vector and returns the scale of normalization.

Contributions

Very open! Feel free to contribute, whether it is by making issues or PRs. It's just my side project I do.