Documentation, field naming throughout d_a_bomb_static.cpp (#597)

* change field 0x6F2 of daBomb_c to mBombFire

* add comments to functions involving mBombTimer, rename field 0x738 to mBombTimer

* fixes suggested by crain-32
This commit is contained in:
Kit
2024-02-08 03:10:43 +00:00
committed by GitHub
parent 8472920fda
commit 6c3bb08b77
5 changed files with 15 additions and 15 deletions
+3 -3
View File
@@ -34,7 +34,7 @@ void daBomb_c::setBombCheck_Flag() {
void daBomb_c::setBombFire_ON() {
_prm_chk_version();
field_0x6F2 = true;
mBombFire = true;
}
/* 80068068-800680CC .text setBombNoHit__8daBomb_cFv */
@@ -158,12 +158,12 @@ void daBomb2::Act_c::remove_fuse_effect() {
/* 80068488-80068490 .text set_time__Q27daBomb25Act_cFi */
void daBomb2::Act_c::set_time(int time) {
field_0x738 = time;
mBombTimer = time;
}
/* 80068490-80068498 .text get_time__Q27daBomb25Act_cCFv */
int daBomb2::Act_c::get_time() const {
return field_0x738;
return mBombTimer;
}
/* 80068498-800684A0 .text chk_eat__Q27daBomb25Act_cCFv */