Subversion Repositories Games.Carmageddon

Rev

Rev 1 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 pmbaty 1
#ifndef _INTRFACE_H_
2
#define _INTRFACE_H_
3
 
4
#include "dr_types.h"
5
 
6
extern int gDisabled_choices[10];
7
extern int gCurrent_mode;
8
extern tU32 gStart_time;
9
extern int gCurrent_choice;
10
extern tInterface_spec* gSpec;
11
extern int gAlways_typing;
12
extern int gDisabled_count;
13
 
14
void SetAlwaysTyping(void);
15
 
16
void ClearAlwaysTyping(void);
17
 
18
int ChoiceDisabled(int pChoice);
19
 
20
void ResetInterfaceTimeout(void);
21
 
22
void ChangeSelection(tInterface_spec* pSpec, int* pOld_selection, int* pNew_selection, int pMode, int pSkip_disabled);
23
 
24
void RecopyAreas(tInterface_spec* pSpec, br_pixelmap** pCopy_areas);
25
 
26
void DisableChoice(int pChoice);
27
 
28
void EnableChoice(int pChoice);
29
 
30
int DoInterfaceScreen(tInterface_spec* pSpec, int pOptions, int pCurrent_choice);
31
 
32
void ChangeSelectionTo(int pNew_choice, int pNew_mode);
33
 
34
#endif