/
roa/
roa/lib/boards/
roa/lib/config/
roa/lib/edits/
roa/lib/help/
roa/lib/misc/
roa/lib/plrobjs/
roa/lib/quests/
roa/lib/socials/
roa/lib/www/
roa/lib/www/LEDSign/
roa/lib/www/LEDSign/fonts/
roa/lib/www/LEDSign/scripts/
roa/src/s_inc/
roa/src/sclient/
roa/src/sclient/binary/
roa/src/sclient/text/
roa/src/util/
/************************************************************************
	Realms of Aurealis 		James Rhone aka Vall of RoA

screen.h				Header file for screen.c...

		******** 100% Completely Original Code ********
		*** BE AWARE OF ALL RIGHTS AND RESERVATIONS ***
		******** 100% Completely Original Code ********
		        All rights reserved henceforth. 

    Please note that no guarantees are associated with any code from
Realms of Aurealis.  All code which has been released to the general
public has been done so with an 'as is' pretense.  RoA is based on both
Diku and CircleMUD and ALL licenses from both *MUST* be adhered to as well
as the RoA license.   *** Read, Learn, Understand, Improve ***
*************************************************************************/
#ifndef ROA_SCREEN_H
#define ROA_SCREEN_H

#define KNUL  ""
#define KNRM  "\x1B[0m"
#define KBLD  "\x1B[1m"
#define KFAI  "\x1B[2m"
#define KITA  "\x1B[3m"
#define KUND  "\x1B[4m"
#define KBLK  "\x1B[5m"
#define KREV  "\x1B[7m"
#define KCON  "\x1B[8m"
#define KRED  "\x1B[31m"
#define KGRN  "\x1B[32m"
#define KYEL  "\x1B[33m"
#define KBLU  "\x1B[34m"
#define KMAG  "\x1B[35m"
#define KCYN  "\x1B[36m"
#define KWHT  "\x1B[37m"
#define KBLA  "\x1B[0;30;30;1m"

#define ANSI(ch) (PRF_FLAGGED((ch), PRF_COLOR))

#define KEYUP	   "\033[A"
#define KEYDOWN	   "\033[B"
#define KEYRIGHT   "\033[C"
#define KEYLEFT	   "\033[D"

#define CLRSCR     "\033[H\033[J"
#define CLRLINE	   "\033[K"
#define CURSPOS    "\033[%d;%dH"
#define SCROLLAREA      "\033[%d;%dr\033[%d;%dH\033[J"
#define CLRSCROLLAREA   "\033[%d;%dr\033[2J"
#define BARLINE \
"-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-"

#define CURSOR_ROW(ch) ((ch)->pc_specials->saved.crow)
#define CURSOR_COL(ch) ((ch)->pc_specials->saved.ccol)

// function prototypes
void killp(char *str);
int color_decode(chdata *ch, char *txt, char *cstr);
void clrscr(chdata *ch);
void init_vtbar(chdata *ch);
void resetscr(chdata *ch);
void updatescr(chdata *ch);
void send_to_vtbar(char *messg, chdata *ch);
void display_prompt(chdata *ch, char *newstr);
void cursor_goto(chdata *ch, int row, int col);

#endif /* ROA_SCREEN_H */