FallingSmallRock.o 100%

This commit is contained in:
shibbo 2024-03-06 08:49:06 -05:00
parent 78daaa4167
commit 6a985b04bf
8 changed files with 106 additions and 27 deletions

View File

@ -1872,17 +1872,17 @@ __ct__Q217NrvFallDownBridge21FallDownBridgeNrvWaitFv,FallDownBridge.o,MapObj.a,f
__ct__Q217NrvFallDownBridge22FallDownBridgeNrvQuakeFv,FallDownBridge.o,MapObj.a,false
execute__Q217NrvFallDownBridge22FallDownBridgeNrvQuakeCFP5Spine,FallDownBridge.o,MapObj.a,false
execute__Q217NrvFallDownBridge21FallDownBridgeNrvWaitCFP5Spine,FallDownBridge.o,MapObj.a,false
__ct__16FallingSmallRockFPCc,FallingSmallRock.o,MapObj.a,false
init__16FallingSmallRockFRC12JMapInfoIter,FallingSmallRock.o,MapObj.a,false
startClipped__16FallingSmallRockFv,FallingSmallRock.o,MapObj.a,false
endClipped__16FallingSmallRockFv,FallingSmallRock.o,MapObj.a,false
exeMove__16FallingSmallRockFv,FallingSmallRock.o,MapObj.a,false
__dt__16FallingSmallRockFv,FallingSmallRock.o,MapObj.a,false
__sinit_\FallingSmallRock_cpp,FallingSmallRock.o,MapObj.a,false
__ct__Q219NrvFallingSmallRock12HostTypeWaitFv,FallingSmallRock.o,MapObj.a,false
__ct__Q219NrvFallingSmallRock12HostTypeMoveFv,FallingSmallRock.o,MapObj.a,false
execute__Q219NrvFallingSmallRock12HostTypeMoveCFP5Spine,FallingSmallRock.o,MapObj.a,false
execute__Q219NrvFallingSmallRock12HostTypeWaitCFP5Spine,FallingSmallRock.o,MapObj.a,false
__ct__16FallingSmallRockFPCc,FallingSmallRock.o,MapObj.a,true
init__16FallingSmallRockFRC12JMapInfoIter,FallingSmallRock.o,MapObj.a,true
startClipped__16FallingSmallRockFv,FallingSmallRock.o,MapObj.a,true
endClipped__16FallingSmallRockFv,FallingSmallRock.o,MapObj.a,true
exeMove__16FallingSmallRockFv,FallingSmallRock.o,MapObj.a,true
__dt__16FallingSmallRockFv,FallingSmallRock.o,MapObj.a,true
__sinit_\FallingSmallRock_cpp,FallingSmallRock.o,MapObj.a,true
__ct__Q219NrvFallingSmallRock12HostTypeWaitFv,FallingSmallRock.o,MapObj.a,true
__ct__Q219NrvFallingSmallRock12HostTypeMoveFv,FallingSmallRock.o,MapObj.a,true
execute__Q219NrvFallingSmallRock12HostTypeMoveCFP5Spine,FallingSmallRock.o,MapObj.a,true
execute__Q219NrvFallingSmallRock12HostTypeWaitCFP5Spine,FallingSmallRock.o,MapObj.a,true
__ct__16FallOutFieldDrawFPCc,FallOutFieldDraw.o,MapObj.a,false
setUpFillScreen__16FallOutFieldDrawCFv,FallOutFieldDraw.o,MapObj.a,false
setUpEdgeAndClearAlpha__16FallOutFieldDrawCFv,FallOutFieldDraw.o,MapObj.a,false

1 Symbol Name Object File Library Archive Matching
1872 __ct__Q217NrvFallDownBridge22FallDownBridgeNrvQuakeFv FallDownBridge.o MapObj.a false
1873 execute__Q217NrvFallDownBridge22FallDownBridgeNrvQuakeCFP5Spine FallDownBridge.o MapObj.a false
1874 execute__Q217NrvFallDownBridge21FallDownBridgeNrvWaitCFP5Spine FallDownBridge.o MapObj.a false
1875 __ct__16FallingSmallRockFPCc FallingSmallRock.o MapObj.a false true
1876 init__16FallingSmallRockFRC12JMapInfoIter FallingSmallRock.o MapObj.a false true
1877 startClipped__16FallingSmallRockFv FallingSmallRock.o MapObj.a false true
1878 endClipped__16FallingSmallRockFv FallingSmallRock.o MapObj.a false true
1879 exeMove__16FallingSmallRockFv FallingSmallRock.o MapObj.a false true
1880 __dt__16FallingSmallRockFv FallingSmallRock.o MapObj.a false true
1881 __sinit_\FallingSmallRock_cpp FallingSmallRock.o MapObj.a false true
1882 __ct__Q219NrvFallingSmallRock12HostTypeWaitFv FallingSmallRock.o MapObj.a false true
1883 __ct__Q219NrvFallingSmallRock12HostTypeMoveFv FallingSmallRock.o MapObj.a false true
1884 execute__Q219NrvFallingSmallRock12HostTypeMoveCFP5Spine FallingSmallRock.o MapObj.a false true
1885 execute__Q219NrvFallingSmallRock12HostTypeWaitCFP5Spine FallingSmallRock.o MapObj.a false true
1886 __ct__16FallOutFieldDrawFPCc FallOutFieldDraw.o MapObj.a false
1887 setUpFillScreen__16FallOutFieldDrawCFv FallOutFieldDraw.o MapObj.a false
1888 setUpEdgeAndClearAlpha__16FallOutFieldDrawCFv FallOutFieldDraw.o MapObj.a false

View File

@ -1,6 +1,6 @@
{
"schemaVersion": 1,
"label": "Game",
"message": "13.682%",
"message": "13.701%",
"color": "blue"
}

View File

@ -1,6 +1,6 @@
{
"schemaVersion": 1,
"label": "MapObj",
"message": "27.699%",
"message": "27.799%",
"color": "tan"
}

View File

@ -12,7 +12,7 @@
| [Gravity](https://github.com/shibbo/Petari/blob/master/docs/lib/Gravity.md) | 73.07927450580803% |
| [LiveActor](https://github.com/shibbo/Petari/blob/master/docs/lib/LiveActor.md) | 42.01936376210235% |
| [Map](https://github.com/shibbo/Petari/blob/master/docs/lib/Map.md) | 17.65918333240488% |
| [MapObj](https://github.com/shibbo/Petari/blob/master/docs/lib/MapObj.md) | 27.69919603948039% |
| [MapObj](https://github.com/shibbo/Petari/blob/master/docs/lib/MapObj.md) | 27.79904107167001% |
| [NameObj](https://github.com/shibbo/Petari/blob/master/docs/lib/NameObj.md) | 32.076605977327375% |
| [NPC](https://github.com/shibbo/Petari/blob/master/docs/lib/NPC.md) | 2.155878467635403% |
| [NWC24](https://github.com/shibbo/Petari/blob/master/docs/lib/NWC24.md) | 0.0% |

View File

@ -103,7 +103,7 @@
| [ElectricRailMoving.o](https://github.com/shibbo/Petari/blob/master/docs/lib/MapObj/ElectricRailMoving.md) | 0.0% | 0 / 44 | 0.0% | :x:
| [ExterminationChecker.o](https://github.com/shibbo/Petari/blob/master/docs/lib/MapObj/ExterminationChecker.md) | 92.11822660098522% | 19 / 21 | 90.47619047619048% | :eight_pointed_black_star:
| [FallDownBridge.o](https://github.com/shibbo/Petari/blob/master/docs/lib/MapObj/FallDownBridge.md) | 0.0% | 0 / 11 | 0.0% | :x:
| [FallingSmallRock.o](https://github.com/shibbo/Petari/blob/master/docs/lib/MapObj/FallingSmallRock.md) | 0.0% | 0 / 11 | 0.0% | :x:
| [FallingSmallRock.o](https://github.com/shibbo/Petari/blob/master/docs/lib/MapObj/FallingSmallRock.md) | 100.0% | 11 / 11 | 100.0% | :white_check_mark:
| [FallOutFieldDraw.o](https://github.com/shibbo/Petari/blob/master/docs/lib/MapObj/FallOutFieldDraw.md) | 0.0% | 0 / 13 | 0.0% | :x:
| [FireBar.o](https://github.com/shibbo/Petari/blob/master/docs/lib/MapObj/FireBar.md) | 71.49877149877149% | 19 / 21 | 90.47619047619048% | :eight_pointed_black_star:
| [FirePressure.o](https://github.com/shibbo/Petari/blob/master/docs/lib/MapObj/FirePressure.md) | 100.0% | 7 / 7 | 100.0% | :white_check_mark:

View File

@ -5,18 +5,18 @@
| :white_check_mark: | Function is completed.
# 0 / 11 Completed -- (0.0%)
# 11 / 11 Completed -- (100.0%)
# FallingSmallRock.o
| Symbol | Decompiled? |
| ------------- | ------------- |
| `__ct__16FallingSmallRockFPCc` | :x: |
| `init__16FallingSmallRockFRC12JMapInfoIter` | :x: |
| `startClipped__16FallingSmallRockFv` | :x: |
| `endClipped__16FallingSmallRockFv` | :x: |
| `exeMove__16FallingSmallRockFv` | :x: |
| `__dt__16FallingSmallRockFv` | :x: |
| `__sinit_\FallingSmallRock_cpp` | :x: |
| `__ct__Q219NrvFallingSmallRock12HostTypeWaitFv` | :x: |
| `__ct__Q219NrvFallingSmallRock12HostTypeMoveFv` | :x: |
| `execute__Q219NrvFallingSmallRock12HostTypeMoveCFP5Spine` | :x: |
| `execute__Q219NrvFallingSmallRock12HostTypeWaitCFP5Spine` | :x: |
| `__ct__16FallingSmallRockFPCc` | :white_check_mark: |
| `init__16FallingSmallRockFRC12JMapInfoIter` | :white_check_mark: |
| `startClipped__16FallingSmallRockFv` | :white_check_mark: |
| `endClipped__16FallingSmallRockFv` | :white_check_mark: |
| `exeMove__16FallingSmallRockFv` | :white_check_mark: |
| `__dt__16FallingSmallRockFv` | :white_check_mark: |
| `__sinit_\FallingSmallRock_cpp` | :white_check_mark: |
| `__ct__Q219NrvFallingSmallRock12HostTypeWaitFv` | :white_check_mark: |
| `__ct__Q219NrvFallingSmallRock12HostTypeMoveFv` | :white_check_mark: |
| `execute__Q219NrvFallingSmallRock12HostTypeMoveCFP5Spine` | :white_check_mark: |
| `execute__Q219NrvFallingSmallRock12HostTypeWaitCFP5Spine` | :white_check_mark: |

View File

@ -0,0 +1,21 @@
#pragma once
#include "Game/LiveActor/LiveActor.hpp"
class FallingSmallRock : public LiveActor {
public:
FallingSmallRock(const char *);
virtual ~FallingSmallRock();
virtual void init(const JMapInfoIter &);
virtual void startClipped();
virtual void endClipped();
void exeMove();
inline void exeWait();
};
namespace NrvFallingSmallRock {
NERVE_DECL(HostTypeWait, FallingSmallRock, FallingSmallRock::exeWait);
NERVE_DECL(HostTypeMove, FallingSmallRock, FallingSmallRock::exeMove);
};

View File

@ -0,0 +1,58 @@
#include "Game/MapObj/FallingSmallRock.hpp"
FallingSmallRock::FallingSmallRock(const char *pName) : LiveActor(pName) {
}
void FallingSmallRock::init(const JMapInfoIter &rIter) {
MR::initDefaultPos(this, rIter);
initSound(4, false);
initBinder(10.0f, 800.0f, 0);
initEffectKeeper(0, "FallingSmallRock", false);
MR::needStageSwitchReadA(this, rIter);
MR::setClippingTypeSphere(this, 800.0f);
initNerve(&NrvFallingSmallRock::HostTypeWait::sInstance);
MR::connectToSceneMapObjMovement(this);
makeActorAppeared();
}
void FallingSmallRock::startClipped() {
LiveActor::startClipped();
if (isNerve(&NrvFallingSmallRock::HostTypeMove::sInstance)) {
MR::deleteEffectAll(this);
}
}
void FallingSmallRock::endClipped() {
LiveActor::endClipped();
if (isNerve(&NrvFallingSmallRock::HostTypeMove::sInstance)) {
MR::emitEffect(this, "FallingSmallRock");
}
}
void FallingSmallRock::exeMove() {
if (MR::isFirstStep(this)) {
MR::emitEffect(this, "FallingSmallRock");
}
MR::startLevelSound(this, "SE_AT_LV_FALLING_ROCK", -1, -1, -1);
if (MR::isBinded(this)) {
makeActorDead();
}
}
void FallingSmallRock::exeWait() {
if (MR::isOnSwitchA(this)) {
setNerve(&NrvFallingSmallRock::HostTypeMove::sInstance);
}
}
FallingSmallRock::~FallingSmallRock() {
}
namespace NrvFallingSmallRock {
INIT_NERVE(HostTypeWait);
INIT_NERVE(HostTypeMove);
};