Rise
The Vieneo Province
Toggle main menu visibility
Loading...
Searching...
No Matches
steamps3params.h
Go to the documentation of this file.
1
//====== Copyright 1996-2008, Valve Corporation, All rights reserved. =======
2
//
3
// Purpose:
4
//
5
//=============================================================================
6
7
#ifndef STEAMPS3PARAMS_H
8
#define STEAMPS3PARAMS_H
9
#ifdef _WIN32
10
#pragma once
11
#endif
12
13
//----------------------------------------------------------------------------------------------------------------------------------------------------------//
14
// PlayStation 3 initialization parameters
15
//
16
// The following structure must be passed to when loading steam_api_ps3.prx
17
//----------------------------------------------------------------------------------------------------------------------------------------------------------//
18
#define STEAM_PS3_PATH_MAX 1055
19
#define STEAM_PS3_SERVICE_ID_MAX 32
20
#define STEAM_PS3_COMMUNICATION_ID_MAX 10
21
#define STEAM_PS3_COMMUNICATION_SIG_MAX 160
22
#define STEAM_PS3_LANGUAGE_MAX 64
23
#define STEAM_PS3_REGION_CODE_MAX 16
24
#define STEAM_PS3_CURRENT_PARAMS_VER 2
25
struct
SteamPS3Params_t
26
{
27
uint32
m_unVersion
;
// set to STEAM_PS3_CURRENT_PARAMS_VER
28
29
void
*
pReserved
;
30
uint32
m_nAppId
;
// set to your game's appid
31
32
char
m_rgchInstallationPath
[
STEAM_PS3_PATH_MAX
];
// directory containing latest steam prx's and sdata. Can be read only (BDVD)
33
char
m_rgchSystemCache
[
STEAM_PS3_PATH_MAX
];
// temp working cache, not persistent
34
char
m_rgchGameData
[
STEAM_PS3_PATH_MAX
];
// persistent game data path for storing user data
35
char
m_rgchNpServiceID
[
STEAM_PS3_SERVICE_ID_MAX
];
36
char
m_rgchNpCommunicationID
[
STEAM_PS3_COMMUNICATION_ID_MAX
];
37
char
m_rgchNpCommunicationSig
[
STEAM_PS3_COMMUNICATION_SIG_MAX
];
38
39
// Language should be one of the following. must be zero terminated
40
// danish
41
// dutch
42
// english
43
// finnish
44
// french
45
// german
46
// italian
47
// korean
48
// norwegian
49
// polish
50
// portuguese
51
// russian
52
// schinese
53
// spanish
54
// swedish
55
// tchinese
56
char
m_rgchSteamLanguage
[
STEAM_PS3_LANGUAGE_MAX
];
57
58
// region codes are "SCEA", "SCEE", "SCEJ". must be zero terminated
59
char
m_rgchRegionCode
[
STEAM_PS3_REGION_CODE_MAX
];
60
61
// Should be SYS_TTYP3 through SYS_TTYP10, if it's 0 then Steam won't spawn a
62
// thread to read console input at all. Using this let's you use Steam console commands
63
// like: profile_on, profile_off, profile_dump, mem_stats, mem_validate.
64
unsigned
int
m_cSteamInputTTY
;
65
66
struct
Ps3netInit_t
67
{
68
bool
m_bNeedInit
;
69
void
*
m_pMemory
;
70
int
m_nMemorySize
;
71
int
m_flags
;
72
}
m_sysNetInitInfo
;
73
74
struct
Ps3jpgInit_t
75
{
76
bool
m_bNeedInit
;
77
}
m_sysJpgInitInfo
;
78
79
struct
Ps3pngInit_t
80
{
81
bool
m_bNeedInit
;
82
}
m_sysPngInitInfo
;
83
84
struct
Ps3sysutilUserInfo_t
85
{
86
bool
m_bNeedInit
;
87
}
m_sysSysUtilUserInfo
;
88
89
bool
m_bIncludeNewsPage
;
90
};
91
92
93
//----------------------------------------------------------------------------------------------------------------------------------------------------------//
94
// PlayStation 3 memory structure
95
//----------------------------------------------------------------------------------------------------------------------------------------------------------//
96
#define STEAMPS3_MALLOC_INUSE 0x53D04A51
97
#define STEAMPS3_MALLOC_SYSTEM 0x0D102C48
98
#define STEAMPS3_MALLOC_OK 0xFFD04A51
99
struct
SteamPS3Memory_t
100
{
101
bool
m_bSingleAllocation
;
// If true, Steam will request one 6MB allocation and use the returned memory for all future allocations
102
// If false, Steam will make call malloc for each allocation
103
104
// required function pointers
105
void
* (*m_pfMalloc)(size_t);
106
void
* (*m_pfRealloc)(
void
*, size_t);
107
void
(*
m_pfFree
)(
void
*);
108
size_t (*
m_pUsable_size
)(
void
*);
109
};
110
111
112
#endif
// STEAMPS3PARAMS_H
uint32
const char *typedef uint32(S_CALLTYPE *SteamAPI_CheckCallbackRegistered_t)(int iCallbackNum)
Definition
steam_api_common.h:73
void
typedef void(S_CALLTYPE *SteamAPIWarningMessageHook_t)(int
STEAM_PS3_COMMUNICATION_ID_MAX
#define STEAM_PS3_COMMUNICATION_ID_MAX
Definition
steamps3params.h:20
STEAM_PS3_PATH_MAX
#define STEAM_PS3_PATH_MAX
Definition
steamps3params.h:18
STEAM_PS3_COMMUNICATION_SIG_MAX
#define STEAM_PS3_COMMUNICATION_SIG_MAX
Definition
steamps3params.h:21
STEAM_PS3_LANGUAGE_MAX
#define STEAM_PS3_LANGUAGE_MAX
Definition
steamps3params.h:22
STEAM_PS3_REGION_CODE_MAX
#define STEAM_PS3_REGION_CODE_MAX
Definition
steamps3params.h:23
STEAM_PS3_SERVICE_ID_MAX
#define STEAM_PS3_SERVICE_ID_MAX
Definition
steamps3params.h:19
SteamPS3Memory_t
Definition
steamps3params.h:100
SteamPS3Memory_t::m_bSingleAllocation
bool m_bSingleAllocation
Definition
steamps3params.h:101
SteamPS3Memory_t::m_pUsable_size
size_t(*) m_pUsable_size(void *)
Definition
steamps3params.h:108
SteamPS3Memory_t::m_pfFree
void(*) m_pfFree(void *)
Definition
steamps3params.h:107
SteamPS3Params_t::Ps3jpgInit_t
Definition
steamps3params.h:75
SteamPS3Params_t::Ps3jpgInit_t::m_bNeedInit
bool m_bNeedInit
Definition
steamps3params.h:76
SteamPS3Params_t::Ps3netInit_t
Definition
steamps3params.h:67
SteamPS3Params_t::Ps3netInit_t::m_flags
int m_flags
Definition
steamps3params.h:71
SteamPS3Params_t::Ps3netInit_t::m_pMemory
void * m_pMemory
Definition
steamps3params.h:69
SteamPS3Params_t::Ps3netInit_t::m_bNeedInit
bool m_bNeedInit
Definition
steamps3params.h:68
SteamPS3Params_t::Ps3netInit_t::m_nMemorySize
int m_nMemorySize
Definition
steamps3params.h:70
SteamPS3Params_t::Ps3pngInit_t
Definition
steamps3params.h:80
SteamPS3Params_t::Ps3pngInit_t::m_bNeedInit
bool m_bNeedInit
Definition
steamps3params.h:81
SteamPS3Params_t::Ps3sysutilUserInfo_t
Definition
steamps3params.h:85
SteamPS3Params_t::Ps3sysutilUserInfo_t::m_bNeedInit
bool m_bNeedInit
Definition
steamps3params.h:86
SteamPS3Params_t
Definition
steamps3params.h:26
SteamPS3Params_t::m_unVersion
uint32 m_unVersion
Definition
steamps3params.h:27
SteamPS3Params_t::m_sysJpgInitInfo
struct SteamPS3Params_t::Ps3jpgInit_t m_sysJpgInitInfo
SteamPS3Params_t::pReserved
void * pReserved
Definition
steamps3params.h:29
SteamPS3Params_t::m_sysPngInitInfo
struct SteamPS3Params_t::Ps3pngInit_t m_sysPngInitInfo
SteamPS3Params_t::m_rgchNpCommunicationID
char m_rgchNpCommunicationID[STEAM_PS3_COMMUNICATION_ID_MAX]
Definition
steamps3params.h:36
SteamPS3Params_t::m_nAppId
uint32 m_nAppId
Definition
steamps3params.h:30
SteamPS3Params_t::m_sysNetInitInfo
struct SteamPS3Params_t::Ps3netInit_t m_sysNetInitInfo
SteamPS3Params_t::m_rgchInstallationPath
char m_rgchInstallationPath[STEAM_PS3_PATH_MAX]
Definition
steamps3params.h:32
SteamPS3Params_t::m_cSteamInputTTY
unsigned int m_cSteamInputTTY
Definition
steamps3params.h:64
SteamPS3Params_t::m_rgchSteamLanguage
char m_rgchSteamLanguage[STEAM_PS3_LANGUAGE_MAX]
Definition
steamps3params.h:56
SteamPS3Params_t::m_rgchNpCommunicationSig
char m_rgchNpCommunicationSig[STEAM_PS3_COMMUNICATION_SIG_MAX]
Definition
steamps3params.h:37
SteamPS3Params_t::m_sysSysUtilUserInfo
struct SteamPS3Params_t::Ps3sysutilUserInfo_t m_sysSysUtilUserInfo
SteamPS3Params_t::m_bIncludeNewsPage
bool m_bIncludeNewsPage
Definition
steamps3params.h:89
SteamPS3Params_t::m_rgchSystemCache
char m_rgchSystemCache[STEAM_PS3_PATH_MAX]
Definition
steamps3params.h:33
SteamPS3Params_t::m_rgchRegionCode
char m_rgchRegionCode[STEAM_PS3_REGION_CODE_MAX]
Definition
steamps3params.h:59
SteamPS3Params_t::m_rgchNpServiceID
char m_rgchNpServiceID[STEAM_PS3_SERVICE_ID_MAX]
Definition
steamps3params.h:35
SteamPS3Params_t::m_rgchGameData
char m_rgchGameData[STEAM_PS3_PATH_MAX]
Definition
steamps3params.h:34
ThirdParty
SteamworksSDK
include
steam
steamps3params.h
Generated on
for Rise by
1.18.0