jorrit | 2 Dec 07:02 2004
Picon
Picon

cel/plugins/tools/quests quests.cpp,1.2,1.3 quests.h,1.1,1.2

Update of /cvsroot/cel/cel/plugins/tools/quests
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18902/plugins/tools/quests

Modified Files:
	quests.cpp quests.h 
Log Message:
	- Jorrit restarted work on the quest manager. Added quest
	  factory implementation.

Index: quests.cpp
===================================================================
RCS file: /cvsroot/cel/cel/plugins/tools/quests/quests.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- quests.cpp	21 Oct 2004 09:22:06 -0000	1.2
+++ quests.cpp	2 Dec 2004 06:02:18 -0000	1.3
 <at>  <at>  -20,6 +20,7  <at>  <at> 
 #include "cssysdef.h"
 #include "csutil/objreg.h"
 #include "csutil/dirtyaccessarray.h"
+#include "csutil/util.h"
 #include "iutil/evdefs.h"
 #include "iutil/event.h"

 <at>  <at>  -31,6 +32,36  <at>  <at> 

 SCF_IMPLEMENT_FACTORY (celQuestManager)

+//---------------------------------------------------------------------------
(Continue reading)

jorrit | 2 Dec 07:02 2004
Picon
Picon

cel/docs history.txt,1.561,1.562

Update of /cvsroot/cel/cel/docs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18902/docs

Modified Files:
	history.txt 
Log Message:
	- Jorrit restarted work on the quest manager. Added quest
	  factory implementation.

Index: history.txt
===================================================================
RCS file: /cvsroot/cel/cel/docs/history.txt,v
retrieving revision 1.561
retrieving revision 1.562
diff -u -d -r1.561 -r1.562
--- history.txt	30 Nov 2004 06:42:21 -0000	1.561
+++ history.txt	2 Dec 2004 06:02:18 -0000	1.562
 <at>  <at>  -3,6 +3,9  <at>  <at> 

 The history order is reversed so that new features are at the top.

+2-Dec-2004
+	- Jorrit restarted work on the quest manager. Added quest
+	  factory implementation.
 30-Nov-2004
 	- Eric Sunshine worked around problem where MSVC6 barfed when the
 	  embedded celPcLinearMovement::PcLinearMovement::RotateV() attempted

jorrit | 2 Dec 07:02 2004
Picon
Picon

cel/include/tools questmanager.h,1.4,1.5

Update of /cvsroot/cel/cel/include/tools
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18902/include/tools

Modified Files:
	questmanager.h 
Log Message:
	- Jorrit restarted work on the quest manager. Added quest
	  factory implementation.

Index: questmanager.h
===================================================================
RCS file: /cvsroot/cel/cel/include/tools/questmanager.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- questmanager.h	28 Oct 2004 08:02:00 -0000	1.4
+++ questmanager.h	2 Dec 2004 06:02:18 -0000	1.5
 <at>  <at>  -243,6 +243,18  <at>  <at> 
    * already exists).
    */
   virtual bool RegisterRewardFactory (iQuestRewardFactory* trigger) = 0;
+
+  /**
+   * Get a quest factory by name.
+   */
+  virtual iQuestFactory* GetQuestFactory (const char* name) = 0;
+
+  /**
+   * Create an empty quest factory.
+   * Returns 0 on failure (quest factory with that name
(Continue reading)

jorrit | 2 Dec 14:03 2004
Picon
Picon

cel/docs history.txt,1.562,1.563

Update of /cvsroot/cel/cel/docs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12444/docs

Modified Files:
	history.txt 
Log Message:
	- Jorrit redesigned the quest manager interfaces a bit. There
	  are now (similar to mesh objects) trigger type, factory, and
	  instance interfaces and also reward type, factory, and
	  instance interfaces. Also completed implementation of a few
	  more interfaces in the quest manager.
	  Additionally added a lot more documentation to the quest
	  manager interfaces.

Index: history.txt
===================================================================
RCS file: /cvsroot/cel/cel/docs/history.txt,v
retrieving revision 1.562
retrieving revision 1.563
diff -u -d -r1.562 -r1.563
--- history.txt	2 Dec 2004 06:02:18 -0000	1.562
+++ history.txt	2 Dec 2004 13:03:34 -0000	1.563
 <at>  <at>  -6,6 +6,13  <at>  <at> 
 2-Dec-2004
 	- Jorrit restarted work on the quest manager. Added quest
 	  factory implementation.
+	- Jorrit redesigned the quest manager interfaces a bit. There
+	  are now (similar to mesh objects) trigger type, factory, and
+	  instance interfaces and also reward type, factory, and
+	  instance interfaces. Also completed implementation of a few
(Continue reading)

jorrit | 2 Dec 14:03 2004
Picon
Picon

cel/plugins/tools/quests quests.cpp,1.3,1.4 quests.h,1.2,1.3

Update of /cvsroot/cel/cel/plugins/tools/quests
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12444/plugins/tools/quests

Modified Files:
	quests.cpp quests.h 
Log Message:
	- Jorrit redesigned the quest manager interfaces a bit. There
	  are now (similar to mesh objects) trigger type, factory, and
	  instance interfaces and also reward type, factory, and
	  instance interfaces. Also completed implementation of a few
	  more interfaces in the quest manager.
	  Additionally added a lot more documentation to the quest
	  manager interfaces.

Index: quests.cpp
===================================================================
RCS file: /cvsroot/cel/cel/plugins/tools/quests/quests.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- quests.cpp	2 Dec 2004 06:02:18 -0000	1.3
+++ quests.cpp	2 Dec 2004 13:03:36 -0000	1.4
 <at>  <at>  -34,6 +34,61  <at>  <at> 

 //---------------------------------------------------------------------------

+SCF_IMPLEMENT_IBASE (celQuestTriggerResponseFactory)
+  SCF_IMPLEMENTS_INTERFACE (iQuestTriggerResponseFactory)
+SCF_IMPLEMENT_IBASE_END
+
(Continue reading)

jorrit | 2 Dec 14:03 2004
Picon
Picon

cel/include/tools questmanager.h,1.5,1.6

Update of /cvsroot/cel/cel/include/tools
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12444/include/tools

Modified Files:
	questmanager.h 
Log Message:
	- Jorrit redesigned the quest manager interfaces a bit. There
	  are now (similar to mesh objects) trigger type, factory, and
	  instance interfaces and also reward type, factory, and
	  instance interfaces. Also completed implementation of a few
	  more interfaces in the quest manager.
	  Additionally added a lot more documentation to the quest
	  manager interfaces.

Index: questmanager.h
===================================================================
RCS file: /cvsroot/cel/cel/include/tools/questmanager.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- questmanager.h	2 Dec 2004 06:02:18 -0000	1.5
+++ questmanager.h	2 Dec 2004 13:03:36 -0000	1.6
 <at>  <at>  -59,6 +59,9  <at>  <at> 
 </quest>
 */

+//-------------------------------------------------------------------------
+// Triggers
+//-------------------------------------------------------------------------

(Continue reading)

jorrit | 2 Dec 20:50 2004
Picon
Picon

cel/docs history.txt,1.563,1.564

Update of /cvsroot/cel/cel/docs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14510/docs

Modified Files:
	history.txt 
Log Message:
	- Jorrit continued working on the quest manager. The first predefined
	  trigger (cel.questtrigger.entersector) is created. This trigger
	  is not functional yet.

Index: history.txt
===================================================================
RCS file: /cvsroot/cel/cel/docs/history.txt,v
retrieving revision 1.563
retrieving revision 1.564
diff -u -d -r1.563 -r1.564
--- history.txt	2 Dec 2004 13:03:34 -0000	1.563
+++ history.txt	2 Dec 2004 19:50:41 -0000	1.564
 <at>  <at>  -13,6 +13,9  <at>  <at> 
 	  more interfaces in the quest manager.
 	  Additionally added a lot more documentation to the quest
 	  manager interfaces.
+	- Jorrit continued working on the quest manager. The first predefined
+	  trigger (cel.questtrigger.entersector) is created. This trigger
+	  is not functional yet.
 30-Nov-2004
 	- Eric Sunshine worked around problem where MSVC6 barfed when the
 	  embedded celPcLinearMovement::PcLinearMovement::RotateV() attempted

(Continue reading)

jorrit | 2 Dec 20:50 2004
Picon
Picon

cel/include/tools questmanager.h,1.6,1.7

Update of /cvsroot/cel/cel/include/tools
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14510/include/tools

Modified Files:
	questmanager.h 
Log Message:
	- Jorrit continued working on the quest manager. The first predefined
	  trigger (cel.questtrigger.entersector) is created. This trigger
	  is not functional yet.

Index: questmanager.h
===================================================================
RCS file: /cvsroot/cel/cel/include/tools/questmanager.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- questmanager.h	2 Dec 2004 13:03:36 -0000	1.6
+++ questmanager.h	2 Dec 2004 19:50:42 -0000	1.7
 <at>  <at>  -53,6 +53,9  <at>  <at> 
         <trigger type="clickonentity">
 	    <fireon entity_name="" />
 	</trigger>
+        <trigger type="cel.questtrigger.entersector">
+	    <fireon entity_name="player" sector_name="room" />
+	</trigger>
     </state>

     <start>notstarted</start>
 <at>  <at>  -94,14 +97,14  <at>  <at> 
 {
(Continue reading)

jorrit | 2 Dec 20:50 2004
Picon
Picon

cel/plugins/tools/quests trig_entersector.cpp,NONE,1.1 trig_entersector.h,NONE,1.1 Jamfile,1.1,1.2 quests.cpp,1.4,1.5 quests.h,1.3,1.4

Update of /cvsroot/cel/cel/plugins/tools/quests
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14510/plugins/tools/quests

Modified Files:
	Jamfile quests.cpp quests.h 
Added Files:
	trig_entersector.cpp trig_entersector.h 
Log Message:
	- Jorrit continued working on the quest manager. The first predefined
	  trigger (cel.questtrigger.entersector) is created. This trigger
	  is not functional yet.

--- NEW FILE: trig_entersector.cpp ---
/*
    Crystal Space Entity Layer
    Copyright (C) 2004 by Jorrit Tyberghein

    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Library General Public
    License as published by the Free Software Foundation; either
    version 2 of the License, or (at your option) any later version.

    This library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    Library General Public License for more details.

    You should have received a copy of the GNU Library General Public
    License along with this library; if not, write to the Free
    Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
(Continue reading)

jorrit | 3 Dec 13:41 2004
Picon
Picon

cel/plugins/tools/quests quests.tok,NONE,1.1 reward_debugprint.cpp,NONE,1.1 reward_debugprint.h,NONE,1.1 Jamfile,1.2,1.3 quests.cpp,1.5,1.6 quests.h,1.4,1.5 trig_entersector.cpp,1.1,1.2 trig_entersector.h,1.1,1.2

Update of /cvsroot/cel/cel/plugins/tools/quests
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3584/plugins/tools/quests

Modified Files:
	Jamfile quests.cpp quests.h trig_entersector.cpp 
	trig_entersector.h 
Added Files:
	quests.tok reward_debugprint.cpp reward_debugprint.h 
Log Message:
	- Jorrit did more work on the quest manager:
	    - Completed implementation of the 'entersector' quest
	      trigger.
	    - Added a new predefined 'debugprint' reward which is
	      useful for debugging purposes.
	    - Added ActivateTrigger()/DeactivateTrigger().
	    - Implemented Load() for quest factories.
	    - Lots of other small changes.

--- NEW FILE: quests.tok ---
CS_TOKEN_LIST_TOKEN(PAR)
CS_TOKEN_LIST_TOKEN(STATE)
CS_TOKEN_LIST_TOKEN(TRIGGER)
CS_TOKEN_LIST_TOKEN(FIREON)
CS_TOKEN_LIST_TOKEN(REWARD)
CS_TOKEN_LIST_TOKEN(START)

--- NEW FILE: reward_debugprint.cpp ---
/*
    Crystal Space Entity Layer
    Copyright (C) 2004 by Jorrit Tyberghein
(Continue reading)


Gmane