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