mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-06 23:47:13 +00:00
Use standard tip IDs in common app
This commit is contained in:
parent
c8150b1338
commit
64322c07a3
|
|
@ -144,7 +144,7 @@ XuiActionParam;
|
|||
typedef struct
|
||||
{
|
||||
int iSortValue;
|
||||
UINT uiStringID;
|
||||
int uiStringID;
|
||||
}
|
||||
TIPSTRUCT;
|
||||
|
||||
|
|
|
|||
|
|
@ -5868,7 +5868,7 @@ void CMinecraftApp::InitialiseTips()
|
|||
{
|
||||
// We'll randomise the tips at start up based on their priority
|
||||
|
||||
ZeroMemory(m_TipIDA,sizeof(UINT)*MAX_TIPS_GAMETIP+MAX_TIPS_TRIVIATIP);
|
||||
ZeroMemory(m_TipIDA, sizeof(m_TipIDA));
|
||||
|
||||
// Make the first tip tell you that you can play splitscreen in HD modes if you are in SD
|
||||
if(!RenderManager.IsHiDef())
|
||||
|
|
@ -5932,7 +5932,7 @@ void CMinecraftApp::InitialiseTips()
|
|||
m_uiCurrentTip=0;
|
||||
}
|
||||
|
||||
UINT CMinecraftApp::GetNextTip()
|
||||
int CMinecraftApp::GetNextTip()
|
||||
{
|
||||
static bool bShowSkinDLCTip=true;
|
||||
// don't display the DLC tip in the trial game
|
||||
|
|
|
|||
|
|
@ -549,7 +549,7 @@ protected:
|
|||
static Random *TipRandom;
|
||||
public:
|
||||
void InitialiseTips();
|
||||
UINT GetNextTip();
|
||||
int GetNextTip();
|
||||
int GetHTMLColour(eMinecraftColour colour);
|
||||
int GetHTMLColor(eMinecraftColour colour) { return GetHTMLColour(colour); }
|
||||
int GetHTMLFontSize(EHTMLFontSize size);
|
||||
|
|
@ -565,8 +565,8 @@ public:
|
|||
static void ExitGameFromRemoteSave( void *lpParameter );
|
||||
static int ExitGameFromRemoteSaveDialogReturned(void *pParam,int iPad,C4JStorage::EMessageResult result);
|
||||
private:
|
||||
UINT m_TipIDA[MAX_TIPS_GAMETIP+MAX_TIPS_TRIVIATIP];
|
||||
UINT m_uiCurrentTip;
|
||||
int m_TipIDA[MAX_TIPS_GAMETIP+MAX_TIPS_TRIVIATIP];
|
||||
unsigned int m_uiCurrentTip;
|
||||
static int TipsSortFunction(const void* a, const void* b);
|
||||
|
||||
// XML
|
||||
|
|
|
|||
Loading…
Reference in a new issue