Update to 0.9.1-4
This commit is contained in:
parent
40eec69085
commit
289f7cd39a
|
@ -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) {
|
||||
|
|
|
@ -7,5 +7,5 @@ cube::Creature* cube::Game::GetPlayer(){
|
|||
}
|
||||
|
||||
cube::Game* cube::GetGame() {
|
||||
return *(cube::Game**)(CWBase() + 0x54EA80);
|
||||
return *(cube::Game**)(CWBase() + 0x551A80);
|
||||
}
|
||||
|
|
|
@ -40,8 +40,8 @@ namespace cube {
|
|||
_BYTE gap660[136];
|
||||
cube::Host host;
|
||||
_BYTE gapCFA[3158];
|
||||
void* onP2PSessionRequest;
|
||||
_BYTE gap1960[536];
|
||||
void *onP2PSessionRequest;
|
||||
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];
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#define MOD_MAJOR_VERSION 2
|
||||
#define MOD_MAJOR_VERSION 3
|
||||
#define MOD_MINOR_VERSION 1
|
||||
|
||||
#include "cwmods.h"
|
||||
|
|
Loading…
Reference in New Issue