From cc59e5b7450bd496e778b079d246dc4bb6c19d76 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Thu, 10 Jan 2013 23:18:54 +0100 Subject: 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. --- src/game-server/item.h | 2 +- src/utils/point.h | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/game-server/item.h b/src/game-server/item.h index eddc2da..54112c4 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 988b6c5..b077286 100644 --- a/src/utils/point.h +++ b/src/utils/point.h @@ -25,7 +25,7 @@ #include /** - * 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 { -- cgit