swarm-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[swarm-cvs] [7950] o Changed Zone to SwarmZone throughout


From: glen e. p. ropella
Subject: [swarm-cvs] [7950] o Changed Zone to SwarmZone throughout
Date: Thu, 05 Jun 2014 15:11:41 +0000

Revision: 7950
          http://svn.sv.gnu.org/viewvc/?view=rev&root=swarm&revision=7950
Author:   gepr
Date:     2014-06-05 15:11:40 +0000 (Thu, 05 Jun 2014)
Log Message:
-----------
o Changed Zone to SwarmZone throughout
o Added "-lm" to APPLIBS

Modified Paths:
--------------
    trunk/contrib/drugwar/Agent.m
    trunk/contrib/drugwar/ChangeLog
    trunk/contrib/drugwar/GUI.m
    trunk/contrib/drugwar/Makefile
    trunk/contrib/drugwar/MemeFactory.m
    trunk/contrib/drugwar/Society.m

Modified: trunk/contrib/drugwar/Agent.m
===================================================================
--- trunk/contrib/drugwar/Agent.m       2013-01-17 21:26:19 UTC (rev 7949)
+++ trunk/contrib/drugwar/Agent.m       2014-06-05 15:11:40 UTC (rev 7950)
@@ -1,4 +1,4 @@
-// DrugWar model. Copyright \xA9 2000 Swarm Development Group
+// DrugWar model. Copyright \xA9 2000-2014 Swarm Development Group
 // This library is distributed without any warranty; without even the
 // implied warranty of merchantability or fitness for a particular purpose.
 // See file LICENSE for details and terms of copying.
@@ -26,7 +26,7 @@
 +createBegin: (id) aZone {
   Agent * newMe;
   newMe = [super createBegin: aZone];
-  newMe->agentZone = [Zone create: aZone];
+  newMe->agentZone = [SwarmZone create: aZone];
   newMe->cycle = 0;
   newMe->deadTimeStart = -1;
   newMe->deadPriorState = -2;

Modified: trunk/contrib/drugwar/ChangeLog
===================================================================
--- trunk/contrib/drugwar/ChangeLog     2013-01-17 21:26:19 UTC (rev 7949)
+++ trunk/contrib/drugwar/ChangeLog     2014-06-05 15:11:40 UTC (rev 7950)
@@ -1,3 +1,9 @@
+2014-06-05  gepr  <address@hidden>
+
+       * Makefile (APPLIBS): Add -lm to APPLIBS.
+
+       * Agent, GUI, MemeFactory, Society: Zone -> SwarmZone throughout.
+
 2009-01-14  glen  <address@hidden>
 
        * Makefile (BUGADDRESS): Changed e-mail address.

Modified: trunk/contrib/drugwar/GUI.m
===================================================================
--- trunk/contrib/drugwar/GUI.m 2013-01-17 21:26:19 UTC (rev 7949)
+++ trunk/contrib/drugwar/GUI.m 2014-06-05 15:11:40 UTC (rev 7950)
@@ -13,7 +13,7 @@
 {
   GUI *newMe;
   newMe = [super createBegin: aZone];
-  newMe->guiZone = [Zone create: aZone];
+  newMe->guiZone = [SwarmZone create: aZone];
 
   newMe->displayFrequency = 1;
   newMe->canvasHeight = 600;

Modified: trunk/contrib/drugwar/Makefile
===================================================================
--- trunk/contrib/drugwar/Makefile      2013-01-17 21:26:19 UTC (rev 7949)
+++ trunk/contrib/drugwar/Makefile      2014-06-05 15:11:40 UTC (rev 7950)
@@ -5,7 +5,7 @@
 OBJECTS=Agent.o MemeFactory.o Society.o GUI.o main.o \
        graph/DiGraph.o graph/DiGraphLink.o graph/DiGraphNode.o graph/graph.o
 
-APPLIBS=
+APPLIBS= -lm
 OTHERCLEAN=
 DATAFILES = GUI-Data.001 Society-Data.001
 

Modified: trunk/contrib/drugwar/MemeFactory.m
===================================================================
--- trunk/contrib/drugwar/MemeFactory.m 2013-01-17 21:26:19 UTC (rev 7949)
+++ trunk/contrib/drugwar/MemeFactory.m 2014-06-05 15:11:40 UTC (rev 7950)
@@ -1,4 +1,4 @@
-// DrugWar model. Copyright \xA9 2000 Swarm Development Group
+// DrugWar model. Copyright \xA9 2000-2014 Swarm Development Group
 // This library is distributed without any warranty; without even the
 // implied warranty of merchantability or fitness for a particular purpose.
 // See file LICENSE for details and terms of copying.
@@ -15,7 +15,7 @@
   MemeFactory * newMe;
 
   newMe = [super createBegin: aZone];
-  newMe->memeZone = [Zone create: aZone];
+  newMe->memeZone = [SwarmZone create: aZone];
 
   return newMe;
 }

Modified: trunk/contrib/drugwar/Society.m
===================================================================
--- trunk/contrib/drugwar/Society.m     2013-01-17 21:26:19 UTC (rev 7949)
+++ trunk/contrib/drugwar/Society.m     2014-06-05 15:11:40 UTC (rev 7950)
@@ -1,4 +1,4 @@
-// DrugWar model. Copyright \xA9 2000 Swarm Development Group
+// DrugWar model. Copyright \xA9 2000-2014 Swarm Development Group
 // This library is distributed without any warranty; without even the
 // implied warranty of merchantability or fitness for a particular purpose.
 // See file LICENSE for details and terms of copying.
@@ -19,7 +19,7 @@
 
 - build
 {
-  modelZone = [Zone create: [self getZone]];
+  modelZone = [SwarmZone create: [self getZone]];
   if (swarmGUIMode != 1)
     [ObjectLoader load: self fromAppDataFileNamed: "Society-Data.001"];
   [self buildAgents];




reply via email to

[Prev in Thread] Current Thread [Next in Thread]