From b617b8b6565f7c87e2bd1e984f9a17d49743634c Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sat, 16 Mar 2013 14:00:11 -0400 Subject: fix compiling error diff --git a/src/client/requestbroker/APIRequest.h b/src/client/requestbroker/APIRequest.h index 2d41eb6..a4fbac2 100644 --- a/src/client/requestbroker/APIRequest.h +++ b/src/client/requestbroker/APIRequest.h @@ -7,7 +7,7 @@ public: APIResultParser * Parser; std::string URL; void * HTTPContext; - APIRequest(std::string url, APIResultParser * parser, ListenerHandle listener = ListenerHandle(0, 0)); + APIRequest(std::string url, APIResultParser * parser, ListenerHandle listener = ListenerHandle(0, (RequestListener*)NULL)); virtual RequestBroker::ProcessResponse Process(RequestBroker & rb); virtual ~APIRequest(); virtual void Cleanup(); -- cgit v0.9.2-21-gd62e From d357fcdc36e931d2f561fc8e684618d572a35e6d Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sun, 17 Mar 2013 12:21:45 -0400 Subject: add back bounds check to DTEC/TSNS where needed, change VIBR back to 5x5 loop checks a better way to change it to 3x3 may have to be found that has the same ratios, other elements like WATRs have their rates changed too diff --git a/src/simulation/elements/DTEC.cpp b/src/simulation/elements/DTEC.cpp index 69218e6..71bbf8b 100644 --- a/src/simulation/elements/DTEC.cpp +++ b/src/simulation/elements/DTEC.cpp @@ -75,7 +75,7 @@ int Element_DTEC::update(UPDATE_FUNC_ARGS) } for (rx=-rd; rx=0 && y+ry>=0 && x+rx=0 && y+ry>=0 && x+rxcreate_part(i, x, y, PT_EXOT); } -- cgit v0.9.2-21-gd62e