| 1 | /*************************************************************************** |
| 2 | control.h - description |
| 3 | ------------------- |
| 4 | begin : Tue June 11 2002 |
| 5 | copyright : (C) 2002 by Rick McDaniel |
| 6 | email : [email protected] |
| 7 | $Id: control.h,v 1.3 2003/04/14 05:51:03 mbridak Exp $ |
| 8 | ***************************************************************************/ |
| 9 | |
| 10 | /*************************************************************************** |
| 11 | * * |
| 12 | * This program is free software; you can redistribute it and/or modify * |
| 13 | * it under the terms of the GNU General Public License as published by * |
| 14 | * the Free Software Foundation; either version 2 of the License. * |
| 15 | * . * |
| 16 | * * |
| 17 | ***************************************************************************/ |
| 18 | |
| 19 | #ifndef CONTROL_H |
| 20 | #define CONTROL_Hcxx . . $ `src/control.h:20:9`! |
| 21 | |
| 22 | |
| 23 | /** |
| 24 | *@author Rick McDaniel |
| 25 | */ |
| 26 | |
| 27 | class Controlcxx . . $ Control# { |
| 28 | public: |
| 29 | Submarinecxx . . $ Submarine# *Subscxx . . $ Control#Subs.; |
| 30 | |
| 31 | SDL_Rect srccxx . . $ Control#src., destcxx . . $ Control#dest.; |
| 32 | |
| 33 | SDL_Surface *controlscreencxx . . $ Control#controlscreen.; |
| 34 | SDL_Surface *tempscreencxx . . $ Control#tempscreen.; |
| 35 | |
| 36 | SDL_Surface *ClearControlcxx . . $ Control#ClearControl.; |
| 37 | |
| 38 | Controlcxx . . $ Control#Control(a9ab5cc9dc811b12).(Submarinecxx . . $ Submarine# *temp); |
| 39 | ~cxx . . $ Control#`~Control`(ced63f7c635d850d).Controlcxx . . $ Control#(); |
| 40 | |
| 41 | bool A13cxx . . $ Control#A13., A23cxx . . $ Control#A23., ASTDcxx . . $ Control#ASTD., AFULLcxx . . $ Control#AFULL., AFLKcxx . . $ Control#AFLK.; |
| 42 | bool ASTOPcxx . . $ Control#ASTOP., B13cxx . . $ Control#B13., B23cxx . . $ Control#B23., BSTDcxx . . $ Control#BSTD., BEMERcxx . . $ Control#BEMER.; |
| 43 | |
| 44 | bool depthupcxx . . $ Control#depthup., depthdowncxx . . $ Control#depthdown.; |
| 45 | |
| 46 | void InitGraphicscxx . . $ Control#InitGraphics(fac4f6e207c3be86).(SDL_Surface *temp, SDL_Surface *tempcontrolscreen); |
| 47 | |
| 48 | void ClearHeadingcxx . . $ Control#ClearHeading(49f6e7a06ebc5aa8).(); |
| 49 | void ClearOrdHeadingcxx . . $ Control#ClearOrdHeading(49f6e7a06ebc5aa8).(); |
| 50 | |
| 51 | |
| 52 | void ClearSpeedcxx . . $ Control#ClearSpeed(49f6e7a06ebc5aa8).(); |
| 53 | void ClearOrdSpeedcxx . . $ Control#ClearOrdSpeed(49f6e7a06ebc5aa8).(); |
| 54 | |
| 55 | void ClearDepthcxx . . $ Control#ClearDepth(49f6e7a06ebc5aa8).(); |
| 56 | void ClearOrdDepthcxx . . $ Control#ClearOrdDepth(49f6e7a06ebc5aa8).(); |
| 57 | |
| 58 | void LoadWidgetscxx . . $ Control#LoadWidgets(49f6e7a06ebc5aa8).(); |
| 59 | |
| 60 | void DisplayWidgetscxx . . $ Control#DisplayWidgets(49f6e7a06ebc5aa8).(); |
| 61 | |
| 62 | void ToggleBEMERcxx . . $ Control#ToggleBEMER(49f6e7a06ebc5aa8).(); |
| 63 | void ToggleBSTDcxx . . $ Control#ToggleBSTD(49f6e7a06ebc5aa8).(); |
| 64 | void ToggleB23cxx . . $ Control#ToggleB23(49f6e7a06ebc5aa8).(); |
| 65 | void ToggleB13cxx . . $ Control#ToggleB13(49f6e7a06ebc5aa8).(); |
| 66 | void ToggleASTOPcxx . . $ Control#ToggleASTOP(49f6e7a06ebc5aa8).(); |
| 67 | void ToggleA13cxx . . $ Control#ToggleA13(49f6e7a06ebc5aa8).(); |
| 68 | void ToggleA23cxx . . $ Control#ToggleA23(49f6e7a06ebc5aa8).(); |
| 69 | void ToggleASTDcxx . . $ Control#ToggleASTD(49f6e7a06ebc5aa8).(); |
| 70 | void ToggleAFULLcxx . . $ Control#ToggleAFULL(49f6e7a06ebc5aa8).(); |
| 71 | void ToggleAFLKcxx . . $ Control#ToggleAFLK(49f6e7a06ebc5aa8).(); |
| 72 | |
| 73 | void Displaycxx . . $ Control#Display(49f6e7a06ebc5aa8).(); |
| 74 | |
| 75 | void AdjustHeadingcxx . . $ Control#AdjustHeading(3e454b8ccf442868).(int x, int y); |
| 76 | |
| 77 | void AdjustDepthcxx . . $ Control#AdjustDepth(d4f767463ce0a6b3).(int x); |
| 78 | |
| 79 | // void DPixel(SDL_Surface *screen, int x, int y, Uint32 color); //rdm not needed |
| 80 | |
| 81 | // void DLine(SDL_Surface *screen, int X1, int Y1, int X2, int Y2, Uint32 Color); //rdm not needed |
| 82 | |
| 83 | private: |
| 84 | |
| 85 | SDL_Surface *screencxx . . $ Control#screen.; |
| 86 | SDL_Surface *STOPoffcxx . . $ Control#STOPoff.; |
| 87 | SDL_Surface *STOPoncxx . . $ Control#STOPon.; |
| 88 | SDL_Surface *A13offcxx . . $ Control#A13off.; |
| 89 | SDL_Surface *A13oncxx . . $ Control#A13on.; |
| 90 | SDL_Surface *A23offcxx . . $ Control#A23off.; |
| 91 | SDL_Surface *A23oncxx . . $ Control#A23on.; |
| 92 | SDL_Surface *ASTDoffcxx . . $ Control#ASTDoff.; |
| 93 | SDL_Surface *ASTDoncxx . . $ Control#ASTDon.; |
| 94 | SDL_Surface *AFULLoffcxx . . $ Control#AFULLoff.; |
| 95 | SDL_Surface *AFULLoncxx . . $ Control#AFULLon.; |
| 96 | SDL_Surface *AFLKoffcxx . . $ Control#AFLKoff.; |
| 97 | SDL_Surface *AFLKoncxx . . $ Control#AFLKon.; |
| 98 | SDL_Surface *depthupoffcxx . . $ Control#depthupoff.; |
| 99 | SDL_Surface *depthuponcxx . . $ Control#depthupon.; |
| 100 | SDL_Surface *depthdownoffcxx . . $ Control#depthdownoff.; |
| 101 | SDL_Surface *depthdownoncxx . . $ Control#depthdownon.; |
| 102 | |
| 103 | |
| 104 | int xcxx . . $ Control#x.; |
| 105 | int ycxx . . $ Control#y.; |
| 106 | // Uint32 orange, green, black; //rdm 9/11 not needed |
| 107 | |
| 108 | static char textcxx . . $ Control#text.[120]; |
| 109 | DFontcxx . . $ DFont# largeFontcxx . . $ Control#largeFont(53aff8785a2e1b8c).(const char*, const char *); |
| 110 | DFontcxx . . $ DFont# fntcxx . . $ Control#fnt(53aff8785a2e1b8c).(const char*, const char *); |
| 111 | DFontcxx . . $ DFont# fnt2cxx . . $ Control#fnt2(53aff8785a2e1b8c).(const char*, const char *); |
| 112 | |
| 113 | }; |
| 114 | |
| 115 | #endif |