Valuators Valuators, what do you Valuate?

March 28th, 2008 by TrueBrain

Dear NoAI-writers,

I write you to inform you about good news: finally we made Valuators easy for everyone.

Q: What are Valuators?
A: AIList is a core object of the NoAI Framework. You can add tons of things in it. Like AITownList, it is a list of all towns in the map. Of course you want to get some useful data on all entries. Valuators are your friend. Simply do:

local list = AITownList();
list.Valuate(AITown.GetPopulation);

And you have a list of towns, where the first entry is the town with the biggest population! Easy, not?

Read the rest of this entry »

NoAI: the facts and lies

March 28th, 2008 by TrueBrain

Well.. it has been a while. That is for sure. Nevertheless, NoAI is alive and kicking. Well, kicking it for sure does. In a short period of time we extended the API with many new functions, but we also dropped C++ support (see http://wiki.openttd.org/index.php/AI:Why_No_C++), we changed the Valuators completely (see next post), and some more drastic changes. You might wonder why.. and if there is more to happen soon.

Read the rest of this entry »

What is waiting ahead…

March 13th, 2008 by Belugas

Little by little, commit by commit, we are getting closer to the release of version 0.6. Nice. For a user point of view, it seems like very good news indeed.

But for us, devs, it is a very boring situation. There are actually two reasons for this.

Read the rest of this entry »

The NoAI branch

July 19th, 2007 by TrueBrain

Our NoAI branch, the branch where we design an API which allows anyone to build an AI in a simple and efficient way, is slowly getting more and more done.

WrightAI in action

Read the rest of this entry »

32bpp blitters and renderers

June 14th, 2007 by TrueBrain

As of the last nightly, OpenTTD supports 32bpp graphics. Both the blitters and renderers (output to screen) as a PNG reader is done. This means that you can start making 32bpp graphics for OpenTTD that work. As a lot of lies are currently going around, here a post to tell what is true and what for sure isn’t.

Let’s start with a picture of 32bpp in action:
32bpp in action

Now first of all: 8bpp is the core of OpenTTD, and it will remain that way. No way 32bpp will remove the need for 8bpp graphics.
Second, 32bpp is client side. So you can play on a server with mixed 32bpp and 8bpp clients, no problem at all. 32bpp just overrides the images on the client replacing them with more pretty graphics.

Read the rest of this entry »

Blitter, blitter, blitter

June 7th, 2007 by TrueBrain

Yesterday we had a long (real life, for a chance) talk about blitters, 32bpp, and how to resolve that all nicely. What we came up with is this.

Read the rest of this entry »

git available

May 18th, 2007 by TrueBrain

From today, it is also possible to use git in combination with OpenTTD. If you don’t know what git is, I suggest you forget about it. For all who do know what it is, feel free to use it.

http://git.openttd.org gives a nice overview of all the gits. You can use git://git.openttd.org/ to clone either the whole svn, or one branch, yourself (see http page which dir to clone).

We are _not_ replacing SVN with git. We are not even considering that. Read the rest of this entry »

Current status of newindustries

May 11th, 2007 by Belugas

NewIndustries is a feature that enables changing current industry behaviours and properties as well as adding brand new ones by means of grf files, following TTDPatch’s specs.

Implementation has started a long time ago, directly in trunk. Before any real newGRF work, all the industry properties and behaviours needed to be centralized. So it would be more convenient to change what was required to be. Not all that cleanup is actually finished. There are still some “rogue” data here and there, but nothing undoable. During that cleaning process, some nice bugs appeared, showing how interesting that feature will be, like temperate sawmill cutting trees around itself, exactly like the tropical lumber mill. Some other bugs were not as pleasant, but still, it was a nice learning process. Read the rest of this entry »

More bloggers

May 11th, 2007 by TrueBrain

Today more OpenTTD developers decided they want to blog, so from now on this website is available via:

http://blog.openttd.org/

And you can expect posts from other developers too!

32bpp status

May 11th, 2007 by TrueBrain

Today we evaluated 32bpp branch a bit. Sadly enough the creator of the branch wasn’t around, but I did my at most to gather as much information about the branch as possible, it’s status, our likes and dislikes. To make sure it is summarized at a common place this time, I will blog it here.

32bpp branch is far from finished. On several levels it needs work. Read the rest of this entry »