# HG changeset patch
# User KUDr
# Date 1174684948 0
# Node ID e31710af1ca00155e344c8f78ee4a0e9d663fa2e
# Parent 258f78c74b0c10968365260de71543773ea0dcb0
(svn r9419) [NoAI] -Codechange: support AI threads also on Win32 (using threads on Win95 and fibers on other Win32 platforms)
diff -r 258f78c74b0c -r e31710af1ca0 projects/openttd.vcproj
--- a/projects/openttd.vcproj Thu Mar 22 23:12:05 2007 +0000
+++ b/projects/openttd.vcproj Fri Mar 23 21:22:28 2007 +0000
@@ -1226,6 +1226,9 @@
RelativePath=".\..\src\misc\blob.hpp">
+
+
+
+
diff -r 258f78c74b0c -r e31710af1ca0 source.list
--- a/source.list Thu Mar 22 23:12:05 2007 +0000
+++ b/source.list Fri Mar 23 21:22:28 2007 +0000
@@ -383,6 +383,7 @@
misc/autoptr.hpp
misc/binaryheap.hpp
misc/blob.hpp
+misc/countedobj.cpp
misc/countedptr.hpp
misc/crc32.hpp
misc/fixedsizearray.hpp
diff -r 258f78c74b0c -r e31710af1ca0 src/ai/ai_threads.cpp
--- a/src/ai/ai_threads.cpp Thu Mar 22 23:12:05 2007 +0000
+++ b/src/ai/ai_threads.cpp Fri Mar 23 21:22:28 2007 +0000
@@ -12,12 +12,13 @@
#include "ai_threads.h"
#include "api/ai_controller.hpp"
#include "api/ai_object.hpp"
-
-#include
+#include "../misc/autoptr.hpp"
+#include "../misc/countedptr.hpp"
+#include