Atrinik Client  4.0
Macros | Functions | Variables
credits.c File Reference
#include <global.h>

Go to the source code of this file.

Macros

#define CREDITS_WIDTH   455
 
#define CREDITS_HEIGHT   250
 
#define CREDITS_SCROLL_TICKS   80
 

Functions

static int popup_draw_func (popup_struct *popup)
 
void credits_show (void)
 

Variables

static hfile_structhfile_contributors
 
static int credits_scroll
 
static int credits_height
 
static uint32_t credits_ticks
 

Detailed Description

Implements the credits popup.

Author
Alex Tokar

Definition in file credits.c.

Function Documentation

void credits_show ( void  )

Show the credits popup.

Definition at line 81 of file credits.c.

static int popup_draw_func ( popup_struct popup)
static

Function used for drawing on the popup's surface.

Parameters
popupThe popup.
Returns
0 to destroy the popup, 1 otherwise.

Definition at line 56 of file credits.c.

Variable Documentation

int credits_height
static

Height of the credits text.

Definition at line 49 of file credits.c.

int credits_scroll
static

Scroll value of the credits.

Definition at line 45 of file credits.c.

uint32_t credits_ticks
static

Last scrolled ticks.

Definition at line 53 of file credits.c.

hfile_struct* hfile_contributors
static

The contributors help file.

Definition at line 41 of file credits.c.