Diomendius de3fdeb7b1 Fix double-use of va_list in AppendFmt
AppendFmt calls vsnprintf twice, first to check the size of the
formatted string, then to write it for real, but it used the same
va_list for both calls, so the second call got an invalid va_list after
the first call had already consumed all its arguments.

This is UB and at least on Linux makes the second call print garbage. I
presume Windows implements va_list differently such that this somehow
worked correctly, because on Linux, all of the dialog items get parsed
into invalid JSON due to this bug, with lines like this (note the
missing second array element and closing bracket):
    "pos" : [ -55947262,
2024-08-04 12:57:13 +12:00
2021-04-11 14:07:16 +02:00
2024-07-31 20:21:47 +12:00
2024-07-31 20:21:47 +12:00
2024-07-31 20:21:47 +12:00
2024-07-31 20:21:47 +12:00
2024-07-31 20:21:47 +12:00
2024-07-31 20:21:47 +12:00
2023-08-26 14:06:14 -04:00
2023-08-26 14:06:14 -04:00
2023-08-26 14:06:14 -04:00
2021-05-07 13:29:45 -04:00
2023-08-26 14:06:14 -04:00
2023-08-26 14:06:14 -04:00
2024-07-31 20:21:47 +12:00
2023-08-26 14:06:14 -04:00
2023-08-26 14:06:14 -04:00
2024-07-31 20:21:47 +12:00
2023-08-26 14:06:14 -04:00
2023-08-26 14:06:14 -04:00
2024-07-31 20:21:47 +12:00
2024-07-31 20:21:47 +12:00
2023-08-26 14:06:14 -04:00
2023-08-26 14:06:14 -04:00
2024-07-31 20:21:47 +12:00
2024-07-31 20:21:47 +12:00
2023-08-26 14:06:14 -04:00
2024-07-31 20:21:47 +12:00
2023-08-26 14:06:14 -04:00
2024-07-31 20:21:47 +12:00
2023-08-26 14:06:14 -04:00
2023-08-26 14:06:14 -04:00
2023-08-26 14:06:14 -04:00
2020-09-12 13:32:53 -04:00
2024-07-31 20:21:47 +12:00
2024-07-31 20:21:47 +12:00
2024-07-31 20:21:47 +12:00
2024-07-31 20:21:47 +12:00
2024-07-31 20:21:47 +12:00
2024-07-31 20:21:47 +12:00
2023-08-26 14:06:14 -04:00
2024-07-31 20:21:47 +12:00
2024-07-31 20:21:47 +12:00
2024-07-31 20:18:00 +12:00
2024-07-31 20:21:47 +12:00
2021-05-07 23:09:35 -04:00
2021-04-28 01:46:07 -04:00
2022-03-17 02:00:06 -04:00
2020-05-09 21:05:58 -04:00
2024-07-31 20:21:47 +12:00
2020-09-26 16:45:52 -04:00
2020-09-12 14:23:02 -04:00
2020-04-23 21:41:19 -04:00
2024-07-31 20:21:47 +12:00
2024-07-31 20:21:47 +12:00
2024-07-31 20:21:47 +12:00
2020-02-07 02:45:45 -05:00
2021-10-10 11:28:36 -04:00
2024-07-31 20:21:47 +12:00
2021-03-07 05:45:24 -05:00
2019-12-22 00:35:30 -05:00

About Aerofoil

Aerofoil is a port of John Calhoun's Glider PRO, the classic paper airplane game for Apple Macintosh computers released in 1994.

The port features a 90's-style GUI, gamepad support, high-quality upscaling and color correction, a full port of the level editor, a set of import tools for unpacking and converting the vast majority of existing community content, and a new touchscreen interface for mobile devices.

To play:

Windows, macOS: Download from the Releases page, or from https://galeforcegames.itch.io/aerofoil

Android: Download from Google Play Store: https://play.google.com/store/apps/details?id=org.thecodedeposit.aerofoil from itch.io: https://galeforcegames.itch.io/aerofoil, or from the Releases page

Browser (HTML5): Visit https://galeforcegames.itch.io/aerofoil

Description
Multiplatform desktop/mobile/browser port of Glider PRO, the classic Macintosh paper airplane game
Readme 62 MiB
Languages
C 65.7%
C++ 17%
HTML 7.1%
Shell 2.3%
Objective-C 2%
Other 5.7%