mirror of
https://github.com/zeldaret/tww.git
synced 2026-07-10 14:23:50 -04:00
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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user