• src/conio/bitmap_con.c cterm.c cterm.h src/syncterm/ripper.c

    From Deuc¨@VERT to Git commit to main/sbbs/master on Sunday, May 02, 2021 08:32:07
    https://gitlab.synchro.net/main/sbbs/-/commit/75bd66f19ea084aaf7f227dc
    Modified Files:
    src/conio/bitmap_con.c cterm.c cterm.h src/syncterm/ripper.c
    Log Message:
    Optimize color_value() and fix RIP reset

    color_value() is in the hot drawing path, so should be as fast
    as possible... remove all the bit shifting and have the palette
    just be colour values.

    For RIP, the reset wasn't resetting the global coordinates, so a
    scaled image would cause everything to be scaled down later.

    ---
    ş Synchronet ş Vertrauen ş Home of Synchronet ş [vert/cvs/bbs].synchro.net