← All projects
Project record1 mention
Originally shared on Hacker News

OpenTTD 12.2 C rewrite

A rewrite of OpenTTD version 12.2 that strips out the C++ and reorganizes the game back into C code, simplifying the codebase as groundwork before adding features. It converts the game to more realistic time pacing and adds scheduling features and more event-based gameplay.

Last shared
01 / The problem

What it addresses

OpenTTD's game time is unrealistically fast, and the codebase had reached a complicated breaking point.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. OpenTTD 12.2 C rewrite

    A rewrite of OpenTTD version 12.2 that strips out the C++ and reorganizes the game back into C code, simplifying the codebase as groundwork before adding features. It converts the game to more realistic time pacing and adds scheduling features and more event-based gameplay.

    Problem: OpenTTD's game time is unrealistically fast, and the codebase had reached a complicated breaking point.

    Posted by @JamesTRexx · Original source ↗

    Source text · @JamesTRexx · · Source ↗

    Pulling apart and de-++-ing OpenTTD version 12.2 to scratch my itch of simplifying and reorganising the game back to C code. I rewrote it years ago to convert it to more realistic time (it's just way too fast), add scheduling features and make it more event based.