Lines Matching refs:g_vars

40 	g_vars->scene16_figures.clear();  in scene16_initScene()
41 g_vars->scene16_walkingBoy = 0; in scene16_initScene()
42 g_vars->scene16_walkingGirl = 0; in scene16_initScene()
43 g_vars->scene16_walkingCount = 200; in scene16_initScene()
44 g_vars->scene16_wire = sc->getStaticANIObject1ById(ANI_WIRE16, -1); in scene16_initScene()
45 g_vars->scene16_mug = sc->getStaticANIObject1ById(ANI_MUG, -1); in scene16_initScene()
46 g_vars->scene16_jettie = sc->getStaticANIObject1ById(ANI_JETTIE, -1); in scene16_initScene()
47 g_vars->scene16_boot = sc->getStaticANIObject1ById(ANI_BOOT_16, -1); in scene16_initScene()
48 g_vars->scene16_girlIsLaughing = false; in scene16_initScene()
49 g_vars->scene16_sound = SND_16_034; in scene16_initScene()
52 g_vars->scene16_placeIsOccupied = true; in scene16_initScene()
64 g_vars->scene16_figures.push_back(boy[idx]); in scene16_initScene()
72 g_vars->scene16_figures.push_back(sc->getStaticANIObject1ById(ANI_GIRL, -1)); in scene16_initScene()
75 g_vars->scene16_figures.push_back(boy[idx]); in scene16_initScene()
85 g_vars->scene16_placeIsOccupied = false; in scene16_initScene()
101 g_vars->scene16_mug->_statics = g_vars->scene16_mug->getStaticsById(ST_MUG_EMPTY); in scene16_initScene()
102 g_vars->scene16_mug->_movement = 0; in scene16_initScene()
103 g_vars->scene16_mug->setOXY(409, 459); in scene16_initScene()
104 g_vars->scene16_mug->_priority = 5; in scene16_initScene()
105 g_vars->scene16_mug->_flags |= 4; in scene16_initScene()
116 …if (g_fp->_objectIdAtCursor == ANI_MUG && g_fp->_cursorId == PIC_CSR_ITN && g_vars->scene16_mug->_… in scene16_updateCursor()
126 switch (g_vars->scene16_sound) { in sceneHandler16_laughSound()
140 g_vars->scene16_sound = snd; in sceneHandler16_laughSound()
155 g_vars->scene16_mug->changeStatics2(ST_MUG_FULL); in sceneHandler16_showMugFull()
159 if (g_vars->scene16_mug->_flags & 4) { in sceneHandler16_fillMug()
160 g_vars->scene16_jettie->_priority = 2; in sceneHandler16_fillMug()
161 g_vars->scene16_jettie->startAnim(MV_JTI_FLOWIN, 0, -1); in sceneHandler16_fillMug()
167 g_vars->scene16_mug->show1(-1, -1, -1, 0); in sceneHandler16_fillMug()
177 if (!(g_vars->scene16_boot->_flags & 4)) { in sceneHandler16_fillMug()
178 g_vars->scene16_jettie->_priority = 15; in sceneHandler16_fillMug()
179 g_vars->scene16_jettie->startAnim(MV_JTI_FLOWBY, 0, -1); in sceneHandler16_fillMug()
181 if (g_vars->scene16_walkingBoy) { in sceneHandler16_fillMug()
184 mq->setParamInt(-1, g_vars->scene16_walkingBoy->_odelay); in sceneHandler16_fillMug()
185 if (mq->chain(g_vars->scene16_walkingBoy)) in sceneHandler16_fillMug()
188 if (!g_vars->scene16_walkingGirl) in sceneHandler16_fillMug()
193 mq->setParamInt(-1, g_vars->scene16_walkingGirl->_odelay); in sceneHandler16_fillMug()
194 if (mq->chain(g_vars->scene16_walkingGirl)) in sceneHandler16_fillMug()
202 g_vars->scene16_jettie->_priority = 15; in sceneHandler16_fillMug()
204 g_vars->scene16_boot->startAnim(MV_BT16_FILL, 0, -1); in sceneHandler16_fillMug()
208 if (g_vars->scene16_walkingBoy) { in sceneHandler16_fillMug()
211 mq->setParamInt(-1, g_vars->scene16_walkingBoy->_odelay); in sceneHandler16_fillMug()
213 ani = g_vars->scene16_walkingBoy; in sceneHandler16_fillMug()
215 if (!g_vars->scene16_walkingGirl) in sceneHandler16_fillMug()
220 mq->setParamInt(-1, g_vars->scene16_walkingGirl->_odelay); in sceneHandler16_fillMug()
221 ani = g_vars->scene16_walkingGirl; in sceneHandler16_fillMug()
241 g_vars->scene16_girlIsLaughing = true; in sceneHandler16_startLaugh()
245 if (g_vars->scene16_mug->_flags & 4) { in sceneHandler16_drink()
246 if (!g_vars->scene16_jettie->_movement) { in sceneHandler16_drink()
247 …if (!g_vars->scene16_walkingBoy || !g_vars->scene16_walkingBoy->_movement || g_vars->scene16_walki… in sceneHandler16_drink()
248 …if (!g_vars->scene16_walkingGirl || !g_vars->scene16_walkingGirl->_movement || g_vars->scene16_wal… in sceneHandler16_drink()
249 if (g_vars->scene16_mug->_statics->_staticsId == ST_MUG_FULL) { in sceneHandler16_drink()
253 if (g_vars->scene16_walkingBoy) { in sceneHandler16_drink()
256 g_vars->scene16_walkingBoy->changeStatics2(ST_BOY_STAND); in sceneHandler16_drink()
257 g_vars->scene16_walkingBoy->queueMessageQueue(0); in sceneHandler16_drink()
261 mq->setParamInt(-1, g_vars->scene16_walkingBoy->_odelay); in sceneHandler16_drink()
319 g_vars->scene16_mug->show1(-1, -1, -1, 0); in sceneHandler16_showMan()
330 g_vars->scene16_mug->hide(); in sceneHandler16_hideMan()
334 g_vars->scene16_mug->hide(); in sceneHandler16_hideMug()
338 g_vars->scene16_wire->hide(); in sceneHandler16_hideWire()
342 g_vars->scene16_wire->show1(-1, -1, -1, 0); in sceneHandler16_showWire()
346 StaticANIObject *ani = g_vars->scene16_walkingBoy; in sceneHandler16_putOnWheel()
349 ani = g_vars->scene16_walkingGirl; in sceneHandler16_putOnWheel()
352 g_vars->scene16_figures.push_back(ani); in sceneHandler16_putOnWheel()
354 ani = g_vars->scene16_figures.front(); in sceneHandler16_putOnWheel()
356 g_vars->scene16_figures.pop_front(); in sceneHandler16_putOnWheel()
367 g_vars->scene16_walkingBoy = ani; in sceneHandler16_putOnWheel()
368 g_vars->scene16_walkingGirl = 0; in sceneHandler16_putOnWheel()
376 g_vars->scene16_walkingBoy = 0; in sceneHandler16_putOnWheel()
377 g_vars->scene16_walkingGirl = ani; in sceneHandler16_putOnWheel()
389 g_vars->scene16_girlIsLaughing = false; in sceneHandler16_girlROTFL()
460 if (g_vars->scene16_placeIsOccupied) { in sceneHandler16()
461 g_vars->scene16_walkingCount++; in sceneHandler16()
463 if (g_vars->scene16_walkingCount >= 280) { in sceneHandler16()
466 g_vars->scene16_walkingCount = 0; in sceneHandler16()
470 if (g_vars->scene16_girlIsLaughing) { in sceneHandler16()