Enhance Abseil integration and improve Windows font loading functionality
- Added additional Abseil flags modules to the CMake configuration for better support. - Refactored Windows-specific font loading code to avoid namespace conflicts by using the `::` prefix for Windows API calls. - Improved error handling and ensured proper memory management when retrieving font paths from the Windows registry.
This commit is contained in:
@@ -434,7 +434,11 @@ class ModernCLI {
|
||||
} // namespace cli
|
||||
} // namespace yaze
|
||||
|
||||
#ifdef _WIN32
|
||||
extern "C" int SDL_main(int argc, char* argv[]) {
|
||||
#else
|
||||
int main(int argc, char* argv[]) {
|
||||
#endif
|
||||
absl::SetProgramUsageMessage(
|
||||
"z3ed - Yet Another Zelda3 Editor CLI Tool\n"
|
||||
"\n"
|
||||
|
||||
Reference in New Issue
Block a user