CnC_Remastered_Collection

Command and Conquer: Red Alert
Log | Files | Refs | README | LICENSE

SOUNDDLG.H (3770B)


      1 //
      2 // Copyright 2020 Electronic Arts Inc.
      3 //
      4 // TiberianDawn.DLL and RedAlert.dll and corresponding source code is free 
      5 // software: you can redistribute it and/or modify it under the terms of 
      6 // the GNU General Public License as published by the Free Software Foundation, 
      7 // either version 3 of the License, or (at your option) any later version.
      8 
      9 // TiberianDawn.DLL and RedAlert.dll and corresponding source code is distributed 
     10 // in the hope that it will be useful, but with permitted additional restrictions 
     11 // under Section 7 of the GPL. See the GNU General Public License in LICENSE.TXT 
     12 // distributed with this program. You should have received a copy of the 
     13 // GNU General Public License along with permitted additional restrictions 
     14 // with this program. If not, see https://github.com/electronicarts/CnC_Remastered_Collection
     15 
     16 /* $Header: /CounterStrike/SOUNDDLG.H 1     3/03/97 10:25a Joe_bostic $ */
     17 /***********************************************************************************************
     18  ***              C O N F I D E N T I A L  ---  W E S T W O O D  S T U D I O S               ***
     19  ***********************************************************************************************
     20  *                                                                                             *
     21  *                 Project Name : Command & Conquer                                            *
     22  *                                                                                             *
     23  *                    File Name : OPTIONS.H                                                    *
     24  *                                                                                             *
     25  *                   Programmer : Joe L. Bostic                                                *
     26  *                                                                                             *
     27  *                   Start Date : June 8, 1994                                                 *
     28  *                                                                                             *
     29  *                  Last Update : June 8, 1994   [JLB]                                         *
     30  *                                                                                             *
     31  *---------------------------------------------------------------------------------------------*
     32  * Functions:                                                                                  *
     33  * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
     34 
     35 #ifndef SOUNDDLG_H
     36 #define SOUNDDLG_H
     37 
     38 #include "gadget.h"
     39 
     40 class SoundControlsClass
     41 {
     42 	enum SoundControlsClassEnums {
     43 #ifdef FRENCH
     44 		OPTION_WIDTH=308,
     45 #else
     46 		OPTION_WIDTH=292,
     47 #endif
     48 		OPTION_HEIGHT=146,
     49 
     50 		OPTION_X=((320 - OPTION_WIDTH) / 2),
     51 		OPTION_Y=(200 - OPTION_HEIGHT) / 2,
     52 
     53 		LISTBOX_X=17,
     54 		LISTBOX_Y=54,
     55 		LISTBOX_W=OPTION_WIDTH-(LISTBOX_X*2),
     56 		LISTBOX_H=72,
     57 
     58 		BUTTON_WIDTH=70,
     59 		BUTTON_X=OPTION_WIDTH-(BUTTON_WIDTH+17),	 				// Options button x pos
     60 		BUTTON_Y=128, 					// Options button y pos
     61 
     62 		STOP_X=17,						// Stop button X.
     63 		STOP_Y=128,						//	Stop button Y.
     64 
     65 		PLAY_X=35,
     66 		PLAY_Y=128,
     67 
     68 		ONOFF_WIDTH=25,
     69 #ifdef GERMAN
     70 		SHUFFLE_X=79,//BGA:91,
     71 #else
     72 #ifdef FRENCH
     73 		SHUFFLE_X=99,
     74 #else
     75 		SHUFFLE_X=97,
     76 #endif
     77 #endif
     78 		SHUFFLE_Y=128,
     79 
     80 #ifdef FRENCH
     81 		REPEAT_X=169,
     82 #else
     83 		REPEAT_X=164,
     84 #endif
     85 		REPEAT_Y=128,
     86 
     87 		MSLIDER_X=147,
     88 		MSLIDER_Y=28,
     89 		MSLIDER_W=108,
     90 		MSLIDER_HEIGHT=5,
     91 
     92 		FXSLIDER_X=147,
     93 		FXSLIDER_Y=40,
     94 		FXSLIDER_W=108,
     95 		FXSLIDER_HEIGHT=5,
     96 
     97 		BUTTON_STOP = 605,
     98 		BUTTON_PLAY,
     99 		BUTTON_SHUFFLE,
    100 		BUTTON_REPEAT,
    101 		BUTTON_OPTIONS,
    102 		SLIDER_MUSIC,
    103 		SLIDER_SOUND,
    104 		BUTTON_LISTBOX,
    105 	};
    106 
    107 	public:
    108 		SoundControlsClass(void) {}
    109 		void Process(void);
    110 };
    111 
    112 #endif