Mon, 16 Jun 2008 00:07:49 +0000(svn r13531) [NoAI] -Add [API CHANGE]: when building a bridge/tunnel for road/tram, the BuildBridge/BuildTunnel function will now also make two half-road/half-tram pieces on both ends of the bridge/tunnel, so it is easier for you to connect them to your network. This give a more consistant behavior for road. noai
truebrain [Mon, 16 Jun 2008 00:07:49 +0000] rev 10977
(svn r13531) [NoAI] -Add [API CHANGE]: when building a bridge/tunnel for road/tram, the BuildBridge/BuildTunnel function will now also make two half-road/half-tram pieces on both ends of the bridge/tunnel, so it is easier for you to connect them to your network. This give a more consistant behavior for road.
-Note: if the road pieces failed to build, but building the bridge/tunnel succeeded, the function still returns true (for the obvious reasons)

Sun, 15 Jun 2008 23:35:40 +0000(svn r13530) [NoAI] -Fix (r13528): regression.txt was wrong noai
glx [Sun, 15 Jun 2008 23:35:40 +0000] rev 10976
(svn r13530) [NoAI] -Fix (r13528): regression.txt was wrong

Sun, 15 Jun 2008 23:19:05 +0000(svn r13529) [NoAI] -Fix: don't suggest something is DiagDirection if it in fact isn't noai
truebrain [Sun, 15 Jun 2008 23:19:05 +0000] rev 10975
(svn r13529) [NoAI] -Fix: don't suggest something is DiagDirection if it in fact isn't

Sun, 15 Jun 2008 23:12:48 +0000(svn r13528) [NoAI] -Change: regression so it doesn't lose money as fast as it did. noai
rubidium [Sun, 15 Jun 2008 23:12:48 +0000] rev 10974
(svn r13528) [NoAI] -Change: regression so it doesn't lose money as fast as it did.

Sun, 15 Jun 2008 22:56:43 +0000(svn r13527) [NoAI] -Fix (r13525): squirrel_export doesn't like extra semicolon noai
glx [Sun, 15 Jun 2008 22:56:43 +0000] rev 10973
(svn r13527) [NoAI] -Fix (r13525): squirrel_export doesn't like extra semicolon

Sun, 15 Jun 2008 22:37:35 +0000(svn r13526) [NoAI] -Fix: some namespace problems and forgotten pre-condition noai
truebrain [Sun, 15 Jun 2008 22:37:35 +0000] rev 10972
(svn r13526) [NoAI] -Fix: some namespace problems and forgotten pre-condition

Sun, 15 Jun 2008 22:18:10 +0000(svn r13525) [NoAI] -Add: added AIEventEngineAvailable and AIEventStationFirstVehicle noai
glx [Sun, 15 Jun 2008 22:18:10 +0000] rev 10971
(svn r13525) [NoAI] -Add: added AIEventEngineAvailable and AIEventStationFirstVehicle

Sun, 15 Jun 2008 22:10:22 +0000(svn r13524) -Codechange: use the typesafe QSort for vehicle sortings
skidd13 [Sun, 15 Jun 2008 22:10:22 +0000] rev 10970
(svn r13524) -Codechange: use the typesafe QSort for vehicle sortings
-Prepare: vehicles sorting for convsersion to GUIList

Sun, 15 Jun 2008 16:40:41 +0000(svn r13523) -Codechange: replace qsort by the internal typesafe QSortT for resolution sorting
skidd13 [Sun, 15 Jun 2008 16:40:41 +0000] rev 10969
(svn r13523) -Codechange: replace qsort by the internal typesafe QSortT for resolution sorting

Sun, 15 Jun 2008 16:11:25 +0000(svn r13522) -Codechange: Replace the qsort of the highscore with one of the internal sorters
skidd13 [Sun, 15 Jun 2008 16:11:25 +0000] rev 10968
(svn r13522) -Codechange: Replace the qsort of the highscore with one of the internal sorters

Sun, 15 Jun 2008 15:48:33 +0000(svn r13521) -Codechange: Use GUIList sorting instead of poll & sort for CompanyLeagueWindow
skidd13 [Sun, 15 Jun 2008 15:48:33 +0000] rev 10967
(svn r13521) -Codechange: Use GUIList sorting instead of poll & sort for CompanyLeagueWindow

Sun, 15 Jun 2008 13:52:51 +0000(svn r13520) -Fix (r13375): pointer has to be valid before it can be loaded to (SLE_STR)
smatz [Sun, 15 Jun 2008 13:52:51 +0000] rev 10966
(svn r13520) -Fix (r13375): pointer has to be valid before it can be loaded to (SLE_STR)

Sun, 15 Jun 2008 02:48:25 +0000(svn r13519) -Feature[newGRF]: Implement var 63, variational action2 variable for Houses.
belugas [Sun, 15 Jun 2008 02:48:25 +0000] rev 10965
(svn r13519) -Feature[newGRF]: Implement var 63, variational action2 variable for Houses.
Or, in more simple terms, the check for the animation frame of nearby house.

Sat, 14 Jun 2008 19:13:23 +0000(svn r13518) -Fix [FS#2083]: Properly count number of non-north housetiles.
frosch [Sat, 14 Jun 2008 19:13:23 +0000] rev 10964
(svn r13518) -Fix [FS#2083]: Properly count number of non-north housetiles.

Sat, 14 Jun 2008 16:41:03 +0000(svn r13517) -Add: remaining used typesafe versions of the mem* functions from <string.h>
skidd13 [Sat, 14 Jun 2008 16:41:03 +0000] rev 10963
(svn r13517) -Add: remaining used typesafe versions of the mem* functions from <string.h>

Sat, 14 Jun 2008 16:23:08 +0000(svn r13516) -Codechange: Move MemCpyT to a fitting core header
skidd13 [Sat, 14 Jun 2008 16:23:08 +0000] rev 10962
(svn r13516) -Codechange: Move MemCpyT to a fitting core header
-Codechange: Split the sorting code from the sortlist to an appropriate header

Sat, 14 Jun 2008 02:00:20 +0000(svn r13515) -Codechange: Widget enumification for scenario editor
belugas [Sat, 14 Jun 2008 02:00:20 +0000] rev 10961
(svn r13515) -Codechange: Widget enumification for scenario editor

Sat, 14 Jun 2008 01:45:58 +0000(svn r13514) -Codechange: Removal of dead code (or useless, to be more exact)
belugas [Sat, 14 Jun 2008 01:45:58 +0000] rev 10960
(svn r13514) -Codechange: Removal of dead code (or useless, to be more exact)

Sat, 14 Jun 2008 01:08:59 +0000(svn r13513) -Codechange: Give proper message when building a river fails.
belugas [Sat, 14 Jun 2008 01:08:59 +0000] rev 10959
(svn r13513) -Codechange: Give proper message when building a river fails.
Give proper description of a river tile with the Query Tool.
Extracted (in part) from FS#1884, by Ammler

Fri, 13 Jun 2008 20:19:00 +0000(svn r13512) [NoAI] -Fix: don't load a library over and over, but keep track of which libraries we have loaded (per AI) and re-use it where possible (reduces memory-footprint) noai
truebrain [Fri, 13 Jun 2008 20:19:00 +0000] rev 10958
(svn r13512) [NoAI] -Fix: don't load a library over and over, but keep track of which libraries we have loaded (per AI) and re-use it where possible (reduces memory-footprint)
[NoAI] -Fix: change the fake-library-name-counter to a per AI value, not global
[NoAI] -Fix: Load the script inside the thread, not in the main thread. This avoids unneeded error-handling

Fri, 13 Jun 2008 19:57:25 +0000(svn r13511) [NoAI] -Fix: add a reference to objects given in Valuate(), so they remain valid during their usage. This allows nameless functions (lambda functions) in Valuate() on long lists. noai
truebrain [Fri, 13 Jun 2008 19:57:25 +0000] rev 10957
(svn r13511) [NoAI] -Fix: add a reference to objects given in Valuate(), so they remain valid during their usage. This allows nameless functions (lambda functions) in Valuate() on long lists.

Fri, 13 Jun 2008 19:12:55 +0000(svn r13510) [NoAI] -Fix: be a tiny bit more strict for AIAbstract.Valuate() (check the type of the first 2 params) noai
truebrain [Fri, 13 Jun 2008 19:12:55 +0000] rev 10956
(svn r13510) [NoAI] -Fix: be a tiny bit more strict for AIAbstract.Valuate() (check the type of the first 2 params)

Fri, 13 Jun 2008 15:43:39 +0000(svn r13509) [NoAI] -Sync: with trunk r13472:13508. noai
glx [Fri, 13 Jun 2008 15:43:39 +0000] rev 10955
(svn r13509) [NoAI] -Sync: with trunk r13472:13508.

Fri, 13 Jun 2008 15:18:29 +0000(svn r13508) -Fix (r7733): incorrect usage of strtoul
glx [Fri, 13 Jun 2008 15:18:29 +0000] rev 10954
(svn r13508) -Fix (r7733): incorrect usage of strtoul

Fri, 13 Jun 2008 13:28:55 +0000(svn r13507) -Fix (r12856): first engine change should've been moved too
peter1138 [Fri, 13 Jun 2008 13:28:55 +0000] rev 10953
(svn r13507) -Fix (r12856): first engine change should've been moved too

Fri, 13 Jun 2008 13:07:31 +0000(svn r13506) [NoAI] -Change [API CHANGE]: like AIVehicle, AIStation, .. restrict AISign to only your own signs noai
truebrain [Fri, 13 Jun 2008 13:07:31 +0000] rev 10952
(svn r13506) [NoAI] -Change [API CHANGE]: like AIVehicle, AIStation, .. restrict AISign to only your own signs
[NoAI] -Remove [API CHANGE]: the change above makes AISign::GetOwner() obsolete, and is therefor removed

Fri, 13 Jun 2008 05:50:24 +0000(svn r13505) -Fix: clear the memory for the new AI during the loading of a savegame so it does not try to execute commands generated in a different savegame, which could be resulting in the AI trying to give orders to stations that do not exist.
rubidium [Fri, 13 Jun 2008 05:50:24 +0000] rev 10951
(svn r13505) -Fix: clear the memory for the new AI during the loading of a savegame so it does not try to execute commands generated in a different savegame, which could be resulting in the AI trying to give orders to stations that do not exist.

Fri, 13 Jun 2008 01:57:48 +0000(svn r13504) -Codechange: enumify some widgets for scenario editor. More work is required.
belugas [Fri, 13 Jun 2008 01:57:48 +0000] rev 10950
(svn r13504) -Codechange: enumify some widgets for scenario editor. More work is required.

Fri, 13 Jun 2008 01:17:03 +0000(svn r13503) -Fix(r13173)[FS#2073]: Wrong widget numbers & event handlers were assigned to the zoom in and out buttons in the scenario editor
belugas [Fri, 13 Jun 2008 01:17:03 +0000] rev 10949
(svn r13503) -Fix(r13173)[FS#2073]: Wrong widget numbers & event handlers were assigned to the zoom in and out buttons in the scenario editor

Fri, 13 Jun 2008 00:00:04 +0000(svn r13502) -Fix (r11212): drawing of zoomed out partial sprites could cause deadlocks or crashes
smatz [Fri, 13 Jun 2008 00:00:04 +0000] rev 10948
(svn r13502) -Fix (r11212): drawing of zoomed out partial sprites could cause deadlocks or crashes

Thu, 12 Jun 2008 22:29:42 +0000(svn r13501) -Feature(tte): ctrl+click on sign you own to remove it (Osai, planetmaker)
smatz [Thu, 12 Jun 2008 22:29:42 +0000] rev 10947
(svn r13501) -Feature(tte): ctrl+click on sign you own to remove it (Osai, planetmaker)

Thu, 12 Jun 2008 21:54:34 +0000(svn r13500) [NoAI] -Fix r13497: minor glitch in slope-check (Yexo) noai
truebrain [Thu, 12 Jun 2008 21:54:34 +0000] rev 10946
(svn r13500) [NoAI] -Fix r13497: minor glitch in slope-check (Yexo)

Thu, 12 Jun 2008 21:36:56 +0000(svn r13499) -Codechange: Allow drawing (ugly) leveled foundations on steep slopes, just in case someone needs them for fallback.
frosch [Thu, 12 Jun 2008 21:36:56 +0000] rev 10945
(svn r13499) -Codechange: Allow drawing (ugly) leveled foundations on steep slopes, just in case someone needs them for fallback.

Thu, 12 Jun 2008 21:18:09 +0000(svn r13498) [NoAI] -Add: added 'pathfinder.road' to the regression noai
truebrain [Thu, 12 Jun 2008 21:18:09 +0000] rev 10944
(svn r13498) [NoAI] -Add: added 'pathfinder.road' to the regression

Thu, 12 Jun 2008 21:07:25 +0000(svn r13497) [NoAI] -Add [Library]: pathfinder.road, a basic road pathfinder (no bridges/tunnels (yet)) (patch by Yexo, very nice job!) noai
truebrain [Thu, 12 Jun 2008 21:07:25 +0000] rev 10943
(svn r13497) [NoAI] -Add [Library]: pathfinder.road, a basic road pathfinder (no bridges/tunnels (yet)) (patch by Yexo, very nice job!)

Thu, 12 Jun 2008 19:47:02 +0000(svn r13496) [NoAI] -Fix: if a library depends on an other library, the import became globally known, which defeats the idea of imports. They are now restricted to their scope, and 'import' returns the class of import (if any) noai
truebrain [Thu, 12 Jun 2008 19:47:02 +0000] rev 10942
(svn r13496) [NoAI] -Fix: if a library depends on an other library, the import became globally known, which defeats the idea of imports. They are now restricted to their scope, and 'import' returns the class of import (if any)

Thu, 12 Jun 2008 19:06:30 +0000(svn r13495) -Fix: scrolling the main map with the keys speed was influenced by movement of the mouse.
rubidium [Thu, 12 Jun 2008 19:06:30 +0000] rev 10941
(svn r13495) -Fix: scrolling the main map with the keys speed was influenced by movement of the mouse.

Thu, 12 Jun 2008 18:51:35 +0000(svn r13494) -Fix: a little documentation + copy-paste mistake for sprite.h.
rubidium [Thu, 12 Jun 2008 18:51:35 +0000] rev 10940
(svn r13494) -Fix: a little documentation + copy-paste mistake for sprite.h.

Thu, 12 Jun 2008 18:14:06 +0000(svn r13493) [NoAI] -Fix: ReloadAI should reload the AI correctly, no matter what you named your dir noai
truebrain [Thu, 12 Jun 2008 18:14:06 +0000] rev 10939
(svn r13493) [NoAI] -Fix: ReloadAI should reload the AI correctly, no matter what you named your dir

Thu, 12 Jun 2008 18:03:50 +0000(svn r13492) [NoAI] -Add: added the 'standard' functions max() and min() in global scope noai
truebrain [Thu, 12 Jun 2008 18:03:50 +0000] rev 10938
(svn r13492) [NoAI] -Add: added the 'standard' functions max() and min() in global scope

Thu, 12 Jun 2008 16:30:41 +0000(svn r13490) -Add: a seperate icon for aqueducts
skidd13 [Thu, 12 Jun 2008 16:30:41 +0000] rev 10937
(svn r13490) -Add: a seperate icon for aqueducts

Thu, 12 Jun 2008 14:41:29 +0000(svn r13489) -Fix: first determine where to *exactly* build a house before asking a NewGRF whether the location is good instead of possibly moving the house a tile after the NewGRF said the location is good.
rubidium [Thu, 12 Jun 2008 14:41:29 +0000] rev 10936
(svn r13489) -Fix: first determine where to *exactly* build a house before asking a NewGRF whether the location is good instead of possibly moving the house a tile after the NewGRF said the location is good.

Thu, 12 Jun 2008 13:40:07 +0000(svn r13488) -Fix (r13485): track wasn't removed on company bankrupcy when there was a ship on lower halftile
smatz [Thu, 12 Jun 2008 13:40:07 +0000] rev 10935
(svn r13488) -Fix (r13485): track wasn't removed on company bankrupcy when there was a ship on lower halftile

Thu, 12 Jun 2008 13:24:33 +0000(svn r13487) [NoAI] -Fix: tram bits are not to be considered buildable in any case. noai
rubidium [Thu, 12 Jun 2008 13:24:33 +0000] rev 10934
(svn r13487) [NoAI] -Fix: tram bits are not to be considered buildable in any case.

Thu, 12 Jun 2008 11:15:59 +0000(svn r13486) [NoAI] -Add: function to determine what TransportTypes a tile holds. noai
rubidium [Thu, 12 Jun 2008 11:15:59 +0000] rev 10933
(svn r13486) [NoAI] -Add: function to determine what TransportTypes a tile holds.

Thu, 12 Jun 2008 11:15:43 +0000(svn r13485) -Fix: let ships also navigate on half-tile sloped watery rail tiles.
rubidium [Thu, 12 Jun 2008 11:15:43 +0000] rev 10932
(svn r13485) -Fix: let ships also navigate on half-tile sloped watery rail tiles.

Thu, 12 Jun 2008 10:34:21 +0000(svn r13484) [NoAI] -Fix [API CHANGE]: AITile::IsBuildable() now returns 'true' on coast tiles noai
truebrain [Thu, 12 Jun 2008 10:34:21 +0000] rev 10931
(svn r13484) [NoAI] -Fix [API CHANGE]: AITile::IsBuildable() now returns 'true' on coast tiles
[NoAI] -Fix [API CHANGE]: Renamed AITile::IsWater() to AITile::IsWaterTile() to be more consistant; also, it no longer returns 'true' on coast tiles
[NoAI] -Add: added AITile::IsCoastTile(). Building on such tiles is in general more expensive

Thu, 12 Jun 2008 10:14:05 +0000(svn r13483) [NoAI] -Fix: oops... IsBuildable thought trees were not buildable, silly of course (tnx Yexo) noai
truebrain [Thu, 12 Jun 2008 10:14:05 +0000] rev 10930
(svn r13483) [NoAI] -Fix: oops... IsBuildable thought trees were not buildable, silly of course (tnx Yexo)

Thu, 12 Jun 2008 09:25:04 +0000(svn r13482) -Codechange: Use "extended bytes" in Actions 3 and 4 for vehicles
peter1138 [Thu, 12 Jun 2008 09:25:04 +0000] rev 10929
(svn r13482) -Codechange: Use "extended bytes" in Actions 3 and 4 for vehicles

Wed, 11 Jun 2008 21:37:36 +0000(svn r13481) -Codechange: add 'B' keyboard shortcut to build aqueduct (planetmaker)
smatz [Wed, 11 Jun 2008 21:37:36 +0000] rev 10928
(svn r13481) -Codechange: add 'B' keyboard shortcut to build aqueduct (planetmaker)

Wed, 11 Jun 2008 19:57:45 +0000(svn r13480) -Fix [FS#2050]: RVs stoppping at drive through stations of other companies.
rubidium [Wed, 11 Jun 2008 19:57:45 +0000] rev 10927
(svn r13480) -Fix [FS#2050]: RVs stoppping at drive through stations of other companies.

Wed, 11 Jun 2008 17:35:55 +0000(svn r13479) -Codechange: don't use word 'bridge' for aqueducts that often
smatz [Wed, 11 Jun 2008 17:35:55 +0000] rev 10926
(svn r13479) -Codechange: don't use word 'bridge' for aqueducts that often

Wed, 11 Jun 2008 17:10:36 +0000(svn r13478) -Codechange: don't use GetBridgeSpec() for aqueducts
smatz [Wed, 11 Jun 2008 17:10:36 +0000] rev 10925
(svn r13478) -Codechange: don't use GetBridgeSpec() for aqueducts

Wed, 11 Jun 2008 16:24:00 +0000(svn r13477) -Fix (r13464): correct tile type in the Query tile info window
smatz [Wed, 11 Jun 2008 16:24:00 +0000] rev 10924
(svn r13477) -Fix (r13464): correct tile type in the Query tile info window

Wed, 11 Jun 2008 16:22:07 +0000(svn r13476) -Fix: draw canal borders for locks and when directly next to a aquaduct entrace but under the aqueduct.
rubidium [Wed, 11 Jun 2008 16:22:07 +0000] rev 10923
(svn r13476) -Fix: draw canal borders for locks and when directly next to a aquaduct entrace but under the aqueduct.

Wed, 11 Jun 2008 15:56:55 +0000(svn r13475) -Fix (r13464): crash on destroying aquaduct with ship on in and on company bankrupt
smatz [Wed, 11 Jun 2008 15:56:55 +0000] rev 10922
(svn r13475) -Fix (r13464): crash on destroying aquaduct with ship on in and on company bankrupt

Wed, 11 Jun 2008 15:35:21 +0000(svn r13474) [NoAI] -Fix: remove the restriction of 10 params per Valuator noai
truebrain [Wed, 11 Jun 2008 15:35:21 +0000] rev 10921
(svn r13474) [NoAI] -Fix: remove the restriction of 10 params per Valuator

Wed, 11 Jun 2008 15:23:32 +0000(svn r13473) [NoAI] -Sync: with r13417:13472. noai
glx [Wed, 11 Jun 2008 15:23:32 +0000] rev 10920
(svn r13473) [NoAI] -Sync: with r13417:13472.

Wed, 11 Jun 2008 15:08:52 +0000(svn r13472) -Backport (r13467 from NoAI): make CmdRemoveRoadStop use p2 as documented (only look at bit 0, not at the complete value)
glx [Wed, 11 Jun 2008 15:08:52 +0000] rev 10919
(svn r13472) -Backport (r13467 from NoAI): make CmdRemoveRoadStop use p2 as documented (only look at bit 0, not at the complete value)

Wed, 11 Jun 2008 14:55:10 +0000(svn r13470) [NoAI] -Change [Library CHANGE]: allow in graph.aystar to give a custom param to the callbacks, so you can send in an instance of yourself noai
truebrain [Wed, 11 Jun 2008 14:55:10 +0000] rev 10918
(svn r13470) [NoAI] -Change [Library CHANGE]: allow in graph.aystar to give a custom param to the callbacks, so you can send in an instance of yourself

Wed, 11 Jun 2008 14:55:02 +0000(svn r13469) -Codechange: add support for loading Action 0x05, type 0F: "tracks for slopes". It's not useful right now, but it will be in the future.
rubidium [Wed, 11 Jun 2008 14:55:02 +0000] rev 10917
(svn r13469) -Codechange: add support for loading Action 0x05, type 0F: "tracks for slopes". It's not useful right now, but it will be in the future.

Wed, 11 Jun 2008 14:51:31 +0000(svn r13468) -Fix: make aqueducts a little more expensive than normal bridges and disable terraforming of aqueduct bridgeheads; one can't terraform normal canal tiles either.
rubidium [Wed, 11 Jun 2008 14:51:31 +0000] rev 10916
(svn r13468) -Fix: make aqueducts a little more expensive than normal bridges and disable terraforming of aqueduct bridgeheads; one can't terraform normal canal tiles either.

Wed, 11 Jun 2008 14:29:42 +0000(svn r13467) [NoAI] -Fix [OpenTTD Core]: make CmdRemoveRoadStop use p2 as documented (only look at bit 0, not at the complete value) noai
truebrain [Wed, 11 Jun 2008 14:29:42 +0000] rev 10915
(svn r13467) [NoAI] -Fix [OpenTTD Core]: make CmdRemoveRoadStop use p2 as documented (only look at bit 0, not at the complete value)

Wed, 11 Jun 2008 14:13:07 +0000(svn r13466) -Fix (r13464): slope checking got lost during development...
rubidium [Wed, 11 Jun 2008 14:13:07 +0000] rev 10914
(svn r13466) -Fix (r13464): slope checking got lost during development...

Wed, 11 Jun 2008 13:54:01 +0000(svn r13464) -Codechange: support NewGRF Action 0x05, type 12.
rubidium [Wed, 11 Jun 2008 13:54:01 +0000] rev 10913
(svn r13464) -Codechange: support NewGRF Action 0x05, type 12.

Wed, 11 Jun 2008 13:04:27 +0000(svn r13463) [NoAI] -Change [Library CHANGE]: AyStar is now more object oriented, and you can indicate the amount of iterations FindPath should do in one go (tnx to Yexo and TrueBrain) noai
truebrain [Wed, 11 Jun 2008 13:04:27 +0000] rev 10912
(svn r13463) [NoAI] -Change [Library CHANGE]: AyStar is now more object oriented, and you can indicate the amount of iterations FindPath should do in one go (tnx to Yexo and TrueBrain)

Wed, 11 Jun 2008 12:46:28 +0000(svn r13462) -Codechange: move DriverFactoryBase destructor definition from header file (saves ~16kB)
smatz [Wed, 11 Jun 2008 12:46:28 +0000] rev 10911
(svn r13462) -Codechange: move DriverFactoryBase destructor definition from header file (saves ~16kB)

Wed, 11 Jun 2008 12:13:22 +0000(svn r13461) [NoAI] -Fix: add A* to regression, so we test it a bit (very basic test ;)) noai
truebrain [Wed, 11 Jun 2008 12:13:22 +0000] rev 10910
(svn r13461) [NoAI] -Fix: add A* to regression, so we test it a bit (very basic test ;))

Tue, 10 Jun 2008 23:30:02 +0000(svn r13460) [NoAI] -Add [Library]: added graph.aystar, an A* implementation (Yexo) noai
truebrain [Tue, 10 Jun 2008 23:30:02 +0000] rev 10909
(svn r13460) [NoAI] -Add [Library]: added graph.aystar, an A* implementation (Yexo)

Tue, 10 Jun 2008 23:02:23 +0000(svn r13459) [NoAI] -Fix: final fixes in binary_heap noai
truebrain [Tue, 10 Jun 2008 23:02:23 +0000] rev 10908
(svn r13459) [NoAI] -Fix: final fixes in binary_heap

Tue, 10 Jun 2008 22:35:13 +0000(svn r13458) [NoAI] -Fix r13457: fix the regression Luke... noai
truebrain [Tue, 10 Jun 2008 22:35:13 +0000] rev 10907
(svn r13458) [NoAI] -Fix r13457: fix the regression Luke...

Tue, 10 Jun 2008 22:32:48 +0000(svn r13457) [NoAI] -Fix: fix the binary heap implementation to ... remain a valid binary heap tree :) noai
truebrain [Tue, 10 Jun 2008 22:32:48 +0000] rev 10906
(svn r13457) [NoAI] -Fix: fix the binary heap implementation to ... remain a valid binary heap tree :)

Tue, 10 Jun 2008 21:59:22 +0000(svn r13456) -Codechange: use AllocaM() macro instead of alloca() at most places
smatz [Tue, 10 Jun 2008 21:59:22 +0000] rev 10905
(svn r13456) -Codechange: use AllocaM() macro instead of alloca() at most places

Tue, 10 Jun 2008 21:51:01 +0000(svn r13455) [NoAI] -Fix: extend the regression to test the queues a bit more noai
truebrain [Tue, 10 Jun 2008 21:51:01 +0000] rev 10904
(svn r13455) [NoAI] -Fix: extend the regression to test the queues a bit more

Tue, 10 Jun 2008 21:30:41 +0000(svn r13454) [NoAI] -Fix: kill all AIs when leaving game in any way (restart, loadgame, ..) (tnx Yexo for reporting, and glx for fixing) noai
truebrain [Tue, 10 Jun 2008 21:30:41 +0000] rev 10903
(svn r13454) [NoAI] -Fix: kill all AIs when leaving game in any way (restart, loadgame, ..) (tnx Yexo for reporting, and glx for fixing)

Tue, 10 Jun 2008 21:00:02 +0000(svn r13453) [NoAI] -Fix: allow import inside a library (or class, for that matter) noai
truebrain [Tue, 10 Jun 2008 21:00:02 +0000] rev 10902
(svn r13453) [NoAI] -Fix: allow import inside a library (or class, for that matter)

Tue, 10 Jun 2008 19:41:54 +0000(svn r13452) [NoAI] -Fix: minor coding style. Also, BinaryHeap is based on work by GeekToo! noai
truebrain [Tue, 10 Jun 2008 19:41:54 +0000] rev 10901
(svn r13452) [NoAI] -Fix: minor coding style. Also, BinaryHeap is based on work by GeekToo!

Tue, 10 Jun 2008 19:11:30 +0000(svn r13451) [NoAI] -Fix: no comments ... noai
truebrain [Tue, 10 Jun 2008 19:11:30 +0000] rev 10900
(svn r13451) [NoAI] -Fix: no comments ...

Tue, 10 Jun 2008 19:05:12 +0000(svn r13450) [NoAI] -Change [API CHANGE]: renamed library category 'sets' to 'queue', as it represents more what the implementations do noai
truebrain [Tue, 10 Jun 2008 19:05:12 +0000] rev 10899
(svn r13450) [NoAI] -Change [API CHANGE]: renamed library category 'sets' to 'queue', as it represents more what the implementations do

Tue, 10 Jun 2008 18:59:10 +0000(svn r13449) [NoAI] -Fix: .tar support is not yet available inside the library-structure .. disable it for now noai
truebrain [Tue, 10 Jun 2008 18:59:10 +0000] rev 10898
(svn r13449) [NoAI] -Fix: .tar support is not yet available inside the library-structure .. disable it for now

Tue, 10 Jun 2008 18:47:31 +0000(svn r13448) [NoAI] -Fix: indicate in doxyfile too that this is NoAI noai
truebrain [Tue, 10 Jun 2008 18:47:31 +0000] rev 10897
(svn r13448) [NoAI] -Fix: indicate in doxyfile too that this is NoAI

Tue, 10 Jun 2008 18:28:39 +0000(svn r13447) [NoAI] -Add [Library]: Binary Heap ( O(ln n) insert/pop ) noai
truebrain [Tue, 10 Jun 2008 18:28:39 +0000] rev 10896
(svn r13447) [NoAI] -Add [Library]: Binary Heap ( O(ln n) insert/pop )
[NoAI] -Fix [Library]: Priority Queue now is a bit more robust (and hit version 2)

Tue, 10 Jun 2008 17:47:55 +0000(svn r13446) -Fix(r13443): changed the var previously introduced from 69 to 46, as no param was required (thanks frosch)
belugas [Tue, 10 Jun 2008 17:47:55 +0000] rev 10895
(svn r13446) -Fix(r13443): changed the var previously introduced from 69 to 46, as no param was required (thanks frosch)

Tue, 10 Jun 2008 17:28:37 +0000(svn r13445) -Codechange: make 32bpp_optimized blitter ~10-20% faster in drawing (depends on architecture and compiler)
smatz [Tue, 10 Jun 2008 17:28:37 +0000] rev 10894
(svn r13445) -Codechange: make 32bpp_optimized blitter ~10-20% faster in drawing (depends on architecture and compiler)

Tue, 10 Jun 2008 16:46:11 +0000(svn r13444) -Codechange: make the order GUI somewhat more efficient. The most used options can be done with a single click now.
rubidium [Tue, 10 Jun 2008 16:46:11 +0000] rev 10893
(svn r13444) -Codechange: make the order GUI somewhat more efficient. The most used options can be done with a single click now.

Tue, 10 Jun 2008 16:10:54 +0000(svn r13443) -Feature[newGRF]: Add var 0x69 for industries, long format construction date.
belugas [Tue, 10 Jun 2008 16:10:54 +0000] rev 10892
(svn r13443) -Feature[newGRF]: Add var 0x69 for industries, long format construction date.
Same as var B0, but base year is now 0, instead of 1920

Tue, 10 Jun 2008 14:40:32 +0000(svn r13442) [NoAI] -Add: added 'rescan_ai' console command. Use it to rescan the ai dir when you add AIs or libraries without needing to exit and restart openttd. noai
glx [Tue, 10 Jun 2008 14:40:32 +0000] rev 10891
(svn r13442) [NoAI] -Add: added 'rescan_ai' console command. Use it to rescan the ai dir when you add AIs or libraries without needing to exit and restart openttd.

Tue, 10 Jun 2008 14:24:14 +0000(svn r13441) [NoAI] -Fix (r13440): NO_THREADS compilation noai
glx [Tue, 10 Jun 2008 14:24:14 +0000] rev 10890
(svn r13441) [NoAI] -Fix (r13440): NO_THREADS compilation

Tue, 10 Jun 2008 14:11:35 +0000(svn r13440) [NoAI] -Add: introducing ai/library, a method to load libraries into your AI. noai
truebrain [Tue, 10 Jun 2008 14:11:35 +0000] rev 10889
(svn r13440) [NoAI] -Add: introducing ai/library, a method to load libraries into your AI.
-Note: to use a library, use in your AI: import("categorie.name", "LocalName", version_number_of_library)
-Example: import("sets.priority_queue", "PQ", 1); local pq = PQ(2); pq.insert(2, 1);
[NoAI] -Add [Library]: sets.priority_queue (based on work by Morloth)

Tue, 10 Jun 2008 14:08:39 +0000(svn r13439) [NoAI] -Fix: set svn props and keywords, and fix Author and Version noai
truebrain [Tue, 10 Jun 2008 14:08:39 +0000] rev 10888
(svn r13439) [NoAI] -Fix: set svn props and keywords, and fix Author and Version

Tue, 10 Jun 2008 09:56:56 +0000(svn r13438) [NoAI] -Fix: sq_pop when needed, to make sure the stack keeps as clean as possible noai
truebrain [Tue, 10 Jun 2008 09:56:56 +0000] rev 10887
(svn r13438) [NoAI] -Fix: sq_pop when needed, to make sure the stack keeps as clean as possible

Tue, 10 Jun 2008 00:42:19 +0000(svn r13437) -Feature[newGRF]: Add long format introduction and maximum construction year for house.
belugas [Tue, 10 Jun 2008 00:42:19 +0000] rev 10886
(svn r13437) -Feature[newGRF]: Add long format introduction and maximum construction year for house.

Mon, 09 Jun 2008 21:24:10 +0000(svn r13436) [NoAI] -Change: call the constructor of the SQ when the ->Start() is called of AIController. This makes sure the SQ code is always executed inside the thread, and not inside the main-thread. This has no change what so ever for AIs. noai
truebrain [Mon, 09 Jun 2008 21:24:10 +0000] rev 10885
(svn r13436) [NoAI] -Change: call the constructor of the SQ when the ->Start() is called of AIController. This makes sure the SQ code is always executed inside the thread, and not inside the main-thread. This has no change what so ever for AIs.

Mon, 09 Jun 2008 14:38:23 +0000(svn r13435) [NoAI] -Fix r13432: still the statements were wrong ... 3rd time is the charm :) noai
truebrain [Mon, 09 Jun 2008 14:38:23 +0000] rev 10884
(svn r13435) [NoAI] -Fix r13432: still the statements were wrong ... 3rd time is the charm :)

Mon, 09 Jun 2008 12:20:00 +0000(svn r13434) -Fix (r13317): news window with invalid news item could be shown
smatz [Mon, 09 Jun 2008 12:20:00 +0000] rev 10883
(svn r13434) -Fix (r13317): news window with invalid news item could be shown

Mon, 09 Jun 2008 12:17:01 +0000(svn r13433) -Codechange: remove a now useless global variable.
rubidium [Mon, 09 Jun 2008 12:17:01 +0000] rev 10882
(svn r13433) -Codechange: remove a now useless global variable.
-Fix: MP advertising was not advertising.

Mon, 09 Jun 2008 11:46:30 +0000(svn r13432) [NoAI] -Fix r13290: in case of a network-client, AI_StartNewAI() should never be called noai
truebrain [Mon, 09 Jun 2008 11:46:30 +0000] rev 10881
(svn r13432) [NoAI] -Fix r13290: in case of a network-client, AI_StartNewAI() should never be called

Mon, 09 Jun 2008 11:36:21 +0000(svn r13431) [NoAI] -Fix: AIs in multiplayer is no longer an experimental thing noai
truebrain [Mon, 09 Jun 2008 11:36:21 +0000] rev 10880
(svn r13431) [NoAI] -Fix: AIs in multiplayer is no longer an experimental thing
[NoAI] -Fix: start_ai now reports nicer errors when it fails

Sun, 08 Jun 2008 23:56:52 +0000(svn r13430) [NoAI] -Add: added AIEventIndustry(Open|CLose) noai
glx [Sun, 08 Jun 2008 23:56:52 +0000] rev 10879
(svn r13430) [NoAI] -Add: added AIEventIndustry(Open|CLose)

Sun, 08 Jun 2008 23:43:19 +0000(svn r13429) [NoAI] -Fix: don't mix eol-style when updating files (squirrel_export) noai
glx [Sun, 08 Jun 2008 23:43:19 +0000] rev 10878
(svn r13429) [NoAI] -Fix: don't mix eol-style when updating files (squirrel_export)

Sun, 08 Jun 2008 23:12:44 +0000(svn r13428) [NoAI] -Fix r13427: if you do something, do it right (RandRangeItem of course has the same 'problem') noai
truebrain [Sun, 08 Jun 2008 23:12:44 +0000] rev 10877
(svn r13428) [NoAI] -Fix r13427: if you do something, do it right (RandRangeItem of course has the same 'problem')

Sun, 08 Jun 2008 23:10:34 +0000(svn r13427) [NoAI] -Fix: RandRange(max) of course can never return max, but the highest value is max - 1 (tnx Yexo) noai
truebrain [Sun, 08 Jun 2008 23:10:34 +0000] rev 10876
(svn r13427) [NoAI] -Fix: RandRange(max) of course can never return max, but the highest value is max - 1 (tnx Yexo)

Sun, 08 Jun 2008 22:38:29 +0000(svn r13426) [NoAI] -Fix: in the unlikely case an AI is killed before his ->Start() was started, an assert was triggered noai
truebrain [Sun, 08 Jun 2008 22:38:29 +0000] rev 10875
(svn r13426) [NoAI] -Fix: in the unlikely case an AI is killed before his ->Start() was started, an assert was triggered

Sun, 08 Jun 2008 22:37:29 +0000(svn r13425) [NoAI] -Fix (r13355): obiwan in AIDebug window noai
glx [Sun, 08 Jun 2008 22:37:29 +0000] rev 10874
(svn r13425) [NoAI] -Fix (r13355): obiwan in AIDebug window

Sun, 08 Jun 2008 22:01:32 +0000(svn r13424) [NoAI] -Codechange: strdup strings returned by Squirrel when it's called from openttd. noai
glx [Sun, 08 Jun 2008 22:01:32 +0000] rev 10873
(svn r13424) [NoAI] -Codechange: strdup strings returned by Squirrel when it's called from openttd.

Sun, 08 Jun 2008 21:36:03 +0000(svn r13423) [NoAI] -Remove: old code telling we no longer support AIs without 'info.nut'. We hope everyone did that by now :) noai
truebrain [Sun, 08 Jun 2008 21:36:03 +0000] rev 10872
(svn r13423) [NoAI] -Remove: old code telling we no longer support AIs without 'info.nut'. We hope everyone did that by now :)

Sun, 08 Jun 2008 21:20:48 +0000(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
truebrain [Sun, 08 Jun 2008 21:20:48 +0000] rev 10871
(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).

Sun, 08 Jun 2008 21:11:05 +0000(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
truebrain [Sun, 08 Jun 2008 21:11:05 +0000] rev 10870
(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

Sun, 08 Jun 2008 19:35:16 +0000(svn r13420) [NoAI] -Add: function to get the town rating. noai
rubidium [Sun, 08 Jun 2008 19:35:16 +0000] rev 10869
(svn r13420) [NoAI] -Add: function to get the town rating.

Sun, 08 Jun 2008 19:18:01 +0000(svn r13419) -Fix [FS#2063]: Entries in the bridge list were not sorted when the window was just opened.
rubidium [Sun, 08 Jun 2008 19:18:01 +0000] rev 10868
(svn r13419) -Fix [FS#2063]: Entries in the bridge list were not sorted when the window was just opened.

Sun, 08 Jun 2008 15:32:10 +0000(svn r13418) [NoAI] -Sync: with trunk r13380:13417. noai
rubidium [Sun, 08 Jun 2008 15:32:10 +0000] rev 10867
(svn r13418) [NoAI] -Sync: with trunk r13380:13417.

Sun, 08 Jun 2008 15:27:57 +0000(svn r13417) -Fix (r12945, r13413): freeing the ThreadObjects in a manner that hopefully doesn't cause crashes.
rubidium [Sun, 08 Jun 2008 15:27:57 +0000] rev 10866
(svn r13417) -Fix (r12945, r13413): freeing the ThreadObjects in a manner that hopefully doesn't cause crashes.

Sun, 08 Jun 2008 14:00:40 +0000(svn r13416) [NoAI] -Fix: make doxygen happy again noai
truebrain [Sun, 08 Jun 2008 14:00:40 +0000] rev 10865
(svn r13416) [NoAI] -Fix: make doxygen happy again

Sun, 08 Jun 2008 13:56:35 +0000(svn r13415) [NoAI] -Add: added AITileList_StationType, giving all the tiles on which a station of your requested type is, for a given station noai
truebrain [Sun, 08 Jun 2008 13:56:35 +0000] rev 10864
(svn r13415) [NoAI] -Add: added AITileList_StationType, giving all the tiles on which a station of your requested type is, for a given station

Sun, 08 Jun 2008 12:45:11 +0000(svn r13414) [NoAI] -Add: added AIStation::HasStationType(station_id, station_type) to check if a given station has a given station-type noai
truebrain [Sun, 08 Jun 2008 12:45:11 +0000] rev 10863
(svn r13414) [NoAI] -Add: added AIStation::HasStationType(station_id, station_type) to check if a given station has a given station-type

Sun, 08 Jun 2008 12:28:23 +0000(svn r13413) -Codechange: remove some enums that haven't been used for years.
rubidium [Sun, 08 Jun 2008 12:28:23 +0000] rev 10862
(svn r13413) -Codechange: remove some enums that haven't been used for years.

Sun, 08 Jun 2008 12:06:27 +0000(svn r13412) -Add: OTTDThreadTerminateFunc, for all thread systems, which is called when a thread is terminated. Now GenWorld- and SaveLoad-thread cleanup theirselves correctly, while Fibers don't (as that causes access-violations)
truebrain [Sun, 08 Jun 2008 12:06:27 +0000] rev 10861
(svn r13412) -Add: OTTDThreadTerminateFunc, for all thread systems, which is called when a thread is terminated. Now GenWorld- and SaveLoad-thread cleanup theirselves correctly, while Fibers don't (as that causes access-violations)

Sun, 08 Jun 2008 10:51:36 +0000(svn r13411) -Codechange: remove the return value from the thread procs because it is never used.
rubidium [Sun, 08 Jun 2008 10:51:36 +0000] rev 10860
(svn r13411) -Codechange: remove the return value from the thread procs because it is never used.

Sun, 08 Jun 2008 10:37:30 +0000(svn r13410) [NoAI] -Add: functions to perform town actions (advertising, bribing, building statues, etc). noai
rubidium [Sun, 08 Jun 2008 10:37:30 +0000] rev 10859
(svn r13410) [NoAI] -Add: functions to perform town actions (advertising, bribing, building statues, etc).

Sun, 08 Jun 2008 09:14:30 +0000(svn r13409) -Fix: division by zero when one would press 'd' (skip order) when there's no order.
rubidium [Sun, 08 Jun 2008 09:14:30 +0000] rev 10858
(svn r13409) -Fix: division by zero when one would press 'd' (skip order) when there's no order.