Update to Cube World 0.9.1-2
This commit is contained in:
parent
75cf21646e
commit
99685a297c
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
void cube::ChatWidget::PrintMessage(wchar_t* message, FloatRGBA* color){
|
void cube::ChatWidget::PrintMessage(wchar_t* message, FloatRGBA* color){
|
||||||
msvc::wstring str(message);
|
msvc::wstring str(message);
|
||||||
((void(*)(cube::ChatWidget*, msvc::wstring*, FloatRGBA*))CWBase()+0x258660)(this, &str, color);
|
((void(*)(cube::ChatWidget*, msvc::wstring*, FloatRGBA*))CWBase()+0x269DB0)(this, &str, color);
|
||||||
}
|
}
|
||||||
|
|
||||||
void cube::ChatWidget::PrintMessage(wchar_t* message) {
|
void cube::ChatWidget::PrintMessage(wchar_t* message) {
|
||||||
|
|
|
@ -7,5 +7,5 @@ cube::Creature* cube::Game::GetPlayer(){
|
||||||
}
|
}
|
||||||
|
|
||||||
cube::Game* cube::GetGame() {
|
cube::Game* cube::GetGame() {
|
||||||
return *(cube::Game**)(CWBase() + 0x5215E0);
|
return *(cube::Game**)(CWBase() + 0x54EA80);
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,10 +11,12 @@ class World {
|
||||||
void *vtable;
|
void *vtable;
|
||||||
int day;
|
int day;
|
||||||
float time;
|
float time;
|
||||||
_BYTE gap10[496];
|
_BYTE gap10[400];
|
||||||
|
cube::World *self_ptr;
|
||||||
|
_BYTE gap1A8[72];
|
||||||
msvc::string world_name;
|
msvc::string world_name;
|
||||||
int seed;
|
int seed;
|
||||||
_BYTE gap224[532];
|
_BYTE gap214[548];
|
||||||
cube::Creature *local_creature;
|
cube::Creature *local_creature;
|
||||||
_BYTE gap440[247];
|
_BYTE gap440[247];
|
||||||
char end;
|
char end;
|
||||||
|
|
Loading…
Reference in New Issue