Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7310 for code/branches/doc


Ignore:
Timestamp:
Sep 1, 2010, 11:58:35 AM (14 years ago)
Author:
dafrick
Message:

Removed necessity for GUID as id for quests, since it is not very readable in the level file.

Location:
code/branches/doc/src/modules/questsystem
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • code/branches/doc/src/modules/questsystem/AddQuest.h

    r7298 r7310  
    4747
    4848        @code
    49         <AddQuest questId="id" />  //Where id is a GUID, see http://en.wikipedia.org/wiki/Globally_Unique_Identifier#Basic_structure for more information, and identifies the Quest that should be added.
     49        <AddQuest questId="id" />  //Where id identifies the Quest that should be added.
    5050        @endcode
    5151    @author
  • code/branches/doc/src/modules/questsystem/AddQuestHint.h

    r7298 r7310  
    4949
    5050        @code
    51         <AddQuestHint hintId="id" />  //Where id is a GUID, see http://en.wikipedia.org/wiki/Globally_Unique_Identifier#Basic_structure for more information, and identifies the QuestHint that should be added.
     51        <AddQuestHint hintId="id" />  //Where id identifies the QuestHint that should be added.
    5252        @endcode
    5353    @author
  • code/branches/doc/src/modules/questsystem/CompleteQuest.h

    r7298 r7310  
    4747
    4848        @code
    49         <CompleteQuest questId="id" />  //Where id is a GUID, see http://en.wikipedia.org/wiki/Globally_Unique_Identifier#Basic_structure for more information, and identifies the Quest that should be completed.
     49        <CompleteQuest questId="id" />  //Where id identifies the Quest that should be completed.
    5050        @endcode
    5151    @author
  • code/branches/doc/src/modules/questsystem/FailQuest.h

    r7298 r7310  
    4747
    4848        @code
    49         <FailQuest questId="id" />  //Where id is a GUID, see http://en.wikipedia.org/wiki/Globally_Unique_Identifier#Basic_structure for more information, and identifies the Quest that should be failed.
     49        <FailQuest questId="id" />  //Where id identifies the Quest that should be failed.
    5050        @endcode
    5151    @author
  • code/branches/doc/src/modules/questsystem/GlobalQuest.h

    r7298 r7310  
    5151
    5252        @code
    53         <GlobalQuest id="questId"> //Where questId is a GUID, see http://en.wikipedia.org/wiki/Globally_Unique_Identifier#Basic_structure for more information
     53        <GlobalQuest id="questId">
    5454            <QuestDescription title="Title" description="Description." /> //The description of the quest.
    5555            <subquests>
  • code/branches/doc/src/modules/questsystem/LocalQuest.h

    r7298 r7310  
    5050
    5151        @code
    52         <LocalQuest id="questId"> //Where questId is a GUID, see http://en.wikipedia.org/wiki/Globally_Unique_Identifier#Basic_structure for more information
     52        <LocalQuest id="questId">
    5353            <QuestDescription title="Title" description="Description." /> //The description of the quest.
    5454            <subquests>
  • code/branches/doc/src/modules/questsystem/QuestHint.h

    r7298 r7310  
    6161
    6262        @code
    63         <QuestHint id="hintId">  //Where hintId is a GUID, see http://en.wikipedia.org/wiki/Globally_Unique_Identifier#Basic_structure for more information
     63        <QuestHint id="hintId">
    6464            <QuestDesctription title="" description="" />
    6565        </QuestHint>
  • code/branches/doc/src/modules/questsystem/QuestItem.cc

    r7307 r7310  
    7777    /**
    7878    @brief
    79         Sets the id of the QuestItem. The id must be of GUID form.
     79        Sets the id of the QuestItem.
     80        The id can be any string and must be unique in the context it is used (commonly a level file). To ensure uniqueness one could use GUIDs, however they are in general less readable, so make your own choice.
    8081    @see
    8182        http://en.wikipedia.org/wiki/Globally_Unique_Identifier#Basic_structure
  • code/branches/doc/src/modules/questsystem/QuestItem.h

    r7163 r7310  
    9898
    9999        private:
    100             std::string id_; //!< Identifier. Should be of GUID form: http://en.wikipedia.org/wiki/Globally_Unique_Identifier#Basic_structure
     100            std::string id_; //!< Identifier. Must be unique.
    101101            QuestDescription* description_; //!< The QuestDescription of the QuestItem.
    102102
Note: See TracChangeset for help on using the changeset viewer.