Open source remastering of the Freespace 2 engine
snazzyui.cpp File Reference
#include "cfile/cfile.h"
#include "freespace2/freespace.h"
#include "gamesnd/gamesnd.h"
#include "globalincs/alphacolors.h"
#include "graphics/font.h"
#include "io/key.h"
#include "io/mouse.h"
#include "localization/localize.h"
#include "menuui/snazzyui.h"

Go to the source code of this file.


void snazzy_flush ()
void snazzy_menu_init ()
int snazzy_menu_do (ubyte *data, int mask_w, int mask_h, int num_regions, MENU_REGION *regions, int *action, int poll_key, int *key)
void snazzy_menu_add_region (MENU_REGION *region, const char *text, int mask, int key, int click_sound)
void read_menu_tbl (char *menu_name, char *bkg_filename, char *mask_filename, MENU_REGION *regions, int *num_regions, int play_sound)
void snazzy_menu_close ()


int ascii_table []
int shifted_ascii_table []

Function Documentation

void read_menu_tbl ( char *  menu_name,
char *  bkg_filename,
char *  mask_filename,
MENU_REGION regions,
int num_regions,
int  play_sound 

Definition at line 178 of file snazzyui.cpp.

void snazzy_flush ( )

Definition at line 29 of file snazzyui.cpp.

void snazzy_menu_add_region ( MENU_REGION region,
const char *  text,
int  mask,
int  key,
int  click_sound 

Definition at line 163 of file snazzyui.cpp.

void snazzy_menu_close ( )

Definition at line 276 of file snazzyui.cpp.

int snazzy_menu_do ( ubyte data,
int  mask_w,
int  mask_h,
int  num_regions,
MENU_REGION regions,
int action,
int  poll_key,
int key 

Definition at line 59 of file snazzyui.cpp.

void snazzy_menu_init ( )

Definition at line 34 of file snazzyui.cpp.

Variable Documentation

int ascii_table[]

Definition at line 72 of file key.cpp.

int shifted_ascii_table[]

Definition at line 83 of file key.cpp.