This is the mail archive of the
xconq-cvs@sources.redhat.com
mailing list for the Xconq project.
xconq ./ChangeLog kernel/ui.c sdl/Makefile.in ...
- To: xconq-cvs at sourceware dot cygnus dot com
- Subject: xconq ./ChangeLog kernel/ui.c sdl/Makefile.in ...
- From: shebs at sourceware dot cygnus dot com
- Date: 1 Mar 2001 17:34:18 -0000
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.