37
37
                // one of these to select face
 
41
41
                // one of these to select size
 
46
 
                MODE_THREEQUARTERS = 16,
 
 
46
                MODE_THREEQUARTERS = 5,
 
49
49
                // flag to turn on horizontal scrolling
 
 
52
                // text scale constants
 
 
61
         * Reset internal state, for a new text display. This deactivates all
 
 
62
         * messages and they will need to be enabled again with set_up_message().
 
 
67
         * Activate the display of a message and specify its display parameters.
 
 
69
         * @param message_num the message to reset
 
 
70
         * @param mode the new mode for this message
 
 
73
        void set_up_message( int message_num, char mode, char scale = SCALE_NORMAL );
 
54
76
         * After modifying a message buffer, call this to reset the internal state
 
55
77
         * of the text renderer with regard to this message.
 
57
79
         * @param message_num the buffer number
 
58
80
         * @param pstring the PString that represents this message's buffer
 
60
 
        void set_message( int message_num, PString &pstring );
 
63
 
         * Reset the display of a message and specify its display parameters.
 
65
 
         * @param message_num the message to reset
 
66
 
         * @param mode the new mode for this message
 
68
 
        void reset_message( int message_num, char mode );
 
71
 
         * Reset internal state, for a new text display.
 
 
82
        void set_message_text( int message_num, PString &pstring );
 
76
85
         * Call at the start of each frame.
 
 
 
90
         * Call after drawing each frame
 
81
95
         * Draw segment for the specified message number using whatever mode that
 
82
96
         * message is set to.
 
84
 
         * @param message_num the message buffer number
 
85
98
         * @param segment to draw
 
87
 
        void draw( int message_num, int segment );
 
 
100
        void draw( int segment );
 
89
102
        /** internal message buffers */
 
90
103
        extern char _messages[ NUM_MESSAGE_BUFFERS ][ MESSAGE_LEN ];