• src/conio/bitmap_con.c bitmap_con.h ciolib.c ciolib.h cterm.c sdl_con.c

    From deuce@1:103/705 to CVS commit on Mon Feb 12 21:11:20 2018
    src/conio bitmap_con.c 1.126 1.127 bitmap_con.h 1.31 1.32 ciolib.c 1.162 1.163 ciolib.h 1.95 1.96 cterm.c 1.223 1.224 sdl_con.c 1.256 1.257 vidmodes.c 1.25 1.26 vidmodes.h 1.24 1.25 x_cio.c 1.46 1.47 x_cio.h 1.22 1.23 x_events.c 1.42 1.43 x_events.h 1.10 1.11
    Update of /cvsroot/sbbs/src/conio
    In directory cvs:/tmp/cvs-serv3253/conio

    Modified Files:
    bitmap_con.c bitmap_con.h ciolib.c ciolib.h cterm.c sdl_con.c
    vidmodes.c vidmodes.h x_cio.c x_cio.h x_events.c x_events.h
    Log Message:
    Beginnings of a massive ciolib overhaul...

    We're switching to TrueColor now, and maintaining a 65536 entry palette
    for the various palettized bits. This change hurts the overlay output most since it currently means floating point calculations for every pixel.

    The getfont() function now takes a fontnum argument so you can get all the current fonts.

    The vmem array now holds the font data, so once a glyph is written to the screen, it can stay in that font "forever". This still has some issues
    with savescreen()/restorescreen() since there's no extension to grab the new stuff... that'll be coming soon, likely replacing the pgettext() and
    pputtext() functions. For now, various popups will likely reset fonts to
    the default font on the screen.

    Now that we have all this, the status bar in SyncTERM can retain the default font and colours at all times. Further, menus can be displayed in the "right" colours and fonts, and no more translation will be needed. This is a work
    in progress though, so there's likely to be glitches. The scrollback doesn't have the font data either (same issue as savescreen()/restorescreen()).



    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)