CHEWY: Some more renaming
This commit is contained in:
parent
e66abfa8e0
commit
3b86f9e94e
75 changed files with 486 additions and 488 deletions
|
@ -254,10 +254,10 @@ TafInfo *Detail::init_taf_tbl(const char *fname_) {
|
|||
|
||||
Tt = (TafInfo *)tmp;
|
||||
Tt->anzahl = anz;
|
||||
Tt->korrektur = (int16 *)MALLOC((int32)Tt->anzahl * 2 * sizeof(int16));
|
||||
Tt->_correction = (int16 *)MALLOC((int32)Tt->anzahl * 2 * sizeof(int16));
|
||||
Tt->image = (byte **)(tmp + sizeof(TafInfo));
|
||||
memcpy(Tt->korrektur, (byte *)res->getSpriteCorrectionsTable(), Tt->anzahl * 2 * sizeof(int16));
|
||||
Tt->palette = 0;
|
||||
memcpy(Tt->_correction, (byte *)res->getSpriteCorrectionsTable(), Tt->anzahl * 2 * sizeof(int16));
|
||||
Tt->palette = nullptr;
|
||||
|
||||
delete res;
|
||||
|
||||
|
@ -271,7 +271,7 @@ void Detail::del_taf_tbl(TafInfo *Tt) {
|
|||
for (int16 i = 0; i < Tt->anzahl; i++) {
|
||||
free(Tt->image[i]);
|
||||
}
|
||||
free((char *) Tt->korrektur);
|
||||
free((char *) Tt->_correction);
|
||||
free((char *) Tt);
|
||||
}
|
||||
|
||||
|
@ -280,7 +280,7 @@ void Detail::del_taf_tbl(int16 start, int16 anz, TafInfo *Tt) {
|
|||
Tt = _rdi.dptr;
|
||||
for (int16 i = start; i < start + anz && i < Tt->anzahl; i++) {
|
||||
free(Tt->image[i]);
|
||||
Tt->image[i] = 0;
|
||||
Tt->image[i] = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -299,39 +299,37 @@ void Detail::load_taf_seq(int16 spr_nr, int16 spr_anz, TafInfo *Tt) {
|
|||
delete res;
|
||||
}
|
||||
|
||||
void Detail::set_static_spr(int16 nr, int16 spr_nr) {
|
||||
_rdi.Sinfo[nr].SprNr = spr_nr;
|
||||
void Detail::setStaticSpr(int16 nr, int16 sprNr) {
|
||||
_rdi.Sinfo[nr].SprNr = sprNr;
|
||||
}
|
||||
|
||||
void Detail::hide_static_spr(int16 nr) {
|
||||
void Detail::hideStaticSpr(int16 nr) {
|
||||
if (nr >= 0 && nr < MAXDETAILS)
|
||||
_rdi.Sinfo[nr].Hide = true;
|
||||
}
|
||||
|
||||
void Detail::show_static_spr(int16 nr) {
|
||||
void Detail::showStaticSpr(int16 nr) {
|
||||
if (nr >= 0 && nr < MAXDETAILS)
|
||||
_rdi.Sinfo[nr].Hide = false;
|
||||
}
|
||||
|
||||
byte *Detail::get_static_image(int16 det_nr) {
|
||||
byte *ret;
|
||||
int16 index = _rdi.Sinfo[det_nr].SprNr;
|
||||
if (index == -1)
|
||||
ret = nullptr;
|
||||
else
|
||||
byte *Detail::getStaticImage(int16 detNr) {
|
||||
byte *ret = nullptr;
|
||||
int16 index = _rdi.Sinfo[detNr].SprNr;
|
||||
if (index != -1)
|
||||
ret = _rdi.dptr->image[index];
|
||||
return ret;
|
||||
}
|
||||
|
||||
void Detail::set_static_pos(int16 det_nr, int16 x, int16 y, bool hide, bool korr_flag) {
|
||||
if (korr_flag) {
|
||||
int16 *Cxy = _rdi.dptr->korrektur + (_rdi.Sinfo[det_nr].SprNr << 1);
|
||||
void Detail::setStaticPos(int16 detNr, int16 x, int16 y, bool hideFl, bool correctionFlag) {
|
||||
if (correctionFlag) {
|
||||
int16 *Cxy = _rdi.dptr->_correction + (_rdi.Sinfo[detNr].SprNr << 1);
|
||||
x += Cxy[0];
|
||||
y += Cxy[1];
|
||||
}
|
||||
_rdi.Sinfo[det_nr].x = x;
|
||||
_rdi.Sinfo[det_nr].y = y;
|
||||
_rdi.Sinfo[det_nr].Hide = hide;
|
||||
_rdi.Sinfo[detNr].x = x;
|
||||
_rdi.Sinfo[detNr].y = y;
|
||||
_rdi.Sinfo[detNr].Hide = hideFl;
|
||||
}
|
||||
|
||||
void Detail::set_detail_pos(int16 det_nr, int16 x, int16 y) {
|
||||
|
@ -363,7 +361,7 @@ AniDetailInfo *Detail::get_ani_detail(int16 ani_nr) {
|
|||
}
|
||||
|
||||
int16 *Detail::get_korrektur_tbl() {
|
||||
int16 *ret = _rdi.dptr->korrektur;
|
||||
int16 *ret = _rdi.dptr->_correction;
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
@ -412,7 +410,7 @@ void Detail::plot_ani_details(int16 scrx, int16 scry, int16 start, int16 end, in
|
|||
AniDetailInfo *adiptr = &_rdi.Ainfo[i];
|
||||
if ((adiptr->start_flag) && (adiptr->start_ani != -1) && (adiptr->end_ani != -1)) {
|
||||
int16 sprnr = adiptr->ani_count;
|
||||
int16 *Cxy = _rdi.dptr->korrektur + (sprnr << 1);
|
||||
int16 *Cxy = _rdi.dptr->_correction + (sprnr << 1);
|
||||
int16 kx = Cxy[0];
|
||||
int16 ky = Cxy[1];
|
||||
if (zoomx != 0 || zoomy != 0)
|
||||
|
@ -573,7 +571,7 @@ SprInfo Detail::plot_detail_sprite(int16 scrx, int16 scry, int16 det_nr, int16 s
|
|||
spr_nr = adiptr->start_ani;
|
||||
if (spr_nr > adiptr->end_ani)
|
||||
spr_nr = adiptr->end_ani - 1;
|
||||
int16 *Cxy = _rdi.dptr->korrektur + (spr_nr << 1);
|
||||
int16 *Cxy = _rdi.dptr->_correction + (spr_nr << 1);
|
||||
int16 *Xy = (int16 *)_rdi.dptr->image[spr_nr];
|
||||
_sprInfo.Image = _rdi.dptr->image[spr_nr];
|
||||
_sprInfo.X = adiptr->x + Cxy[0] - scrx;
|
||||
|
@ -715,7 +713,7 @@ int16 Detail::mouse_on_detail(int16 mouse_x, int16 mouse_y, int16 scrx, int16 sc
|
|||
AniDetailInfo *adiptr = &_rdi.Ainfo[i];
|
||||
if ((adiptr->start_flag) && (adiptr->start_ani != -1) && (adiptr->end_ani != -1)) {
|
||||
int16 sprnr = adiptr->ani_count;
|
||||
int16 *Cxy = _rdi.dptr->korrektur + (sprnr << 1);
|
||||
int16 *Cxy = _rdi.dptr->_correction + (sprnr << 1);
|
||||
int16 x = adiptr->x + Cxy[0] - scrx;
|
||||
int16 y = adiptr->y + Cxy[1] - scry;
|
||||
int16 *Xy;
|
||||
|
|
|
@ -193,13 +193,13 @@ public:
|
|||
|
||||
void load_rdi_taf(const char *fname, int16 load_flag);
|
||||
|
||||
void set_static_spr(int16 nr, int16 spr_nr);
|
||||
byte *get_static_image(int16 det_nr);
|
||||
void setStaticSpr(int16 nr, int16 sprNr);
|
||||
byte *getStaticImage(int16 detNr);
|
||||
|
||||
void set_static_pos(int16 det_nr, int16 x, int16 y, bool hide, bool korr_flag);
|
||||
void setStaticPos(int16 detNr, int16 x, int16 y, bool hideFl, bool correctionFlag);
|
||||
void set_detail_pos(int16 det_nr, int16 x, int16 y);
|
||||
void hide_static_spr(int16 nr);
|
||||
void show_static_spr(int16 nr);
|
||||
void hideStaticSpr(int16 nr);
|
||||
void showStaticSpr(int16 nr);
|
||||
void freeze_ani();
|
||||
void unfreeze_ani();
|
||||
void get_ani_werte(int16 ani_nr, int16 *start, int16 *end);
|
||||
|
|
|
@ -105,12 +105,12 @@ int16 Files::execute(bool isInGame) {
|
|||
if (!mode[j])
|
||||
// Not pressed
|
||||
_G(out)->sprite_set(
|
||||
ti->image[i], 16 + ti->korrektur[i << 1] + pt[j].x,
|
||||
76 + ti->korrektur[(i << 1) + 1] + pt[j].y, 0);
|
||||
ti->image[i], 16 + ti->_correction[i << 1] + pt[j].x,
|
||||
76 + ti->_correction[(i << 1) + 1] + pt[j].y, 0);
|
||||
else
|
||||
// Pressed
|
||||
_G(out)->sprite_set(ti->image[i], 16 + ti->korrektur[i << 1],
|
||||
76 + ti->korrektur[(i << 1) + 1], 0);
|
||||
_G(out)->sprite_set(ti->image[i], 16 + ti->_correction[i << 1],
|
||||
76 + ti->_correction[(i << 1) + 1], 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -89,8 +89,8 @@ void Options::execute(TafInfo *ti) {
|
|||
warning("stop_clock = (clock() / CLK_TCK) + 1;");
|
||||
}
|
||||
|
||||
_G(out)->sprite_set(ti->image[surimy_ani], 18 + ti->korrektur[surimy_ani << 1],
|
||||
8 + ti->korrektur[(surimy_ani << 1) + 1], 0);
|
||||
_G(out)->sprite_set(ti->image[surimy_ani], 18 + ti->_correction[surimy_ani << 1],
|
||||
8 + ti->_correction[(surimy_ani << 1) + 1], 0);
|
||||
short bar_off = (_G(spieler).FramesPerSecond - 6) * 16;
|
||||
_G(out)->box_fill(33 + bar_off, 65, 33 + 17 + bar_off, 65 + 8, 0);
|
||||
Common::String fps = Common::String::format("%d", _G(spieler).FramesPerSecond << 1);
|
||||
|
@ -98,18 +98,18 @@ void Options::execute(TafInfo *ti) {
|
|||
|
||||
if (_G(spieler).SoundSwitch) {
|
||||
_G(out)->sprite_set(ti->image[mund_ani],
|
||||
18 + ti->korrektur[mund_ani << 1],
|
||||
8 + ti->korrektur[(mund_ani << 1) + 1], 0);
|
||||
18 + ti->_correction[mund_ani << 1],
|
||||
8 + ti->_correction[(mund_ani << 1) + 1], 0);
|
||||
_G(out)->sprite_set(ti->image[SCHNULL_OFF],
|
||||
18 + ti->korrektur[SCHNULL_OFF << 1],
|
||||
8 + ti->korrektur[(SCHNULL_OFF << 1) + 1], 0);
|
||||
18 + ti->_correction[SCHNULL_OFF << 1],
|
||||
8 + ti->_correction[(SCHNULL_OFF << 1) + 1], 0);
|
||||
} else {
|
||||
_G(out)->sprite_set(ti->image[SCHNULLER],
|
||||
18 + ti->korrektur[SCHNULLER << 1],
|
||||
8 + ti->korrektur[(SCHNULLER << 1) + 1], 0);
|
||||
18 + ti->_correction[SCHNULLER << 1],
|
||||
8 + ti->_correction[(SCHNULLER << 1) + 1], 0);
|
||||
_G(out)->sprite_set(ti->image[SCHNULL_BAND],
|
||||
18 + ti->korrektur[SCHNULL_BAND << 1],
|
||||
8 + ti->korrektur[(SCHNULL_BAND << 1) + 1], 0);
|
||||
18 + ti->_correction[SCHNULL_BAND << 1],
|
||||
8 + ti->_correction[(SCHNULL_BAND << 1) + 1], 0);
|
||||
}
|
||||
_G(out)->pop_box(32 - 2, 104 - 12, 42 + 4, 136 + 2, 192, 183, 182);
|
||||
_G(out)->printxy(32 + 3, 104 - 10, 15, 300, 0, "S");
|
||||
|
@ -120,31 +120,31 @@ void Options::execute(TafInfo *ti) {
|
|||
_G(out)->box_fill(53, 136 - (_G(spieler).MusicVol >> 1), 62, 136, 31);
|
||||
if (_G(spieler).MusicSwitch) {
|
||||
_G(out)->sprite_set(ti->image[MUSIC_ON1],
|
||||
18 + ti->korrektur[MUSIC_ON1 << 1],
|
||||
8 + ti->korrektur[(MUSIC_ON1 << 1) + 1], 0);
|
||||
18 + ti->_correction[MUSIC_ON1 << 1],
|
||||
8 + ti->_correction[(MUSIC_ON1 << 1) + 1], 0);
|
||||
_G(out)->sprite_set(ti->image[MUSIC_ON2],
|
||||
18 + ti->korrektur[MUSIC_ON2 << 1],
|
||||
8 + ti->korrektur[(MUSIC_ON2 << 1) + 1], 0);
|
||||
18 + ti->_correction[MUSIC_ON2 << 1],
|
||||
8 + ti->_correction[(MUSIC_ON2 << 1) + 1], 0);
|
||||
} else
|
||||
_G(out)->sprite_set(ti->image[MUSIC_OFF],
|
||||
18 + ti->korrektur[MUSIC_OFF << 1],
|
||||
8 + ti->korrektur[(MUSIC_OFF << 1) + 1], 0);
|
||||
18 + ti->_correction[MUSIC_OFF << 1],
|
||||
8 + ti->_correction[(MUSIC_OFF << 1) + 1], 0);
|
||||
|
||||
if (_G(spieler).DisplayText) {
|
||||
_G(out)->sprite_set(ti->image[tdisp_ani],
|
||||
18 + ti->korrektur[tdisp_ani << 1],
|
||||
8 + ti->korrektur[(tdisp_ani << 1) + 1], 0);
|
||||
18 + ti->_correction[tdisp_ani << 1],
|
||||
8 + ti->_correction[(tdisp_ani << 1) + 1], 0);
|
||||
_G(out)->sprite_set(ti->image[TDISP_EIN],
|
||||
18 + ti->korrektur[TDISP_EIN << 1],
|
||||
8 + ti->korrektur[(TDISP_EIN << 1) + 1], 0);
|
||||
18 + ti->_correction[TDISP_EIN << 1],
|
||||
8 + ti->_correction[(TDISP_EIN << 1) + 1], 0);
|
||||
} else
|
||||
_G(out)->sprite_set(ti->image[TDISP_AUS],
|
||||
18 + ti->korrektur[TDISP_AUS << 1],
|
||||
8 + ti->korrektur[(TDISP_AUS << 1) + 1], 0);
|
||||
18 + ti->_correction[TDISP_AUS << 1],
|
||||
8 + ti->_correction[(TDISP_AUS << 1) + 1], 0);
|
||||
|
||||
_G(out)->sprite_set(ti->image[EXIT],
|
||||
18 + ti->korrektur[EXIT << 1],
|
||||
8 + ti->korrektur[(EXIT << 1) + 1], 0);
|
||||
18 + ti->_correction[EXIT << 1],
|
||||
8 + ti->_correction[(EXIT << 1) + 1], 0);
|
||||
|
||||
key = _G(in)->get_switch_code();
|
||||
if ((_G(minfo).button == 1) || (key == Common::KEYCODE_RETURN)) {
|
||||
|
|
|
@ -54,8 +54,8 @@ TafInfo *Memory::taf_adr(const char *filename) {
|
|||
imgPtr += res->getSpriteData(i, &tinfo->image[i], false);
|
||||
}
|
||||
|
||||
tinfo->korrektur = (int16 *)(tmp1 + (size + 768l));
|
||||
memcpy(tinfo->korrektur, res->getSpriteCorrectionsTable(), imageCount * 2 * sizeof(int16));
|
||||
tinfo->_correction = (int16 *)(tmp1 + (size + 768l));
|
||||
memcpy(tinfo->_correction, res->getSpriteCorrectionsTable(), imageCount * 2 * sizeof(int16));
|
||||
|
||||
delete res;
|
||||
|
||||
|
@ -81,7 +81,7 @@ TafSeqInfo *Memory::taf_seq_adr(int16 image_start, int16 image_anz) {
|
|||
ts_info = (TafSeqInfo *)tmp1;
|
||||
ts_info->anzahl = image_anz;
|
||||
ts_info->image = (byte **)(tmp1 + sizeof(TafSeqInfo));
|
||||
ts_info->korrektur = (int16 *)(tmp1 + size);
|
||||
ts_info->_correction = (int16 *)(tmp1 + size);
|
||||
byte *sp_ptr = tmp1 + (((uint32)sizeof(TafSeqInfo)) + (image_anz * sizeof(char *)));
|
||||
|
||||
for (int16 i = 0; i < image_anz; i++) {
|
||||
|
@ -90,7 +90,7 @@ TafSeqInfo *Memory::taf_seq_adr(int16 image_start, int16 image_anz) {
|
|||
}
|
||||
|
||||
uint16 *correctionsTable = res->getSpriteCorrectionsTable() + image_start * 2;
|
||||
memcpy(ts_info->korrektur, correctionsTable, image_anz * 2 * sizeof(int16));
|
||||
memcpy(ts_info->_correction, correctionsTable, image_anz * 2 * sizeof(int16));
|
||||
|
||||
delete res;
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ void plot_main_menu() {
|
|||
}
|
||||
|
||||
maus_mov_menu();
|
||||
int16 *korrektur = (int16 *)_G(menutaf)->korrektur;
|
||||
int16 *korrektur = (int16 *)_G(menutaf)->_correction;
|
||||
|
||||
for (int16 i = MENU_START_SPRITE; i < MAX_MENU_SPRITE; i++) {
|
||||
int deltaX = 0;
|
||||
|
@ -286,7 +286,7 @@ void ads_menu() {
|
|||
&_G(ads_item_anz));
|
||||
}
|
||||
_G(det)->stop_detail(_G(talk_start_ani));
|
||||
_G(det)->show_static_spr(_G(talk_hide_static));
|
||||
_G(det)->showStaticSpr(_G(talk_hide_static));
|
||||
_G(talk_start_ani) = -1;
|
||||
_G(talk_hide_static) = -1;
|
||||
if (_G(flags).AdsDialog == false) {
|
||||
|
|
|
@ -35,13 +35,13 @@ namespace Chewy {
|
|||
struct TafInfo {
|
||||
int16 anzahl = 0;
|
||||
byte *palette = nullptr;
|
||||
int16 *korrektur = nullptr;
|
||||
int16 *_correction = nullptr;
|
||||
byte **image = nullptr;
|
||||
};
|
||||
|
||||
struct TafSeqInfo {
|
||||
int16 anzahl = 0;
|
||||
int16 *korrektur = nullptr;
|
||||
int16 *_correction = nullptr;
|
||||
byte **image = nullptr;
|
||||
};
|
||||
|
||||
|
|
|
@ -350,7 +350,7 @@ void Object::calc_static_detail(int16 det_nr) {
|
|||
else
|
||||
_G(det)->start_detail(n, 1, ANI_FRONT);
|
||||
} else
|
||||
_G(det)->show_static_spr(nr);
|
||||
_G(det)->showStaticSpr(nr);
|
||||
++i;
|
||||
}
|
||||
}
|
||||
|
@ -362,7 +362,7 @@ void Object::calc_static_detail(int16 det_nr) {
|
|||
else
|
||||
_G(det)->start_detail(n, 1, ANI_FRONT);
|
||||
} else {
|
||||
_G(det)->show_static_spr(nr);
|
||||
_G(det)->showStaticSpr(nr);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -381,14 +381,14 @@ void Object::calc_static_detail(int16 det_nr) {
|
|||
if (nr >= 40)
|
||||
_G(det)->stop_detail(nr - 40);
|
||||
else
|
||||
_G(det)->hide_static_spr(nr);
|
||||
_G(det)->hideStaticSpr(nr);
|
||||
++i;
|
||||
}
|
||||
}
|
||||
} else if (nr >= 40)
|
||||
_G(det)->stop_detail(nr - 40);
|
||||
else {
|
||||
_G(det)->hide_static_spr(nr);
|
||||
_G(det)->hideStaticSpr(nr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -667,7 +667,7 @@ void exit_room(int16 eib_nr) {
|
|||
case 75:
|
||||
x = 160;
|
||||
y = 200;
|
||||
_G(det)->show_static_spr(4);
|
||||
_G(det)->showStaticSpr(4);
|
||||
break;
|
||||
|
||||
case 84:
|
||||
|
@ -683,20 +683,20 @@ void exit_room(int16 eib_nr) {
|
|||
break;
|
||||
|
||||
case 86:
|
||||
_G(det)->show_static_spr(0);
|
||||
_G(det)->showStaticSpr(0);
|
||||
x = _G(spieler_vector)[P_CHEWY].Xypos[0] - 44;
|
||||
y = _G(spieler_vector)[P_CHEWY].Xypos[1];
|
||||
_G(HowardMov) = 2;
|
||||
break;
|
||||
|
||||
case 90:
|
||||
_G(det)->show_static_spr(8);
|
||||
_G(det)->showStaticSpr(8);
|
||||
x = _G(spieler_vector)[P_CHEWY].Xypos[0] - 60;
|
||||
y = _G(spieler_vector)[P_CHEWY].Xypos[1];
|
||||
break;
|
||||
|
||||
case 94:
|
||||
_G(det)->show_static_spr(3);
|
||||
_G(det)->showStaticSpr(3);
|
||||
x = _G(spieler_vector)[P_CHEWY].Xypos[0] - 40;
|
||||
y = _G(spieler_vector)[P_CHEWY].Xypos[1] - 10;
|
||||
break;
|
||||
|
@ -704,7 +704,7 @@ void exit_room(int16 eib_nr) {
|
|||
case 127:
|
||||
x = 196;
|
||||
y = 133;
|
||||
_G(det)->show_static_spr(0);
|
||||
_G(det)->showStaticSpr(0);
|
||||
break;
|
||||
|
||||
case 132:
|
||||
|
@ -1509,7 +1509,7 @@ int16 sib_event_no_inv(int16 sib_nr) {
|
|||
break;
|
||||
|
||||
case 94:
|
||||
_G(det)->show_static_spr(7);
|
||||
_G(det)->showStaticSpr(7);
|
||||
_G(cur_hide_flag) = false;
|
||||
hideCur();
|
||||
start_aad_wait(406, -1);
|
||||
|
@ -1563,7 +1563,7 @@ void sib_event_inv(int16 sib_nr) {
|
|||
case SIB_BOLA_KNOPF_R6:
|
||||
del_inventar(_G(spieler).AkInvent);
|
||||
_G(spieler).R6BolaSchild = true;
|
||||
_G(det)->show_static_spr(2);
|
||||
_G(det)->showStaticSpr(2);
|
||||
_G(obj)->calc_rsi_flip_flop(SIB_BOLA_KNOPF_R6);
|
||||
_G(obj)->hide_sib(SIB_BOLA_KNOPF_R6);
|
||||
_G(obj)->show_sib(SIB_BOLA_R6);
|
||||
|
@ -1651,7 +1651,7 @@ void sib_event_inv(int16 sib_nr) {
|
|||
start_spz_wait(CH_LGET_O, 1, false, P_CHEWY);
|
||||
_G(spieler).R18CartFach = true;
|
||||
del_inventar(_G(spieler).AkInvent);
|
||||
_G(det)->show_static_spr(7);
|
||||
_G(det)->showStaticSpr(7);
|
||||
_G(atds)->set_ats_str(157, TXT_MARK_LOOK, 1, ATS_DATEI);
|
||||
|
||||
if (_G(spieler).R18CartTerminal) {
|
||||
|
|
|
@ -188,7 +188,7 @@ void Room::load_room(RaumBlk *Rb, int16 room_nr, Spieler *player) {
|
|||
_G(det)->load_rdi_taf(tmp_str, _roomInfo->TafLoad);
|
||||
Rb->Fti = _G(det)->get_taf_info();
|
||||
Rb->DetImage = Rb->Fti->image;
|
||||
Rb->DetKorrekt = Rb->Fti->korrektur;
|
||||
Rb->DetKorrekt = Rb->Fti->_correction;
|
||||
}
|
||||
_G(obj)->calc_all_static_detail();
|
||||
load_tgp(_roomInfo->BildNr, Rb, EPISODE1_TGP, GED_LOAD, "back/episode1.tgp");
|
||||
|
@ -539,7 +539,7 @@ void load_chewy_taf(int16 taf_nr) {
|
|||
_G(spieler).ChewyAni = taf_nr;
|
||||
_G(AkChewyTaf) = taf_nr;
|
||||
_G(chewy) = _G(mem)->taf_adr(fname_);
|
||||
_G(chewy_kor) = _G(chewy)->korrektur;
|
||||
_G(chewy_kor) = _G(chewy)->_correction;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -51,7 +51,7 @@ namespace Rooms {
|
|||
|
||||
void Room0::entry() {
|
||||
if (is_cur_inventar(0) || _G(spieler).R0PillowThrow || _G(obj)->checkInventory(0))
|
||||
_G(det)->hide_static_spr(6);
|
||||
_G(det)->hideStaticSpr(6);
|
||||
|
||||
if (!_G(flags).LoadGame) {
|
||||
set_person_pos(150, 100, P_CHEWY, P_RIGHT);
|
||||
|
@ -134,7 +134,7 @@ bool Room0::getPillow() {
|
|||
_G(menu_item) = CUR_WALK;
|
||||
cursorChoice(CUR_WALK);
|
||||
_G(atds)->set_steuer_bit(174, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
_G(det)->hide_static_spr(6);
|
||||
_G(det)->hideStaticSpr(6);
|
||||
|
||||
_G(flags).AutoAniPlay = false;
|
||||
showCur();
|
||||
|
|
|
@ -29,7 +29,7 @@ namespace Chewy {
|
|||
namespace Rooms {
|
||||
|
||||
void Room1::gottenCard() {
|
||||
_G(det)->hide_static_spr(2);
|
||||
_G(det)->hideStaticSpr(2);
|
||||
start_detail_wait(4, 1, ANI_FRONT);
|
||||
_G(spieler).PersonHide[P_CHEWY] = false;
|
||||
_G(atds)->del_steuer_bit(7, ATS_COUNT_BIT, ATS_DATEI);
|
||||
|
|
|
@ -93,11 +93,11 @@ void Room6::init_robo() {
|
|||
|
||||
void Room6::bola_knopf() {
|
||||
if (!_G(spieler).R6BolaBecher) {
|
||||
_G(det)->hide_static_spr(0);
|
||||
_G(det)->hideStaticSpr(0);
|
||||
start_detail_wait(0, 1, ANI_FRONT);
|
||||
if (_G(spieler).R6BolaOk) {
|
||||
_G(spieler).R6BolaBecher = true;
|
||||
_G(det)->show_static_spr(0);
|
||||
_G(det)->showStaticSpr(0);
|
||||
start_ani_block(2, ABLOCK7);
|
||||
_G(obj)->calc_rsi_flip_flop(SIB_BOLA_FLECK_R6);
|
||||
wait_detail(2);
|
||||
|
@ -116,7 +116,7 @@ void Room6::bola_knopf() {
|
|||
}
|
||||
set_up_screen(DO_SETUP);
|
||||
}
|
||||
_G(det)->show_static_spr(0);
|
||||
_G(det)->showStaticSpr(0);
|
||||
++_G(spieler).R6BolaJoke;
|
||||
int16 diaNr = (_G(spieler).R6BolaJoke < 3) ? 3 : 4;
|
||||
start_spz(CH_TALK5, 244, false, 0);
|
||||
|
|
|
@ -82,10 +82,10 @@ void Room7::klingel() {
|
|||
start_aad(5, 0);
|
||||
start_ani_block(3, ABLOCK25);
|
||||
|
||||
_G(det)->show_static_spr(7);
|
||||
_G(det)->showStaticSpr(7);
|
||||
start_detail_wait(12, 1, ANI_FRONT);
|
||||
start_detail_wait(11, 1, ANI_FRONT);
|
||||
_G(det)->hide_static_spr(7);
|
||||
_G(det)->hideStaticSpr(7);
|
||||
_G(det)->stop_detail(5);
|
||||
set_person_pos(95, 94, P_CHEWY, P_RIGHT);
|
||||
_G(spieler).PersonHide[P_CHEWY] = false;
|
||||
|
@ -93,7 +93,7 @@ void Room7::klingel() {
|
|||
_G(spieler).PersonHide[P_CHEWY] = true;
|
||||
start_aad(6, 0);
|
||||
start_ani_block(3, ABLOCK25);
|
||||
_G(det)->show_static_spr(7);
|
||||
_G(det)->showStaticSpr(7);
|
||||
start_detail_wait(10, 1, ANI_FRONT);
|
||||
_G(det)->start_detail(13, 1, ANI_FRONT);
|
||||
set_person_pos(95, 94, P_CHEWY, P_RIGHT);
|
||||
|
@ -114,21 +114,21 @@ void Room7::klingel() {
|
|||
|
||||
start_detail_frame(19, 1, ANI_FRONT, 6);
|
||||
start_detail_frame(9, 1, ANI_FRONT, 4);
|
||||
_G(det)->show_static_spr(9);
|
||||
_G(det)->showStaticSpr(9);
|
||||
wait_detail(9);
|
||||
_G(det)->hide_static_spr(9);
|
||||
_G(det)->hideStaticSpr(9);
|
||||
_G(obj)->show_sib(SIB_SCHLOTT_R7);
|
||||
_G(obj)->calc_rsi_flip_flop(SIB_SCHLOTT_R7);
|
||||
|
||||
_G(spieler).PersonHide[P_CHEWY] = false;
|
||||
_G(flags).NoScroll = false;
|
||||
_G(det)->hide_static_spr(7);
|
||||
_G(det)->hideStaticSpr(7);
|
||||
|
||||
} else if (!_G(spieler).R7SeilOk) {
|
||||
_G(spieler).PersonHide[P_CHEWY] = true;
|
||||
start_aad(7, 0);
|
||||
start_ani_block(3, ABLOCK25);
|
||||
_G(det)->show_static_spr(7);
|
||||
_G(det)->showStaticSpr(7);
|
||||
_G(det)->load_taf_seq(192, 74, nullptr);
|
||||
_G(det)->start_detail(14, 1, ANI_FRONT);
|
||||
set_person_pos(95, 94, P_CHEWY, P_RIGHT);
|
||||
|
@ -141,7 +141,7 @@ void Room7::klingel() {
|
|||
_G(det)->start_detail(0, 255, ANI_FRONT);
|
||||
wait_detail(14);
|
||||
start_ani_block(4, ABLOCK10);
|
||||
_G(det)->hide_static_spr(7);
|
||||
_G(det)->hideStaticSpr(7);
|
||||
_G(det)->stop_detail(0);
|
||||
set_person_pos(181, 130, P_CHEWY, P_RIGHT);
|
||||
_G(spieler).PersonHide[P_CHEWY] = false;
|
||||
|
@ -174,9 +174,9 @@ void Room7::gedAction(int index) {
|
|||
_G(spieler).PersonHide[P_CHEWY] = true;
|
||||
set_person_pos(180, 124, P_CHEWY, P_LEFT);
|
||||
start_detail_wait(20, 1, ANI_FRONT);
|
||||
_G(det)->show_static_spr(10);
|
||||
_G(det)->showStaticSpr(10);
|
||||
wait_show_screen(10 * _G(spieler).DelaySpeed);
|
||||
_G(det)->hide_static_spr(10);
|
||||
_G(det)->hideStaticSpr(10);
|
||||
_G(spieler).PersonHide[P_CHEWY] = false;
|
||||
_G(spieler).R7ChewyFlug = false;
|
||||
}
|
||||
|
|
|
@ -129,7 +129,7 @@ bool Room8::gips_wurf() {
|
|||
start_detail_frame(5, 1, ANI_FRONT, 16);
|
||||
start_detail_wait(6, 1, ANI_FRONT);
|
||||
_G(obj)->show_sib(33);
|
||||
_G(det)->show_static_spr(14);
|
||||
_G(det)->showStaticSpr(14);
|
||||
wait_detail(5);
|
||||
_G(spieler).R8GipsWurf = true;
|
||||
_G(spieler).room_m_obj[MASKE_INV].ZEbene = 0;
|
||||
|
@ -153,11 +153,11 @@ bool Room8::gips_wurf() {
|
|||
|
||||
void Room8::open_gdoor() {
|
||||
_G(spieler).PersonHide[P_CHEWY] = true;
|
||||
_G(det)->show_static_spr(17);
|
||||
_G(det)->showStaticSpr(17);
|
||||
set_up_screen(DO_SETUP);
|
||||
start_detail_wait(7, 1, ANI_FRONT);
|
||||
_G(det)->show_static_spr(15);
|
||||
_G(det)->hide_static_spr(17);
|
||||
_G(det)->showStaticSpr(15);
|
||||
_G(det)->hideStaticSpr(17);
|
||||
_G(spieler).PersonHide[P_CHEWY] = false;
|
||||
set_person_pos(204, 274, P_CHEWY, P_LEFT);
|
||||
_G(atds)->del_steuer_bit(69, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
|
|
|
@ -51,17 +51,17 @@ void Room9::entry() {
|
|||
if (!_G(spieler).R9Gitter)
|
||||
set_person_pos(138, 91, P_CHEWY, P_LEFT);
|
||||
else
|
||||
_G(det)->show_static_spr(5);
|
||||
_G(det)->showStaticSpr(5);
|
||||
|
||||
if (_G(spieler).R9Surimy) {
|
||||
_G(det)->hide_static_spr(4);
|
||||
_G(det)->hideStaticSpr(4);
|
||||
_G(room)->set_timer_status(7, TIMER_STOP);
|
||||
}
|
||||
}
|
||||
|
||||
void Room9::gtuer() {
|
||||
_G(spieler).R9Gitter = true;
|
||||
_G(det)->show_static_spr(5);
|
||||
_G(det)->showStaticSpr(5);
|
||||
start_detail_wait(6, 1, ANI_FRONT);
|
||||
set_person_pos(74, 93, P_CHEWY, P_LEFT);
|
||||
_G(atds)->del_steuer_bit(74, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
|
@ -77,7 +77,7 @@ void Room9::surimy() {
|
|||
const int16 tmp = _G(spieler_vector)[P_CHEWY].Count;
|
||||
stop_person(P_CHEWY);
|
||||
_G(atds)->set_steuer_bit(75, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
_G(det)->hide_static_spr(4);
|
||||
_G(det)->hideStaticSpr(4);
|
||||
_G(room)->set_timer_status(7, TIMER_STOP);
|
||||
surimy_ani();
|
||||
start_spz(CH_TALK11, 255, false, P_CHEWY);
|
||||
|
@ -106,7 +106,7 @@ void Room9::surimy_ani() {
|
|||
wait_detail(0);
|
||||
start_detail_wait(1, 1, ANI_FRONT);
|
||||
start_spz(CH_EKEL, 2, ANI_FRONT, P_CHEWY);
|
||||
_G(det)->hide_static_spr(4);
|
||||
_G(det)->hideStaticSpr(4);
|
||||
_G(mov_phasen)[SURIMY_OBJ].Repeat = 1;
|
||||
init_auto_obj(SURIMY_OBJ, &SURIMY_PHASEN[0][0], _G(mov_phasen)[SURIMY_OBJ].Lines, (const MovLine *)SURIMY_MPKT1);
|
||||
wait_auto_obj(SURIMY_OBJ);
|
||||
|
|
|
@ -67,7 +67,7 @@ void Room11::entry() {
|
|||
start_aad_wait(31, -1);
|
||||
_G(det)->stop_detail(9);
|
||||
}
|
||||
_G(det)->show_static_spr(8);
|
||||
_G(det)->showStaticSpr(8);
|
||||
if (!_G(flags).LoadGame)
|
||||
autoMove(6, P_CHEWY);
|
||||
_G(timer_nr)[0] = _G(room)->set_timer(255, 10);
|
||||
|
@ -95,10 +95,10 @@ void Room11::gedAction(int index) {
|
|||
void Room11::bork_zwinkert() {
|
||||
if (!_G(flags).AutoAniPlay) {
|
||||
_G(flags).AutoAniPlay = true;
|
||||
_G(det)->hide_static_spr(8);
|
||||
_G(det)->hideStaticSpr(8);
|
||||
start_ani_block(2, ABLOCK18);
|
||||
_G(uhr)->reset_timer(_G(timer_nr)[0], 0);
|
||||
_G(det)->show_static_spr(8);
|
||||
_G(det)->showStaticSpr(8);
|
||||
_G(flags).AutoAniPlay = false;
|
||||
}
|
||||
}
|
||||
|
@ -121,11 +121,11 @@ void Room11::chewy_bo_use() {
|
|||
_G(flags).AutoAniPlay = true;
|
||||
|
||||
stop_person(P_CHEWY);
|
||||
_G(det)->hide_static_spr(8);
|
||||
_G(det)->hideStaticSpr(8);
|
||||
start_ani_block(2, ABLOCK17);
|
||||
start_aad_wait(32, -1);
|
||||
_G(det)->stop_detail(9);
|
||||
_G(det)->show_static_spr(8);
|
||||
_G(det)->showStaticSpr(8);
|
||||
autoMove(6, P_CHEWY);
|
||||
|
||||
_G(flags).AutoAniPlay = false;
|
||||
|
|
|
@ -72,7 +72,7 @@ void Room12::entry() {
|
|||
hideCur();
|
||||
|
||||
for (int16 i = 7; i < 10; i++)
|
||||
_G(det)->show_static_spr(i);
|
||||
_G(det)->showStaticSpr(i);
|
||||
|
||||
_G(flags).NoScroll = true;
|
||||
auto_scroll(60, 0);
|
||||
|
@ -80,7 +80,7 @@ void Room12::entry() {
|
|||
_G(flags).NoScroll = false;
|
||||
|
||||
for (int16 i = 7; i < 10; i++)
|
||||
_G(det)->hide_static_spr(i);
|
||||
_G(det)->hideStaticSpr(i);
|
||||
|
||||
_G(obj)->show_sib(SIB_TALISMAN_R12);
|
||||
_G(obj)->calc_rsi_flip_flop(SIB_TALISMAN_R12);
|
||||
|
@ -93,7 +93,7 @@ void Room12::entry() {
|
|||
} else if (_G(spieler).R12Talisman && !_G(spieler).R12BorkInRohr)
|
||||
_G(timer_nr)[0] = _G(room)->set_timer(255, 20);
|
||||
else if (_G(spieler).R12BorkInRohr && !_G(spieler).R12RaumOk)
|
||||
_G(det)->show_static_spr(12);
|
||||
_G(det)->showStaticSpr(12);
|
||||
}
|
||||
|
||||
bool Room12::timer(int16 t_nr, int16 ani_nr) {
|
||||
|
@ -178,10 +178,10 @@ void Room12::bork_ok() {
|
|||
_G(mov_phasen)[R12_BORK_OBJ].Lines = 3;
|
||||
init_auto_obj(R12_BORK_OBJ, &R12_BORK_PHASEN[0][0], 3, (const MovLine *)R12_BORK_MPKT2);
|
||||
wait_auto_obj(R12_BORK_OBJ);
|
||||
_G(det)->hide_static_spr(10);
|
||||
_G(det)->hideStaticSpr(10);
|
||||
start_detail_wait(4, 1, ANI_FRONT);
|
||||
_G(talk_hide_static) = -1;
|
||||
_G(det)->show_static_spr(12);
|
||||
_G(det)->showStaticSpr(12);
|
||||
_G(atds)->set_ats_str(118, TXT_MARK_LOOK, 2, ATS_DATEI);
|
||||
_G(obj)->calc_rsi_flip_flop(SIB_ROEHRE_R12);
|
||||
|
||||
|
@ -209,7 +209,7 @@ int16 Room12::use_terminal() {
|
|||
load_chewy_taf(CHEWY_BORK);
|
||||
_G(flags).NoScroll = false;
|
||||
_G(atds)->set_ats_str(118, 0, ATS_DATEI);
|
||||
_G(det)->hide_static_spr(12);
|
||||
_G(det)->hideStaticSpr(12);
|
||||
_G(menu_item) = CUR_WALK;
|
||||
cursorChoice(_G(menu_item));
|
||||
set_person_pos(108, 90, P_CHEWY, -1);
|
||||
|
|
|
@ -54,10 +54,10 @@ void Room13::entry() {
|
|||
start_aad_wait(27, -1);
|
||||
} else {
|
||||
if (_G(spieler).R13MonitorStatus)
|
||||
_G(det)->show_static_spr(11 - _G(spieler).R13MonitorStatus);
|
||||
_G(det)->showStaticSpr(11 - _G(spieler).R13MonitorStatus);
|
||||
|
||||
if (!_G(spieler).R13BorkOk) {
|
||||
_G(det)->show_static_spr(12);
|
||||
_G(det)->showStaticSpr(12);
|
||||
_G(obj)->hide_sib(SIB_BANDKNOPF_R13);
|
||||
_G(spieler).R13Bandlauf = true;
|
||||
|
||||
|
@ -80,7 +80,7 @@ void Room13::entry() {
|
|||
}
|
||||
|
||||
if (_G(spieler).R21GitterMuell)
|
||||
_G(det)->hide_static_spr(6);
|
||||
_G(det)->hideStaticSpr(6);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -101,15 +101,15 @@ void Room13::talk_bork() {
|
|||
if (!_G(spieler).R13BorkOk) {
|
||||
_G(spieler).R13BorkOk = true;
|
||||
_G(spieler).R12ChewyBork = false;
|
||||
_G(det)->show_static_spr(13);
|
||||
_G(det)->showStaticSpr(13);
|
||||
_G(det)->set_detail_pos(10, _G(spieler_vector)[P_CHEWY].Xypos[0], _G(spieler_vector)[P_CHEWY].Xypos[1]);
|
||||
_G(det)->set_static_pos(12, _G(spieler_vector)[P_CHEWY].Xypos[0], _G(spieler_vector)[P_CHEWY].Xypos[1], false, true);
|
||||
_G(det)->setStaticPos(12, _G(spieler_vector)[P_CHEWY].Xypos[0], _G(spieler_vector)[P_CHEWY].Xypos[1], false, true);
|
||||
_G(spieler).PersonHide[P_CHEWY] = true;
|
||||
start_aad_wait(33, -1);
|
||||
_G(det)->stop_detail(9);
|
||||
_G(det)->load_taf_seq(86, 12, nullptr);
|
||||
_G(spieler).PersonHide[P_CHEWY] = false;
|
||||
_G(det)->hide_static_spr(12);
|
||||
_G(det)->hideStaticSpr(12);
|
||||
_G(auto_obj) = 1;
|
||||
|
||||
_G(mov_phasen)[R13_BORK_OBJ].AtsText = 122;
|
||||
|
@ -227,13 +227,13 @@ int16 Room13::monitor_knopf() {
|
|||
_G(spieler).PersonHide[P_CHEWY] = false;
|
||||
|
||||
if (_G(spieler).R13MonitorStatus)
|
||||
_G(det)->hide_static_spr(11 - _G(spieler).R13MonitorStatus);
|
||||
_G(det)->hideStaticSpr(11 - _G(spieler).R13MonitorStatus);
|
||||
|
||||
++_G(spieler).R13MonitorStatus;
|
||||
if (_G(spieler).R13MonitorStatus > 4)
|
||||
_G(spieler).R13MonitorStatus = 0;
|
||||
else
|
||||
_G(det)->show_static_spr(11 - _G(spieler).R13MonitorStatus);
|
||||
_G(det)->showStaticSpr(11 - _G(spieler).R13MonitorStatus);
|
||||
|
||||
_G(atds)->set_ats_str(96, TXT_MARK_LOOK, _G(spieler).R13MonitorStatus, ATS_DATEI);
|
||||
}
|
||||
|
|
|
@ -40,7 +40,7 @@ void Room14::entry() {
|
|||
if (!_G(flags).LoadGame) {
|
||||
if (_G(spieler).R14GleiterAuf) {
|
||||
set_person_pos(381, 264, P_CHEWY, P_LEFT);
|
||||
_G(det)->show_static_spr(6);
|
||||
_G(det)->showStaticSpr(6);
|
||||
_G(spieler).scrollx = 160;
|
||||
_G(spieler).scrolly = 120;
|
||||
} else {
|
||||
|
@ -60,10 +60,10 @@ bool Room14::timer(int16 t_nr, int16 ani_nr) {
|
|||
void Room14::eremit_feuer(int16 t_nr, int16 ani_nr) {
|
||||
if (!_G(flags).AutoAniPlay && !_G(spieler).R14Feuer) {
|
||||
_G(flags).AutoAniPlay = true;
|
||||
_G(det)->hide_static_spr(9);
|
||||
_G(det)->hideStaticSpr(9);
|
||||
start_detail_wait(_G(room)->_roomTimer.ObjNr[ani_nr], 1, ANI_FRONT);
|
||||
_G(uhr)->reset_timer(t_nr, 0);
|
||||
_G(det)->show_static_spr(9);
|
||||
_G(det)->showStaticSpr(9);
|
||||
_G(det)->start_detail(7, 1, ANI_FRONT);
|
||||
_G(flags).AutoAniPlay = false;
|
||||
}
|
||||
|
@ -100,7 +100,7 @@ int16 Room14::use_gleiter() {
|
|||
_G(spieler).PersonHide[P_CHEWY] = true;
|
||||
start_detail_wait(10, 1, ANI_FRONT);
|
||||
_G(spieler).PersonHide[P_CHEWY] = false;
|
||||
_G(det)->show_static_spr(6);
|
||||
_G(det)->showStaticSpr(6);
|
||||
_G(atds)->set_ats_str(107, TXT_MARK_LOOK, 1, ATS_DATEI);
|
||||
} else {
|
||||
_G(spieler).R23GleiterExit = 14;
|
||||
|
@ -166,14 +166,14 @@ void Room14::feuer() {
|
|||
_G(spieler).PersonHide[P_CHEWY] = false;
|
||||
} else {
|
||||
autoMove(7, P_CHEWY);
|
||||
_G(det)->hide_static_spr(9);
|
||||
_G(det)->hideStaticSpr(9);
|
||||
start_detail_frame(2, 1, ANI_FRONT, 9);
|
||||
_G(spieler).PersonHide[P_CHEWY] = true;
|
||||
start_detail_wait(13, 1, ANI_FRONT);
|
||||
_G(spieler).PersonHide[P_CHEWY] = false;
|
||||
wait_detail(2);
|
||||
start_detail_wait(5, 1, ANI_FRONT);
|
||||
_G(det)->show_static_spr(9);
|
||||
_G(det)->showStaticSpr(9);
|
||||
}
|
||||
|
||||
del_inventar(tmp);
|
||||
|
@ -184,9 +184,9 @@ void Room14::feuer() {
|
|||
autoMove(7, P_CHEWY);
|
||||
|
||||
start_aad_wait(26, -1);
|
||||
_G(det)->hide_static_spr(9);
|
||||
_G(det)->hideStaticSpr(9);
|
||||
start_detail_wait(3, 1, ANI_FRONT);
|
||||
_G(det)->show_static_spr(9);
|
||||
_G(det)->showStaticSpr(9);
|
||||
invent_2_slot(FLUXO_INV);
|
||||
_G(atds)->set_ats_str(105, TXT_MARK_LOOK, 1, ATS_DATEI);
|
||||
_G(spieler).R14FluxoFlex = true;
|
||||
|
|
|
@ -33,11 +33,11 @@ void Room16::entry() {
|
|||
_G(zoom_horizont) = 140;
|
||||
|
||||
if (!_G(spieler).R16F5Exit) {
|
||||
_G(det)->show_static_spr(4);
|
||||
_G(det)->showStaticSpr(4);
|
||||
_G(spieler).room_e_obj[32].Attribut = 255;
|
||||
_G(atds)->del_steuer_bit(124, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
} else {
|
||||
_G(det)->hide_static_spr(4);
|
||||
_G(det)->hideStaticSpr(4);
|
||||
_G(spieler).room_e_obj[32].Attribut = AUSGANG_LINKS;
|
||||
_G(atds)->set_steuer_bit(124, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
}
|
||||
|
|
|
@ -60,10 +60,10 @@ void Room17::entry() {
|
|||
plot_seil();
|
||||
|
||||
if (_G(spieler).R17GitterWeg)
|
||||
_G(det)->hide_static_spr(5);
|
||||
_G(det)->hideStaticSpr(5);
|
||||
|
||||
if (_G(spieler).R17DoorKommand)
|
||||
_G(det)->show_static_spr(7);
|
||||
_G(det)->showStaticSpr(7);
|
||||
|
||||
if (_G(spieler).R17Location == 1) {
|
||||
_G(flags).ZoomMov = true;
|
||||
|
@ -163,7 +163,7 @@ int16 Room17::use_seil() {
|
|||
void Room17::plot_seil() {
|
||||
if (_G(spieler).R17Seil) {
|
||||
for (int16 i = 0; i < 3; i++)
|
||||
_G(det)->show_static_spr(8 + i);
|
||||
_G(det)->showStaticSpr(8 + i);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -246,7 +246,7 @@ void Room17::door_kommando(int16 mode) {
|
|||
_G(spieler).R17DoorKommand = true;
|
||||
start_detail_wait(4, 1, ANI_FRONT);
|
||||
stop_person(P_CHEWY);
|
||||
_G(det)->show_static_spr(7);
|
||||
_G(det)->showStaticSpr(7);
|
||||
}
|
||||
} else {
|
||||
close_door();
|
||||
|
@ -262,7 +262,7 @@ void Room17::close_door() {
|
|||
_G(spieler).room_e_obj[36].Attribut = 255;
|
||||
_G(spieler).R17DoorKommand = false;
|
||||
_G(atds)->set_ats_str(144, _G(spieler).R17DoorKommand ? 1 : 0, ATS_DATEI);
|
||||
_G(det)->hide_static_spr(7);
|
||||
_G(det)->hideStaticSpr(7);
|
||||
_G(det)->start_detail(4, 1, ANI_BACK);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -92,20 +92,20 @@ void Room18::entry() {
|
|||
_G(spieler).ScrollxStep = 2;
|
||||
|
||||
if (_G(spieler).R18CartTerminal)
|
||||
_G(det)->show_static_spr(23);
|
||||
_G(det)->showStaticSpr(23);
|
||||
|
||||
if (!_G(spieler).R18SurimyWurf) {
|
||||
init_borks();
|
||||
} else {
|
||||
for (int16 i = 0; i < 5; i++)
|
||||
_G(det)->hide_static_spr(BORK_SPR[i]);
|
||||
_G(det)->hideStaticSpr(BORK_SPR[i]);
|
||||
|
||||
for (int16 i = 0; i < (4 - (_G(spieler).R18Krone ? 1 : 0)); i++)
|
||||
_G(det)->show_static_spr(BORK_SPR1[i]);
|
||||
_G(det)->showStaticSpr(BORK_SPR1[i]);
|
||||
}
|
||||
|
||||
if (_G(spieler).R16F5Exit)
|
||||
_G(det)->hide_static_spr(19);
|
||||
_G(det)->hideStaticSpr(19);
|
||||
|
||||
if (_G(spieler).R17EnergieOut) {
|
||||
_G(det)->stop_detail(0);
|
||||
|
@ -128,25 +128,25 @@ bool Room18::timer(int16 t_nr, int16 ani_nr) {
|
|||
_G(flags).AutoAniPlay = true;
|
||||
|
||||
if (t_nr == _G(timer_nr)[0]) {
|
||||
_G(det)->hide_static_spr(16);
|
||||
_G(det)->hideStaticSpr(16);
|
||||
start_detail_wait(10, 1, ANI_FRONT);
|
||||
_G(det)->show_static_spr(16);
|
||||
_G(det)->showStaticSpr(16);
|
||||
_G(uhr)->reset_timer(_G(timer_nr)[0], 10);
|
||||
} else if (t_nr == _G(timer_nr)[1]) {
|
||||
hideCur();
|
||||
_G(det)->hide_static_spr(17);
|
||||
_G(det)->hideStaticSpr(17);
|
||||
start_detail_wait(9, 1, ANI_FRONT);
|
||||
_G(det)->show_static_spr(17);
|
||||
_G(det)->showStaticSpr(17);
|
||||
|
||||
if (!_G(spieler).R18SondeMoni) {
|
||||
_G(spieler).R18SondeMoni = true;
|
||||
start_detail_wait(2, 1, ANI_FRONT);
|
||||
_G(det)->show_static_spr(9);
|
||||
_G(det)->showStaticSpr(9);
|
||||
start_detail_wait(4, 1, ANI_FRONT);
|
||||
_G(det)->show_static_spr(11);
|
||||
_G(det)->showStaticSpr(11);
|
||||
wait_show_screen(50);
|
||||
_G(det)->hide_static_spr(9);
|
||||
_G(det)->hide_static_spr(11);
|
||||
_G(det)->hideStaticSpr(9);
|
||||
_G(det)->hideStaticSpr(11);
|
||||
} else {
|
||||
monitor();
|
||||
}
|
||||
|
@ -171,10 +171,10 @@ void Room18::gedAction(int index) {
|
|||
|
||||
void Room18::init_borks() {
|
||||
for (int16 i = 0; i < 5; i++)
|
||||
_G(det)->show_static_spr(BORK_SPR[i]);
|
||||
_G(det)->showStaticSpr(BORK_SPR[i]);
|
||||
|
||||
for (int16 i = 0; i < 4; i++)
|
||||
_G(det)->hide_static_spr(BORK_SPR1[i]);
|
||||
_G(det)->hideStaticSpr(BORK_SPR1[i]);
|
||||
|
||||
_G(timer_nr)[0] = _G(room)->set_timer(255, 10);
|
||||
_G(timer_nr)[1] = _G(room)->set_timer(255, 15);
|
||||
|
@ -207,16 +207,16 @@ int16 Room18::sonden_moni() {
|
|||
hideCur();
|
||||
autoMove(8, P_CHEWY);
|
||||
start_detail_wait(3, 1, ANI_FRONT);
|
||||
_G(det)->show_static_spr(10);
|
||||
_G(det)->showStaticSpr(10);
|
||||
start_ani_block(3, ABLOCK20);
|
||||
|
||||
for (int16 i = 0; i < 3; i++)
|
||||
_G(det)->show_static_spr(i + 12);
|
||||
_G(det)->showStaticSpr(i + 12);
|
||||
|
||||
wait_show_screen(40);
|
||||
|
||||
for (int16 i = 0; i < 5; i++)
|
||||
_G(det)->hide_static_spr(i + 10);
|
||||
_G(det)->hideStaticSpr(i + 10);
|
||||
|
||||
showCur();
|
||||
}
|
||||
|
@ -267,20 +267,20 @@ int16 Room18::calc_surimy() {
|
|||
start_detail_frame(21, 1, ANI_FRONT, 14);
|
||||
_G(det)->start_detail(22, 1, ANI_FRONT);
|
||||
wait_detail(21);
|
||||
_G(det)->set_static_pos(26, 392, 170, false, true);
|
||||
_G(det)->show_static_spr(26);
|
||||
_G(det)->setStaticPos(26, 392, 170, false, true);
|
||||
_G(det)->showStaticSpr(26);
|
||||
|
||||
_G(det)->hide_static_spr(24);
|
||||
_G(det)->hideStaticSpr(24);
|
||||
start_ani_block(2, ABLOCK22);
|
||||
_G(det)->show_static_spr(20);
|
||||
_G(det)->showStaticSpr(20);
|
||||
|
||||
for (int16 i = 0; i < 3; i++)
|
||||
_G(det)->hide_static_spr(i + 15);
|
||||
_G(det)->hideStaticSpr(i + 15);
|
||||
|
||||
start_ani_block(2, ABLOCK23);
|
||||
_G(det)->show_static_spr(18);
|
||||
_G(det)->show_static_spr(19);
|
||||
_G(det)->hide_static_spr(26);
|
||||
_G(det)->showStaticSpr(18);
|
||||
_G(det)->showStaticSpr(19);
|
||||
_G(det)->hideStaticSpr(26);
|
||||
|
||||
_G(flags).NoScroll = true;
|
||||
_G(mov_phasen)[SURIMY_OBJ].Repeat = 1;
|
||||
|
@ -293,14 +293,14 @@ int16 Room18::calc_surimy() {
|
|||
start_detail_frame(21, 1, ANI_FRONT, 14);
|
||||
_G(det)->start_detail(22, 1, ANI_FRONT);
|
||||
wait_detail(21);
|
||||
_G(det)->set_static_pos(26, 143, 170, false, true);
|
||||
_G(det)->show_static_spr(26);
|
||||
_G(det)->setStaticPos(26, 143, 170, false, true);
|
||||
_G(det)->showStaticSpr(26);
|
||||
|
||||
_G(det)->hide_static_spr(25);
|
||||
_G(det)->hideStaticSpr(25);
|
||||
start_ani_block(2, ABLOCK24);
|
||||
_G(det)->show_static_spr(21);
|
||||
_G(det)->showStaticSpr(21);
|
||||
|
||||
_G(det)->hide_static_spr(26);
|
||||
_G(det)->hideStaticSpr(26);
|
||||
_G(mov_phasen)[SURIMY_OBJ].Repeat = 1;
|
||||
init_auto_obj(SURIMY_OBJ, &SURIMY_PHASEN[0][0], _G(mov_phasen)[SURIMY_OBJ].Lines, (const MovLine *)SURIMY_MPKT2);
|
||||
auto_scroll(0, 0);
|
||||
|
@ -354,12 +354,12 @@ short Room18::use_cart_moni() {
|
|||
|
||||
if (!_G(spieler).R18CartTerminal) {
|
||||
_G(atds)->set_ats_str(147, TXT_MARK_LOOK, 0, ATS_DATEI);
|
||||
_G(det)->hide_static_spr(23);
|
||||
_G(det)->hideStaticSpr(23);
|
||||
start_detail_wait(20, 1, ANI_BACK);
|
||||
} else {
|
||||
_G(atds)->set_ats_str(147, TXT_MARK_LOOK, 1, ATS_DATEI);
|
||||
start_detail_wait(20, 1, ANI_FRONT);
|
||||
_G(det)->show_static_spr(23);
|
||||
_G(det)->showStaticSpr(23);
|
||||
|
||||
if (_G(spieler).R18CartFach) {
|
||||
_G(spieler).R18CartSave = true;
|
||||
|
|
|
@ -231,7 +231,7 @@ void Room21::use_gitter_energie() {
|
|||
_G(spieler).PersonHide[P_CHEWY] = true;
|
||||
|
||||
switch_room(17);
|
||||
_G(det)->hide_static_spr(5);
|
||||
_G(det)->hideStaticSpr(5);
|
||||
start_detail_wait(9, 1, ANI_FRONT);
|
||||
_G(spieler).R17GitterWeg = true;
|
||||
_G(spieler).PersonHide[P_CHEWY] = false;
|
||||
|
|
|
@ -64,7 +64,7 @@ void Room22::entry() {
|
|||
_G(det)->load_taf_seq(36, 21, nullptr);
|
||||
_G(room)->set_timer(255, 15);
|
||||
} else if (!_G(spieler).R22GetBork) {
|
||||
_G(det)->show_static_spr(4);
|
||||
_G(det)->showStaticSpr(4);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -153,7 +153,7 @@ void Room22::bork_walk2() {
|
|||
|
||||
flic_cut(FCUT_008);
|
||||
register_cutscene(3);
|
||||
_G(det)->show_static_spr(4);
|
||||
_G(det)->showStaticSpr(4);
|
||||
_G(atds)->del_steuer_bit(81, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
_G(spieler).R22BorkPlatt = true;
|
||||
_G(atds)->set_steuer_bit(79, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
|
@ -162,7 +162,7 @@ void Room22::bork_walk2() {
|
|||
void Room22::get_bork() {
|
||||
if (!_G(spieler).R22GetBork && _G(spieler).R22BorkPlatt) {
|
||||
autoMove(4, P_CHEWY);
|
||||
_G(det)->hide_static_spr(4);
|
||||
_G(det)->hideStaticSpr(4);
|
||||
_G(spieler).PersonHide[P_CHEWY] = true;
|
||||
start_ani_block(2, ABLOCK14);
|
||||
set_person_pos(171, 120, P_CHEWY, P_LEFT);
|
||||
|
|
|
@ -48,9 +48,9 @@ void Room23::cockpit() {
|
|||
switch_room(23);
|
||||
|
||||
if (!_G(spieler).R23Cartridge || !_G(spieler).R25GleiteLoesch)
|
||||
_G(det)->hide_static_spr(3);
|
||||
_G(det)->hideStaticSpr(3);
|
||||
else
|
||||
_G(det)->show_static_spr(3);
|
||||
_G(det)->showStaticSpr(3);
|
||||
}
|
||||
|
||||
int16 Room23::start_gleiter() {
|
||||
|
@ -135,7 +135,7 @@ void Room23::use_cartridge() {
|
|||
_G(atds)->del_steuer_bit(171, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
_G(atds)->set_ats_str(111, 2, ATS_DATEI);
|
||||
start_detail_wait(4, 1, ANI_FRONT);
|
||||
_G(det)->show_static_spr(3);
|
||||
_G(det)->showStaticSpr(3);
|
||||
} else {
|
||||
_G(atds)->set_ats_str(111, 1, ATS_DATEI);
|
||||
}
|
||||
|
@ -148,7 +148,7 @@ void Room23::get_cartridge() {
|
|||
_G(atds)->set_steuer_bit(171, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
|
||||
_G(spieler).R23Cartridge = false;
|
||||
_G(det)->hide_static_spr(3);
|
||||
_G(det)->hideStaticSpr(3);
|
||||
}
|
||||
|
||||
} // namespace Rooms
|
||||
|
|
|
@ -48,9 +48,9 @@ void Room24::entry() {
|
|||
cursorChoice(CUR_USER);
|
||||
|
||||
if (_G(spieler).R16F5Exit)
|
||||
_G(det)->show_static_spr(10);
|
||||
_G(det)->showStaticSpr(10);
|
||||
else
|
||||
_G(det)->hide_static_spr(10);
|
||||
_G(det)->hideStaticSpr(10);
|
||||
|
||||
calc_hebel_spr();
|
||||
calc_animation(255);
|
||||
|
@ -90,11 +90,11 @@ void Room24::use_hebel(int16 txt_nr) {
|
|||
g_engine->_sound->playSound(1, 0);
|
||||
g_engine->_sound->stopSound(1);
|
||||
_G(det)->start_detail(1, 1, ANI_FRONT);
|
||||
_G(det)->show_static_spr(10);
|
||||
_G(det)->showStaticSpr(10);
|
||||
_G(atds)->set_ats_str(164, TXT_MARK_NAME, 1, ATS_DATEI);
|
||||
|
||||
} else if (_G(spieler).R16F5Exit) {
|
||||
_G(det)->hide_static_spr(10);
|
||||
_G(det)->hideStaticSpr(10);
|
||||
g_engine->_sound->playSound(1, 1);
|
||||
g_engine->_sound->stopSound(0);
|
||||
_G(det)->start_detail(1, 1, ANI_BACK);
|
||||
|
@ -116,9 +116,9 @@ void Room24::calc_hebel_spr() {
|
|||
|
||||
for (int16 i = 0; i < 3; i++) {
|
||||
for (int16 j = 0; j < 3; j++)
|
||||
_G(det)->hide_static_spr(1 + j + i * 3);
|
||||
_G(det)->hideStaticSpr(1 + j + i * 3);
|
||||
|
||||
_G(det)->show_static_spr(1 + _G(spieler).R24Hebel[i] + i * 3);
|
||||
_G(det)->showStaticSpr(1 + _G(spieler).R24Hebel[i] + i * 3);
|
||||
_G(atds)->set_ats_str(166 + i, TXT_MARK_NAME, _G(spieler).R24Hebel[i], ATS_DATEI);
|
||||
}
|
||||
}
|
||||
|
@ -131,7 +131,7 @@ void Room24::calc_animation(int16 kristall_nr) {
|
|||
int16 ani_nr = _G(spieler).R24KristallLast[kristall_nr] == 13 ? 7 : 8;
|
||||
g_engine->_sound->playSound(ani_nr + kristall_nr * 4, 0);
|
||||
g_engine->_sound->stopSound(0);
|
||||
_G(det)->hide_static_spr(_G(spieler).R24KristallLast[kristall_nr] + kristall_nr * 2);
|
||||
_G(det)->hideStaticSpr(_G(spieler).R24KristallLast[kristall_nr] + kristall_nr * 2);
|
||||
start_detail_wait(ani_nr + kristall_nr * 4, 1, ANI_BACK);
|
||||
start_detail_wait(6 + kristall_nr * 4, 1, ANI_BACK);
|
||||
_G(det)->start_detail(5 + kristall_nr * 4, 255, ANI_BACK);
|
||||
|
@ -149,10 +149,10 @@ void Room24::calc_animation(int16 kristall_nr) {
|
|||
}
|
||||
|
||||
for (int16 i = 0; i < 6; i++)
|
||||
_G(det)->hide_static_spr(13 + i);
|
||||
_G(det)->hideStaticSpr(13 + i);
|
||||
|
||||
for (int16 i = 0; i < 3; i++) {
|
||||
_G(det)->show_static_spr(KRISTALL_SPR[i][_G(spieler).R24Hebel[i]] + i * 2);
|
||||
_G(det)->showStaticSpr(KRISTALL_SPR[i][_G(spieler).R24Hebel[i]] + i * 2);
|
||||
_G(spieler).R24KristallLast[i] = KRISTALL_SPR[i][_G(spieler).R24Hebel[i]];
|
||||
}
|
||||
}
|
||||
|
|
|
@ -52,8 +52,8 @@ void Room25::entry() {
|
|||
}
|
||||
|
||||
if (!_G(spieler).R29Schlauch2) {
|
||||
_G(det)->hide_static_spr(0);
|
||||
_G(det)->hide_static_spr(1);
|
||||
_G(det)->hideStaticSpr(0);
|
||||
_G(det)->hideStaticSpr(1);
|
||||
}
|
||||
|
||||
if (!_G(spieler).R25FirstEntry) {
|
||||
|
|
|
@ -36,13 +36,13 @@ void Room28::entry(int16 eib_nr) {
|
|||
_G(spieler).ScrollxStep = 2;
|
||||
|
||||
if (_G(spieler).R28RKuerbis)
|
||||
_G(det)->show_static_spr(6);
|
||||
_G(det)->showStaticSpr(6);
|
||||
|
||||
if (_G(spieler).R28Briefkasten) {
|
||||
_G(det)->show_static_spr(8);
|
||||
_G(det)->show_static_spr(9);
|
||||
_G(det)->showStaticSpr(8);
|
||||
_G(det)->showStaticSpr(9);
|
||||
} else {
|
||||
_G(det)->show_static_spr(7);
|
||||
_G(det)->showStaticSpr(7);
|
||||
}
|
||||
|
||||
if (_G(spieler).PersonRoomNr[P_HOWARD] == 28) {
|
||||
|
@ -77,7 +77,7 @@ void Room28::entry(int16 eib_nr) {
|
|||
|
||||
auto_scroll(0, 0);
|
||||
flic_cut(FCUT_064);
|
||||
_G(det)->show_static_spr(6);
|
||||
_G(det)->showStaticSpr(6);
|
||||
|
||||
if (!_G(spieler).R40TeilKarte) {
|
||||
_G(out)->ausblenden(0);
|
||||
|
@ -322,9 +322,9 @@ int16 Room28::use_breifkasten() {
|
|||
_G(spieler).R28Briefkasten = false;
|
||||
autoMove(7, P_CHEWY);
|
||||
start_spz_wait(CH_LGET_O, 1, false, P_CHEWY);
|
||||
_G(det)->hide_static_spr(8);
|
||||
_G(det)->hide_static_spr(9);
|
||||
_G(det)->show_static_spr(7);
|
||||
_G(det)->hideStaticSpr(8);
|
||||
_G(det)->hideStaticSpr(9);
|
||||
_G(det)->showStaticSpr(7);
|
||||
autoMove(8, P_CHEWY);
|
||||
start_spz(CH_LGET_O, 1, ANI_FRONT, P_CHEWY);
|
||||
start_aad_wait(179, -1);
|
||||
|
|
|
@ -44,17 +44,17 @@ static const AniBlock ABLOCK27[5] = {
|
|||
|
||||
void Room29::entry() {
|
||||
if (_G(spieler).R29Schlauch1) {
|
||||
_G(det)->show_static_spr(7);
|
||||
_G(det)->showStaticSpr(7);
|
||||
} else if (_G(spieler).R29Schlauch2) {
|
||||
_G(det)->show_static_spr(8);
|
||||
_G(det)->show_static_spr(10);
|
||||
_G(det)->showStaticSpr(8);
|
||||
_G(det)->showStaticSpr(10);
|
||||
}
|
||||
|
||||
if (_G(spieler).R29AutoSitz) {
|
||||
if (_G(spieler).ChewyAni == CHEWY_ROCKER)
|
||||
_G(atds)->set_steuer_bit(212, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
else
|
||||
_G(det)->show_static_spr(9);
|
||||
_G(det)->showStaticSpr(9);
|
||||
}
|
||||
|
||||
_G(spieler).ScrollxStep = 2;
|
||||
|
@ -77,7 +77,7 @@ int16 Room29::use_pumpe() {
|
|||
_G(spieler).R29Schlauch1 = true;
|
||||
autoMove(1, P_CHEWY);
|
||||
start_spz_wait(CH_LGET_O, 1, false, P_CHEWY);
|
||||
_G(det)->show_static_spr(7);
|
||||
_G(det)->showStaticSpr(7);
|
||||
_G(atds)->del_steuer_bit(218, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
del_inventar(SCHLAUCH_INV);
|
||||
} else if (!_G(spieler).inv_cur) {
|
||||
|
@ -115,11 +115,11 @@ bool Room29::use_schlauch() {
|
|||
|
||||
autoMove(2, P_CHEWY);
|
||||
start_spz_wait(CH_LGET_U, 1, false, P_CHEWY);
|
||||
_G(det)->hide_static_spr(7);
|
||||
_G(det)->hideStaticSpr(7);
|
||||
_G(spieler).PersonHide[P_CHEWY] = true;
|
||||
start_detail_wait(4, 1, ANI_FRONT);
|
||||
_G(det)->show_static_spr(8);
|
||||
_G(det)->show_static_spr(10);
|
||||
_G(det)->showStaticSpr(8);
|
||||
_G(det)->showStaticSpr(10);
|
||||
_G(atds)->del_steuer_bit(219, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
_G(atds)->set_ats_str(218, 1, ATS_DATEI);
|
||||
|
||||
|
@ -139,11 +139,11 @@ void Room29::schlitz_sitz() {
|
|||
hideCur();
|
||||
_G(spieler).R29AutoSitz = true;
|
||||
_G(spieler).PersonHide[P_CHEWY] = true;
|
||||
_G(det)->hide_static_spr(4);
|
||||
_G(det)->show_static_spr(11);
|
||||
_G(det)->hideStaticSpr(4);
|
||||
_G(det)->showStaticSpr(11);
|
||||
start_ani_block(3, ABLOCK26);
|
||||
_G(det)->show_static_spr(9);
|
||||
_G(det)->hide_static_spr(11);
|
||||
_G(det)->showStaticSpr(9);
|
||||
_G(det)->hideStaticSpr(11);
|
||||
_G(det)->start_detail(2, 255, ANI_FRONT);
|
||||
start_aad_wait(63, -1);
|
||||
|
||||
|
@ -167,7 +167,7 @@ int16 Room29::zaun_sprung() {
|
|||
autoMove(3, P_CHEWY);
|
||||
_G(spieler).PersonHide[P_CHEWY] = true;
|
||||
start_detail_frame(3, 1, ANI_FRONT, 7);
|
||||
_G(det)->hide_static_spr(9);
|
||||
_G(det)->hideStaticSpr(9);
|
||||
start_ani_block(5, ABLOCK27);
|
||||
set_up_screen(DO_SETUP);
|
||||
|
||||
|
|
|
@ -75,7 +75,7 @@ void Room31::surimy_go() {
|
|||
void Room31::calc_luke() {
|
||||
if (!_G(spieler).R31KlappeZu) {
|
||||
for (int16 i = 0; i < 3; i++)
|
||||
_G(det)->show_static_spr(5 + i);
|
||||
_G(det)->showStaticSpr(5 + i);
|
||||
|
||||
_G(atds)->set_ats_str(244, 1, ATS_DATEI);
|
||||
_G(atds)->del_steuer_bit(245, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
|
@ -83,7 +83,7 @@ void Room31::calc_luke() {
|
|||
|
||||
} else {
|
||||
for (int16 i = 0; i < 3; i++)
|
||||
_G(det)->hide_static_spr(5 + i);
|
||||
_G(det)->hideStaticSpr(5 + i);
|
||||
|
||||
_G(atds)->set_ats_str(244, 0, ATS_DATEI);
|
||||
_G(atds)->set_steuer_bit(245, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
|
|
|
@ -29,9 +29,9 @@ namespace Rooms {
|
|||
|
||||
void Room32::entry() {
|
||||
if (_G(spieler).R32HowardWeg)
|
||||
_G(det)->hide_static_spr(0);
|
||||
_G(det)->hideStaticSpr(0);
|
||||
if (!_G(spieler).R32Script && _G(spieler).R32UseSchreib)
|
||||
_G(det)->show_static_spr(5);
|
||||
_G(det)->showStaticSpr(5);
|
||||
}
|
||||
|
||||
int16 Room32::use_howard() {
|
||||
|
@ -57,13 +57,13 @@ int16 Room32::use_howard() {
|
|||
start_aad_wait(125, -1);
|
||||
wait_show_screen(10);
|
||||
|
||||
_G(det)->hide_static_spr(0);
|
||||
_G(det)->hideStaticSpr(0);
|
||||
start_detail_frame(0, 1, ANI_FRONT, 9);
|
||||
start_detail_wait(1, 1, ANI_BACK);
|
||||
_G(det)->show_static_spr(7);
|
||||
_G(det)->show_static_spr(6);
|
||||
_G(det)->showStaticSpr(7);
|
||||
_G(det)->showStaticSpr(6);
|
||||
wait_show_screen(20);
|
||||
_G(det)->hide_static_spr(7);
|
||||
_G(det)->hideStaticSpr(7);
|
||||
start_detail_wait(1, 1, ANI_FRONT);
|
||||
start_spz(CH_TALK3, 255, ANI_FRONT, P_CHEWY);
|
||||
ani_nr = CH_TALK3;
|
||||
|
@ -109,7 +109,7 @@ void Room32::use_schreibmaschine() {
|
|||
cur_2_inventory();
|
||||
flic_cut(FCUT_044);
|
||||
register_cutscene(12);
|
||||
_G(det)->show_static_spr(5);
|
||||
_G(det)->showStaticSpr(5);
|
||||
_G(atds)->set_ats_str(203, 1, ATS_DATEI);
|
||||
ani_nr = CH_TALK3;
|
||||
dia_nr = 88;
|
||||
|
@ -157,7 +157,7 @@ int16 Room32::get_script() {
|
|||
autoMove(4, P_CHEWY);
|
||||
invent_2_slot(MANUSKRIPT_INV);
|
||||
start_spz_wait(CH_LGET_U, 1, false, P_CHEWY);
|
||||
_G(det)->hide_static_spr(5);
|
||||
_G(det)->hideStaticSpr(5);
|
||||
_G(atds)->set_ats_str(203, 0, ATS_DATEI);
|
||||
start_spz(CH_TALK3, 1, ANI_FRONT, P_CHEWY);
|
||||
start_aad_wait(91, -1);
|
||||
|
|
|
@ -36,7 +36,7 @@ static const MovLine SURIMY_MPKT[2] = {
|
|||
|
||||
void Room33::entry() {
|
||||
if (_G(spieler).R33MunterGet)
|
||||
_G(det)->hide_static_spr(3);
|
||||
_G(det)->hideStaticSpr(3);
|
||||
surimy_go();
|
||||
}
|
||||
|
||||
|
@ -206,7 +206,7 @@ int16 Room33::get_munter() {
|
|||
start_spz_wait(CH_LGET_O, 1, false, P_CHEWY);
|
||||
invent_2_slot(MUNTER_INV);
|
||||
_G(atds)->set_steuer_bit(225, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
_G(det)->hide_static_spr(3);
|
||||
_G(det)->hideStaticSpr(3);
|
||||
start_spz(CH_TALK3, 255, ANI_FRONT, P_CHEWY);
|
||||
start_aad_wait(72, -1);
|
||||
showCur();
|
||||
|
|
|
@ -37,7 +37,7 @@ static const AniBlock ABLOCK28[2] = {
|
|||
|
||||
void Room35::entry() {
|
||||
if (_G(spieler).R35Schublade)
|
||||
_G(det)->show_static_spr(1);
|
||||
_G(det)->showStaticSpr(1);
|
||||
}
|
||||
|
||||
int16 Room35::schublade() {
|
||||
|
@ -49,7 +49,7 @@ int16 Room35::schublade() {
|
|||
action_flag = true;
|
||||
autoMove(3, P_CHEWY);
|
||||
start_spz_wait(CH_LGET_O, 1, false, P_CHEWY);
|
||||
_G(det)->show_static_spr(1);
|
||||
_G(det)->showStaticSpr(1);
|
||||
_G(spieler).R35Schublade = true;
|
||||
_G(atds)->set_ats_str(234, 1, ATS_DATEI);
|
||||
} else if (!_G(spieler).R35Falle) {
|
||||
|
@ -98,7 +98,7 @@ int16 Room35::use_cat() {
|
|||
start_detail_wait(3, 1, ANI_FRONT);
|
||||
_G(obj)->show_sib(SIB_KNOCHEN_R35);
|
||||
_G(obj)->calc_rsi_flip_flop(SIB_KNOCHEN_R35);
|
||||
_G(det)->show_static_spr(7);
|
||||
_G(det)->showStaticSpr(7);
|
||||
_G(atds)->del_steuer_bit(237, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
|
||||
while (_G(det)->get_ani_status(2) && !SHOULD_QUIT) {
|
||||
|
|
|
@ -62,12 +62,12 @@ void Room37::entry() {
|
|||
}
|
||||
|
||||
if (_G(spieler).R37Gebiss) {
|
||||
_G(det)->hide_static_spr(9);
|
||||
_G(det)->hideStaticSpr(9);
|
||||
|
||||
if (_G(spieler).R37Kloppe) {
|
||||
_G(det)->hide_static_spr(8);
|
||||
_G(det)->hideStaticSpr(8);
|
||||
} else if (_G(spieler).R37HundScham) {
|
||||
_G(det)->show_static_spr(0);
|
||||
_G(det)->showStaticSpr(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -138,7 +138,7 @@ int16 Room37::cut_serv1(int16 frame) {
|
|||
if (!_G(spieler).R37Gebiss) {
|
||||
_G(det)->plot_static_details(scrollx, scrolly, 9, 9);
|
||||
_G(det)->plot_static_details(scrollx, scrolly, 11, 11);
|
||||
_G(det)->show_static_spr(11);
|
||||
_G(det)->showStaticSpr(11);
|
||||
} else {
|
||||
_G(det)->plot_static_details(scrollx, scrolly, 8, 8);
|
||||
_G(det)->plot_static_details(scrollx, scrolly, 0, 0);
|
||||
|
@ -153,8 +153,8 @@ int16 Room37::cut_serv1(int16 frame) {
|
|||
int16 Room37::cut_serv2(int16 frame) {
|
||||
static const int16 STATIC_NR[] = { 7, 14, 12, 10 };
|
||||
|
||||
_G(det)->show_static_spr(12);
|
||||
_G(det)->show_static_spr(10);
|
||||
_G(det)->showStaticSpr(12);
|
||||
_G(det)->showStaticSpr(10);
|
||||
for (short i = 0; i < 4; i++)
|
||||
_G(det)->plot_static_details(_G(spieler).scrollx, _G(spieler).scrolly, STATIC_NR[i], STATIC_NR[i]);
|
||||
|
||||
|
@ -178,7 +178,7 @@ int16 Room37::use_glas() {
|
|||
flic_cut(FCUT_048);
|
||||
flic_cut(FCUT_049);
|
||||
invent_2_slot(GEBISS_INV);
|
||||
_G(det)->hide_static_spr(9);
|
||||
_G(det)->hideStaticSpr(9);
|
||||
_G(atds)->set_ats_str(250, 1, ATS_DATEI);
|
||||
_G(atds)->set_ats_str(256, 1, ATS_DATEI);
|
||||
_G(atds)->del_steuer_bit(251, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
|
@ -216,7 +216,7 @@ void Room37::dog_bell() {
|
|||
_G(det)->stop_detail(3);
|
||||
_G(det)->del_static_ani(3);
|
||||
start_detail_wait(5, 1, ANI_FRONT);
|
||||
_G(det)->hide_static_spr(9);
|
||||
_G(det)->hideStaticSpr(9);
|
||||
start_detail_wait(6, 1, ANI_FRONT);
|
||||
_G(spieler).PersonHide[P_CHEWY] = true;
|
||||
_G(det)->start_detail(11, 255, ANI_FRONT);
|
||||
|
@ -225,7 +225,7 @@ void Room37::dog_bell() {
|
|||
_G(det)->stop_detail(11);
|
||||
set_person_pos(326, 85, P_CHEWY, P_LEFT);
|
||||
_G(spieler).PersonHide[P_CHEWY] = false;
|
||||
_G(det)->show_static_spr(9);
|
||||
_G(det)->showStaticSpr(9);
|
||||
start_ani_block(3, ABLOCK31);
|
||||
_G(det)->set_static_ani(3, -1);
|
||||
g_engine->_sound->playSound(3, 0);
|
||||
|
@ -247,7 +247,7 @@ void Room37::dog_bell() {
|
|||
_G(spieler).scrollx = 104;
|
||||
flic_cut(FCUT_054);
|
||||
register_cutscene(10);
|
||||
_G(det)->show_static_spr(0);
|
||||
_G(det)->showStaticSpr(0);
|
||||
|
||||
_G(spieler).R37HundScham = true;
|
||||
dia_nr = 148;
|
||||
|
@ -315,7 +315,7 @@ void Room37::use_hahn() {
|
|||
}
|
||||
|
||||
_G(det)->start_detail(4, 1, ANI_FRONT);
|
||||
_G(det)->hide_static_spr(0);
|
||||
_G(det)->hideStaticSpr(0);
|
||||
_G(det)->start_detail(10, 10, ANI_FRONT);
|
||||
autoMove(8, P_CHEWY);
|
||||
flic_cut(FCUT_053);
|
||||
|
@ -326,7 +326,7 @@ void Room37::use_hahn() {
|
|||
_G(atds)->set_steuer_bit(251, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
_G(atds)->set_steuer_bit(250, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
_G(atds)->set_steuer_bit(256, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
_G(det)->hide_static_spr(8);
|
||||
_G(det)->hideStaticSpr(8);
|
||||
start_spz(CH_TALK5, 255, ANI_FRONT, P_CHEWY);
|
||||
start_aad_wait(141, -1);
|
||||
_G(obj)->addInventory(EIER_INV, &_G(room_blk));
|
||||
|
|
|
@ -53,7 +53,7 @@ static const AniBlock ABLOCK29[2] = {
|
|||
void Room39::entry() {
|
||||
if (!_G(spieler).R41Einbruch) {
|
||||
if (_G(spieler).R39HowardDa) {
|
||||
_G(det)->show_static_spr(10);
|
||||
_G(det)->showStaticSpr(10);
|
||||
if (!_G(spieler).R39HowardWach)
|
||||
_G(det)->start_detail(1, 255, ANI_FRONT);
|
||||
else
|
||||
|
@ -335,14 +335,14 @@ void Room39::look_tv(bool cls_mode) {
|
|||
|
||||
void Room39::set_tv() {
|
||||
for (int16 i = 0; i < 6; i++)
|
||||
_G(det)->hide_static_spr(i + 4);
|
||||
_G(det)->hideStaticSpr(i + 4);
|
||||
|
||||
if (_G(spieler).R39TvOn) {
|
||||
if (_G(spieler).R39TvKanal == 2) {
|
||||
_G(det)->start_detail(0, 255, ANI_FRONT);
|
||||
} else {
|
||||
_G(det)->stop_detail(0);
|
||||
_G(det)->show_static_spr(_G(spieler).R39TvKanal + 4);
|
||||
_G(det)->showStaticSpr(_G(spieler).R39TvKanal + 4);
|
||||
}
|
||||
|
||||
if (_G(spieler).R39TranslatorUsed) {
|
||||
|
|
|
@ -57,7 +57,7 @@ void Room40::entry(int16 eib_nr) {
|
|||
_G(timer_nr)[0] = _G(room)->set_timer(255, 10);
|
||||
_G(atds)->del_steuer_bit(275, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
} else {
|
||||
_G(det)->hide_static_spr(15);
|
||||
_G(det)->hideStaticSpr(15);
|
||||
}
|
||||
|
||||
_G(spieler).R40PoliceAniStatus = 255;
|
||||
|
@ -172,20 +172,20 @@ void Room40::move_train(int16 mode) {
|
|||
int16 ax = -230;
|
||||
|
||||
_G(det)->start_detail(7, 20, ANI_FRONT);
|
||||
_G(det)->show_static_spr(11);
|
||||
_G(det)->showStaticSpr(11);
|
||||
|
||||
if (mode && _G(spieler).ChewyAni == CHEWY_PUMPKIN)
|
||||
_G(det)->show_static_spr(12);
|
||||
_G(det)->showStaticSpr(12);
|
||||
|
||||
g_engine->_sound->playSound(7, 0);
|
||||
int16 delay = 0;
|
||||
|
||||
while (ax < 560) {
|
||||
_G(det)->set_detail_pos(7, lx, 46);
|
||||
_G(det)->set_static_pos(11, ax, 62, false, false);
|
||||
_G(det)->setStaticPos(11, ax, 62, false, false);
|
||||
|
||||
if (mode && _G(spieler).ChewyAni == CHEWY_PUMPKIN)
|
||||
_G(det)->set_static_pos(12, ax, 62, false, true);
|
||||
_G(det)->setStaticPos(12, ax, 62, false, true);
|
||||
|
||||
if (!delay) {
|
||||
lx += SPEED;
|
||||
|
@ -200,8 +200,8 @@ void Room40::move_train(int16 mode) {
|
|||
}
|
||||
|
||||
_G(det)->stop_detail(7);
|
||||
_G(det)->hide_static_spr(11);
|
||||
_G(det)->hide_static_spr(12);
|
||||
_G(det)->hideStaticSpr(11);
|
||||
_G(det)->hideStaticSpr(12);
|
||||
|
||||
if (!mode) {
|
||||
start_aad_wait(207, -1);
|
||||
|
@ -244,7 +244,7 @@ void Room40::setup_func() {
|
|||
_G(spieler).R40PoliceAniStatus = POLICE_LEFT;
|
||||
_G(room)->set_timer_status(255, TIMER_STOP);
|
||||
_G(uhr)->reset_timer(_G(timer_nr)[0], 0);
|
||||
_G(det)->hide_static_spr(15);
|
||||
_G(det)->hideStaticSpr(15);
|
||||
_G(det)->start_detail(POLICE_LEFT, 1, ANI_FRONT);
|
||||
_G(atds)->set_steuer_bit(275, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
}
|
||||
|
@ -259,7 +259,7 @@ void Room40::setup_func() {
|
|||
|
||||
case POLICE_OFFEN:
|
||||
if (_G(det)->get_ani_status(POLICE_OFFEN) == false) {
|
||||
_G(det)->show_static_spr(0);
|
||||
_G(det)->showStaticSpr(0);
|
||||
_G(det)->start_detail(POLICE_FLASCHE, 1, ANI_FRONT);
|
||||
_G(spieler).R40PoliceAniStatus = POLICE_FLASCHE;
|
||||
}
|
||||
|
@ -267,7 +267,7 @@ void Room40::setup_func() {
|
|||
|
||||
case POLICE_RIGHT:
|
||||
if (_G(det)->get_ani_status(POLICE_RIGHT) == false) {
|
||||
_G(det)->show_static_spr(15);
|
||||
_G(det)->showStaticSpr(15);
|
||||
_G(spieler).R40PoliceAniStatus = 255;
|
||||
_G(room)->set_timer_status(255, TIMER_START);
|
||||
_G(uhr)->reset_timer(_G(timer_nr)[0], 0);
|
||||
|
@ -277,7 +277,7 @@ void Room40::setup_func() {
|
|||
|
||||
case POLICE_FLASCHE:
|
||||
if (_G(det)->get_ani_status(POLICE_FLASCHE) == false) {
|
||||
_G(det)->hide_static_spr(0);
|
||||
_G(det)->hideStaticSpr(0);
|
||||
if (_G(spieler).R40DuengerTele) {
|
||||
hideCur();
|
||||
_G(spieler).R40PoliceWeg = true;
|
||||
|
@ -396,13 +396,13 @@ int16 Room40::use_schalter(int16 aad_nr) {
|
|||
_G(spieler).R40HoUse = false;
|
||||
}
|
||||
|
||||
_G(det)->hide_static_spr(15);
|
||||
_G(det)->hideStaticSpr(15);
|
||||
start_detail_wait(12, 1, ANI_FRONT);
|
||||
_G(det)->set_static_ani(14, -1);
|
||||
start_aad_wait(aad_nr, -1);
|
||||
_G(det)->del_static_ani(14);
|
||||
start_detail_wait(13, 1, ANI_FRONT);
|
||||
_G(det)->show_static_spr(15);
|
||||
_G(det)->showStaticSpr(15);
|
||||
_G(room)->set_timer_status(255, TIMER_START);
|
||||
_G(uhr)->reset_timer(_G(timer_nr)[0], 0);
|
||||
showCur();
|
||||
|
@ -613,7 +613,7 @@ int16 Room40::use_tele() {
|
|||
|
||||
} else {
|
||||
autoMove(13, P_CHEWY);
|
||||
_G(det)->show_static_spr(0);
|
||||
_G(det)->showStaticSpr(0);
|
||||
|
||||
int16 dia_nr;
|
||||
if (!_G(spieler).R40DuengerMit) {
|
||||
|
@ -626,7 +626,7 @@ int16 Room40::use_tele() {
|
|||
|
||||
start_aad_wait(dia_nr, -1);
|
||||
autoMove(11, P_HOWARD);
|
||||
_G(det)->hide_static_spr(0);
|
||||
_G(det)->hideStaticSpr(0);
|
||||
autoMove(9, P_CHEWY);
|
||||
start_aad_wait(dia_nr1, -1);
|
||||
_G(spieler).R40HoUse = false;
|
||||
|
|
|
@ -55,8 +55,8 @@ void Room41::entry() {
|
|||
|
||||
if (_G(spieler).R41Einbruch) {
|
||||
_G(atds)->del_steuer_bit(271, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
_G(det)->show_static_spr(6);
|
||||
_G(det)->show_static_spr(7);
|
||||
_G(det)->showStaticSpr(6);
|
||||
_G(det)->showStaticSpr(7);
|
||||
}
|
||||
|
||||
if (_G(spieler).ChewyAni == CHEWY_ROCKER) {
|
||||
|
|
|
@ -213,7 +213,7 @@ void Room45::taxi_mov() {
|
|||
_G(room)->set_timer_status(12, TIMER_STOP);
|
||||
_G(det)->del_static_ani(12);
|
||||
g_engine->_sound->playSound(15, 1);
|
||||
_G(det)->show_static_spr(11);
|
||||
_G(det)->showStaticSpr(11);
|
||||
autoMove(3, P_CHEWY);
|
||||
_G(spieler).PersonHide[P_CHEWY] = true;
|
||||
_G(spieler).R48TaxiPerson[P_CHEWY] = true;
|
||||
|
@ -225,7 +225,7 @@ void Room45::taxi_mov() {
|
|||
_G(spieler).PersonRoomNr[P_HOWARD] = 48;
|
||||
}
|
||||
|
||||
_G(det)->hide_static_spr(11);
|
||||
_G(det)->hideStaticSpr(11);
|
||||
g_engine->_sound->playSound(15, 2);
|
||||
g_engine->_sound->playSound(15, 2, false);
|
||||
g_engine->_sound->playSound(15, 0);
|
||||
|
|
|
@ -98,7 +98,7 @@ void Room46::setup_func() {
|
|||
|
||||
void Room46::bodo() {
|
||||
hideCur();
|
||||
_G(det)->show_static_spr(0);
|
||||
_G(det)->showStaticSpr(0);
|
||||
_G(person_end_phase)[P_CHEWY] = P_RIGHT;
|
||||
start_aad_wait(240, -1);
|
||||
_G(spieler_mi)[P_CHEWY].Mode = true;
|
||||
|
@ -114,20 +114,20 @@ void Room46::bodo() {
|
|||
_G(det)->start_detail(5, 255, ANI_FRONT);
|
||||
start_aad_wait(241, -1);
|
||||
_G(det)->stop_detail(5);
|
||||
_G(det)->show_static_spr(5);
|
||||
_G(det)->showStaticSpr(5);
|
||||
start_aad_wait(609, -1);
|
||||
_G(det)->hide_static_spr(5);
|
||||
_G(det)->hideStaticSpr(5);
|
||||
start_detail_wait(2, 1, ANI_FRONT);
|
||||
start_detail_wait(3, 1, ANI_FRONT);
|
||||
_G(det)->start_detail(4, 255, ANI_FRONT);
|
||||
start_aad_wait(242, -1);
|
||||
_G(det)->stop_detail(4);
|
||||
|
||||
_G(det)->show_static_spr(6);
|
||||
_G(det)->showStaticSpr(6);
|
||||
start_aad_wait(610, -1);
|
||||
_G(det)->hide_static_spr(6);
|
||||
_G(det)->hideStaticSpr(6);
|
||||
start_detail_wait(6, 1, ANI_FRONT);
|
||||
_G(det)->show_static_spr(3);
|
||||
_G(det)->showStaticSpr(3);
|
||||
_G(spieler).PersonHide[P_CHEWY] = true;
|
||||
start_detail_wait(1, 1, ANI_FRONT);
|
||||
flic_cut(FCUT_065);
|
||||
|
@ -136,8 +136,8 @@ void Room46::bodo() {
|
|||
register_cutscene(16);
|
||||
|
||||
_G(spieler).PersonHide[P_CHEWY] = false;
|
||||
_G(det)->hide_static_spr(0);
|
||||
_G(det)->hide_static_spr(3);
|
||||
_G(det)->hideStaticSpr(0);
|
||||
_G(det)->hideStaticSpr(3);
|
||||
load_chewy_taf(CHEWY_ROCKER);
|
||||
_G(spieler).R28ChewyPump = false;
|
||||
|
||||
|
|
|
@ -86,16 +86,16 @@ int16 Room47::use_knopf(int16 txt_nr) {
|
|||
|
||||
void Room47::set_detail() {
|
||||
for (int16 i = 0; i < 10; i++)
|
||||
_G(det)->hide_static_spr(i);
|
||||
_G(det)->hideStaticSpr(i);
|
||||
|
||||
for (int16 i = 0; i < 3; i++) {
|
||||
_G(det)->show_static_spr(_G(spieler).R47Schloss[i]);
|
||||
_G(det)->set_static_pos(_G(spieler).R47Schloss[i], 124 + i * 30, 96 - i, false, true);
|
||||
_G(det)->showStaticSpr(_G(spieler).R47Schloss[i]);
|
||||
_G(det)->setStaticPos(_G(spieler).R47Schloss[i], 124 + i * 30, 96 - i, false, true);
|
||||
_G(det)->plot_static_details(0, 0, _G(spieler).R47Schloss[i], _G(spieler).R47Schloss[i]);
|
||||
}
|
||||
|
||||
for (int16 i = 0; i < 10; i++)
|
||||
_G(det)->hide_static_spr(i);
|
||||
_G(det)->hideStaticSpr(i);
|
||||
}
|
||||
|
||||
} // namespace Rooms
|
||||
|
|
|
@ -61,13 +61,13 @@ void Room48::calc_pic() {
|
|||
if (_G(obj)->checkInventory(VCARD_INV)) {
|
||||
_G(spieler).R48Auswahl[3] = 1;
|
||||
_G(atds)->del_steuer_bit(312, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
_G(det)->show_static_spr(4);
|
||||
_G(det)->showStaticSpr(4);
|
||||
}
|
||||
|
||||
if (_G(obj)->checkInventory(KAPPE_INV)) {
|
||||
_G(spieler).R48Auswahl[4] = 1;
|
||||
_G(atds)->del_steuer_bit(313, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
_G(det)->show_static_spr(4);
|
||||
_G(det)->showStaticSpr(4);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -76,9 +76,9 @@ void Room48::frage() {
|
|||
_G(flags).AutoAniPlay = true;
|
||||
hideCur();
|
||||
start_detail_wait(1, 1, ANI_FRONT);
|
||||
_G(det)->show_static_spr(6);
|
||||
_G(det)->showStaticSpr(6);
|
||||
start_detail_wait(1, 1, ANI_BACK);
|
||||
_G(det)->hide_static_spr(6);
|
||||
_G(det)->hideStaticSpr(6);
|
||||
_G(uhr)->reset_timer(_G(timer_nr)[0], 0);
|
||||
showCur();
|
||||
_G(flags).AutoAniPlay = false;
|
||||
|
@ -87,7 +87,7 @@ void Room48::frage() {
|
|||
|
||||
void Room48::setup_func() {
|
||||
for (int16 i = 0; i < 5; i++)
|
||||
_G(det)->hide_static_spr(1 + i);
|
||||
_G(det)->hideStaticSpr(1 + i);
|
||||
|
||||
if (_G(flags).ShowAtsInvTxt) {
|
||||
if (_G(menu_display) == 0) {
|
||||
|
@ -98,7 +98,7 @@ void Room48::setup_func() {
|
|||
|
||||
if (idx != -1) {
|
||||
if (_G(spieler).R48Auswahl[idx]) {
|
||||
_G(det)->show_static_spr(1 + idx);
|
||||
_G(det)->showStaticSpr(1 + idx);
|
||||
|
||||
if (_G(maus_links_click)) {
|
||||
int16 r_nr;
|
||||
|
@ -130,7 +130,7 @@ void Room48::setup_func() {
|
|||
|
||||
if (r_nr != -1) {
|
||||
_G(SetUpScreenFunc) = nullptr;
|
||||
_G(det)->hide_static_spr(1 + idx);
|
||||
_G(det)->hideStaticSpr(1 + idx);
|
||||
hideCur();
|
||||
_G(room)->set_timer_status(255, TIMER_STOP);
|
||||
_G(room)->set_timer_status(0, TIMER_STOP);
|
||||
|
|
|
@ -46,7 +46,7 @@ void Room49::entry(int16 eib_nr) {
|
|||
_G(timer_nr)[0] = _G(room)->set_timer(255, 2);
|
||||
} else {
|
||||
_G(det)->del_static_ani(0);
|
||||
_G(det)->hide_static_spr(5);
|
||||
_G(det)->hideStaticSpr(5);
|
||||
_G(det)->del_static_ani(0);
|
||||
_G(det)->del_static_ani(1);
|
||||
}
|
||||
|
@ -133,11 +133,11 @@ void Room49::calc_boy() {
|
|||
_G(det)->del_static_ani(2);
|
||||
start_detail_wait(3, 1, ANI_FRONT);
|
||||
|
||||
_G(det)->show_static_spr(9);
|
||||
_G(det)->showStaticSpr(9);
|
||||
_G(spieler).PersonHide[P_HOWARD] = true;
|
||||
start_detail_wait(8, 1, ANI_FRONT);
|
||||
_G(spieler).PersonHide[P_HOWARD] = false;
|
||||
_G(det)->hide_static_spr(9);
|
||||
_G(det)->hideStaticSpr(9);
|
||||
start_detail_wait(4, 1, ANI_GO);
|
||||
|
||||
_G(SetUpScreenFunc) = setup_func;
|
||||
|
@ -245,7 +245,7 @@ int16 Room49::use_taxi() {
|
|||
action_ret = true;
|
||||
hideCur();
|
||||
start_ani_block(2, ABLOCK34);
|
||||
_G(det)->show_static_spr(7);
|
||||
_G(det)->showStaticSpr(7);
|
||||
autoMove(2, P_CHEWY);
|
||||
_G(spieler).PersonHide[P_CHEWY] = true;
|
||||
_G(spieler).R48TaxiPerson[P_CHEWY] = true;
|
||||
|
@ -258,7 +258,7 @@ int16 Room49::use_taxi() {
|
|||
_G(spieler).PersonRoomNr[P_HOWARD] = 48;
|
||||
}
|
||||
|
||||
_G(det)->hide_static_spr(7);
|
||||
_G(det)->hideStaticSpr(7);
|
||||
start_detail_wait(5, 1, ANI_FRONT);
|
||||
g_engine->_sound->stopSound(0);
|
||||
switch_room(48);
|
||||
|
|
|
@ -64,7 +64,7 @@ void Room50::entry(int16 eib_nr) {
|
|||
_G(timer_nr)[0] = _G(room)->set_timer(1, 8);
|
||||
_wasser = false;
|
||||
} else {
|
||||
_G(det)->show_static_spr(4);
|
||||
_G(det)->showStaticSpr(4);
|
||||
}
|
||||
|
||||
_G(SetUpScreenFunc) = setup_func;
|
||||
|
@ -202,7 +202,7 @@ int16 Room50::use_gum() {
|
|||
del_inventar(_G(spieler).AkInvent);
|
||||
hide_person();
|
||||
start_detail_wait(2, 1, ANI_FRONT);
|
||||
_G(det)->show_static_spr(4);
|
||||
_G(det)->showStaticSpr(4);
|
||||
start_detail_wait(2, 1, ANI_BACK);
|
||||
show_person();
|
||||
set_person_spr(P_LEFT, P_CHEWY);
|
||||
|
|
|
@ -60,7 +60,7 @@ void Room51::entry() {
|
|||
set_person_pos(34, 120, P_HOWARD, P_RIGHT);
|
||||
set_person_pos(234, 69, P_CHEWY, P_LEFT);
|
||||
_G(SetUpScreenFunc) = setup_func;
|
||||
_G(det)->show_static_spr(17);
|
||||
_G(det)->showStaticSpr(17);
|
||||
_index = 0;
|
||||
hideCur();
|
||||
|
||||
|
@ -73,7 +73,7 @@ void Room51::entry() {
|
|||
_flag = false;
|
||||
|
||||
} else {
|
||||
_G(det)->hide_static_spr(17);
|
||||
_G(det)->hideStaticSpr(17);
|
||||
|
||||
for (int i = 0; i < 2; i++)
|
||||
_G(det)->start_detail(3 + i, 1, ANI_FRONT);
|
||||
|
@ -141,7 +141,7 @@ void Room51::setup_func() {
|
|||
if (_tmpy < 81)
|
||||
_tmpy = 81;
|
||||
|
||||
_G(det)->set_static_pos(17, _tmpx, _tmpy, false, false);
|
||||
_G(det)->setStaticPos(17, _tmpx, _tmpy, false, false);
|
||||
|
||||
if ((_G(minfo).button == 1 || _G(in)->get_switch_code() == 28) && !_flag) {
|
||||
_flag = true;
|
||||
|
@ -216,7 +216,7 @@ int16 Room51::use_door(int16 txt_nr) {
|
|||
case 329:
|
||||
autoMove(8, P_CHEWY);
|
||||
_G(SetUpScreenFunc) = nullptr;
|
||||
_G(det)->show_static_spr(0);
|
||||
_G(det)->showStaticSpr(0);
|
||||
|
||||
if (!_G(spieler).R51HotelRoom) {
|
||||
autoMove(11, P_HOWARD);
|
||||
|
@ -239,7 +239,7 @@ int16 Room51::use_door(int16 txt_nr) {
|
|||
if (!_G(spieler).R51KillerWeg) {
|
||||
g_engine->_sound->playSound(2, 0);
|
||||
g_engine->_sound->playSound(2);
|
||||
_G(det)->show_static_spr(1);
|
||||
_G(det)->showStaticSpr(1);
|
||||
start_detail_wait(2, 1, ANI_FRONT);
|
||||
_G(det)->start_detail(5, 255, ANI_FRONT);
|
||||
|
||||
|
@ -248,7 +248,7 @@ int16 Room51::use_door(int16 txt_nr) {
|
|||
autoMove(12, P_CHEWY);
|
||||
_G(det)->stop_detail(5);
|
||||
start_ani_block(5, ABLOCK37);
|
||||
_G(det)->hide_static_spr(1);
|
||||
_G(det)->hideStaticSpr(1);
|
||||
g_engine->_sound->stopSound(0);
|
||||
start_aad_wait(284, -1);
|
||||
} else {
|
||||
|
@ -260,15 +260,15 @@ int16 Room51::use_door(int16 txt_nr) {
|
|||
_G(out)->cls();
|
||||
_G(out)->einblenden(_G(pal), 0);
|
||||
_G(flags).NoPalAfterFlc = true;
|
||||
_G(det)->show_static_spr(16);
|
||||
_G(det)->showStaticSpr(16);
|
||||
flic_cut(FCUT_068);
|
||||
|
||||
_G(det)->hide_static_spr(16);
|
||||
_G(det)->hideStaticSpr(16);
|
||||
_G(flags).NoPalAfterFlc = false;
|
||||
_G(det)->stop_detail(5);
|
||||
_G(obj)->show_sib(SIB_AUSRUEST_R52);
|
||||
_G(obj)->calc_rsi_flip_flop(SIB_AUSRUEST_R52);
|
||||
_G(det)->hide_static_spr(1);
|
||||
_G(det)->hideStaticSpr(1);
|
||||
|
||||
_G(fx_blend) = BLEND3;
|
||||
set_up_screen(DO_SETUP);
|
||||
|
@ -302,29 +302,29 @@ int16 Room51::use_door(int16 txt_nr) {
|
|||
|
||||
switch (_G(spieler).R51DoorCount) {
|
||||
case 0:
|
||||
_G(det)->show_static_spr(3);
|
||||
_G(det)->showStaticSpr(3);
|
||||
start_aad_wait(278, -1);
|
||||
start_detail_frame(0, 1, ANI_FRONT, 3);
|
||||
start_spz(HO_BRILL_JMP, 1, ANI_FRONT, P_HOWARD);
|
||||
wait_detail(0);
|
||||
|
||||
_G(det)->show_static_spr(14);
|
||||
_G(det)->showStaticSpr(14);
|
||||
start_aad_wait(279, -1);
|
||||
++_G(spieler).R51DoorCount;
|
||||
_G(obj)->show_sib(SIB_FLASCHE_R51);
|
||||
_G(obj)->calc_rsi_flip_flop(SIB_FLASCHE_R51);
|
||||
_G(det)->hide_static_spr(3);
|
||||
_G(det)->hideStaticSpr(3);
|
||||
break;
|
||||
|
||||
case 1:
|
||||
_G(det)->show_static_spr(3);
|
||||
_G(det)->showStaticSpr(3);
|
||||
start_aad_wait(280, -1);
|
||||
start_detail_wait(1, 1, ANI_FRONT);
|
||||
++_G(spieler).R51DoorCount;
|
||||
_G(obj)->show_sib(SIB_KAPPE_R51);
|
||||
_G(obj)->calc_rsi_flip_flop(SIB_KAPPE_R51);
|
||||
_G(det)->hide_static_spr(3);
|
||||
_G(det)->show_static_spr(15);
|
||||
_G(det)->hideStaticSpr(3);
|
||||
_G(det)->showStaticSpr(15);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
|
@ -45,13 +45,13 @@ void Room52::entry() {
|
|||
_G(det)->stop_detail(0);
|
||||
|
||||
if (!_G(flags).LoadGame) {
|
||||
_G(det)->show_static_spr(4);
|
||||
_G(det)->showStaticSpr(4);
|
||||
_G(spieler).R52TuerAuf = true;
|
||||
set_person_pos(20, 50, P_HOWARD, P_LEFT);
|
||||
set_person_pos(35, 74, P_CHEWY, P_RIGHT);
|
||||
autoMove(2, P_CHEWY);
|
||||
_G(spieler).R52TuerAuf = false;
|
||||
_G(det)->hide_static_spr(4);
|
||||
_G(det)->hideStaticSpr(4);
|
||||
check_shad(2, 1);
|
||||
}
|
||||
}
|
||||
|
@ -76,7 +76,7 @@ int16 Room52::use_hot_dog() {
|
|||
action_ret = true;
|
||||
autoMove(3, P_CHEWY);
|
||||
start_spz_wait(CH_ROCK_GET1, 1, false, P_CHEWY);
|
||||
_G(det)->show_static_spr(0);
|
||||
_G(det)->showStaticSpr(0);
|
||||
del_inventar(_G(spieler).AkInvent);
|
||||
autoMove(4, P_CHEWY);
|
||||
_G(spieler).R52HotDogOk = true;
|
||||
|
|
|
@ -39,7 +39,7 @@ void Room54::entry(int16 eib_nr) {
|
|||
_G(spieler).ZoomXy[P_HOWARD][1] = 66;
|
||||
|
||||
if (_G(spieler).R54FputzerWeg)
|
||||
_G(det)->show_static_spr(9);
|
||||
_G(det)->showStaticSpr(9);
|
||||
|
||||
_G(spieler_mi)[P_HOWARD].Mode = true;
|
||||
|
||||
|
@ -136,7 +136,7 @@ int16 Room54::use_schalter() {
|
|||
goAutoXy(127, 76, P_HOWARD, ANI_WAIT);
|
||||
goAutoXy(14, 72, P_HOWARD, ANI_GO);
|
||||
start_spz_wait(CH_ROCK_GET2, 1, false, P_CHEWY);
|
||||
_G(det)->show_static_spr(0);
|
||||
_G(det)->showStaticSpr(0);
|
||||
autoMove(2, P_CHEWY);
|
||||
g_engine->_sound->playSound(1, 0);
|
||||
g_engine->_sound->playSound(0, 1);
|
||||
|
@ -151,7 +151,7 @@ int16 Room54::use_schalter() {
|
|||
int16 aad_nr;
|
||||
if (_G(spieler).R54LiftCount < 3) {
|
||||
start_detail_wait(2, 1, ANI_FRONT);
|
||||
_G(det)->hide_static_spr(0);
|
||||
_G(det)->hideStaticSpr(0);
|
||||
g_engine->_sound->stopSound(0);
|
||||
g_engine->_sound->stopSound(1);
|
||||
g_engine->_sound->playSound(1, 2);
|
||||
|
@ -161,7 +161,7 @@ int16 Room54::use_schalter() {
|
|||
|
||||
} else {
|
||||
start_detail_wait(5, 1, ANI_FRONT);
|
||||
_G(det)->show_static_spr(9);
|
||||
_G(det)->showStaticSpr(9);
|
||||
start_detail_wait(4, 1, ANI_FRONT);
|
||||
aad_nr = 296;
|
||||
_G(spieler).R54FputzerWeg = true;
|
||||
|
@ -286,7 +286,7 @@ int16 Room54::use_azug() {
|
|||
_G(spieler).R54HowardVorne = 0;
|
||||
start_aad_wait(298, -1);
|
||||
_G(spieler).PersonHide[P_CHEWY] = true;
|
||||
_G(det)->show_static_spr(12);
|
||||
_G(det)->showStaticSpr(12);
|
||||
_G(spieler).R55Location = true;
|
||||
_G(SetUpScreenFunc) = nullptr;
|
||||
goAutoXy(91, 62, P_HOWARD, ANI_WAIT);
|
||||
|
@ -298,8 +298,8 @@ int16 Room54::use_azug() {
|
|||
int16 delay = 0;
|
||||
|
||||
while (ch_y > -48) {
|
||||
_G(det)->set_static_pos(12, 125, ch_y, false, false);
|
||||
_G(det)->set_static_pos(9, 122, ay, false, false);
|
||||
_G(det)->setStaticPos(12, 125, ch_y, false, false);
|
||||
_G(det)->setStaticPos(9, 122, ay, false, false);
|
||||
|
||||
if (!delay) {
|
||||
ch_y -= 3;
|
||||
|
@ -330,7 +330,7 @@ void Room54::aufzug_ab() {
|
|||
set_person_pos(99, 82, P_CHEWY, P_RIGHT);
|
||||
_G(spieler).scrollx = 0;
|
||||
_G(SetUpScreenFunc) = setup_func;
|
||||
_G(det)->show_static_spr(12);
|
||||
_G(det)->showStaticSpr(12);
|
||||
g_engine->_sound->playSound(1, 0);
|
||||
g_engine->_sound->playSound(1);
|
||||
|
||||
|
@ -339,8 +339,8 @@ void Room54::aufzug_ab() {
|
|||
int16 delay = 0;
|
||||
|
||||
while (ch_y < 68) {
|
||||
_G(det)->set_static_pos(12, 125, ch_y, false, false);
|
||||
_G(det)->set_static_pos(9, 122, ay, false, false);
|
||||
_G(det)->setStaticPos(12, 125, ch_y, false, false);
|
||||
_G(det)->setStaticPos(9, 122, ay, false, false);
|
||||
|
||||
if (!delay) {
|
||||
ch_y += 3;
|
||||
|
@ -355,7 +355,7 @@ void Room54::aufzug_ab() {
|
|||
}
|
||||
|
||||
g_engine->_sound->stopSound(0);
|
||||
_G(det)->hide_static_spr(12);
|
||||
_G(det)->hideStaticSpr(12);
|
||||
set_person_pos(99, 82, P_CHEWY, P_RIGHT);
|
||||
_G(spieler).PersonHide[P_CHEWY] = false;
|
||||
_G(maus_links_click) = false;
|
||||
|
|
|
@ -42,10 +42,10 @@ void Room55::entry() {
|
|||
_G(det)->start_detail(6, 255, ANI_FRONT);
|
||||
|
||||
if (_G(spieler).R54FputzerWeg && !_G(spieler).R55Location)
|
||||
_G(det)->hide_static_spr(6);
|
||||
_G(det)->hideStaticSpr(6);
|
||||
|
||||
if (_G(spieler).R55RaumOk || _G(spieler).R55ScriptWeg)
|
||||
_G(det)->hide_static_spr(0);
|
||||
_G(det)->hideStaticSpr(0);
|
||||
|
||||
if (!_G(spieler).R55SekWeg) {
|
||||
_G(det)->start_detail(8, 255, ANI_FRONT);
|
||||
|
@ -69,7 +69,7 @@ void Room55::entry() {
|
|||
}
|
||||
|
||||
if (_G(spieler).R55EscScriptOk && !_G(spieler).R55RaumOk)
|
||||
_G(det)->show_static_spr(0);
|
||||
_G(det)->showStaticSpr(0);
|
||||
|
||||
if (!_G(flags).LoadGame) {
|
||||
if (_G(spieler).R55Location) {
|
||||
|
@ -86,10 +86,10 @@ void Room55::entry() {
|
|||
set_person_pos(21, 77, P_HOWARD, P_RIGHT);
|
||||
}
|
||||
|
||||
_G(det)->show_static_spr(8);
|
||||
_G(det)->showStaticSpr(8);
|
||||
autoMove(1, P_CHEWY);
|
||||
hideCur();
|
||||
_G(det)->hide_static_spr(8);
|
||||
_G(det)->hideStaticSpr(8);
|
||||
|
||||
if (_G(spieler).R55SekWeg && !_G(spieler).R55Job) {
|
||||
set_person_spr(P_LEFT, P_CHEWY);
|
||||
|
@ -136,9 +136,9 @@ int16 Room55::use_stapel1() {
|
|||
action_ret = true;
|
||||
_G(spieler).R55ScriptWeg = true;
|
||||
autoMove(4, P_CHEWY);
|
||||
_G(det)->hide_static_spr(0);
|
||||
_G(det)->hideStaticSpr(0);
|
||||
autoMove(5, P_CHEWY);
|
||||
_G(det)->show_static_spr(1);
|
||||
_G(det)->showStaticSpr(1);
|
||||
_G(atds)->set_ats_str(354, 1, ATS_DATEI);
|
||||
_G(atds)->set_ats_str(355, 1, ATS_DATEI);
|
||||
|
||||
|
@ -152,7 +152,7 @@ int16 Room55::use_stapel1() {
|
|||
if (_G(spieler).R55ScriptWeg) {
|
||||
autoMove(4, P_CHEWY);
|
||||
_G(spieler).R55EscScriptOk = true;
|
||||
_G(det)->show_static_spr(0);
|
||||
_G(det)->showStaticSpr(0);
|
||||
del_inventar(_G(spieler).AkInvent);
|
||||
_G(atds)->set_ats_str(354, 2, ATS_DATEI);
|
||||
} else {
|
||||
|
@ -199,18 +199,18 @@ int16 Room55::use_telefon() {
|
|||
_G(flags).NoScroll = true;
|
||||
auto_scroll(0, 0);
|
||||
start_aad_wait(330, -1);
|
||||
_G(det)->show_static_spr(8);
|
||||
_G(det)->showStaticSpr(8);
|
||||
start_detail_wait(0, 1, ANI_FRONT);
|
||||
_G(det)->start_detail(1, 255, ANI_FRONT);
|
||||
start_aad_wait(331, -1);
|
||||
_G(det)->stop_detail(1);
|
||||
|
||||
_G(det)->show_static_spr(16);
|
||||
_G(det)->showStaticSpr(16);
|
||||
start_aad_wait(608, -1);
|
||||
_G(det)->hide_static_spr(16);
|
||||
_G(det)->hideStaticSpr(16);
|
||||
start_detail_wait(2, 1, ANI_FRONT);
|
||||
_G(det)->hide_static_spr(0);
|
||||
_G(det)->hide_static_spr(8);
|
||||
_G(det)->hideStaticSpr(0);
|
||||
_G(det)->hideStaticSpr(8);
|
||||
_G(atds)->set_ats_str(354, 1, ATS_DATEI);
|
||||
flic_cut(FCUT_071);
|
||||
_G(spieler).PersonRoomNr[P_HOWARD] = 55;
|
||||
|
@ -327,7 +327,7 @@ void Room55::rock2mans() {
|
|||
|
||||
void Room55::verleger_mov(int16 mode) {
|
||||
start_detail_wait(7, 1, ANI_FRONT);
|
||||
_G(det)->show_static_spr(11);
|
||||
_G(det)->showStaticSpr(11);
|
||||
start_detail_wait(13, 1, ANI_FRONT);
|
||||
start_detail_wait(14, 1, ANI_FRONT);
|
||||
|
||||
|
@ -366,7 +366,7 @@ int16 Room55::use_kammeraus() {
|
|||
hideCur();
|
||||
_G(spieler).PersonHide[P_CHEWY] = true;
|
||||
start_detail_wait(5, 1, ANI_FRONT);
|
||||
_G(det)->show_static_spr(10);
|
||||
_G(det)->showStaticSpr(10);
|
||||
flic_cut(FCUT_070);
|
||||
register_cutscene(18);
|
||||
|
||||
|
@ -374,7 +374,7 @@ int16 Room55::use_kammeraus() {
|
|||
_G(room)->set_timer_status(aniNr, TIMER_STOP);
|
||||
_G(det)->stop_detail(aniNr);
|
||||
_G(det)->del_static_ani(aniNr);
|
||||
_G(det)->hide_static_spr(10);
|
||||
_G(det)->hideStaticSpr(10);
|
||||
_G(spieler).R55ExitDia = 322;
|
||||
_G(spieler).R55SekWeg = true;
|
||||
_G(atds)->set_steuer_bit(352, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
|
|
|
@ -37,7 +37,7 @@ void Room56::entry() {
|
|||
int mode = 0;
|
||||
|
||||
if (_G(spieler).flags32_10) {
|
||||
_G(det)->show_static_spr(10);
|
||||
_G(det)->showStaticSpr(10);
|
||||
_G(room)->set_timer_status(0, TIMER_STOP);
|
||||
_G(det)->del_static_ani(0);
|
||||
_G(det)->start_detail(13, 255, ANI_FRONT);
|
||||
|
@ -52,7 +52,7 @@ void Room56::entry() {
|
|||
_G(spieler).scrolly = 0;
|
||||
_G(spieler).PersonHide[P_CHEWY] = true;
|
||||
_G(spieler).PersonHide[P_HOWARD] = true;
|
||||
_G(det)->hide_static_spr(2);
|
||||
_G(det)->hideStaticSpr(2);
|
||||
_G(zoom_horizont) = 0;
|
||||
set_person_pos(-6, 16, P_HOWARD, P_RIGHT);
|
||||
set_person_pos(3, 42, P_CHEWY, P_RIGHT);
|
||||
|
@ -67,7 +67,7 @@ void Room56::entry() {
|
|||
|
||||
if (!_G(spieler).R56GetTabak) {
|
||||
flic_cut(FCUT_074);
|
||||
_G(det)->show_static_spr(2);
|
||||
_G(det)->showStaticSpr(2);
|
||||
}
|
||||
|
||||
_G(room)->set_zoom(23);
|
||||
|
@ -92,8 +92,8 @@ void Room56::entry() {
|
|||
set_person_pos(429, 146, P_CHEWY, P_LEFT);
|
||||
_G(spieler).scrollx = 262;
|
||||
_G(spieler).PersonHide[P_HOWARD] = false;
|
||||
_G(det)->show_static_spr(9);
|
||||
_G(det)->show_static_spr(8);
|
||||
_G(det)->showStaticSpr(9);
|
||||
_G(det)->showStaticSpr(8);
|
||||
_G(room)->set_timer_status(0, TIMER_STOP);
|
||||
_G(det)->del_static_ani(0);
|
||||
_G(det)->set_static_ani(3, -1);
|
||||
|
|
|
@ -38,7 +38,7 @@ void Room57::entry() {
|
|||
_G(spieler).ZoomXy[P_HOWARD][1] = 86;
|
||||
_G(spieler_mi)[P_HOWARD].Mode = true;
|
||||
if (_G(spieler).R57StudioAuf)
|
||||
_G(det)->hide_static_spr(4);
|
||||
_G(det)->hideStaticSpr(4);
|
||||
|
||||
if (!_G(flags).LoadGame &&_G(spieler).R48TaxiEntry) {
|
||||
hideCur();
|
||||
|
@ -85,7 +85,7 @@ int16 Room57::use_taxi() {
|
|||
autoMove(3, P_CHEWY);
|
||||
g_engine->_sound->playSound(3, 0);
|
||||
g_engine->_sound->playSound(3);
|
||||
_G(det)->show_static_spr(7);
|
||||
_G(det)->showStaticSpr(7);
|
||||
goAutoXy(16, 160, P_CHEWY, ANI_WAIT);
|
||||
_G(spieler).PersonHide[P_CHEWY] = true;
|
||||
_G(spieler).R48TaxiPerson[P_CHEWY] = true;
|
||||
|
@ -96,7 +96,7 @@ int16 Room57::use_taxi() {
|
|||
_G(spieler).R48TaxiPerson[P_HOWARD] = true;
|
||||
_G(spieler).PersonRoomNr[P_HOWARD] = 48;
|
||||
}
|
||||
_G(det)->hide_static_spr(7);
|
||||
_G(det)->hideStaticSpr(7);
|
||||
g_engine->_sound->playSound(3, 1);
|
||||
g_engine->_sound->playSound(3);
|
||||
_G(room)->set_timer_status(3, TIMER_STOP);
|
||||
|
@ -137,7 +137,7 @@ int16 Room57::use_pfoertner() {
|
|||
del_inventar(_G(spieler).AkInvent);
|
||||
_G(spieler).R57StudioAuf = true;
|
||||
_G(spieler).room_e_obj[91].Attribut = AUSGANG_OBEN;
|
||||
_G(det)->hide_static_spr(4);
|
||||
_G(det)->hideStaticSpr(4);
|
||||
start_detail_wait(6, 1, ANI_WAIT);
|
||||
g_engine->_sound->stopSound(0);
|
||||
_G(atds)->set_steuer_bit(358, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
|
|
|
@ -50,8 +50,8 @@ void Room63::entry() {
|
|||
_G(det)->start_detail(10, 255, ANI_FRONT);
|
||||
showCur();
|
||||
} else if (!_G(spieler).R63Feuer) {
|
||||
_G(det)->show_static_spr(10);
|
||||
_G(det)->show_static_spr(12);
|
||||
_G(det)->showStaticSpr(10);
|
||||
_G(det)->showStaticSpr(12);
|
||||
} else if (_G(spieler).R62LauraVerwandlung) {
|
||||
_G(atds)->set_steuer_bit(383, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
_G(SetUpScreenFunc) = setup_func;
|
||||
|
@ -142,7 +142,7 @@ void Room63::bork_platt() {
|
|||
_G(spieler_mi)[P_CHEWY].Mode = false;
|
||||
start_aad_wait(370, -1);
|
||||
start_detail_wait(4, 1, ANI_FRONT);
|
||||
_G(det)->show_static_spr(13);
|
||||
_G(det)->showStaticSpr(13);
|
||||
start_aad_wait(361, -1);
|
||||
_G(out)->cls();
|
||||
_G(flags).NoPalAfterFlc = true;
|
||||
|
@ -159,11 +159,11 @@ void Room63::talk_hunter() {
|
|||
hideCur();
|
||||
autoMove(3, P_CHEWY);
|
||||
if (_G(spieler).R63Uhr)
|
||||
_G(det)->hide_static_spr(10);
|
||||
_G(det)->hideStaticSpr(10);
|
||||
_G(det)->start_detail(10, 255, ANI_FRONT);
|
||||
start_aad_wait(356, -1);
|
||||
if (_G(spieler).R63Uhr) {
|
||||
_G(det)->show_static_spr(10);
|
||||
_G(det)->showStaticSpr(10);
|
||||
_G(det)->stop_detail(10);
|
||||
}
|
||||
showCur();
|
||||
|
@ -173,13 +173,13 @@ void Room63::talk_regie() {
|
|||
hideCur();
|
||||
autoMove(3, P_CHEWY);
|
||||
if (_G(spieler).R63Uhr)
|
||||
_G(det)->hide_static_spr(12);
|
||||
_G(det)->hideStaticSpr(12);
|
||||
_G(det)->stop_detail(18);
|
||||
_G(det)->start_detail(19, 255, ANI_FRONT);
|
||||
start_aad_wait(357, -1);
|
||||
_G(det)->stop_detail(19);
|
||||
if (_G(spieler).R63Uhr) {
|
||||
_G(det)->show_static_spr(12);
|
||||
_G(det)->showStaticSpr(12);
|
||||
} else {
|
||||
_G(det)->start_detail(18, 255, ANI_FRONT);
|
||||
}
|
||||
|
@ -228,15 +228,15 @@ int16 Room63::use_schalter() {
|
|||
hideCur();
|
||||
autoMove(1, P_CHEWY);
|
||||
start_spz_wait(CH_ROCK_GET2, 1, false, P_CHEWY);
|
||||
_G(det)->show_static_spr(2);
|
||||
_G(det)->showStaticSpr(2);
|
||||
set_person_spr(P_LEFT, P_CHEWY);
|
||||
start_detail_wait(21, 1, ANI_FRONT);
|
||||
_G(det)->show_static_spr(14);
|
||||
_G(det)->showStaticSpr(14);
|
||||
wait_show_screen(18);
|
||||
_G(det)->hide_static_spr(14);
|
||||
_G(det)->hideStaticSpr(14);
|
||||
start_detail_wait(24, 1, ANI_FRONT);
|
||||
_G(det)->show_static_spr(1);
|
||||
_G(det)->hide_static_spr(2);
|
||||
_G(det)->showStaticSpr(1);
|
||||
_G(det)->hideStaticSpr(2);
|
||||
start_aad_wait(364, -1);
|
||||
_G(atds)->set_ats_str(385, 1, ATS_DATEI);
|
||||
showCur();
|
||||
|
@ -279,8 +279,8 @@ int16 Room63::use_girl() {
|
|||
_G(spieler).R63Uhr = true;
|
||||
_G(det)->stop_detail(10);
|
||||
_G(det)->stop_detail(18);
|
||||
_G(det)->show_static_spr(10);
|
||||
_G(det)->show_static_spr(12);
|
||||
_G(det)->showStaticSpr(10);
|
||||
_G(det)->showStaticSpr(12);
|
||||
_G(atds)->set_ats_str(381, 1, ATS_DATEI);
|
||||
_G(atds)->set_ats_str(382, 1, ATS_DATEI);
|
||||
_G(atds)->set_steuer_bit(380, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
|
@ -307,8 +307,8 @@ int16 Room63::use_aschenbecher() {
|
|||
_G(det)->start_detail(20, 255, ANI_FRONT);
|
||||
_G(det)->start_detail(10, 255, ANI_FRONT);
|
||||
_G(det)->start_detail(18, 255, ANI_FRONT);
|
||||
_G(det)->hide_static_spr(10);
|
||||
_G(det)->hide_static_spr(12);
|
||||
_G(det)->hideStaticSpr(10);
|
||||
_G(det)->hideStaticSpr(12);
|
||||
start_aad_wait(368, -1);
|
||||
flic_cut(FCUT_080);
|
||||
_G(atds)->set_steuer_bit(381, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
|
|
|
@ -70,9 +70,9 @@ void Room64::chewy_entry() {
|
|||
calc_monitor();
|
||||
if (!_G(flags).LoadGame) {
|
||||
hideCur();
|
||||
_G(det)->show_static_spr(3);
|
||||
_G(det)->showStaticSpr(3);
|
||||
autoMove(2, P_CHEWY);
|
||||
_G(det)->hide_static_spr(3);
|
||||
_G(det)->hideStaticSpr(3);
|
||||
showCur();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -39,8 +39,8 @@ void Room66::entry(int16 eib_nr) {
|
|||
_G(flags).ZoomMov = true;
|
||||
_G(zoom_mov_fak) = 3;
|
||||
if (!_G(spieler).flags26_4) {
|
||||
_G(det)->show_static_spr(4);
|
||||
_G(det)->show_static_spr(8);
|
||||
_G(det)->showStaticSpr(4);
|
||||
_G(det)->showStaticSpr(8);
|
||||
_G(cur_hide_flag) = false;
|
||||
hideCur();
|
||||
_G(spieler).flags26_4 = true;
|
||||
|
@ -54,9 +54,9 @@ void Room66::entry(int16 eib_nr) {
|
|||
start_aad_wait(403, -1);
|
||||
_G(spieler).PersonHide[P_CHEWY] = true;
|
||||
start_detail_wait(0, 1, ANI_FRONT);
|
||||
_G(det)->show_static_spr(14);
|
||||
_G(det)->showStaticSpr(14);
|
||||
wait_show_screen(15);
|
||||
_G(det)->hide_static_spr(14);
|
||||
_G(det)->hideStaticSpr(14);
|
||||
start_detail_wait(1, 1, ANI_FRONT);
|
||||
load_chewy_taf(CHEWY_NORMAL);
|
||||
_G(spieler).PersonHide[P_CHEWY] = false;
|
||||
|
|
|
@ -35,12 +35,12 @@ void Room67::entry() {
|
|||
_G(spieler_mi)[P_NICHELLE].Mode = true;
|
||||
_G(spieler).DiaAMov = 7;
|
||||
if (_G(spieler).R67KommodeAuf)
|
||||
_G(det)->show_static_spr(9);
|
||||
_G(det)->showStaticSpr(9);
|
||||
if (!_G(spieler).R67PapageiWeg) {
|
||||
_G(timer_nr)[0] = _G(room)->set_timer(1, 10);
|
||||
_G(det)->set_static_ani(1, -1);
|
||||
} else
|
||||
_G(det)->show_static_spr(0);
|
||||
_G(det)->showStaticSpr(0);
|
||||
if (!_G(flags).LoadGame) {
|
||||
hideCur();
|
||||
set_person_pos(102, 132, P_CHEWY, P_RIGHT);
|
||||
|
@ -112,7 +112,7 @@ int16 Room67::use_kommode() {
|
|||
_G(spieler).R67KommodeAuf = true;
|
||||
autoMove(6, P_CHEWY);
|
||||
start_spz_wait(CH_LGET_O, 1, false, P_CHEWY);
|
||||
_G(det)->show_static_spr(9);
|
||||
_G(det)->showStaticSpr(9);
|
||||
_G(atds)->set_ats_str(400, 1, ATS_DATEI);
|
||||
} else if (!_G(spieler).R67KostuemWeg) {
|
||||
action_flag = true;
|
||||
|
@ -169,7 +169,7 @@ int16 Room67::talk_papagei() {
|
|||
_G(spieler).R67PapageiWeg = true;
|
||||
_G(det)->stop_detail(1);
|
||||
_G(det)->del_static_ani(1);
|
||||
_G(det)->show_static_spr(0);
|
||||
_G(det)->showStaticSpr(0);
|
||||
invent_2_slot(PAPAGEI_INV);
|
||||
showCur();
|
||||
_G(atds)->set_steuer_bit(394, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
|
|
|
@ -50,7 +50,7 @@ void Room68::entry() {
|
|||
_G(spieler_mi)[P_NICHELLE].Mode = true;
|
||||
|
||||
if (_G(spieler).R68Papagei) {
|
||||
_G(det)->show_static_spr(12);
|
||||
_G(det)->showStaticSpr(12);
|
||||
_G(det)->start_detail(21, 255, ANI_FRONT);
|
||||
}
|
||||
|
||||
|
@ -58,7 +58,7 @@ void Room68::entry() {
|
|||
_G(timer_nr)[0] = _G(room)->set_timer(255, 10);
|
||||
_G(det)->set_static_ani(18, -1);
|
||||
} else
|
||||
_G(det)->hide_static_spr(3);
|
||||
_G(det)->hideStaticSpr(3);
|
||||
|
||||
if (!_G(flags).LoadGame) {
|
||||
hideCur();
|
||||
|
@ -122,7 +122,7 @@ void Room68::setup_func() {
|
|||
if (_G(det)->get_ani_status(_G(r68HohesC)) == false) {
|
||||
_G(r68HohesC) = -1;
|
||||
_G(det)->stop_detail(18);
|
||||
_G(det)->show_static_spr(3);
|
||||
_G(det)->showStaticSpr(3);
|
||||
_G(uhr)->reset_timer(_G(timer_nr)[0], 0);
|
||||
}
|
||||
break;
|
||||
|
@ -249,7 +249,7 @@ int16 Room68::use_papagei() {
|
|||
del_inventar(_G(spieler).AkInvent);
|
||||
autoMove(5, P_CHEWY);
|
||||
start_spz_wait(CH_LGET_O, 1, false, P_CHEWY);
|
||||
_G(det)->show_static_spr(12);
|
||||
_G(det)->showStaticSpr(12);
|
||||
_G(det)->start_detail(21, 255, ANI_FRONT);
|
||||
_G(atds)->del_steuer_bit(408, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
_G(atds)->set_ats_str(407, 1, ATS_DATEI);
|
||||
|
@ -264,7 +264,7 @@ void Room68::calc_diva() {
|
|||
if (_G(r68HohesC) == -1) {
|
||||
_G(uhr)->reset_timer(_G(timer_nr)[0], 0);
|
||||
_G(r68HohesC) = 0;
|
||||
_G(det)->hide_static_spr(3);
|
||||
_G(det)->hideStaticSpr(3);
|
||||
_G(det)->start_detail(_G(r68HohesC), 1, ANI_BACK);
|
||||
_G(det)->start_detail(18, 255, ANI_FRONT);
|
||||
}
|
||||
|
@ -308,15 +308,15 @@ int16 Room68::use_diva() {
|
|||
action_flag = 1;
|
||||
autoMove(4, P_CHEWY);
|
||||
_G(uhr)->reset_timer(_G(timer_nr)[0], 0);
|
||||
_G(det)->hide_static_spr(3);
|
||||
_G(det)->hideStaticSpr(3);
|
||||
start_detail_wait(4, 1, ANI_FRONT);
|
||||
_G(spieler).R68Gutschein = false;
|
||||
_G(det)->show_static_spr(3);
|
||||
_G(det)->showStaticSpr(3);
|
||||
} else if (is_cur_inventar(B_MARY2_INV)) {
|
||||
del_inventar(_G(spieler).AkInvent);
|
||||
action_flag = 1;
|
||||
autoMove(4, P_CHEWY);
|
||||
_G(det)->hide_static_spr(3);
|
||||
_G(det)->hideStaticSpr(3);
|
||||
_G(spieler).R68DivaWeg = true;
|
||||
start_ani_block(2, ABLOCK38);
|
||||
flic_cut(FCUT_083);
|
||||
|
@ -408,11 +408,11 @@ void Room68::kostuem_aad(int16 aad_nr) {
|
|||
_G(spieler).PersonHide[P_HOWARD] = false;
|
||||
_G(det)->stop_detail(27);
|
||||
_G(det)->stop_detail(24);
|
||||
_G(det)->show_static_spr(13);
|
||||
_G(det)->showStaticSpr(13);
|
||||
_G(spieler).R68Lied = true;
|
||||
autoMove(1, P_CHEWY);
|
||||
auto_scroll(216, 0);
|
||||
_G(det)->hide_static_spr(13);
|
||||
_G(det)->hideStaticSpr(13);
|
||||
_G(spieler).PersonHide[P_NICHELLE] = false;
|
||||
set_person_pos(150, -13, P_NICHELLE, P_RIGHT);
|
||||
|
||||
|
|
|
@ -54,12 +54,12 @@ void Room71::entry(int16 eib_nr) {
|
|||
_G(det)->set_static_ani(0, -1);
|
||||
} else if (_G(spieler).R71LeopardVined) {
|
||||
_G(det)->start_detail(2, 255, ANI_FRONT);
|
||||
_G(det)->show_static_spr(8);
|
||||
_G(det)->hide_static_spr(2);
|
||||
_G(det)->hide_static_spr(3);
|
||||
_G(det)->showStaticSpr(8);
|
||||
_G(det)->hideStaticSpr(2);
|
||||
_G(det)->hideStaticSpr(3);
|
||||
} else if (_G(spieler).flags28_4) {
|
||||
_G(det)->show_static_spr(5);
|
||||
_G(det)->hide_static_spr(3);
|
||||
_G(det)->showStaticSpr(5);
|
||||
_G(det)->hideStaticSpr(3);
|
||||
}
|
||||
|
||||
if (_G(flags).LoadGame)
|
||||
|
@ -109,9 +109,9 @@ void Room71::setup_func() {
|
|||
_delay = (_G(spieler).DelaySpeed + 1) / 2;
|
||||
|
||||
if (_state == 1) {
|
||||
_G(det)->set_static_pos(3, 244 + g_engine->_rnd.getRandomNumber(4), -1 * g_engine->_rnd.getRandomNumber(4), false, false);
|
||||
_G(det)->setStaticPos(3, 244 + g_engine->_rnd.getRandomNumber(4), -1 * g_engine->_rnd.getRandomNumber(4), false, false);
|
||||
} else {
|
||||
_G(det)->set_static_pos(5, 198 + g_engine->_rnd.getRandomNumber(3), -1 * g_engine->_rnd.getRandomNumber(3), false, false);
|
||||
_G(det)->setStaticPos(5, 198 + g_engine->_rnd.getRandomNumber(3), -1 * g_engine->_rnd.getRandomNumber(3), false, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -205,14 +205,14 @@ void Room71::proc2() {
|
|||
_G(spieler).PersonHide[P_NICHELLE] = true;
|
||||
_G(spieler).PersonHide[P_HOWARD] = true;
|
||||
proc5(5);
|
||||
_G(det)->hide_static_spr(2);
|
||||
_G(det)->hideStaticSpr(2);
|
||||
_G(det)->start_detail(5, 255, false);
|
||||
auto_scroll(160, 0);
|
||||
_G(det)->hide_static_spr(5);
|
||||
_G(det)->hideStaticSpr(5);
|
||||
start_detail_wait(1, 1, ANI_FRONT);
|
||||
_G(det)->start_detail(2, 255, false);
|
||||
_G(det)->stop_detail(5);
|
||||
_G(det)->show_static_spr(8);
|
||||
_G(det)->showStaticSpr(8);
|
||||
_G(atds)->set_steuer_bit(442, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
_G(atds)->set_steuer_bit(446, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
_G(spieler).PersonHide[P_HOWARD] = false;
|
||||
|
@ -251,9 +251,9 @@ void Room71::proc4() {
|
|||
|
||||
void Room71::proc5(int16 val) {
|
||||
_state = 1 + (_G(spieler).flags28_4 ? 1 : 0);
|
||||
_G(det)->hide_static_spr(2);
|
||||
_G(det)->hideStaticSpr(2);
|
||||
start_detail_wait(val, 5, ANI_FRONT);
|
||||
_G(det)->show_static_spr(2);
|
||||
_G(det)->showStaticSpr(2);
|
||||
_state = 0;
|
||||
}
|
||||
|
||||
|
@ -264,13 +264,13 @@ int Room71::proc6() {
|
|||
hideCur();
|
||||
autoMove(3, P_CHEWY);
|
||||
start_spz_wait(13, 1, false, P_CHEWY);
|
||||
_G(det)->hide_static_spr(3);
|
||||
_G(det)->show_static_spr(4);
|
||||
_G(det)->hideStaticSpr(3);
|
||||
_G(det)->showStaticSpr(4);
|
||||
_G(spieler_mi)[P_CHEWY].Mode = true;
|
||||
goAutoXy(244, 44, P_CHEWY, ANI_WAIT);
|
||||
start_spz_wait(14, 1, false, P_CHEWY);
|
||||
_G(det)->hide_static_spr(4);
|
||||
_G(det)->show_static_spr(5);
|
||||
_G(det)->hideStaticSpr(4);
|
||||
_G(det)->showStaticSpr(5);
|
||||
_G(spieler).flags28_4 = true;
|
||||
_G(room)->set_timer_status(0, TIMER_STOP);
|
||||
_G(det)->del_static_ani(0);
|
||||
|
|
|
@ -37,7 +37,7 @@ void Room72::entry(int16 eib_nr) {
|
|||
|
||||
if (_G(spieler).flags28_10) {
|
||||
_G(zoom_horizont) = 110;
|
||||
_G(det)->hide_static_spr(0);
|
||||
_G(det)->hideStaticSpr(0);
|
||||
} else {
|
||||
_G(spieler).ZoomXy[P_HOWARD][0] = 20;
|
||||
_G(spieler).ZoomXy[P_HOWARD][1] = 40;
|
||||
|
@ -93,7 +93,7 @@ void Room72::proc1(int16 flicNr) {
|
|||
_G(spieler).PersonRoomNr[P_HOWARD] = 76;
|
||||
_G(spieler).PersonRoomNr[P_NICHELLE] = 76;
|
||||
_G(spieler).PersonHide[P_CHEWY] = true;
|
||||
_G(det)->hide_static_spr(0);
|
||||
_G(det)->hideStaticSpr(0);
|
||||
set_up_screen(DO_SETUP);
|
||||
_G(spieler).PersonHide[P_CHEWY] = false;
|
||||
_G(spieler_mi)[P_CHEWY].Mode = false;
|
||||
|
|
|
@ -43,7 +43,7 @@ void Room73::entry(int16 eib_nr) {
|
|||
_G(zoom_mov_fak) = 3;
|
||||
_G(SetUpScreenFunc) = setup_func;
|
||||
if (_G(spieler).flags28_20)
|
||||
_G(det)->show_static_spr(3+ (_G(spieler).R63Feuer ? 1 : 0)); // flags25_40
|
||||
_G(det)->showStaticSpr(3+ (_G(spieler).R63Feuer ? 1 : 0)); // flags25_40
|
||||
|
||||
if (_G(flags).LoadGame)
|
||||
return;
|
||||
|
@ -90,7 +90,7 @@ int Room73::proc1() {
|
|||
_G(atds)->del_steuer_bit(433, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
_G(atds)->del_steuer_bit(432, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
_G(atds)->set_ats_str(430, 1, ATS_DATEI);
|
||||
_G(det)->show_static_spr(3);
|
||||
_G(det)->showStaticSpr(3);
|
||||
showCur();
|
||||
|
||||
return 1;
|
||||
|
@ -104,8 +104,8 @@ int Room73::proc2() {
|
|||
_G(spieler).flags28_40 = true;
|
||||
autoMove(4, P_CHEWY);
|
||||
start_spz_wait(13, 1, false, P_CHEWY);
|
||||
_G(det)->hide_static_spr(3);
|
||||
_G(det)->hide_static_spr(4);
|
||||
_G(det)->hideStaticSpr(3);
|
||||
_G(det)->hideStaticSpr(4);
|
||||
_G(atds)->set_steuer_bit(433, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
new_invent_2_cur(99);
|
||||
showCur();
|
||||
|
|
|
@ -54,7 +54,7 @@ void Room76::entry() {
|
|||
} else {
|
||||
_G(det)->del_static_ani(2);
|
||||
for (int i = 0; i < 3; ++i)
|
||||
_G(det)->hide_static_spr(8 + i);
|
||||
_G(det)->hideStaticSpr(8 + i);
|
||||
|
||||
_G(atds)->set_steuer_bit(453, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
_G(atds)->set_steuer_bit(457, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
|
@ -140,7 +140,7 @@ void Room76::proc5() {
|
|||
_G(flags).NoScroll = false;
|
||||
wait_show_screen(15);
|
||||
autoMove(5, P_CHEWY);
|
||||
_G(det)->hide_static_spr(10);
|
||||
_G(det)->hideStaticSpr(10);
|
||||
_G(det)->start_detail(13, 1, false);
|
||||
_G(spieler_mi)[P_CHEWY].Mode = true;
|
||||
goAutoXy(669, 127, P_CHEWY, ANI_WAIT);
|
||||
|
@ -202,7 +202,7 @@ int Room76::proc7() {
|
|||
_G(det)->set_static_ani(2, -1);
|
||||
|
||||
for (int i = 0; i < 3; ++i)
|
||||
_G(det)->show_static_spr(8 + i);
|
||||
_G(det)->showStaticSpr(8 + i);
|
||||
|
||||
start_aad_wait(427, -1);
|
||||
showCur();
|
||||
|
|
|
@ -43,7 +43,7 @@ void Room77::entry() {
|
|||
_G(det)->set_static_ani(0, -1);
|
||||
|
||||
for (int i = 0; i < 3; ++i) {
|
||||
_G(det)->show_static_spr(2 + i);
|
||||
_G(det)->showStaticSpr(2 + i);
|
||||
_G(atds)->del_steuer_bit(460 + i, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -62,16 +62,16 @@ void Room80::entry() {
|
|||
_G(zoom_horizont) = 0;
|
||||
|
||||
if (_G(spieler).r88DestRoom == 84)
|
||||
_G(det)->show_static_spr(3);
|
||||
_G(det)->showStaticSpr(3);
|
||||
else
|
||||
_G(det)->show_static_spr(4);
|
||||
_G(det)->showStaticSpr(4);
|
||||
|
||||
_G(SetUpScreenFunc) = setup_func;
|
||||
}
|
||||
|
||||
void Room80::setup_func() {
|
||||
for (int i = 0; i < 3; ++i)
|
||||
_G(det)->hide_static_spr(i);
|
||||
_G(det)->hideStaticSpr(i);
|
||||
|
||||
if (_G(spieler).flags32_1 || !_G(flags).ShowAtsInvTxt || _G(menu_display))
|
||||
return;
|
||||
|
@ -88,7 +88,7 @@ void Room80::setup_func() {
|
|||
return;
|
||||
}
|
||||
|
||||
_G(det)->show_static_spr(vec);
|
||||
_G(det)->showStaticSpr(vec);
|
||||
if (!_G(maus_links_click))
|
||||
return;
|
||||
|
||||
|
@ -115,7 +115,7 @@ void Room80::setup_func() {
|
|||
return;
|
||||
|
||||
_G(SetUpScreenFunc) = nullptr;
|
||||
_G(det)->hide_static_spr(vec);
|
||||
_G(det)->hideStaticSpr(vec);
|
||||
_G(menu_item) = CUR_WALK;
|
||||
cursorChoice(CUR_WALK);
|
||||
_G(spieler).flags30_1 = true;
|
||||
|
|
|
@ -38,7 +38,7 @@ void Room81::entry() {
|
|||
_G(zoom_mov_fak) = 3;
|
||||
_G(spieler).DiaAMov = 0;
|
||||
if (_G(spieler).r88DestRoom == 84) {
|
||||
_G(det)->show_static_spr(0);
|
||||
_G(det)->showStaticSpr(0);
|
||||
_G(atds)->del_steuer_bit(488, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
}
|
||||
|
||||
|
|
|
@ -39,13 +39,13 @@ void Room82::entry() {
|
|||
_G(spieler_mi)[P_NICHELLE].Mode = true;
|
||||
|
||||
if (_G(spieler).R88UsedMonkey) {
|
||||
_G(det)->show_static_spr(6);
|
||||
_G(det)->showStaticSpr(6);
|
||||
_G(atds)->set_steuer_bit(473, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
_G(atds)->set_steuer_bit(467, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
}
|
||||
|
||||
if (_G(spieler).flags37_20)
|
||||
_G(det)->show_static_spr(7);
|
||||
_G(det)->showStaticSpr(7);
|
||||
|
||||
if (_G(flags).LoadGame) {
|
||||
_G(SetUpScreenFunc) = setup_func;
|
||||
|
@ -201,7 +201,7 @@ int Room82::proc6() {
|
|||
_G(atds)->enableEvents(false);
|
||||
start_aad_wait(598, -1);
|
||||
_G(atds)->enableEvents(true);
|
||||
_G(det)->show_static_spr(7);
|
||||
_G(det)->showStaticSpr(7);
|
||||
_G(fx_blend) = BLEND3;
|
||||
set_up_screen(DO_SETUP);
|
||||
Room66::proc8(2, 7, 7, 451);
|
||||
|
|
|
@ -59,7 +59,7 @@ void Room84::entry() {
|
|||
}
|
||||
|
||||
if (_G(spieler).r88DestRoom == 84) {
|
||||
_G(det)->show_static_spr(7);
|
||||
_G(det)->showStaticSpr(7);
|
||||
_G(atds)->del_steuer_bit(481, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
_G(atds)->del_steuer_bit(482, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
}
|
||||
|
|
|
@ -49,7 +49,7 @@ void Room85::entry(int16 eib_nr) {
|
|||
_G(zoom_mov_fak) = 1;
|
||||
|
||||
if (_G(spieler).flags32_10) {
|
||||
_G(det)->show_static_spr(4);
|
||||
_G(det)->showStaticSpr(4);
|
||||
_G(atds)->del_steuer_bit(495, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
}
|
||||
|
||||
|
@ -81,15 +81,15 @@ void Room85::entry(int16 eib_nr) {
|
|||
_G(spieler).scrollx = 0;
|
||||
set_person_pos(133, 152, P_CHEWY, P_RIGHT);
|
||||
_G(spieler).room_e_obj[127].Attribut = 255;
|
||||
_G(det)->show_static_spr(5);
|
||||
_G(det)->show_static_spr(6);
|
||||
_G(det)->showStaticSpr(5);
|
||||
_G(det)->showStaticSpr(6);
|
||||
start_aad_wait(474, -1);
|
||||
flic_cut(FCUT_090);
|
||||
_G(out)->setPointer(nullptr);
|
||||
_G(out)->cls();
|
||||
_G(flags).NoPalAfterFlc = true;
|
||||
flic_cut(FCUT_091);
|
||||
_G(det)->hide_static_spr(6);
|
||||
_G(det)->hideStaticSpr(6);
|
||||
_G(spieler).scrollx = 25;
|
||||
_G(fx_blend) = BLEND3;
|
||||
start_aad_wait(475, -1);
|
||||
|
|
|
@ -42,8 +42,8 @@ void Room86::entry(int16 eib_nr) {
|
|||
_G(spieler).DiaAMov = 0;
|
||||
if (_G(spieler).flags32_2) {
|
||||
_G(det)->start_detail(0, 255, false);
|
||||
_G(det)->set_static_pos(0, 352, 107, false, false);
|
||||
_G(det)->show_static_spr(0);
|
||||
_G(det)->setStaticPos(0, 352, 107, false, false);
|
||||
_G(det)->showStaticSpr(0);
|
||||
}
|
||||
|
||||
if (_G(flags).LoadGame)
|
||||
|
@ -77,8 +77,8 @@ void Room86::entry(int16 eib_nr) {
|
|||
_G(flags).NoScroll = false;
|
||||
_G(spieler_mi)[P_CHEWY].Vorschub = 8;
|
||||
_G(det)->stop_detail(0);
|
||||
_G(det)->show_static_spr(4);
|
||||
_G(det)->show_static_spr(5);
|
||||
_G(det)->showStaticSpr(4);
|
||||
_G(det)->showStaticSpr(5);
|
||||
invent_2_slot(94);
|
||||
autoMove(4, P_CHEWY);
|
||||
_G(flags).NoScroll = true;
|
||||
|
@ -180,8 +180,8 @@ void Room86::proc3(bool cond) {
|
|||
if (_G(flags).NoScroll)
|
||||
auto_scroll(196, 0);
|
||||
|
||||
_G(det)->set_static_pos(0, 352, destY, false, false);
|
||||
_G(det)->show_static_spr(0);
|
||||
_G(det)->setStaticPos(0, 352, destY, false, false);
|
||||
_G(det)->showStaticSpr(0);
|
||||
g_engine->_sound->playSound(0, 1);
|
||||
g_engine->_sound->playSound(0, 2);
|
||||
g_engine->_sound->playSound(0, 1, false);
|
||||
|
@ -189,7 +189,7 @@ void Room86::proc3(bool cond) {
|
|||
|
||||
for (int i = 0; i < 48; ++i) {
|
||||
set_up_screen(NO_SETUP);
|
||||
_G(det)->set_static_pos(0, 352, destY, false, false);
|
||||
_G(det)->setStaticPos(0, 352, destY, false, false);
|
||||
destY += deltaY;
|
||||
_G(out)->setPointer(nullptr);
|
||||
_G(out)->back2screen(_G(workpage));
|
||||
|
|
|
@ -39,10 +39,10 @@ void Room87::entry() {
|
|||
_G(spieler).ZoomXy[P_NICHELLE][1] = 28;
|
||||
_G(zoom_horizont) = 176;
|
||||
if (_G(spieler).flags32_4)
|
||||
_G(det)->show_static_spr(3);
|
||||
_G(det)->showStaticSpr(3);
|
||||
|
||||
if (_G(spieler).flags32_8)
|
||||
_G(det)->show_static_spr(4);
|
||||
_G(det)->showStaticSpr(4);
|
||||
|
||||
if (_G(flags).LoadGame)
|
||||
return;
|
||||
|
@ -135,7 +135,7 @@ int Room87::proc2(int16 txt_nr) {
|
|||
del_inventar(_G(spieler).AkInvent);
|
||||
start_spz_wait(14, 1, false, P_CHEWY);
|
||||
_G(atds)->set_ats_str(txt_nr, 1, ATS_DATEI);
|
||||
_G(det)->show_static_spr(movNr);
|
||||
_G(det)->showStaticSpr(movNr);
|
||||
if (_G(spieler).flags32_4 && _G(spieler).flags32_8)
|
||||
_G(atds)->del_steuer_bit(502, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
}
|
||||
|
@ -159,7 +159,7 @@ int Room87::proc4() {
|
|||
start_aad(472);
|
||||
flic_cut(FCUT_095);
|
||||
flic_cut(FCUT_096);
|
||||
_G(det)->hide_static_spr(2);
|
||||
_G(det)->hideStaticSpr(2);
|
||||
_G(det)->start_detail(2, 255, false);
|
||||
start_aad_wait(471, -1);
|
||||
flic_cut(FCUT_097);
|
||||
|
|
|
@ -34,7 +34,7 @@ void Room88::entry() {
|
|||
set_person_pos(59, 107, P_HOWARD, P_RIGHT);
|
||||
set_person_pos(91, 110, P_NICHELLE, P_RIGHT);
|
||||
|
||||
_G(det)->show_static_spr(1 + (_G(spieler).flags30_10 ? 1 : 0));
|
||||
_G(det)->showStaticSpr(1 + (_G(spieler).flags30_10 ? 1 : 0));
|
||||
if (_G(spieler).r88DestRoom == 0)
|
||||
_G(spieler).r88DestRoom = 82;
|
||||
|
||||
|
@ -75,13 +75,13 @@ int Room88::proc2() {
|
|||
hideCur();
|
||||
autoMove(1, P_CHEWY);
|
||||
start_spz_wait(13, 1, false, P_CHEWY);
|
||||
_G(det)->show_static_spr(0);
|
||||
_G(det)->showStaticSpr(0);
|
||||
start_detail_wait(0, 1, _G(spieler).flags30_10 ? ANI_GO : ANI_FRONT);
|
||||
_G(det)->hide_static_spr(1 + (_G(spieler).flags30_10 ? 1 : 0));
|
||||
_G(det)->hideStaticSpr(1 + (_G(spieler).flags30_10 ? 1 : 0));
|
||||
_G(spieler).flags31_10 = false;
|
||||
_G(det)->show_static_spr(1 + (!_G(spieler).flags30_10 ? 1 : 0));
|
||||
_G(det)->showStaticSpr(1 + (!_G(spieler).flags30_10 ? 1 : 0));
|
||||
start_spz_wait(13, 1, false, P_CHEWY);
|
||||
_G(det)->hide_static_spr(0);
|
||||
_G(det)->hideStaticSpr(0);
|
||||
|
||||
showCur();
|
||||
return 1;
|
||||
|
|
|
@ -36,9 +36,9 @@ void Room89::entry() {
|
|||
_G(SetUpScreenFunc) = setup_func;
|
||||
_G(timer_nr)[0] = _G(room)->set_timer(2, 10);
|
||||
if (_G(spieler).flags33_4) {
|
||||
_G(det)->show_static_spr(5);
|
||||
_G(det)->showStaticSpr(5);
|
||||
if (!_G(spieler).flags32_80)
|
||||
_G(det)->show_static_spr(6);
|
||||
_G(det)->showStaticSpr(6);
|
||||
}
|
||||
|
||||
if (_G(flags).LoadGame) {
|
||||
|
@ -202,13 +202,13 @@ int Room89::proc4() {
|
|||
if (_G(spieler).flags33_4) {
|
||||
_G(atds)->set_ats_str(514, 2, ATS_DATEI);
|
||||
_G(spieler).flags32_80 = true;
|
||||
_G(det)->hide_static_spr(6);
|
||||
_G(det)->hideStaticSpr(6);
|
||||
new_invent_2_cur(111);
|
||||
start_spz(CH_TALK6, 255, false, P_CHEWY);
|
||||
start_aad_wait(491, -1);
|
||||
} else {
|
||||
_G(det)->show_static_spr(5);
|
||||
_G(det)->show_static_spr(6);
|
||||
_G(det)->showStaticSpr(5);
|
||||
_G(det)->showStaticSpr(6);
|
||||
_G(spieler).flags33_4 = true;
|
||||
_G(atds)->set_ats_str(514, 1, ATS_DATEI);
|
||||
}
|
||||
|
|
|
@ -72,8 +72,8 @@ void Room90::entry(int16 eib_nr) {
|
|||
}
|
||||
|
||||
if (_G(spieler).flags33_40 && !_G(spieler).flags34_10) {
|
||||
_G(det)->show_static_spr(4);
|
||||
_G(det)->show_static_spr(5);
|
||||
_G(det)->showStaticSpr(4);
|
||||
_G(det)->showStaticSpr(5);
|
||||
}
|
||||
|
||||
if (!_G(spieler).flags33_10) {
|
||||
|
@ -298,8 +298,8 @@ int Room90::shootControlUnit() {
|
|||
_G(spieler).scrollx = 0;
|
||||
set_person_pos(76, 145, P_CHEWY, P_LEFT);
|
||||
_G(maus_links_click) = false;
|
||||
_G(det)->show_static_spr(4);
|
||||
_G(det)->show_static_spr(5);
|
||||
_G(det)->showStaticSpr(4);
|
||||
_G(det)->showStaticSpr(5);
|
||||
set_up_screen(NO_SETUP);
|
||||
_G(fx_blend) = BLEND3;
|
||||
_G(spieler_mi)[P_CHEWY].Mode = false;
|
||||
|
@ -335,8 +335,8 @@ int Room90::useSurimyOnWreck() {
|
|||
flic_cut(FCUT_109);
|
||||
register_cutscene(29);
|
||||
|
||||
_G(det)->hide_static_spr(4);
|
||||
_G(det)->hide_static_spr(5);
|
||||
_G(det)->hideStaticSpr(4);
|
||||
_G(det)->hideStaticSpr(5);
|
||||
_G(spieler).scrollx = 176;
|
||||
start_spz(45, 255, false, P_CHEWY);
|
||||
start_aad_wait(519, -1);
|
||||
|
|
|
@ -145,10 +145,10 @@ int Room94::giveGhostBottle() {
|
|||
_G(det)->start_detail(5, 255, false);
|
||||
start_aad_wait(541, -1);
|
||||
_G(det)->stop_detail(5);
|
||||
_G(det)->show_static_spr(5);
|
||||
_G(det)->showStaticSpr(5);
|
||||
Room66::proc8(3, 3, 2, 617);
|
||||
hideCur();
|
||||
_G(det)->hide_static_spr(5);
|
||||
_G(det)->hideStaticSpr(5);
|
||||
_G(det)->start_detail(5, 255, false);
|
||||
start_aad_wait(622, -1);
|
||||
_G(det)->stop_detail(5);
|
||||
|
|
|
@ -39,7 +39,7 @@ void Room95::entry(int16 eib_nr) {
|
|||
_G(spieler_mi)[P_HOWARD].Mode = true;
|
||||
|
||||
if (_G(spieler).flags35_20)
|
||||
_G(det)->show_static_spr(10);
|
||||
_G(det)->showStaticSpr(10);
|
||||
|
||||
if (_G(flags).LoadGame)
|
||||
return;
|
||||
|
@ -95,7 +95,7 @@ int Room95::proc2() {
|
|||
|
||||
start_spz_wait(14, 1, false, P_CHEWY);
|
||||
_G(spieler).flags35_20 = true;
|
||||
_G(det)->show_static_spr(10);
|
||||
_G(det)->showStaticSpr(10);
|
||||
|
||||
showCur();
|
||||
return 1;
|
||||
|
|
|
@ -54,14 +54,14 @@ void Room97::entry() {
|
|||
_G(spieler).PersonRoomNr[P_NICHELLE] = 97;
|
||||
_G(zoom_mov_fak) = 0;
|
||||
_G(spieler).ScrollxStep = 2;
|
||||
_G(det)->hide_static_spr(14);
|
||||
_G(det)->hideStaticSpr(14);
|
||||
|
||||
if (_G(spieler).flags36_2) {
|
||||
_G(det)->hide_static_spr(14);
|
||||
_G(det)->hide_static_spr(18);
|
||||
_G(det)->hideStaticSpr(14);
|
||||
_G(det)->hideStaticSpr(18);
|
||||
|
||||
if (!_G(spieler).flags36_4)
|
||||
_G(det)->show_static_spr(17);
|
||||
_G(det)->showStaticSpr(17);
|
||||
}
|
||||
|
||||
if (_G(spieler).flags36_10) {
|
||||
|
@ -73,7 +73,7 @@ void Room97::entry() {
|
|||
|
||||
if (_G(spieler).flags36_40) {
|
||||
_G(det)->start_detail(14, 255, ANI_FRONT);
|
||||
_G(det)->show_static_spr(13);
|
||||
_G(det)->showStaticSpr(13);
|
||||
_G(atds)->del_steuer_bit(543, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
} else {
|
||||
_G(atds)->set_steuer_bit(543, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
|
@ -91,10 +91,10 @@ void Room97::entry() {
|
|||
}
|
||||
|
||||
if (_G(spieler).flags37_1)
|
||||
_G(det)->show_static_spr(19);
|
||||
_G(det)->showStaticSpr(19);
|
||||
|
||||
if (_G(spieler).flags37_4)
|
||||
_G(det)->show_static_spr(20);
|
||||
_G(det)->showStaticSpr(20);
|
||||
|
||||
_word18DB2E = 0;
|
||||
_word18DB34 = 332;
|
||||
|
@ -190,11 +190,11 @@ void Room97::setup_func() {
|
|||
_word18DB38 -= 2;
|
||||
}
|
||||
|
||||
_G(det)->set_static_pos(16, 699, _word18DB38, false, false);
|
||||
_G(det)->setStaticPos(16, 699, _word18DB38, false, false);
|
||||
if (_G(spieler).flags36_10) {
|
||||
_G(det)->set_detail_pos(12, _word18DB34, _word18DB36);
|
||||
} else {
|
||||
_G(det)->set_static_pos(14, _word18DB34, _word18DB36, false, false);
|
||||
_G(det)->setStaticPos(14, _word18DB34, _word18DB36, false, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -340,14 +340,14 @@ void Room97::proc4() {
|
|||
g_engine->_sound->playSound(9, 0);
|
||||
g_engine->_sound->stopSound(1);
|
||||
start_detail_wait(9, 1, ANI_FRONT);
|
||||
_G(det)->show_static_spr(21);
|
||||
_G(det)->showStaticSpr(21);
|
||||
|
||||
while (_G(spieler_vector)[P_HOWARD].Xypos[0] > 996) {
|
||||
set_up_screen(DO_SETUP);
|
||||
SHOULD_QUIT_RETURN;
|
||||
}
|
||||
|
||||
_G(det)->show_static_spr(2);
|
||||
_G(det)->showStaticSpr(2);
|
||||
_G(HowardMov) = 1;
|
||||
|
||||
goAutoXy(967, 111, P_CHEWY, ANI_WAIT);
|
||||
|
@ -358,7 +358,7 @@ void Room97::proc4() {
|
|||
goAutoXy(1047, 87, P_HOWARD, ANI_WAIT);
|
||||
|
||||
start_detail_wait(29, 1, ANI_FRONT);
|
||||
_G(det)->hide_static_spr(21);
|
||||
_G(det)->hideStaticSpr(21);
|
||||
g_engine->_sound->playSound(9, 1);
|
||||
g_engine->_sound->stopSound(0);
|
||||
start_detail_wait(9, 0, ANI_BACK);
|
||||
|
@ -366,7 +366,7 @@ void Room97::proc4() {
|
|||
goAutoXy(1008, 93, P_CHEWY, ANI_WAIT);
|
||||
goAutoXy(967, 111, P_CHEWY, ANI_WAIT);
|
||||
goAutoXy(995, 82, P_HOWARD, ANI_WAIT);
|
||||
_G(det)->hide_static_spr(2);
|
||||
_G(det)->hideStaticSpr(2);
|
||||
_G(spieler_mi)[P_CHEWY].Mode = false;
|
||||
start_spz(CH_TALK5, 255, false, P_CHEWY);
|
||||
start_aad_wait(553, -1);
|
||||
|
@ -399,10 +399,10 @@ int Room97::proc5() {
|
|||
set_person_pos(822, 98, P_CHEWY, P_LEFT);
|
||||
set_person_pos(861, 81, P_HOWARD, P_LEFT);
|
||||
del_inventar(_G(spieler).AkInvent);
|
||||
_G(det)->show_static_spr(21);
|
||||
_G(det)->showStaticSpr(21);
|
||||
_G(spieler).flags35_80 = true;
|
||||
start_aad_wait(546, -1);
|
||||
_G(det)->hide_static_spr(21);
|
||||
_G(det)->hideStaticSpr(21);
|
||||
g_engine->_sound->playSound(9, 1);
|
||||
g_engine->_sound->stopSound(0);
|
||||
start_detail_wait(9, 0, ANI_GO);
|
||||
|
@ -421,18 +421,18 @@ int Room97::proc6() {
|
|||
goAutoXy(298, 120, P_CHEWY, ANI_WAIT);
|
||||
set_person_spr(P_LEFT, P_CHEWY);
|
||||
start_spz_wait(CH_LGET_O, 1, false, P_CHEWY);
|
||||
_G(det)->hide_static_spr(15);
|
||||
_G(det)->hideStaticSpr(15);
|
||||
start_detail_wait(1, 1, ANI_FRONT);
|
||||
_G(det)->show_static_spr(28);
|
||||
_G(det)->showStaticSpr(28);
|
||||
autoMove(1, P_CHEWY);
|
||||
_G(det)->hide_static_spr(18);
|
||||
_G(det)->hideStaticSpr(18);
|
||||
start_detail_wait(15, 1, ANI_FRONT);
|
||||
_G(det)->show_static_spr(17);
|
||||
_G(det)->showStaticSpr(17);
|
||||
start_spz(CH_TALK5, 255, false, P_CHEWY);
|
||||
start_aad_wait(558, -1);
|
||||
_G(det)->hide_static_spr(28);
|
||||
_G(det)->hideStaticSpr(28);
|
||||
_G(det)->stop_detail(5);
|
||||
_G(det)->show_static_spr(15);
|
||||
_G(det)->showStaticSpr(15);
|
||||
_G(spieler).flags36_2 = true;
|
||||
_G(atds)->del_steuer_bit(538, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
_G(atds)->set_steuer_bit(531, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
|
@ -453,7 +453,7 @@ int Room97::proc7() {
|
|||
autoMove(2, P_CHEWY);
|
||||
_G(spieler_mi)[P_CHEWY].Mode = true;
|
||||
_G(spieler).PersonHide[P_CHEWY] = true;
|
||||
_G(det)->hide_static_spr(17);
|
||||
_G(det)->hideStaticSpr(17);
|
||||
start_detail_wait(22, 1, ANI_FRONT);
|
||||
_G(atds)->set_steuer_bit(538, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
_G(atds)->set_ats_str(530, 2, ATS_DATEI);
|
||||
|
@ -490,7 +490,7 @@ int Room97::proc8() {
|
|||
_G(atds)->del_steuer_bit(532, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
_G(atds)->set_ats_str(532, 1, ATS_DATEI);
|
||||
_G(det)->start_detail(6, 255, false);
|
||||
_G(det)->hide_static_spr(14);
|
||||
_G(det)->hideStaticSpr(14);
|
||||
autoMove(3, P_CHEWY);
|
||||
auto_scroll(406, 0);
|
||||
wait_show_screen(40);
|
||||
|
@ -539,7 +539,7 @@ int Room97::proc9() {
|
|||
} else {
|
||||
start_spz_wait(13, 1, false, P_CHEWY);
|
||||
start_detail_wait(0, 1, ANI_FRONT);
|
||||
_G(det)->show_static_spr(13);
|
||||
_G(det)->showStaticSpr(13);
|
||||
start_detail_wait(13, 1, ANI_FRONT);
|
||||
_G(det)->start_detail(14, 255, false);
|
||||
start_aad_wait(555, -1);
|
||||
|
@ -564,7 +564,7 @@ int Room97::proc10() {
|
|||
g_engine->_sound->playSound(7, 0);
|
||||
g_engine->_sound->stopSound(1);
|
||||
start_detail_wait(7, 1, ANI_FRONT);
|
||||
_G(det)->show_static_spr(19);
|
||||
_G(det)->showStaticSpr(19);
|
||||
_G(spieler).flags37_1 = true;
|
||||
_G(atds)->set_steuer_bit(543, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
_G(menu_item) = CUR_WALK;
|
||||
|
@ -622,14 +622,14 @@ void Room97::proc12() {
|
|||
_G(flags).AutoAniPlay = true;
|
||||
hideCur();
|
||||
stop_person(P_CHEWY);
|
||||
_G(det)->show_static_spr(26);
|
||||
_G(det)->showStaticSpr(26);
|
||||
goAutoXy(481, 39, P_CHEWY, ANI_WAIT);
|
||||
_G(spieler).PersonHide[P_CHEWY] = true;
|
||||
set_person_pos(327, 42, P_CHEWY, P_LEFT);
|
||||
wait_show_screen(50);
|
||||
set_person_pos(347, 42, P_CHEWY, P_LEFT);
|
||||
_G(spieler).PersonHide[P_CHEWY] = false;
|
||||
_G(det)->hide_static_spr(26);
|
||||
_G(det)->hideStaticSpr(26);
|
||||
_G(spieler_mi)[P_CHEWY].Mode = false;
|
||||
showCur();
|
||||
_G(flags).AutoAniPlay = false;
|
||||
|
@ -643,14 +643,14 @@ void Room97::proc13() {
|
|||
hideCur();
|
||||
stop_person(P_CHEWY);
|
||||
_G(spieler_mi)[P_CHEWY].Mode = true;
|
||||
_G(det)->show_static_spr(26);
|
||||
_G(det)->showStaticSpr(26);
|
||||
_G(spieler).PersonHide[P_CHEWY] = true;
|
||||
set_person_pos(508, 41, P_CHEWY, P_LEFT);
|
||||
wait_show_screen(50);
|
||||
set_person_pos(488, 41, P_CHEWY, P_LEFT);
|
||||
_G(spieler).PersonHide[P_CHEWY] = false;
|
||||
autoMove(6, P_CHEWY);
|
||||
_G(det)->hide_static_spr(26);
|
||||
_G(det)->hideStaticSpr(26);
|
||||
_G(spieler_mi)[P_CHEWY].Mode = false;
|
||||
showCur();
|
||||
_G(flags).AutoAniPlay = false;
|
||||
|
@ -704,17 +704,17 @@ void Room97::sensorAnim() {
|
|||
} else {
|
||||
_G(spieler).flags37_4 = true;
|
||||
del_inventar(_G(spieler).AkInvent);
|
||||
_G(det)->show_static_spr(27);
|
||||
_G(det)->showStaticSpr(27);
|
||||
_G(spieler).PersonHide[P_CHEWY] = true;
|
||||
start_detail_wait(21, 1, ANI_FRONT);
|
||||
_G(spieler).PersonHide[P_CHEWY] = false;
|
||||
_G(det)->hide_static_spr(27);
|
||||
_G(det)->hideStaticSpr(27);
|
||||
start_detail_wait(18, 1, ANI_FRONT);
|
||||
|
||||
g_engine->_sound->playSound(8, 0);
|
||||
g_engine->_sound->stopSound(1);
|
||||
start_detail_wait(8, 1, ANI_FRONT);
|
||||
_G(det)->show_static_spr(20);
|
||||
_G(det)->showStaticSpr(20);
|
||||
autoMove(10, P_CHEWY);
|
||||
auto_scroll(60, 0);
|
||||
start_aad_wait(544, -1);
|
||||
|
@ -731,10 +731,10 @@ void Room97::sensorAnim() {
|
|||
SHOULD_QUIT_RETURN;
|
||||
}
|
||||
|
||||
_G(det)->show_static_spr(26);
|
||||
_G(det)->showStaticSpr(26);
|
||||
set_person_pos(482, 24, P_NICHELLE, P_RIGHT);
|
||||
goAutoXy(477, 29, P_NICHELLE, ANI_WAIT);
|
||||
_G(det)->hide_static_spr(26);
|
||||
_G(det)->hideStaticSpr(26);
|
||||
_G(spieler).flags37_2 = true;
|
||||
}
|
||||
|
||||
|
|
|
@ -165,9 +165,9 @@ void sprite_engine() {
|
|||
_G(scr_width));
|
||||
} else {
|
||||
spr_nr = _G(spz_spr_nr)[_G(spieler_vector)[P_CHEWY].PhNr];
|
||||
x = _G(spieler_mi)[P_CHEWY].XyzStart[0] + _G(spz_tinfo)->korrektur[spr_nr * 2] -
|
||||
x = _G(spieler_mi)[P_CHEWY].XyzStart[0] + _G(spz_tinfo)->_correction[spr_nr * 2] -
|
||||
_G(spieler).scrollx;
|
||||
y = _G(spieler_mi)[P_CHEWY].XyzStart[1] + _G(spz_tinfo)->korrektur[spr_nr * 2 + 1] -
|
||||
y = _G(spieler_mi)[P_CHEWY].XyzStart[1] + _G(spz_tinfo)->_correction[spr_nr * 2 + 1] -
|
||||
_G(spieler).scrolly;
|
||||
calc_zoom(_G(spieler_mi)[P_CHEWY].XyzStart[1],
|
||||
(int16)_G(room)->_roomInfo->ZoomFak,
|
||||
|
@ -194,8 +194,8 @@ void sprite_engine() {
|
|||
spr_nr = _G(spz_spr_nr)[_G(spieler_vector)[p_nr].PhNr];
|
||||
}
|
||||
|
||||
x = _G(spieler_mi)[p_nr].XyzStart[0] + ts_info->korrektur[spr_nr * 2] - _G(spieler).scrollx;
|
||||
y = _G(spieler_mi)[p_nr].XyzStart[1] + ts_info->korrektur[spr_nr * 2 + 1] - _G(spieler).scrolly;
|
||||
x = _G(spieler_mi)[p_nr].XyzStart[0] + ts_info->_correction[spr_nr * 2] - _G(spieler).scrollx;
|
||||
y = _G(spieler_mi)[p_nr].XyzStart[1] + ts_info->_correction[spr_nr * 2 + 1] - _G(spieler).scrolly;
|
||||
calc_zoom(_G(spieler_mi)[p_nr].XyzStart[1], _G(spieler).ZoomXy[p_nr][0],_G(spieler).ZoomXy[p_nr][1], &_G(spieler_vector)[p_nr]);
|
||||
_G(out)->scale_set(ts_info->image[spr_nr], x, y, _G(spieler_vector)[p_nr].Xzoom, _G(spieler_vector)[p_nr].Yzoom, _G(scr_width));
|
||||
}
|
||||
|
|
|
@ -285,7 +285,7 @@ int16 ats_action(int16 txt_nr, int16 txt_mode, int16 mode) {
|
|||
case 165:
|
||||
if (_G(spieler).R16F5Exit) {
|
||||
invent_2_slot(29);
|
||||
_G(det)->hide_static_spr(19);
|
||||
_G(det)->hideStaticSpr(19);
|
||||
_G(atds)->set_steuer_bit(158, ATS_AKTIV_BIT, ATS_DATEI);
|
||||
}
|
||||
switch_room(18);
|
||||
|
@ -2153,8 +2153,8 @@ void atds_string_start(int16 dia_nr, int16 str_nr, int16 person_nr, int16 mode)
|
|||
if (altes_format) {
|
||||
_G(det)->start_detail(_G(talk_start_ani), 255, ANI_FRONT);
|
||||
_G(det)->stop_detail(talk_stop_ani);
|
||||
_G(det)->hide_static_spr(_G(talk_hide_static));
|
||||
_G(det)->show_static_spr(talk_show_static);
|
||||
_G(det)->hideStaticSpr(_G(talk_hide_static));
|
||||
_G(det)->showStaticSpr(talk_show_static);
|
||||
} else {
|
||||
_G(det)->start_detail(talk_ani, 255, ANI_FRONT);
|
||||
_G(det)->stop_detail(stop_ani);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue