diff options
author | Johannes Schickel | 2012-09-26 04:10:32 +0200 |
---|---|---|
committer | Johannes Schickel | 2012-09-26 04:11:09 +0200 |
commit | a6c6c74350bb673c178d9756a1625ca128d24f21 (patch) | |
tree | 5d88c0cef3a2b40fdfe6e10d8b20904ff75bddf8 /engines/pegasus/items/inventory | |
parent | d9b204b78ea2c7636af7e8fcffd67065a6d08d84 (diff) | |
download | scummvm-rg350-a6c6c74350bb673c178d9756a1625ca128d24f21.tar.gz scummvm-rg350-a6c6c74350bb673c178d9756a1625ca128d24f21.tar.bz2 scummvm-rg350-a6c6c74350bb673c178d9756a1625ca128d24f21.zip |
PEGASUS: Remove trailing whitespaces.
Powered by: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
Diffstat (limited to 'engines/pegasus/items/inventory')
-rw-r--r-- | engines/pegasus/items/inventory/airmask.cpp | 4 | ||||
-rw-r--r-- | engines/pegasus/items/inventory/gascanister.h | 2 | ||||
-rw-r--r-- | engines/pegasus/items/inventory/inventoryitem.h | 12 | ||||
-rw-r--r-- | engines/pegasus/items/inventory/keycard.h | 2 |
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(); |