MCPcopy Create free account
hub / github.com/NetHack/NetHack / gnome_cliparound

Function gnome_cliparound

outdated/win/gnome/gnbind.c:826–833  ·  view source on GitHub ↗

cliparound(x, y)-- Make sure that the user is more-or-less centered on the screen if the playing area is larger than the screen. -- This function is only defined if CLIPPING is defined. */

Source from the content-addressed store, hash-verified

824 -- This function is only defined if CLIPPING is defined.
825*/
826void
827gnome_cliparound(int x, int y)
828{
829 /* FIXME!!! winid should be a parameter!!!
830 * Call a function that Does The Right Thing(tm).
831 */
832 gnome_cliparound_proper(WIN_MAP, x, y);
833}
834
835void
836gnome_cliparound_proper(winid wid, int x, int y)

Callers

nothing calls this directly

Calls 1

gnome_cliparound_properFunction · 0.85

Tested by

no test coverage detected