[Ohrrpgce] SVN: teeemcee/8575 gfx_directx: Add OHRToWstring(), WstringToOHR() for converting to Latin-

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Fri Mar 24 23:21:13 PDT 2017


teeemcee
2017-03-24 23:21:13 -0700 (Fri, 24 Mar 2017)
428
gfx_directx: Add OHRToWstring(), WstringToOHR() for converting to Latin-1/UTF8

Use it in joystick.cpp to avoid using %S, could break if the ANSI codepage is
something strange.

This is the start of UTF-8 support in the backends, although an alternative
would be to use wstrings in the gfx api and do wstring->utf8 conversion in
allmodex wrappers.

Bumped version number to 1.21, but didn't recompile because neglible difference
---
U   wip/SConscript
U   wip/gfx_common/_tstring.h
A   wip/gfx_common/ohrstring.cpp
A   wip/gfx_common/ohrstring.h
U   wip/gfx_directx/joystick.cpp
U   wip/gfx_directx/release.txt
U   wip/gfx_directx/version.h


More information about the Ohrrpgce mailing list