X-Git-Url: http://git.draconx.ca/gitweb/rrace.git/blobdiff_plain/174f6502f73fa29e1102938029d7b9f59b245c1b..ceb2df0fe41852ba3f5637dcd04217113b4259ba:/src/motif.h diff --git a/src/motif.h b/src/motif.h index 361abd9..a008306 100644 --- a/src/motif.h +++ b/src/motif.h @@ -26,7 +26,9 @@ struct app_state { struct board board; - Widget game, goal, timer; + Widget game, goal; + + struct xcounter *timer; /* Current window width/height for resize handling. */ Dimension game_sz[2], goal_sz[2]; @@ -35,8 +37,10 @@ struct app_state { XtIntervalId render_tick; XtWorkProcId render_proc; - uint_fast32_t render_game_mask; - uint_fast16_t render_goal_mask; + + uint_least32_t render_game_mask; + uint_least16_t render_goal_mask; + uint_least16_t game_tile_sz, goal_tile_sz; /* If true, the goal will be displayed over the main play area. */ int view_goal_on_game;