Skip to content

v0.9.1 - native hand-written AI (trains + buses)

Choose a tag to compare

@angree angree released this 22 Jul 21:18

OpenTTD 1.0.5 for AmigaOS 68k — v0.9.1

Working computer opponents. The AI is written by hand, from scratch in native
C++. Neither AI — the old in-engine one nor OpenTTD's newer Squirrel AI — would run on
this 68k port without what would very likely have been catastrophic amounts of work
(Squirrel's AI-suspend mechanism can't unwind on this toolchain), so the opponents are a
purpose-built native state machine instead. Buses and trains work for now: cargo
trains between industries, passenger trains between towns, and local bus routes inside
towns — the AI plans each rail line in full before spending a penny, borrows and repays
sensibly, and paces its expansion by the "construction speed of competitors" difficulty
setting.

Also in this release:

  • The in-game finance Borrow / Repay buttons work (they silently did nothing on this
    compiler before).
  • Sensible new-game defaults: 2 competitors, £300,000 max loan, Medium competitor
    speed, no breakdowns.
  • The game hides its own software pointer by default and uses the Amiga system pointer.
  • Version stamped in the intro window and the splash.

Requirements unchanged: 68020 minimum, no FPU needed, AGA / OCS-ECS / RTG, 24 MB Fast RAM
(8 MB Fast + 16 MB Z3 works). See README.txt inside the archive.