Skip to content

Commit

Permalink
Minor typo fixes to EntityDatabase apidocs
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Sep 21, 2012
1 parent 4b8b3f9 commit c6abbd4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doomsday/engine/portable/include/propertyvalue.h
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ class PropertyFloatValue : public PropertyValue
* Factory constructor for instantiation of new PropertyValues.
*
* @param type DDVT_* value type identifier for the value pointed at by @a valueAdr.
* @param valueAdr Address of the value to be read into the the new property value.
* @param valueAdr Address of the value to be read into the new property value.
*
* @return Newly constructed PropertyValue-derived instance.
*/
Expand Down
6 changes: 3 additions & 3 deletions doomsday/engine/portable/src/map/entitydatabase.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file mapentitydatabase.cpp
* Database of map entity proerty values. @ingroup map
* Database of map entity property values. @ingroup map
*
* @author Copyright &copy; 2007-2012 Daniel Swanson <danij@dengine.net>
*
Expand Down Expand Up @@ -49,15 +49,15 @@ struct entitydatabase_s
}
}

/// @return Total number of entities with the identifier @a entityId.
/// @return Total number of entities by definition @a entityDef.
uint entityCount(MapEntityDef const* entityDef)
{
DENG2_ASSERT(entityDef);
Entities* set = entities(entityDef->id);
return set->size();
}

/// @return @c true= An entity with @a definition and @a elementIndex is known/present.
/// @return @c true= An entity by definition @a entityDef and @a elementIndex is known/present.
bool hasEntity(MapEntityDef const* entityDef, uint elementIndex)
{
DENG2_ASSERT(entityDef);
Expand Down

0 comments on commit c6abbd4

Please sign in to comment.