mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-16 10:57:02 +00:00
Use UTF-8 exclusively internally
This removes SystemString, SystemChar, etc. All filepaths and log strings are assumed to be UTF-8, with conversions to UTF-16 for Windows APIs as appropriate. Updates amuse, athena, boo, kabufua and nod
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "boo/graphicsdev/glew.h"
|
||||
#include "hecl/SystemChar.hpp"
|
||||
#include "zeus/CColor.hpp"
|
||||
#include "zeus/CMatrix4f.hpp"
|
||||
#include "zeus/CAABox.hpp"
|
||||
@@ -14,7 +13,7 @@ class VISIRenderer {
|
||||
friend struct VISIBuilder;
|
||||
|
||||
int m_argc;
|
||||
const hecl::SystemChar** m_argv;
|
||||
char** m_argv;
|
||||
int m_return = 0;
|
||||
|
||||
zeus::CAABox m_totalAABB;
|
||||
@@ -82,7 +81,7 @@ public:
|
||||
uint8_t a;
|
||||
};
|
||||
|
||||
VISIRenderer(int argc, const hecl::SystemChar** argv) : m_argc(argc), m_argv(argv) {}
|
||||
VISIRenderer(int argc, char** argv) : m_argc(argc), m_argv(argv) {}
|
||||
void Run(FPercent updatePercent);
|
||||
void Terminate();
|
||||
void RenderPVSOpaque(RGBA8* bufOut, const zeus::CVector3f& pos, bool& needTransparent);
|
||||
|
||||
Reference in New Issue
Block a user