Update to 0.9.1-4

This commit is contained in:
ChrisMiuchiz 2019-09-25 20:02:55 -04:00
parent 40eec69085
commit 289f7cd39a
5 changed files with 8 additions and 8 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()+0x26A1A0)(this, &str, color);
((void(*)(cube::ChatWidget*, msvc::wstring*, FloatRGBA*))CWBase()+0x26A9B0)(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() + 0x54EA80);
return *(cube::Game**)(CWBase() + 0x551A80);
}

View File

@ -41,7 +41,7 @@ namespace cube {
cube::Host host;
_BYTE gapCFA[3158];
void *onP2PSessionRequest;
_BYTE gap1960[536];
char gap1960[536];
int fullscreen;
int width;
int height;
@ -59,9 +59,9 @@ namespace cube {
int field_1BB0;
int field_1BB4;
int rarity_coding;
_BYTE gap1BBC[1100];
_BYTE gap1BBC[1108];
msvc::string *current_music_file;
_BYTE gap2010[68];
_BYTE gap2010[60];
int seed;
msvc::string world_name;
_BYTE gap2070[503];

View File

@ -11,7 +11,7 @@ class World {
void *vtable;
int day;
float time;
_BYTE gap10[400];
_BYTE gap10[416];
cube::World *self_ptr;
_BYTE gap1A8[72];
msvc::string world_name;

View File

@ -1,4 +1,4 @@
#define MOD_MAJOR_VERSION 2
#define MOD_MAJOR_VERSION 3
#define MOD_MINOR_VERSION 1
#include "cwmods.h"