Strictify PC main status enum
Argh! How did I forget to commit this file?
Use folder references for strings and dialogs.
This means I won't have to remember to explicitly add each new file to the build.
It also means they'll be automatically kept sorted.
Convert five more dialogs and fix the string choice dialog
(The latter was always returning 0)
Eliminate use of __attribute__
Ideally this would be standard C++, but here I've settled for things that should be supported by both clang and VS/cl.exe:
- Deprecated attribute retained, but now uses __declspec syntax
- Packed attribute replaced with pragma pack, except one instance where it unnecessary
- Aligned attribute replaced with explicit padding bytes inserted in the structs where needed
- Unused attribute simply removed (though where possible, the unused entities were also removed)
Fix the line-of-sight stuff that was broken thanks to 0 being implicitly convertible to std::function
Define a grammar for special node definition files