Subversion Repositories Games.Carmageddon

Rev

Rev 18 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

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