aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/items/inventory
diff options
context:
space:
mode:
Diffstat (limited to 'engines/pegasus/items/inventory')
-rw-r--r--engines/pegasus/items/inventory/airmask.cpp4
-rw-r--r--engines/pegasus/items/inventory/gascanister.h2
-rw-r--r--engines/pegasus/items/inventory/inventoryitem.h12
-rw-r--r--engines/pegasus/items/inventory/keycard.h2
4 files changed, 10 insertions, 10 deletions
diff --git a/engines/pegasus/items/inventory/airmask.cpp b/engines/pegasus/items/inventory/airmask.cpp
index 85d4449f9f..c65dd36102 100644
--- a/engines/pegasus/items/inventory/airmask.cpp
+++ b/engines/pegasus/items/inventory/airmask.cpp
@@ -62,7 +62,7 @@ void AirMask::writeToStream(Common::WriteStream *stream) {
stream->writeUint32BE(_oxygenTimer.getTimeRemaining());
}
-void AirMask::readFromStream(Common::ReadStream *stream) {
+void AirMask::readFromStream(Common::ReadStream *stream) {
_oxygenTimer.stopFuse();
InventoryItem::readFromStream(stream);
_oxygenTimer.primeFuse(stream->readUint32BE());
@@ -98,7 +98,7 @@ void AirMask::putMaskOn() {
setItemState(newState);
}
-void AirMask::takeMaskOff() {
+void AirMask::takeMaskOff() {
uint airLevel = getAirLeft();
ItemState newState = getItemState();
ItemState oldState = newState;
diff --git a/engines/pegasus/items/inventory/gascanister.h b/engines/pegasus/items/inventory/gascanister.h
index dae72c12cb..7d4d8193f5 100644
--- a/engines/pegasus/items/inventory/gascanister.h
+++ b/engines/pegasus/items/inventory/gascanister.h
@@ -34,7 +34,7 @@ class GasCanister : public InventoryItem {
public:
GasCanister(const ItemID, const NeighborhoodID, const RoomID, const DirectionConstant);
virtual ~GasCanister() {}
-
+
void select();
void takeSharedArea();
};
diff --git a/engines/pegasus/items/inventory/inventoryitem.h b/engines/pegasus/items/inventory/inventoryitem.h
index b526463b18..9d78113014 100644
--- a/engines/pegasus/items/inventory/inventoryitem.h
+++ b/engines/pegasus/items/inventory/inventoryitem.h
@@ -22,7 +22,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/
-
+
#ifndef PEGASUS_ITEMS_INVENTORY_INVENTORYITEM_H
#define PEGASUS_ITEMS_INVENTORY_INVENTORYITEM_H
@@ -41,17 +41,17 @@ class InventoryItem : public Item {
public:
InventoryItem(const ItemID, const NeighborhoodID, const RoomID, const DirectionConstant);
virtual ~InventoryItem();
-
+
virtual ItemType getItemType();
-
+
void getPanelTimes(TimeValue &, TimeValue &) const;
TimeValue getLeftAreaTime() const;
-
+
void setAnimationTime(const TimeValue);
TimeValue getAnimationTime() const;
-
+
virtual void toggleItemState() {}
-
+
// Must affect images in left area.
virtual void select();
virtual void deselect();
diff --git a/engines/pegasus/items/inventory/keycard.h b/engines/pegasus/items/inventory/keycard.h
index c30c789786..846f40e6e5 100644
--- a/engines/pegasus/items/inventory/keycard.h
+++ b/engines/pegasus/items/inventory/keycard.h
@@ -34,7 +34,7 @@ class KeyCard : public InventoryItem {
public:
KeyCard(const ItemID, const NeighborhoodID, const RoomID, const DirectionConstant);
virtual ~KeyCard() {}
-
+
virtual void toggleItemState();
virtual void setItemState(const ItemState);
bool isFlashlightOn();