MCPcopy Create free account
hub / github.com/crawl/crawl / cgetsize

Function cgetsize

crawl-ref/source/libutil.cc:459–475  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

457#endif // !USE_TILE_LOCAL
458
459coord_def cgetsize(GotoRegion region)
460{
461 switch (region)
462 {
463 case GOTO_MLIST:
464 return crawl_view.mlistsz;
465 case GOTO_STAT:
466 return crawl_view.hudsz;
467 case GOTO_MSG:
468 return crawl_view.msgsz;
469 case GOTO_DNGN:
470 return crawl_view.viewsz;
471 case GOTO_CRT:
472 default:
473 return crawl_view.termsz;
474 }
475}
476
477void cscroll(int n, GotoRegion region)
478{

Callers 7

wrapcprint_skippingFunction · 0.85
wrapcprintfFunction · 0.85
cursortoMethod · 0.85
_replay_messages_coreFunction · 0.85
valid_cursor_posFunction · 0.85
cgotoxyFunction · 0.85
display_tagged_blockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected