Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9ef66ed71b | ||
|
|
b6e2886476 | ||
|
|
69541f1abf |
@@ -70,9 +70,6 @@ jobs:
|
||||
needs: build
|
||||
runs-on: windows-2022
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: https://github.com/actions/checkout@v4
|
||||
|
||||
- name: Download all build artifacts
|
||||
uses: https://github.com/actions/download-artifact@v3
|
||||
with:
|
||||
|
||||
@@ -9,7 +9,7 @@ const wstring LeaderboardManager::filterNames[eNumFilterModes] =
|
||||
L"Friends", L"MyScore", L"TopRank"
|
||||
};
|
||||
|
||||
#if !defined(_WINDOWS64) && !defined(_DURANGO) && !defined(__ORBIS__) && !defined(__PS3__) && !defined(__PSVITA__) && !defined(_XBOX)
|
||||
#if !defined(_DURANGO) && !defined(_WINDOWS64) && !defined(_XBOX) && !defined(__ORBIS__) // str1k3r - some platforms complain about this, also this wasnt in the leak?
|
||||
LeaderboardManager *LeaderboardManager::m_instance = NULL;
|
||||
#endif
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 139 KiB After Width: | Height: | Size: 154 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 57 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 27 KiB |
@@ -116,7 +116,11 @@ void Options::init()
|
||||
bobView = true;
|
||||
anaglyph3d = false;
|
||||
advancedOpengl = false;
|
||||
#ifdef _WINDOWS64
|
||||
framerateLimit = 0;
|
||||
#else
|
||||
framerateLimit = 2;
|
||||
#endif
|
||||
fancyGraphics = true;
|
||||
ambientOcclusion = true;
|
||||
renderClouds = true;
|
||||
|
||||
@@ -48,6 +48,35 @@ bool Boat::makeStepSound()
|
||||
return false;
|
||||
}
|
||||
|
||||
void Boat::checkFallDamage(int result, int onGround, double ya)
|
||||
{
|
||||
if (fallDistance <= 3.0) return;
|
||||
|
||||
if ( !onGround )
|
||||
{
|
||||
int t = level->getTile(x, (floor(y) - 1.0), z);
|
||||
if ((!t || Tile::tiles[t]->material != Material::water) && ya < 0.0 )
|
||||
fallDistance -= ya;
|
||||
|
||||
return;
|
||||
}
|
||||
causeFallDamage(fallDistance);
|
||||
if (!level->isClientSide && !removed)
|
||||
{
|
||||
remove();
|
||||
for (int i = 0; i < 3; i++)
|
||||
{
|
||||
spawnAtLocation(Tile::wood_Id, 1, 0);
|
||||
}
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
spawnAtLocation(Item::stick->id, 1, 0);
|
||||
}
|
||||
}
|
||||
|
||||
fallDistance = 0.0;
|
||||
}
|
||||
|
||||
void Boat::defineSynchedData()
|
||||
{
|
||||
entityData->define(DATA_ID_HURT, 0);
|
||||
|
||||
@@ -36,6 +36,7 @@ public:
|
||||
Boat(Level *level);
|
||||
|
||||
protected:
|
||||
virtual void checkFallDamage(int result, int onGround, double ya);
|
||||
virtual bool makeStepSound();
|
||||
virtual void defineSynchedData();
|
||||
|
||||
|
||||
@@ -147,6 +147,8 @@ void Zombie::aiStep()
|
||||
}
|
||||
}
|
||||
Monster::aiStep();
|
||||
if (isBaby())
|
||||
setSize(0.3f, 0.9f);
|
||||
}
|
||||
|
||||
bool Zombie::hurt(DamageSource *source, float dmg)
|
||||
|
||||
Reference in New Issue
Block a user