Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

display.h

Go to the documentation of this file.
00001 /***************************************************************************************************/ 00002 /***************************************************************************************************/ 00012 /***************************************************************************************************/ 00013 /***************************************************************************************************/ 00014 #ifndef DISPLAY_H 00015 #define DISPLAY_H 00016 00017 /*------------------------------------ Prototypes ---------------------------------------------*/ 00018 class cAbstract_Display_Def; 00019 class cSprite_Display_Def; 00020 class cBitmap_Display_Def; 00021 00022 00023 /*------------------------------------ Includes ---------------------------------------------*/ 00024 #include "main.h" 00025 #include "geo_utils.h" 00026 #include "mydebug.h" 00027 00028 00029 00030 /*------------------------------------ Define ---------------------------------------------*/ 00031 #define X_DISPLAY_BOMBS 545 00032 #define Y_DISPLAY_BOMBS 500 00033 #define TX_BOMB 30 00034 00035 #define X_DISPLAY_TELEPORTEURS 540 00036 #define Y_DISPLAY_TELEPORTEURS 532 00037 #define TX_TELEPORTEUR 30 00038 00039 #define X_DISPLAY_HOLOGRAMMES 625 00040 #define Y_DISPLAY_HOLOGRAMMES 564 00041 #define TX_HOLOGRAMME 30 00042 00043 00044 /*------------------------------------- Classes ---------------------------------------------*/ 00045 00046 00047 /*************************************************************************************************/ 00049 /*************************************************************************************************/ 00050 class cAbtract_Display_Def 00051 { 00052 public: 00054 00057 cAbtract_Display_Def( RECT & bitmap) {Bitmap_Rect = bitmap; }; 00058 00060 virtual void Display(int x, int y) =0; 00061 00062 protected: 00063 RECT Bitmap_Rect; 00064 }; 00065 00066 00067 /*************************************************************************************************/ 00069 /*************************************************************************************************/ 00070 class cSprite_Display_Def : public cAbtract_Display_Def 00071 { 00072 public: 00074 00077 cSprite_Display_Def( RECT & bitmap):cAbtract_Display_Def(bitmap) {}; 00078 00080 void Display(int x, int y); 00081 }; 00082 00083 /*************************************************************************************************/ 00085 /*************************************************************************************************/ 00086 class cBitmap_Display_Def : public cAbtract_Display_Def 00087 { 00088 public: 00090 00093 cBitmap_Display_Def( RECT & bitmap):cAbtract_Display_Def(bitmap) {}; 00094 00096 void Display(int x, int y); 00097 }; 00098 00099 00100 00101 #endif

Generated on Fri May 21 19:22:36 2004 for LIBELL by doxygen 1.3.7