- #ifndef _OPTIONS_H_ 
- #define _OPTIONS_H_ 
-   
- #include "dr_types.h" 
-   
- extern int gKey_defns[18]; 
- extern tRadio_bastards gRadio_bastards__options[13]; // suffix added to avoid duplicate symbol 
- extern int gKey_count; 
- extern int gLast_graph_sel__options; // suffix added to avoid duplicate symbol 
- extern char* gKey_names[125]; 
- extern int gPending_entry; 
- extern tInterface_spec* gThe_interface_spec__options; // suffix added to avoid duplicate symbol 
- extern int gOrig_key_mapping[67]; 
- extern br_pixelmap* gDials_pix; 
- extern int gCurrent_key; 
-   
- void DrawDial(int pWhich_one, int pWhich_stage); 
-   
- void MoveDialFromTo(int pWhich_one, int pOld_stage, int pNew_stage); 
-   
- void SoundOptionsStart(void); 
-   
- int SoundOptionsDone(int pCurrent_choice, int pCurrent_mode, int pGo_ahead, int pEscaped, int pTimed_out); 
-   
- int SoundOptionsLeft(int* pCurrent_choice, int* pCurrent_mode); 
-   
- int SoundOptionsRight(int* pCurrent_choice, int* pCurrent_mode); 
-   
- int SoundClick(int* pCurrent_choice, int* pCurrent_mode, int pX_offset, int pY_offset); 
-   
- void DoSoundOptions(void); 
-   
- void GetGraphicsOptions(void); 
-   
- void SetGraphicsOptions(void); 
-   
- void PlayRadioOn2(int pIndex, int pValue); 
-   
- void PlayRadioOff2(int pIndex, int pValue); 
-   
- void PlayRadioOn__options(int pIndex, int pValue); 
-   
- void PlayRadioOff__options(int pIndex, int pValue); 
-   
- void DrawInitialRadios(void); 
-   
- void RadioChanged(int pIndex, int pNew_value); 
-   
- int GraphOptLeft(int* pCurrent_choice, int* pCurrent_mode); 
-   
- int GraphOptRight(int* pCurrent_choice, int* pCurrent_mode); 
-   
- int GraphOptUp(int* pCurrent_choice, int* pCurrent_mode); 
-   
- int GraphOptDown(int* pCurrent_choice, int* pCurrent_mode); 
-   
- int RadioClick(int* pCurrent_choice, int* pCurrent_mode, int pX_offset, int pY_offset); 
-   
- int GraphOptGoAhead(int* pCurrent_choice, int* pCurrent_mode); 
-   
- // Suffix added to avoid duplicate symbol 
- void PlotAGraphBox__options(int pIndex, int pColour_value); 
-   
- // Suffix added to avoid duplicate symbol 
- void DrawAGraphBox__options(int pIndex); 
-   
- // Suffix added to avoid duplicate symbol 
- void EraseAGraphBox__options(int pIndex); 
-   
- void DrawGraphBox(int pCurrent_choice, int pCurrent_mode); 
-   
- void DoGraphicsOptions(void); 
-   
- void CalibrateJoysticks(void); 
-   
- void StripControls(unsigned char* pStr); 
-   
- void LoadKeyNames(void); 
-   
- void DisposeKeyNames(void); 
-   
- void SaveOrigKeyMapping(void); 
-   
- void GetKeyCoords(int pIndex, int* pY, int* pName_x, int* pKey_x, int* pEnd_box); 
-   
- void SetKeysToDefault(void); 
-   
- void SaveKeyMapping(void); 
-   
- void ChangeKeyMapIndex(int pNew_one); 
-   
- void DrawKeyAssignments(int pCurrent_choice, int pCurrent_mode); 
-   
- int KeyAssignLeft(int* pCurrent_choice, int* pCurrent_mode); 
-   
- int KeyAssignRight(int* pCurrent_choice, int* pCurrent_mode); 
-   
- int KeyAssignUp(int* pCurrent_choice, int* pCurrent_mode); 
-   
- int KeyAssignDown(int* pCurrent_choice, int* pCurrent_mode); 
-   
- int KeyAssignGoAhead(int* pCurrent_choice, int* pCurrent_mode); 
-   
- int MouseyClickBastard(int* pCurrent_choice, int* pCurrent_mode, int pX_offset, int pY_offset); 
-   
- void DrawInitialKMRadios(void); 
-   
- void DoControlOptions(void); 
-   
- void LoadSoundOptionsData(void); 
-   
- void FreeSoundOptionsData(void); 
-   
- void DrawDisabledOptions(void); 
-   
- void DoOptions(void); 
-   
- #endif 
-