Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Announcements are seperately displayed now.
Browse files Browse the repository at this point in the history
realSquidCoder committed Jan 9, 2025
1 parent 23f4d71 commit e8c1586
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions GUI.cpp
Original file line number Diff line number Diff line change
@@ -1159,6 +1159,11 @@ void paintboard()
ssTimers.frame_total = (donetime - ssTimers.prev_frame_time)*0.1 + ssTimers.frame_total*0.9;
ssTimers.prev_frame_time = donetime;

if(ssConfig.show_announcements) {
al_hold_bitmap_drawing(true);
draw_announcements(font, ssState.ScreenW, ssState.ScreenH - 20, ALLEGRO_ALIGN_RIGHT, df::global::world->status.announcements);
al_hold_bitmap_drawing(false);
}
if(ssConfig.show_keybinds){
string *keyname, *actionname;
keyname = actionname = NULL;
@@ -1182,9 +1187,6 @@ void paintboard()

drawDebugCursor(segment);

if (ssConfig.show_announcements) {
draw_announcements(font, ssState.ScreenW, ssState.ScreenH - 20, ALLEGRO_ALIGN_RIGHT, df::global::world->status.announcements);
}
drawAdvmodeMenuTalk(font, 5, ssState.ScreenH - 5);

if(ssConfig.debug_mode) {

0 comments on commit e8c1586

Please sign in to comment.