Changeset 899 for trunk/include/script.h


Ignore:
Timestamp:
06/04/10 08:48:34 (3 years ago)
Author:
fe50
Message:
  • set_console_layout(x1,y1,x2,y2) --> set console position and size, range is x=0 to 45 and y=0 to 14
  • set_console_autoredraw(0|1) --> enable or disable automatic rewrite/refresh of the console, 0=off (disable) or 1=on (enable)
  • console_redraw() --> manually refresh/rewrite the script console
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/script.h

    r515 r899  
    1313extern char script_params[SCRIPT_NUM_PARAMS][28]; 
    1414extern int script_param_order[SCRIPT_NUM_PARAMS]; 
     15extern int auto_redraw; 
    1516 
    1617//------------------------------------------------------------------- 
     
    1819extern void script_console_clear(); 
    1920extern void script_console_add_line(const char *str); 
    20 extern void script_console_draw(); 
     21extern void script_console_draw(int drawing); 
    2122extern void script_print_screen_init(); 
    2223extern void script_print_screen_end(); 
     
    2425extern int load_params_values(const char *fn, int update_vars, int read_param_set); 
    2526extern void save_params_values(int unconditional); 
     27extern void script_console_set_layout(int x1, int y1, int x2, int y2); 
     28extern void script_console_set_autoredraw(int value); 
     29extern void script_console_redraw(); 
    2630//------------------------------------------------------------------- 
    2731#endif 
Note: See TracChangeset for help on using the changeset viewer.