ScummVM API documentation
fillingstation.h
1 /* ScummVM - Graphic Adventure Engine
2  *
3  * ScummVM is the legal property of its developers, whose names
4  * are too numerous to list here. Please refer to the COPYRIGHT
5  * file distributed with this source distribution.
6  *
7  * Additional copyright for this file:
8  * Copyright (C) 1995-1997 Presto Studios, Inc.
9  *
10  * This program is free software: you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation, either version 3 of the License, or
13  * (at your option) any later version.
14  *
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program. If not, see <http://www.gnu.org/licenses/>.
22  *
23  */
24 
25 #ifndef PEGASUS_NEIGHBORHOOD_NORAD_ALPHA_FILLINGSTATION_H
26 #define PEGASUS_NEIGHBORHOOD_NORAD_ALPHA_FILLINGSTATION_H
27 
28 #include "pegasus/interaction.h"
29 #include "pegasus/movie.h"
30 #include "pegasus/notification.h"
31 
32 namespace Pegasus {
33 
34 class Item;
35 
37 public:
39  ~NoradAlphaFillingStation() override {}
40 
41  void handleInput(const Input &, const Hotspot *) override;
42 
43  void clickInHotspot(const Input &, const Hotspot *) override;
44  void activateHotspots() override;
45 
46  void newFillingItem(Item *);
47 
48 protected:
49  void receiveNotification(Notification *, const NotificationFlags) override;
50 
51  void openInteraction() override;
52  void initInteraction() override;
53  void closeInteraction() override;
54 
55  void powerUpFinished();
56  void splashFinished();
57  void intakeWarningFinished();
58  void intakeHighlightFinished();
59  void dispenseHighlightFinished();
60  void ArHighlightFinished();
61  void CO2HighlightFinished();
62  void HeHighlightFinished();
63  void OHighlightFinished();
64  void NHighlightFinished();
65 
66  void showIntakeInProgress(uint16);
67 
68  void clickInIntake();
69  void clickInDispense();
70  void clickInAr();
71  void clickInCO2();
72  void clickInHe();
73  void clickInO();
74  void clickInN();
75 
76  void dispenseGas();
77 
78  void setStaticState(TimeValue, int16);
79  void setSegmentState(TimeValue, TimeValue, NotificationFlags, int16);
80 
81  Movie _rightSideMovie;
82  Notification _rightSideNotification;
83  NotificationCallBack _rightSideCallBack;
84  int16 _state;
85  ItemID _dispenseItemID;
86 };
87 
88 } // End of namespace Pegasus
89 
90 #endif
Definition: fillingstation.h:36
Definition: neighborhood.h:111
Definition: movie.h:40
Definition: hotspot.h:85
Definition: item.h:294
Definition: input.h:322
Definition: notification.h:53
Definition: interaction.h:37
Definition: timers.h:191
Definition: notification.h:83
Definition: ai_action.h:33