diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2013-01-10 23:18:54 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2013-01-10 23:45:07 +0100 |
commit | cc59e5b7450bd496e778b079d246dc4bb6c19d76 (patch) | |
tree | 0d39289bf80bd7d7fec76ce841a7e253ee7b1803 /src | |
parent | 61993e427d061ccfa21a2a6a025c7d4ebbf07d12 (diff) | |
download | manaserv-cc59e5b7450bd496e778b079d246dc4bb6c19d76.tar.gz manaserv-cc59e5b7450bd496e778b079d246dc4bb6c19d76.tar.bz2 manaserv-cc59e5b7450bd496e778b079d246dc4bb6c19d76.tar.xz manaserv-cc59e5b7450bd496e778b079d246dc4bb6c19d76.zip |
Small documentation updates for Point and Rectangle
This documentation used to be accurate, until Point was merged with the
Position class in commit 8ff3e6674c1d4fc05fc1ba87f42484689fca0879.
Also fixed a typo.
Diffstat (limited to 'src')
-rw-r--r-- | src/game-server/item.h | 2 | ||||
-rw-r--r-- | src/utils/point.h | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/game-server/item.h b/src/game-server/item.h index eddc2dad..54112c4a 100644 --- a/src/game-server/item.h +++ b/src/game-server/item.h @@ -73,7 +73,7 @@ enum ItemTriggerType ITT_NULL = 0, ITT_IN_INVY, // Associated effects apply when the item is in the inventory ITT_ACTIVATE, // Associated effects apply when the item is activated - ITT_EQUIP, // Assosciated effects apply when the item is equipped + ITT_EQUIP, // Associated effects apply when the item is equipped ITT_LEAVE_INVY, // Associated effects apply when the item leaves the inventory ITT_UNEQUIP, // Associated effects apply when the item is unequipped ITT_EQUIPCHG // When the item is still equipped, but in a different way diff --git a/src/utils/point.h b/src/utils/point.h index 988b6c5a..b077286d 100644 --- a/src/utils/point.h +++ b/src/utils/point.h @@ -25,7 +25,7 @@ #include <ostream> /** - * A point in positive space. Usually represents pixel coordinates on a map. + * A point. Usually represents pixel coordinates on a map. */ class Point { @@ -62,8 +62,7 @@ class Point }; /** - * A rectangle in positive space. Usually represents a pixel-based zone on a - * map. + * A rectangle. Usually represents a pixel-based zone on a map. */ class Rectangle { |