Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

ui_credits.c File Reference

#include "ui_local.h"

Include dependency graph for ui_credits.c:

Include dependency graph

Go to the source code of this file.

Data Structures

struct  creditsmenu_t

Functions

void UI_CreditMenu (void)
void UI_CreditMenu_Draw (void)
sfxHandle_t UI_CreditMenu_Key (int key)

Variables

creditsmenu_t s_credits


Function Documentation

void UI_CreditMenu void   ) 
 

Definition at line 122 of file ui_credits.c.

References _tag_menuframework::draw, _tag_menuframework::fullscreen, _tag_menuframework::key, memset(), creditsmenu_t::menu, s_credits, and UI_PushMenu().

Referenced by InGame_QuitAction(), and MainMenu_ExitAction().

00122                            {
00123     memset( &s_credits, 0 ,sizeof(s_credits) );
00124 
00125     s_credits.menu.draw = UI_CreditMenu_Draw;
00126     s_credits.menu.key = UI_CreditMenu_Key;
00127     s_credits.menu.fullscreen = qtrue;
00128     UI_PushMenu ( &s_credits.menu );
00129 }

Here is the call graph for this function:

void UI_CreditMenu_Draw void   )  [static]
 

Definition at line 62 of file ui_credits.c.

References color_red, color_white, PROP_HEIGHT, UI_CENTER, UI_DrawProportionalString(), UI_DrawString(), UI_SMALLFONT, and y.

00062                                        {
00063     int     y;
00064 
00065     y = 12;
00066     UI_DrawProportionalString( 320, y, "id Software is:", UI_CENTER|UI_SMALLFONT, color_white );
00067 
00068     y += 1.42 * PROP_HEIGHT * PROP_SMALL_SIZE_SCALE;
00069     UI_DrawProportionalString( 320, y, "Programming", UI_CENTER|UI_SMALLFONT, color_white );
00070     y += PROP_HEIGHT * PROP_SMALL_SIZE_SCALE;
00071     UI_DrawProportionalString( 320, y, "John Carmack, Robert A. Duffy, Jim Dose'", UI_CENTER|UI_SMALLFONT, color_white );
00072 
00073     y += 1.42 * PROP_HEIGHT * PROP_SMALL_SIZE_SCALE;
00074     UI_DrawProportionalString( 320, y, "Art", UI_CENTER|UI_SMALLFONT, color_white );
00075     y += PROP_HEIGHT * PROP_SMALL_SIZE_SCALE;
00076     UI_DrawProportionalString( 320, y, "Adrian Carmack, Kevin Cloud,", UI_CENTER|UI_SMALLFONT, color_white );
00077     y += PROP_HEIGHT * PROP_SMALL_SIZE_SCALE;
00078     UI_DrawProportionalString( 320, y, "Kenneth Scott, Seneca Menard, Fred Nilsson", UI_CENTER|UI_SMALLFONT, color_white );
00079 
00080     y += 1.42 * PROP_HEIGHT * PROP_SMALL_SIZE_SCALE;
00081     UI_DrawProportionalString( 320, y, "Game Designer", UI_CENTER|UI_SMALLFONT, color_white );
00082     y += PROP_HEIGHT * PROP_SMALL_SIZE_SCALE;
00083     UI_DrawProportionalString( 320, y, "Graeme Devine", UI_CENTER|UI_SMALLFONT, color_white );
00084 
00085     y += 1.42 * PROP_HEIGHT * PROP_SMALL_SIZE_SCALE;
00086     UI_DrawProportionalString( 320, y, "Level Design", UI_CENTER|UI_SMALLFONT, color_white );
00087     y += PROP_HEIGHT * PROP_SMALL_SIZE_SCALE;
00088     UI_DrawProportionalString( 320, y, "Tim Willits, Christian Antkow, Paul Jaquays", UI_CENTER|UI_SMALLFONT, color_white );
00089 
00090     y += 1.42 * PROP_HEIGHT * PROP_SMALL_SIZE_SCALE;
00091     UI_DrawProportionalString( 320, y, "CEO", UI_CENTER|UI_SMALLFONT, color_white );
00092     y += PROP_HEIGHT * PROP_SMALL_SIZE_SCALE;
00093     UI_DrawProportionalString( 320, y, "Todd Hollenshead", UI_CENTER|UI_SMALLFONT, color_white );
00094 
00095     y += 1.42 * PROP_HEIGHT * PROP_SMALL_SIZE_SCALE;
00096     UI_DrawProportionalString( 320, y, "Director of Business Development", UI_CENTER|UI_SMALLFONT, color_white );
00097     y += PROP_HEIGHT * PROP_SMALL_SIZE_SCALE;
00098     UI_DrawProportionalString( 320, y, "Marty Stratton", UI_CENTER|UI_SMALLFONT, color_white );
00099 
00100     y += 1.42 * PROP_HEIGHT * PROP_SMALL_SIZE_SCALE;
00101     UI_DrawProportionalString( 320, y, "Biz Assist and id Mom", UI_CENTER|UI_SMALLFONT, color_white );
00102     y += PROP_HEIGHT * PROP_SMALL_SIZE_SCALE;
00103     UI_DrawProportionalString( 320, y, "Donna Jackson", UI_CENTER|UI_SMALLFONT, color_white );
00104 
00105     y += 1.42 * PROP_HEIGHT * PROP_SMALL_SIZE_SCALE;
00106     UI_DrawProportionalString( 320, y, "Development Assistance", UI_CENTER|UI_SMALLFONT, color_white );
00107     y += PROP_HEIGHT * PROP_SMALL_SIZE_SCALE;
00108     UI_DrawProportionalString( 320, y, "Eric Webb", UI_CENTER|UI_SMALLFONT, color_white );
00109 
00110     y += 1.35 * PROP_HEIGHT * PROP_SMALL_SIZE_SCALE;
00111     UI_DrawString( 320, y, "To order: 1-800-idgames     www.quake3arena.com     www.idsoftware.com", UI_CENTER|UI_SMALLFONT, color_red );
00112     y += SMALLCHAR_HEIGHT;
00113     UI_DrawString( 320, y, "Quake III Arena(c) 1999-2000, Id Software, Inc.  All Rights Reserved", UI_CENTER|UI_SMALLFONT, color_red );
00114 }

Here is the call graph for this function:

sfxHandle_t UI_CreditMenu_Key int  key  )  [static]
 

Definition at line 47 of file ui_credits.c.

References EXEC_APPEND, sfxHandle_t, and trap_Cmd_ExecuteText().

00047                                                 {
00048     if( key & K_CHAR_FLAG ) {
00049         return 0;
00050     }
00051 
00052     trap_Cmd_ExecuteText( EXEC_APPEND, "quit\n" );
00053     return 0;
00054 }

Here is the call graph for this function:


Variable Documentation

creditsmenu_t s_credits [static]
 

Definition at line 39 of file ui_credits.c.

Referenced by UI_CreditMenu().


Generated on Thu Aug 25 14:28:17 2005 for Quake III Arena by  doxygen 1.3.9.1