Rise
The Vieneo Province
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
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
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
57
58 // region codes are "SCEA", "SCEE", "SCEJ". must be zero terminated
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
73
78
83
88
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
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
const char *typedef uint32(S_CALLTYPE *SteamAPI_CheckCallbackRegistered_t)(int iCallbackNum)
typedef void(S_CALLTYPE *SteamAPIWarningMessageHook_t)(int
#define STEAM_PS3_COMMUNICATION_ID_MAX
#define STEAM_PS3_PATH_MAX
#define STEAM_PS3_COMMUNICATION_SIG_MAX
#define STEAM_PS3_LANGUAGE_MAX
#define STEAM_PS3_REGION_CODE_MAX
#define STEAM_PS3_SERVICE_ID_MAX
size_t(*) m_pUsable_size(void *)
void(*) m_pfFree(void *)
struct SteamPS3Params_t::Ps3jpgInit_t m_sysJpgInitInfo
struct SteamPS3Params_t::Ps3pngInit_t m_sysPngInitInfo
char m_rgchNpCommunicationID[STEAM_PS3_COMMUNICATION_ID_MAX]
struct SteamPS3Params_t::Ps3netInit_t m_sysNetInitInfo
char m_rgchInstallationPath[STEAM_PS3_PATH_MAX]
unsigned int m_cSteamInputTTY
char m_rgchSteamLanguage[STEAM_PS3_LANGUAGE_MAX]
char m_rgchNpCommunicationSig[STEAM_PS3_COMMUNICATION_SIG_MAX]
struct SteamPS3Params_t::Ps3sysutilUserInfo_t m_sysSysUtilUserInfo
char m_rgchSystemCache[STEAM_PS3_PATH_MAX]
char m_rgchRegionCode[STEAM_PS3_REGION_CODE_MAX]
char m_rgchNpServiceID[STEAM_PS3_SERVICE_ID_MAX]
char m_rgchGameData[STEAM_PS3_PATH_MAX]