Scale tab stops in briefings to font-size correctly
This commit is contained in:
parent
ac8cf9aaf6
commit
896a3770c8
|
@ -3,6 +3,7 @@ D2X-Rebirth Changelog
|
||||||
20100715
|
20100715
|
||||||
--------
|
--------
|
||||||
main/object.c, main/wall.c, main/newdemo.c, main/newdemo.h, main/gauges.c: Cleaned the variables used for newdemo code; Instead of giving both old and new values to special recording functions, added new variables to demo code serving this purpose and also checking for redundant record calls which only would waste bytes; Removed duplicated-object-id-hack which did not work as expected and caused jittering on playback; In that process, found a bug where Num_open_doors might nor be set correctly - cleaned that up a little and got also rid of one aweful goto; Made sure cloaked walls are recorded FPS-independent but rather fade-value-dependent
|
main/object.c, main/wall.c, main/newdemo.c, main/newdemo.h, main/gauges.c: Cleaned the variables used for newdemo code; Instead of giving both old and new values to special recording functions, added new variables to demo code serving this purpose and also checking for redundant record calls which only would waste bytes; Removed duplicated-object-id-hack which did not work as expected and caused jittering on playback; In that process, found a bug where Num_open_doors might nor be set correctly - cleaned that up a little and got also rid of one aweful goto; Made sure cloaked walls are recorded FPS-independent but rather fade-value-dependent
|
||||||
|
main/titles.c: Scale tab stops in briefings to font-size correctly
|
||||||
|
|
||||||
20100713
|
20100713
|
||||||
--------
|
--------
|
||||||
|
|
|
@ -665,7 +665,7 @@ int briefing_process_char(briefing *br)
|
||||||
;
|
;
|
||||||
} else if (ch == 'T') {
|
} else if (ch == 'T') {
|
||||||
br->tab_stop = get_message_num(&br->message);
|
br->tab_stop = get_message_num(&br->message);
|
||||||
br->tab_stop*=(1+HIRESMODE);
|
br->tab_stop*=FSPACX(1+HIRESMODE);
|
||||||
br->prev_ch = 10; // read to eoln
|
br->prev_ch = 10; // read to eoln
|
||||||
} else if (ch == 'R') {
|
} else if (ch == 'R') {
|
||||||
if (br->robot_canv != NULL)
|
if (br->robot_canv != NULL)
|
||||||
|
|
Loading…
Reference in a new issue