From e1606f9bbc45e7ba57c461dc1ca4d4a86c5d76dd Mon Sep 17 00:00:00 2001 From: Aki Date: Sat, 9 Mar 2024 23:02:17 +0100 Subject: Replaced MachineInfo with stripped cross-platform solution It could easily handle more, but is there really need for it? Having some information about the machine in logs is nice, but with the current state of affairs most of errors are coming from bad pointer uses than anything else... InfoEx is STATIC, because it seems FoundationEx can cause multiple definitions in scenarios like this. --- InfoEx/include/InfoEx.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 InfoEx/include/InfoEx.h (limited to 'InfoEx/include/InfoEx.h') diff --git a/InfoEx/include/InfoEx.h b/InfoEx/include/InfoEx.h new file mode 100644 index 0000000..7ea7bf8 --- /dev/null +++ b/InfoEx/include/InfoEx.h @@ -0,0 +1,27 @@ +#pragma once + +#include + + +namespace InfoEx +{ + + +Text ShortDescription(); +Text LongDescription(); + + +enum struct DXVersion : int +{ + None, + Dx7 = 7, + Dx8, + Dx9, + Future, +}; + + +DXVersion DirectX(); + + +} // namespace InfoEx -- cgit v1.1