Skip to content
Snippets Groups Projects
  1. Feb 15, 2018
  2. Feb 14, 2018
  3. Feb 13, 2018
    • deuce's avatar
      Fix gettext() on 16+ colour displays. · c38948a4
      deuce authored
      c38948a4
    • deuce's avatar
      Some more minor optimizations · d898eee9
      deuce authored
      d898eee9
    • deuce's avatar
      Use integer math for RGB -> YUV conversion. · 40f8ea29
      deuce authored
      40f8ea29
    • deuce's avatar
      Translate bitmap_con.c RGB values to visual pixel values. · 116f16d0
      deuce authored
      Set all unused bits 'cause they may be transparency.
      116f16d0
    • deuce's avatar
      #include "ciolib.h" for struct vmem_cell · 2839c4af
      deuce authored
      2839c4af
    • deuce's avatar
      Eliminate pputtext() and pgettext() in favour of vmem_puttext() and vmem_gettext() · 3a0b3655
      deuce authored
      Update scrollback to use vmem_gettext()
      Update all the things I previously updated for the new cterm_init() prototype
      
      So now I expect things to work again... though X11 mode may have issues,
      and SDL overlay mode is dog slow.
      3a0b3655
    • deuce's avatar
      Beginnings of a massive ciolib overhaul... · 210cc022
      deuce authored
      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()).
      210cc022
  4. Feb 12, 2018
Loading