Changeset 106 for abuse/trunk/src/cop.cpp
- Timestamp:
- Mar 15, 2008, 12:55:44 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/cop.cpp
r61 r106 1008 1008 } 1009 1009 1010 JCFont *fnt= eh->font();1010 JCFont *fnt=wm->font(); 1011 1011 if (local) 1012 1012 { … … 1039 1039 { 1040 1040 fade_out(8); 1041 eh->set_mouse_position(0,0);1041 wm->set_mouse_position(0,0); 1042 1042 screen->clear(); 1043 1043 image *im=cash.img(cash.reg("art/frame.spe","end_level_screen",SPEC_IMAGE,1)); 1044 1044 im->put_image(screen,0,0); 1045 1045 int x1=im->width()+1,y1=0,y2=screen->height(); 1046 JCFont *fnt= eh->font();1046 JCFont *fnt=wm->font(); 1047 1047 1048 1048 view *v=player_list; int tp=0,i; … … 1051 1051 int y=(y1+y2)/2-(tp+2)*fnt->height()/2,x=x1+10; 1052 1052 char const *header_str = symbol_str("score_header"); 1053 fnt->put_string(screen,x,y,header_str, eh->bright_color());1053 fnt->put_string(screen,x,y,header_str,wm->bright_color()); 1054 1054 y+=fnt->height(); 1055 1055 1056 1056 screen->wiget_bar(x,y+2,x+strlen(header_str)*fnt->width(),y+fnt->height()-3, 1057 eh->bright_color(),eh->medium_color(),eh->dark_color());1057 wm->bright_color(),wm->medium_color(),wm->dark_color()); 1058 1058 y+=fnt->height(); 1059 1059 v=player_list; … … 1075 1075 } 1076 1076 1077 eh->flush_screen();1077 wm->flush_screen(); 1078 1078 milli_wait(4000); // wait 4 seconds 1079 1079
Note: See TracChangeset
for help on using the changeset viewer.