src/ai/ai_threads.cpp
Mon, 16 Jun 2008 14:43:19 +0000 truebrain (svn r13532) [NoAI] -Fix: in MultiPlayer SignID wasn't set correctly, causing weird effects. Code is now more unified, which should avoid simular effects in the future (tnx to glx for initial patch) noai
Sun, 08 Jun 2008 22:38:29 +0000 truebrain (svn r13426) [NoAI] -Fix: in the unlikely case an AI is killed before his ->Start() was started, an assert was triggered noai
Sun, 08 Jun 2008 21:20:48 +0000 truebrain (svn r13422) [NoAI] -Change [API CHANGE]: remove Stop() as part of the AIController. This means you no longer need to have a Stop() function in your AI, nor is it ever called. This because it was silly, never used, and couldn't do anything real (all Sleep/DoCommands resulted in an assert, as the game expected the company to be gone). noai
Sun, 08 Jun 2008 21:11:05 +0000 truebrain (svn r13421) [NoAI] -Fix: remove the need for a Sleep(1) before executing a command at the beginning of Start(), by skipping the first tick before calling Start() in the first place noai
Mon, 05 May 2008 12:35:38 +0000 truebrain (svn r12954) [NoAI] -Fix: move the DEBUG level of non-essential debug statements up a few levels, so it doesn't show up at least before lvl 5 noai
Fri, 25 Apr 2008 15:20:48 +0000 rubidium (svn r12896) [NoAI] -Sync: with trunk r12824:r12895. noai
Wed, 02 Apr 2008 10:55:28 +0000 truebrain (svn r12538) [NoAI] -Codechange: introducing fiber.hpp, a class to have fibers in your application via either Windows Fibers, or via thread.h noai
Tue, 01 Apr 2008 13:28:55 +0000 truebrain (svn r12528) [NoAI] -Change: rewrote most of the internal ThreadObject to make it a bit more readable noai
Mon, 31 Mar 2008 16:07:36 +0000 truebrain (svn r12515) [NoAI] -Fix: when an AI dies on its own, don't kill the AI-script, just mark it as dead and don't do anything until the company dies with it noai
Mon, 25 Feb 2008 16:29:48 +0000 truebrain (svn r12257) [NoAI] -Fix: flush stdout and stderr when killing a thread, avoids data-loss ;) noai
Mon, 25 Feb 2008 14:34:16 +0000 truebrain (svn r12249) [NoAI] -Fix: finally found why closing the game gave an assert() on running AIs noai
Mon, 25 Feb 2008 14:03:14 +0000 truebrain (svn r12248) [NoAI] -Codechange: last_command_res was in AIThread, while it should be in AIObject, like all other variables like it noai
Sun, 03 Feb 2008 20:17:54 +0000 rubidium (svn r12051) [NoAI] -Sync: with trunk (r11795:12050). noai
Wed, 09 Jan 2008 18:11:12 +0000 rubidium (svn r11796) [NoAI] -Sync: with trunk r11502:11795. noai
Fri, 03 Aug 2007 22:09:42 +0000 rubidium (svn r10775) [NoAI] -Sync: with trunk r10535:r10774. noai
Sun, 25 Mar 2007 23:39:05 +0000 KUDr (svn r9466) [NoAI] -Fix: main AI thread waking up triggered too early when AI stopped (TrueBrain, Rubidium) noai
Fri, 23 Mar 2007 21:22:28 +0000 KUDr (svn r9419) [NoAI] -Codechange: support AI threads also on Win32 (using threads on Win95 and fibers on other Win32 platforms) noai
Tue, 20 Mar 2007 11:42:07 +0000 truelight (svn r9368) [NoAI] -Fix: store _new_vehicle_id directly after successful handling the command in a per-AI-player-safe piece of memory, so we can restore the value when ever we want later in the process noai
Sun, 18 Mar 2007 16:02:23 +0000 truelight (svn r9278) [NoAI] -Add: added AISettings which adds the function to control the Delay-value on DoCommands noai
Sat, 17 Mar 2007 10:46:56 +0000 KUDr (svn r9264) [NoAI] -Codechange: function AI_ThreadRun() is not static method of AIThreadState (should make porting to win32 bit easier) noai
Fri, 16 Mar 2007 22:00:07 +0000 rubidium (svn r9260) [NoAI] -Codechange: do the AI threading properly using a mutex and condition signalling. noai
Fri, 16 Mar 2007 17:03:49 +0000 truelight (svn r9255) [NoAI] -Add: each AI now runs in a seperate thread. The main thread is suspended if any AI thread is running, only one AI thread runs at the time. noai