Main Page | Data Structures | Directories | File List | Data Fields | Globals

screen.h

Go to the documentation of this file.
00001 /* ---------------------------------------------------------------------- *
00002  * screen.h
00003  * This file is part of lincity.
00004  * Lincity is copyright (c) I J Peters 1995-1997, (c) Greg Sharp 1997-2001.
00005  * ---------------------------------------------------------------------- */
00006 #ifndef __screen_h__
00007 #define __screen_h__
00008 
00009 #include "cliglobs.h"
00010 
00011 #define MONTHGRAPH_STYLE_ECONOMY      1
00012 #define MONTHGRAPH_STYLE_SUSTAIN      2
00013 
00014 #define MONTHGRAPH_STYLE_MIN  MONTHGRAPH_STYLE_ECONOMY
00015 #define MONTHGRAPH_STYLE_MAX  MONTHGRAPH_STYLE_SUSTAIN
00016 
00017 
00018 extern unsigned char main_font[2048];
00019 extern unsigned char start_font1[2048];
00020 extern unsigned char start_font2[4096];
00021 extern unsigned char start_font3[4096];
00022 
00023 int monthgraph_style;
00024 int mps_global_style;
00025 
00026 /* This is on in screen_full_refresh, used in *_refresh() */
00027 extern char screen_refreshing;
00028 
00029 char* current_month (int current_time);
00030 void draw_cb_box (int row, int col, int checked);
00031 int ask_launch_rocket_click (int x, int y);
00032 int ask_launch_rocket_now (int x, int y);
00033 void display_rocket_result_dialog (int result);
00034 void draw_background (void);
00035 void screen_full_refresh (void);
00036 void init_fonts (void);
00037 void initialize_monthgraph (void);
00038 void rotate_mini_screen (void);
00039 void advance_mps_style (void);
00040 void update_main_screen (int full_refresh);
00041 void connect_transport_main_screen (void);
00042 void refresh_main_screen (void);
00043 void refresh_mps (void);
00044 void advance_monthgraph_style (void);
00045 void refresh_monthgraph (void);
00046 void draw_small_yellow_bezel (int x, int y, int h, int w);
00047 void init_pbars (void);
00048 void Fgl_getrect(Rect * r, void * buffer);
00049 void Fgl_putrect(Rect *r, void * buffer);
00050 void mini_screen_help (void);
00051 void status_message(char *m1, char* m2);
00052 void print_time_for_year (void);
00053 void rotate_main_screen (void);
00054 void screen_setup (void);
00055 void refresh_main_screen (void);
00056 /* Miniscreen */
00057 void init_mini_map_mouse(void);
00058 void mini_map_handler(int x, int y, int button);
00059 void mini_aux_handler(int x, int y, int button);
00060 /* Message area */
00061 void display_info_message (int colour, char* ss, char* xs);
00062 void reset_status_message (void);
00063 
00064 #define CB_SPACE 20 // space between checkbuttons for market/port
00065 
00066 #endif  /* __screen_h__ */
00067 

Generated on Sun Dec 26 11:23:26 2004 for lincity by  doxygen 1.3.9.1