mirror of
https://github.com/krystalgamer/spidey-decomp.git
synced 2024-11-23 13:29:48 +00:00
PShell_DefaultText and PShell_NormalText
This commit is contained in:
parent
81927d1a1f
commit
f2c438ef8c
11
mess.cpp
11
mess.cpp
@ -67,6 +67,17 @@ void Mess_ClearSimpleMessageList(void)
|
||||
void DeleteSimpleMessage(SimpleMessage*)
|
||||
{}
|
||||
|
||||
|
||||
// @TODO
|
||||
void Mess_SetRGB(unsigned char, unsigned char, unsigned char, int)
|
||||
{}
|
||||
|
||||
// @TODO
|
||||
void Mess_SetCurrentFont(char *)
|
||||
{}
|
||||
|
||||
void validate_SimpleMessage(void)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
2
mess.h
2
mess.h
@ -11,10 +11,12 @@ struct SimpleMessage
|
||||
|
||||
EXPORT void Mess_SetTextJustify(unsigned char);
|
||||
EXPORT void Mess_SetScale(int);
|
||||
EXPORT void Mess_SetRGB(unsigned char, unsigned char, unsigned char, int);
|
||||
EXPORT void Mess_SetRGBBottom(unsigned char, unsigned char, unsigned char);
|
||||
EXPORT char* Mess_GetCurrentFont(void);
|
||||
EXPORT void Mess_UnloadFont(void);
|
||||
EXPORT int Mess_TextHeight(char *);
|
||||
EXPORT void Mess_SetCurrentFont(char *);
|
||||
|
||||
EXPORT void Mess_ClearSimpleMessageList(void);
|
||||
EXPORT void DeleteSimpleMessage(SimpleMessage*);
|
||||
|
17
pshell.cpp
17
pshell.cpp
@ -1,4 +1,5 @@
|
||||
#include "pshell.h"
|
||||
#include "mess.h"
|
||||
|
||||
|
||||
EXPORT int __cdecl PShell_DrawMenuBox(int, int, int, int, int, int, int, int){
|
||||
@ -135,3 +136,19 @@ void PShell_BigCheat(void)
|
||||
}
|
||||
|
||||
CExpandingBox::~CExpandingBox(){}
|
||||
|
||||
// @Ok
|
||||
void PShell_NormalFont(void)
|
||||
{
|
||||
Mess_SetScale(256);
|
||||
Mess_SetCurrentFont("sp_fnt00.fnt");
|
||||
}
|
||||
|
||||
// @Ok
|
||||
void PShell_DefaultText(void)
|
||||
{
|
||||
PShell_NormalFont();
|
||||
Mess_SetTextJustify(0);
|
||||
Mess_SetRGB(0x80, 0x80, 0x80, 0);
|
||||
Mess_SetRGBBottom(0x45, 60, 107);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user