$CASE/04s522/lechner/EventCreation.grep041024: This shows that Team1 and ajlopez' enhanced Hominid project only used GenerateEvent, which passes string names of source and dest AIs and EventType, not EventInstanceCreate which passes 3 hcg_key fkeys: ------------------------------------- pwd /nfs/earth/misc/proj3/case/04s522/ajlopez/lcp saturn.cs.uml.edu(140)> grep '(GenerateEvent|EventInstanceCreate)' */*.c */*.h > ../../lechner/EventCreation.grep041024 ------------------------------------ Team1/HDsetup.c:98: GenerateEvent("HDinstance","HXinstance","HL01",0,0,0,0,"increment"); Team1/HDsetup.c:127: GenerateEvent("HDinstance","HYinstance","HL02",0,0,0,0,"decrement"); Team1/HDsetup.c:159: GenerateEvent("HDinstance","HXinstance","HL02",0,0,0,0,"decrement"); Team1/HDsetup.c:190: GenerateEvent("HDinstance","HYinstance","HL01",0,0,0,0,"increment"); Team1/PAssigner.c:151: GenerateEvent("HDinstance","HDinstance","HD01",0,0,0,0,"turn Left"); Team1/PAssigner.c:190: GenerateEvent("HDinstance","HDinstance","HD02",0,0,0,0,"turn Right"); Team1/PAssigner.c:231: GenerateEvent("HDinstance", "HDinstance", "HD03",0,0,0,0,"advance"); Team1/eventinstance.c:32:void EventInstanceCreate, Team1/eventinstance.c:74:void GenerateEvent, Team1/eventinstance.c:130: EventInstanceCreate(AIid1, ------------------------------------------- olc/eventinstance.c:31:void EventInstanceCreate, olc/eventinstance.c:71:void GenerateEvent, olc/eventinstance.c:127: EventInstanceCreate(AIid1, -------------------------------------------- src/HDaction.c:32: GenerateEvent("HDinstance","HXinstance","HL01",0,0,0,0,"increment"); src/HDaction.c:62: GenerateEvent("HDinstance","HYinstance","HL02",0,0,0,0,"decrement"); src/HDaction.c:93: GenerateEvent("HDinstance","HXinstance","HL02",0,0,0,0,"decrement"); src/HDaction.c:126: GenerateEvent("HDinstance","HYinstance","HL01",0,0,0,0,"increment"); src/PAssigner.c:150: GenerateEvent("HDinstance","HDinstance","HD01",0,0,0,0,"turn Left"); src/PAssigner.c:187: GenerateEvent("HDinstance","HDinstance","HD02",0,0,0,0,"turn Right"); src/PAssigner.c:227: GenerateEvent("HDinstance", "HDinstance", "HD03",0,0,0,0,"advance"); --------------------------------------------- Team1/eventinstance.h:5:** EventInstanceCreate or GenerateEvent. In both cases you must specify Team1/eventinstance.h:8:** the internal keys of these three things, use EventInstanceCreate. Team1/eventinstance.h:9:** If you only have the names of these things, use GenerateEvent. Team1/eventinstance.h:43:PROTOTYPE(void EventInstanceCreate, Team1/eventinstance.h:53:PROTOTYPE(void GenerateEvent, (const char * FromThisNamedActiveInstance, ------------------------------------------------- olc/eventinstance.h:5:** EventInstanceCreate or GenerateEvent. In both cases you must specify olc/eventinstance.h:8:** the internal keys of these three things, use EventInstanceCreate. olc/eventinstance.h:9:** If you only have the names of these things, use GenerateEvent. olc/eventinstance.h:43:PROTOTYPE(void EventInstanceCreate, olc/eventinstance.h:53:PROTOTYPE(void GenerateEvent, (const char * FromThisNamedActiveInstance,