aboutsummaryrefslogtreecommitdiff
path: root/src/framework
diff options
context:
space:
mode:
authorChaz Brown <iamparadox@netscape.net>2009-09-22 20:40:34 -0400
committerChaz Brown <iamparadox@netscape.net>2009-09-22 20:40:34 -0400
commit7aa91dd81b5ea3bb85d97ff30389a2a1a0a7ab28 (patch)
tree43bb89474e720ab75ac4feaecde5cd2a96912393 /src/framework
parenta9086ea15a6ef297714aef3c50f9b003a016050f (diff)
* AHBot rewritten to cause less lag spikes when checking for bids and when adding new auctions.
* AH Deposit function rewritten to generate deposits closer to official. * AH Mail system rewritten to fix some bugs. * MULTI_THREAD_MAP enabled by default (I have no idea why this was commented out before) * CLIENT_VER added for allowing parts of the code to be enabled/disabled depending on the client version supported. Only used in AHBot for now. * Various code cleanups. --HG-- branch : trunk
Diffstat (limited to 'src/framework')
-rw-r--r--src/framework/Platform/Define.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/framework/Platform/Define.h b/src/framework/Platform/Define.h
index 35bc07f5656..dc5c248bf8c 100644
--- a/src/framework/Platform/Define.h
+++ b/src/framework/Platform/Define.h
@@ -137,7 +137,7 @@ typedef uint32 DWORD;
typedef uint64 OBJECT_HANDLE;
-//#define MULTI_THREAD_MAP
+#define MULTI_THREAD_MAP
#ifdef MULTI_THREAD_MAP
#define MAP_BASED_RAND_GEN
#endif
@@ -156,6 +156,10 @@ typedef uint64 OBJECT_HANDLE;
# endif
#endif
+#ifndef CLIENT_VER
+#define CLIENT_VER 313
+#endif
+
#endif //TRINITY_DEFINE_H