mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 19:29:09 +00:00
Convert custom HeadSpin integer types to standard types from stdint.h
This commit is contained in:
@ -57,10 +57,10 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
***/
|
||||
|
||||
//============================================================================
|
||||
const wchar * ProductBuildString () {
|
||||
const wchar_t * ProductBuildString () {
|
||||
// This string is replaced by plMarkBuild.exe with the following string:
|
||||
// "date:YYMMDD time:HHMMSS user:%USERNAME%"
|
||||
static const wchar PRODUCT_BUILD_STRING[64] = {
|
||||
static const wchar_t PRODUCT_BUILD_STRING[64] = {
|
||||
L"PRODUCT_BUILD_STRING "
|
||||
};
|
||||
return PRODUCT_BUILD_STRING;
|
||||
|
@ -58,4 +58,4 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
*
|
||||
***/
|
||||
|
||||
const wchar * ProductBuildString ();
|
||||
const wchar_t * ProductBuildString ();
|
||||
|
@ -58,9 +58,9 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
namespace Product {
|
||||
|
||||
namespace Uru {
|
||||
static const wchar kCoreName[] = L"UruLive";
|
||||
static const wchar kShortName[] = L"UruLive";
|
||||
static const wchar kLongName[] = L"Uru Live";
|
||||
static const wchar_t kCoreName[] = L"UruLive";
|
||||
static const wchar_t kShortName[] = L"UruLive";
|
||||
static const wchar_t kLongName[] = L"Uru Live";
|
||||
static const plUUID kId("ea489821-6c35-4bd0-9dae-bb17c585e680");
|
||||
}
|
||||
|
||||
@ -101,23 +101,23 @@ const plUUID& ProductId () {
|
||||
}
|
||||
|
||||
//============================================================================
|
||||
const wchar * ProductCoreName () {
|
||||
const wchar_t * ProductCoreName () {
|
||||
return PRODUCT_CORE_NAME;
|
||||
}
|
||||
|
||||
//============================================================================
|
||||
const wchar * ProductShortName () {
|
||||
const wchar_t * ProductShortName () {
|
||||
return PRODUCT_SHORT_NAME;
|
||||
}
|
||||
|
||||
//============================================================================
|
||||
const wchar * ProductLongName () {
|
||||
const wchar_t * ProductLongName () {
|
||||
return PRODUCT_LONG_NAME;
|
||||
}
|
||||
|
||||
|
||||
//============================================================================
|
||||
void ProductString (wchar * dest, unsigned destChars) {
|
||||
void ProductString (wchar_t * dest, unsigned destChars) {
|
||||
// Example: "UruLive.2.214 - External.Release"
|
||||
swprintf(
|
||||
dest,
|
||||
|
@ -84,11 +84,11 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
***/
|
||||
|
||||
const plUUID& ProductId ();
|
||||
const wchar * ProductCoreName (); // e.g: L"Uru"
|
||||
const wchar * ProductShortName (); // e.g: L"Uru" (filename/registry friendly)
|
||||
const wchar * ProductLongName (); // e.g: L"Uru: Ages Beyond Myst" (human friendly)
|
||||
const wchar_t * ProductCoreName (); // e.g: L"Uru"
|
||||
const wchar_t * ProductShortName (); // e.g: L"Uru" (filename/registry friendly)
|
||||
const wchar_t * ProductLongName (); // e.g: L"Uru: Ages Beyond Myst" (human friendly)
|
||||
|
||||
|
||||
// Returns: "<ProductCoreName>.<BranchId>.<BuildId> - <External|Internal>.<Debug|Release>"
|
||||
// Example: "Uru.3.204 - External.Release"
|
||||
void ProductString (wchar * dest, unsigned destChars);
|
||||
void ProductString (wchar_t * dest, unsigned destChars);
|
||||
|
Reference in New Issue
Block a user