Skip to content

v0.1.2

Choose a tag to compare

@github-actions github-actions released this 04 Oct 11:36
· 48 commits to master since this release

Fixes from a code audit for edge cases: the game's own bugs, not the original's.

  • Lasers. Buying a second laser when more than one mount was free took the money but never
    asked where to fit it (and selling one left it mounted). The mount dialogue opens again.
  • No hang without the music. With the AdLib (the default), a missing ADBLUE.MID, or a
    MIDI file whose first track has no time in it, froze the title. The title runs without the
    music now.
  • Edited commander files. A commander's checksum is easy to remake, so a save can say
    anything. A name filling all its 9 bytes, a government or tech level out of range, 65535
    kills, or a text with no end made the game read or write outside its memory, or hang. Each
    now stays inside the game's memory, doing what the original does wherever that is safe, and
    a new test (ep_edgecheck) checks every one, under the sanitizers too.
  • Drawing. A model's line starting far outside the view was not drawn at all, and a large
    polygon could be filled wrongly on Windows and in the browser.
  • In the browser a warning (no sound, damaged pictures) no longer hides the game: it shows
    as a note while you play.
  • Smaller things. A --data or --saves folder name too long to keep is refused rather
    than cut short; a game controller unplugged and plugged in again works again.