From mboxrd@z Thu Jan 1 00:00:00 1970 From: shebs@sourceware.cygnus.com To: xconq-cvs@sourceware.cygnus.com Subject: xconq ./ChangeLog kernel/ui.c sdl/Makefile.in ... Date: Thu, 01 Mar 2001 09:34:00 -0000 Message-id: <20010301173418.6190.qmail@sourceware.cygnus.com> X-SW-Source: 2001/msg00071.html List-Id: CVSROOT: /cvs/xconq Module name: xconq Changes by: shebs@sources.redhat.com 2001-03-01 09:34:18 Modified files: . : ChangeLog kernel : ui.c sdl : Makefile.in sdlcmd.c sdlconq.h sdlmain.c sdlmap.c Added files: sdl : sdlscreen.c Log message: Reorganize SDL interface. Screens now consists of maps plus variable numbers of panels. Change most map references to screen references, including struct fields, function names, and local variables. * sdlconq.h (Screen): New type, move most Map fields to it. (Panel): New type. (enum paneltype): New enum. * sdlscreen.c: New file, includes general screen-handling code from sdlmap.c and sdlmain.c, plus new panel code. * sdl/Makefile.in: Add it. * sdlconq.h, sdlcmd.c, sdlmain.c: Change most existing references from "Map" to "Screen". * sdlmain.c (mscreen): Rename from screen. (sscreen): New global, was smap. (initial_ui_init): Check for NULL from getenv of SDL_VIDEODRIVER before using strcmp. * sdlmap.c: Comment out unused local vars. (xform): Make extern. (draw_map_overhead): Use draw_grid from viewport. (draw_borders, etc): Don't use map->draw_lines. * ui.c (oneliner): Handle the outside-the-viewport case.