Update to Cube World 0.9.1-2

This commit is contained in:
ChrisMiuchiz 2019-09-23 19:10:20 -04:00
parent 75cf21646e
commit 99685a297c
3 changed files with 6 additions and 4 deletions

View File

@ -3,7 +3,7 @@
void cube::ChatWidget::PrintMessage(wchar_t* message, FloatRGBA* color){
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) {

View File

@ -7,5 +7,5 @@ cube::Creature* cube::Game::GetPlayer(){
}
cube::Game* cube::GetGame() {
return *(cube::Game**)(CWBase() + 0x5215E0);
return *(cube::Game**)(CWBase() + 0x54EA80);
}

View File

@ -11,10 +11,12 @@ class World {
void *vtable;
int day;
float time;
_BYTE gap10[496];
_BYTE gap10[400];
cube::World *self_ptr;
_BYTE gap1A8[72];
msvc::string world_name;
int seed;
_BYTE gap224[532];
_BYTE gap214[548];
cube::Creature *local_creature;
_BYTE gap440[247];
char end;