| 1 | /*************************************************************************** |
| 2 | message.h - description |
| 3 | ------------------- |
| 4 | begin : Monday Jan 13 2003 |
| 5 | copyright : (C) 2003 by Michael Bridak |
| 6 | email : [email protected] |
| 7 | $Id: message.h,v 1.3 2003/04/20 16:44:30 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 MESSAGE_H |
| 20 | #define MESSAGE_Hcxx . . $ `src/message.h:20:9`! |
| 21 | |
| 22 | #include <string> |
| 23 | |
| 24 | /** |
| 25 | *@author Michael Bridak |
| 26 | */ |
| 27 | |
| 28 | class msgcxx . . $ msg# { |
| 29 | public: |
| 30 | char buffercxx . . $ msg#buffer.[20][256]; |
| 31 | |
| 32 | void InitGraphicscxx . . $ msg#InitGraphics(49f6e7a06ebc5aa8).(); |
| 33 | |
| 34 | /** Places a one line message into the |
| 35 | message buffer to be later displayed |
| 36 | by the display_message() method.*/ |
| 37 | void post_messagecxx . . $ msg#post_message(fda57c8427c60377).(char *temp_string); |
| 38 | |
| 39 | /** Displays the tail end of the buffer |
| 40 | onto the main screen.*/ |
| 41 | void display_messagecxx . . $ msg#display_message(49f6e7a06ebc5aa8).(); |
| 42 | |
| 43 | /** Our constructor....*/ |
| 44 | msgcxx . . $ msg#msg(49f6e7a06ebc5aa8).(); |
| 45 | |
| 46 | /** And the probably never to be used destructor..*/ |
| 47 | ~cxx . . $ msg#`~msg`(ced63f7c635d850d).msgcxx . . $ msg#(); |
| 48 | private: |
| 49 | /** Our main storage for buffer text.*/ |
| 50 | |
| 51 | SDL_Surface *screencxx . . $ msg#screen.; |
| 52 | SDL_Surface *messagewindowcxx . . $ msg#messagewindow.; |
| 53 | DFontcxx . . $ DFont# largeFontcxx . . $ msg#largeFont(53aff8785a2e1b8c).(const char*, const char *); |
| 54 | Uint32cxx . . $ Uint32# textcolorcxx . . $ msg#textcolor.; |
| 55 | Uint32cxx . . $ Uint32# blackcxx . . $ msg#black.; |
| 56 | Uint32cxx . . $ Uint32# whitecxx . . $ msg#white.; |
| 57 | Uint32cxx . . $ Uint32# redcxx . . $ msg#red.; |
| 58 | Uint32cxx . . $ Uint32# greencxx . . $ msg#green.; |
| 59 | Uint32cxx . . $ Uint32# yellowcxx . . $ msg#yellow.; |
| 60 | |
| 61 | }; |
| 62 | |
| 63 | #endif |