]> git.0x19.co - doomgeneric-snom360/commit
Refactor boolean type definition for C++/-std=gnu23 compatibility
authorArawn Davies <19764552+Arawn-Davies@users.noreply.github.com>
Mon, 15 Dec 2025 03:19:36 +0000 (03:19 +0000)
committerGitHub <noreply@github.com>
Mon, 15 Dec 2025 03:19:36 +0000 (03:19 +0000)
commitcba6149f79d8b8bd80520097107d25e841bb3e0e
treefb278e56cf55089d00cba0100e32333787fa190a
parentfc601639494e089702a1ada082eb51aaafc03722
Refactor boolean type definition for C++/-std=gnu23 compatibility

Changed the definition of 'boolean' type for C++ & -std=gnu23 compatibility, and included base <stdbool.h> header.

This is to help bring it more inline with other source ports (Chocolate Doom mainly) and keep compatibility with new toolchains I think. I didn't come up with this fix (https://blog.svgames.pl/article/the-little-bool-of-doom) but it's helped me work on a port of doomgeneric to PlayStation 2

How easy would it be to get audio working? I think only SDL 1.2 works well on that platform so I'll be using GSKit instead
doomgeneric/doomtype.h