Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int TCOD_console_print_internal(TCOD_console_t con,int x,int y, int rw, int rh, TCOD_bkgnd_flag_t flag,
- TCOD_alignment_t align, char *msg, bool can_split, bool count_only) {
- unsigned char *c=(unsigned char *)msg;
- int cx=0,cy=y;
- int minx,maxx,miny,maxy;
- TCOD_color_t oldFore;
- TCOD_color_t oldBack;
- TCOD_console_data_t *dat=con ? (TCOD_console_data_t *)con : TCOD_ctx.root;
- TCOD_IFNOT ( dat != NULL
- && (unsigned)(x) < (unsigned)dat->w && (unsigned)(y) < (unsigned)dat->h )
- return 0;
- TCOD_IFNOT(msg != NULL) return 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement