)\r
teamradar_view();\r
\r
+ // Draw Artwork\r
+ if(intermission && !isdemo()) // match has ended\r
+ {\r
+ if(artwork_image == "")\r
+ {\r
+ if(getstati(STAT_WINNING))\r
+ artwork_image = strcat("gfx/artwork_won_", ftos(floor(1 + (random() * 2)))); // CCCCVVVVVAAAAAAAAARRRRRRRRRRRRRRR!!!!!!\r
+ else\r
+ artwork_image = strcat("gfx/artwork_lost_", ftos(floor(1 + (random() * 2)))); // CCCCVVVVVAAAAAAAAARRRRRRRRRRRRRRR!!!!!!\r
+ artwork_image = strzone(artwork_image);\r
+ }\r
+\r
+ if(cvar("cl_artwork_stretch"))\r
+ {\r
+ artwork_size_x = vid_conwidth;\r
+ artwork_size_y = vid_conheight;\r
+ artwork_pos_x = 0;\r
+ artwork_pos_y = 0;\r
+ }\r
+ else\r
+ {\r
+ artwork_size_x = max(vid_conwidth, vid_conheight);\r
+ artwork_size_y = max(vid_conwidth, vid_conheight);\r
+ artwork_pos_x = (vid_conwidth - artwork_size_x) / 2;\r
+ artwork_pos_y = (vid_conheight - artwork_size_y) / 2;\r
+ }\r
+\r
+ drawpic(artwork_pos, artwork_image, artwork_size, '1 1 1', 1, DRAWFLAG_NORMAL);\r
+ }\r
+ else\r
+ {\r
+ if(artwork_image != "")\r
+ {\r
+ strunzone(artwork_image);\r
+ artwork_image = "";\r
+ }\r
+ }\r
+\r
// draw sbar\r
if(cvar("r_letterbox") == 0) {\r
if (cvar("cl_showpressedkeys")) { // draw pressed keys when spectating and playing\r
}\r
}\r
\r
- // Draw Artwork\r
- if(intermission && !isdemo()) // match has ended\r
- {\r
- if(artwork_image == "")\r
- {\r
- if(getstati(STAT_WINNING))\r
- artwork_image = strcat("gfx/artwork_won_", ftos(floor(1 + (random() * 2)))); // CCCCVVVVVAAAAAAAAARRRRRRRRRRRRRRR!!!!!!\r
- else\r
- artwork_image = strcat("gfx/artwork_lost_", ftos(floor(1 + (random() * 2)))); // CCCCVVVVVAAAAAAAAARRRRRRRRRRRRRRR!!!!!!\r
- artwork_image = strzone(artwork_image);\r
- }\r
-\r
- if(cvar("cl_artwork_stretch"))\r
- {\r
- artwork_size_x = vid_conwidth;\r
- artwork_size_y = vid_conheight;\r
- artwork_pos_x = 0;\r
- artwork_pos_y = 0;\r
- }\r
- else\r
- {\r
- artwork_size_x = max(vid_conwidth, vid_conheight);\r
- artwork_size_y = max(vid_conwidth, vid_conheight);\r
- artwork_pos_x = (vid_conwidth - artwork_size_x) / 2;\r
- artwork_pos_y = (vid_conheight - artwork_size_y) / 2;\r
- }\r
-\r
- drawpic(artwork_pos, artwork_image, artwork_size, '1 1 1', 1, DRAWFLAG_NORMAL);\r
- }\r
- else\r
- {\r
- if(artwork_image != "")\r
- {\r
- strunzone(artwork_image);\r
- artwork_image = "";\r
- }\r
- }\r
-\r
if(NextFrameCommand)\r
{\r
localcmd("\n", NextFrameCommand, "\n");\r