| 1 | /*************************************************************************** |
| 2 | pipenightdreams.h - description |
| 3 | ------------------- |
| 4 | begin : Thu Aug 17 2000 |
| 5 | copyright : (C) 2000 by Waldemar Baraldi |
| 6 | email : [email protected] |
| 7 | ***************************************************************************/ |
| 8 | |
| 9 | /*************************************************************************** |
| 10 | * * |
| 11 | * This program is free software; you can redistribute it and/or modify * |
| 12 | * it under the terms of the GNU General Public License as published by * |
| 13 | * the Free Software Foundation; either version 2 of the License, or * |
| 14 | * (at your option) any later version. * |
| 15 | * * |
| 16 | ***************************************************************************/ |
| 17 | |
| 18 | #ifndef PIPE_NIGHT_DREAMS_H |
| 19 | #define PIPE_NIGHT_DREAMS_Hcxx . . $ `src/pipenightdreams.h:19:9`! |
| 20 | |
| 21 | #include "videomanager.h"cxx . . $ `<file>/src/videomanager.h`/ |
| 22 | #include "imagemanager.h"cxx . . $ `<file>/src/imagemanager.h`/ |
| 23 | #include "eventmanager.h"cxx . . $ `<file>/src/eventmanager.h`/ |
| 24 | #include "object.h"cxx . . $ `<file>/src/object.h`/ |
| 25 | #include "board.h"cxx . . $ `<file>/src/board.h`/ |
| 26 | #include "player.h"cxx . . $ `<file>/src/player.h`/ |
| 27 | #include "systemstream.h"cxx . . $ `<file>/src/systemstream.h`/ |
| 28 | |
| 29 | #define FPScxx . . $ `src/pipenightdreams.h:29:9`! 20 |
| 30 | |
| 31 | class PipeNightDreamscxx . . $ PipeNightDreams#: public Objectcxx . . $ Object#{ |
| 32 | |
| 33 | public: |
| 34 | |
| 35 | PipeNightDreamscxx . . $ PipeNightDreams#PipeNightDreams(b45ddcbc8423892c).(bool fullscreen); |
| 36 | ~cxx . . $ PipeNightDreams#`~PipeNightDreams`(ced63f7c635d850d).PipeNightDreamscxx . . $ PipeNightDreams#(); |
| 37 | |
| 38 | /** The method to assign the data dir */ |
| 39 | void setDataDircxx . . $ PipeNightDreams#setDataDir(954ae62f9fac4410).(Strcxx . . $ Str# * dir_name); |
| 40 | |
| 41 | void setStartingLevelcxx . . $ PipeNightDreams#setStartingLevel(d4f767463ce0a6b3).(int level); |
| 42 | |
| 43 | |
| 44 | /** The method that run the game. */ |
| 45 | void runcxx . . $ PipeNightDreams#run(49f6e7a06ebc5aa8).(); |
| 46 | |
| 47 | protected: |
| 48 | |
| 49 | /** Introduction display.*/ |
| 50 | void showIntrocxx . . $ PipeNightDreams#showIntro(49f6e7a06ebc5aa8).(); |
| 51 | /** Options Menu display.*/ |
| 52 | void showOptionscxx . . $ PipeNightDreams#showOptions(49f6e7a06ebc5aa8).(); |
| 53 | /** Level execution.*/ |
| 54 | void playcxx . . $ PipeNightDreams#play(49f6e7a06ebc5aa8).(); |
| 55 | /** Main Menu.*/ |
| 56 | void showMainMenucxx . . $ PipeNightDreams#showMainMenu(49f6e7a06ebc5aa8).(); |
| 57 | /** Game Over screen.*/ |
| 58 | void showGameOvercxx . . $ PipeNightDreams#showGameOver(49f6e7a06ebc5aa8).(); |
| 59 | /** Hall of Fame screen.*/ |
| 60 | void showHallOfFamecxx . . $ PipeNightDreams#showHallOfFame(49f6e7a06ebc5aa8).(); |
| 61 | /** Next Level Screen*/ |
| 62 | void showNextLevelcxx . . $ PipeNightDreams#showNextLevel(49f6e7a06ebc5aa8).(); |
| 63 | /**Try Again Screen*/ |
| 64 | void showTryAgaincxx . . $ PipeNightDreams#showTryAgain(49f6e7a06ebc5aa8).(); |
| 65 | /** Final screen*/ |
| 66 | void showFinalcxx . . $ PipeNightDreams#showFinal(49f6e7a06ebc5aa8).(); |
| 67 | /** Load main graphics*/ |
| 68 | void loadcxx . . $ PipeNightDreams#load(49f6e7a06ebc5aa8).(); |
| 69 | |
| 70 | VideoManagercxx . . $ VideoManager# * video_managercxx . . $ PipeNightDreams#video_manager.; |
| 71 | ImageManagercxx . . $ ImageManager# * image_managercxx . . $ PipeNightDreams#image_manager.; |
| 72 | EventManagercxx . . $ EventManager# * event_managercxx . . $ PipeNightDreams#event_manager.; |
| 73 | |
| 74 | private: |
| 75 | |
| 76 | bool game_overcxx . . $ PipeNightDreams#game_over.; |
| 77 | bool quitcxx . . $ PipeNightDreams#quit.; |
| 78 | SystemStreamcxx . . $ SystemStream# * syscxx . . $ PipeNightDreams#sys.; |
| 79 | Strcxx . . $ Str# * data_dircxx . . $ PipeNightDreams#data_dir.; |
| 80 | Strcxx . . $ Str# * images_dircxx . . $ PipeNightDreams#images_dir.; |
| 81 | Boardcxx . . $ Board# * boardcxx . . $ PipeNightDreams#board.; |
| 82 | Playercxx . . $ Player# * playercxx . . $ PipeNightDreams#player.; |
| 83 | Imagecxx . . $ Image# * nextlevelcxx . . $ PipeNightDreams#nextlevel.; |
| 84 | Imagecxx . . $ Image# * tryagaincxx . . $ PipeNightDreams#tryagain.; |
| 85 | Imagecxx . . $ Image# * pressentercxx . . $ PipeNightDreams#pressenter.; |
| 86 | int starting_levelcxx . . $ PipeNightDreams#starting_level.; |
| 87 | }; |
| 88 | |
| 89 | #endif |
| 90 |