Home
last modified time | relevance | path

Searched refs:thisPerson (Results 1 – 12 of 12) sorted by relevance

/dports/games/libretro-scummvm/scummvm-7b1e929/engines/sludge/
H A Dpeople.cpp245 turnMeAngle(thisPerson, thisPerson->wantAngle); in spinStep()
510 thisPerson->frameTick = thisPerson->myAnim->frames[thisPerson->frameNum].howMany; in drawPeople()
516 thisPerson->frameTick = thisPerson->myAnim->frames[thisPerson->frameNum].howMany; in drawPeople()
542 thisPerson->frameTick = thisPerson->myAnim->frames[thisPerson->frameNum].howMany; in drawPeople()
548 thisPerson->frameTick = thisPerson->myAnim->frames[thisPerson->frameNum].howMany; in drawPeople()
554 thisPerson->frameTick = thisPerson->myAnim->frames[thisPerson->frameNum].howMany; in drawPeople()
565 xDiff = thisPerson->thisStepX - thisPerson->x; in walkMe()
567 s = thisPerson->scale * thisPerson->walkSpeed; in walkMe()
580 moveAndScale(*thisPerson, thisPerson->x + xDiff / s, thisPerson->y + yDiff / (s * 2)); in walkMe()
598 moveAndScale(*thisPerson, thisPerson->walkToX, thisPerson->walkToY); in walkMe()
[all …]
H A Dsprites.cpp388 if (thisPerson->colourmix) { in applyLightmapToSprite()
389 fr = curLight[0]*thisPerson->r * thisPerson->colourmix / 65025 / 255.0F; in applyLightmapToSprite()
390 fg = curLight[1]*thisPerson->g * thisPerson->colourmix / 65025 / 255.0F; in applyLightmapToSprite()
391 fb = curLight[2]*thisPerson->b * thisPerson->colourmix / 65025 / 255.0F; in applyLightmapToSprite()
420 float x = thisPerson->x; in scaleSprite()
421 float y = thisPerson->y; in scaleSprite()
423 float scale = thisPerson->scale; in scaleSprite()
424 bool useZB = !(thisPerson->extra & EXTRA_NOZB); in scaleSprite()
434 if (thisPerson->extra & EXTRA_FIXTOSCREEN) { in scaleSprite()
476 if (thisPerson->extra & EXTRA_RECTANGULAR) in scaleSprite()
[all …]
H A Dpeople.h163 void turnMeAngle(OnScreenPerson *thisPerson, int direc);
164 void spinStep(OnScreenPerson *thisPerson);
165 void rethinkAngle(OnScreenPerson *thisPerson);
168 bool walkMe(OnScreenPerson *thisPerson, bool move = true);
H A Dbuiltin.cpp1537 if (thisPerson) { in builtIn()
1539 myAnim = thisPerson->myAnim; in builtIn()
1542 thisPerson->frameNum = 0; in builtIn()
1979 if (thisPerson) { in builtIn()
1981 thisPerson->spinning = true; in builtIn()
1998 if (thisPerson) { in builtIn()
2024 if (thisPerson) { in builtIn()
2025 thisPerson->myAnim = thisPerson->myPersona->animation[thisPerson->direction]; in builtIn()
2040 if (thisPerson) { in builtIn()
2146 if (thisPerson) { in builtIn()
[all …]
H A Dspeech.cpp191 OnScreenPerson *thisPerson = g_sludge->_peopleMan->findPerson(objT); in wrapSpeech() local
192 if (thisPerson) { in wrapSpeech()
193 setObjFontColour(thisPerson->thisType); in wrapSpeech()
194 i = wrapSpeechPerson(theText, *thisPerson, sampleFile, animPerson); in wrapSpeech()
H A Dgraphics.h135 …bool scaleSprite(Sprite &single, const SpritePalette &fontPal, OnScreenPerson *thisPerson, bool mi…
136 … int y1, Sprite &single, const SpritePalette &fontPal, OnScreenPerson *thisPerson, const int camX,…
217 …Graphics::Surface *applyLightmapToSprite(Graphics::Surface *&blitted, OnScreenPerson *thisPerson, …
/dports/games/scummvm/scummvm-2.5.1/engines/sludge/
H A Dpeople.cpp239 turnMeAngle(thisPerson, thisPerson->wantAngle); in spinStep()
503 thisPerson->frameTick = thisPerson->myAnim->frames[thisPerson->frameNum].howMany; in drawPeople()
509 thisPerson->frameTick = thisPerson->myAnim->frames[thisPerson->frameNum].howMany; in drawPeople()
535 thisPerson->frameTick = thisPerson->myAnim->frames[thisPerson->frameNum].howMany; in drawPeople()
541 thisPerson->frameTick = thisPerson->myAnim->frames[thisPerson->frameNum].howMany; in drawPeople()
547 thisPerson->frameTick = thisPerson->myAnim->frames[thisPerson->frameNum].howMany; in drawPeople()
558 xDiff = thisPerson->thisStepX - thisPerson->x; in walkMe()
560 s = thisPerson->scale * thisPerson->walkSpeed; in walkMe()
573 moveAndScale(*thisPerson, thisPerson->x + xDiff / s, thisPerson->y + yDiff / (s * 2)); in walkMe()
591 moveAndScale(*thisPerson, thisPerson->walkToX, thisPerson->walkToY); in walkMe()
[all …]
H A Dsprites.cpp383 if (thisPerson->colourmix) { in applyLightmapToSprite()
384 fr = curLight[0]*thisPerson->r * thisPerson->colourmix / 65025 / 255.0F; in applyLightmapToSprite()
385 fg = curLight[1]*thisPerson->g * thisPerson->colourmix / 65025 / 255.0F; in applyLightmapToSprite()
386 fb = curLight[2]*thisPerson->b * thisPerson->colourmix / 65025 / 255.0F; in applyLightmapToSprite()
415 float x = thisPerson->x; in scaleSprite()
416 float y = thisPerson->y; in scaleSprite()
418 float scale = thisPerson->scale; in scaleSprite()
419 bool useZB = !(thisPerson->extra & EXTRA_NOZB); in scaleSprite()
429 if (thisPerson->extra & EXTRA_FIXTOSCREEN) { in scaleSprite()
471 if (thisPerson->extra & EXTRA_RECTANGULAR) in scaleSprite()
[all …]
H A Dpeople.h164 void turnMeAngle(OnScreenPerson *thisPerson, int direc);
165 void spinStep(OnScreenPerson *thisPerson);
166 void rethinkAngle(OnScreenPerson *thisPerson);
169 bool walkMe(OnScreenPerson *thisPerson, bool move = true);
H A Dbuiltin.cpp1536 if (thisPerson) { in builtIn()
1538 myAnim = thisPerson->myAnim; in builtIn()
1541 thisPerson->frameNum = 0; in builtIn()
1978 if (thisPerson) { in builtIn()
1980 thisPerson->spinning = true; in builtIn()
1997 if (thisPerson) { in builtIn()
2023 if (thisPerson) { in builtIn()
2024 thisPerson->myAnim = thisPerson->myPersona->animation[thisPerson->direction]; in builtIn()
2039 if (thisPerson) { in builtIn()
2146 if (thisPerson) { in builtIn()
[all …]
H A Dspeech.cpp189 OnScreenPerson *thisPerson = g_sludge->_peopleMan->findPerson(objT); in wrapSpeech() local
190 if (thisPerson) { in wrapSpeech()
191 setObjFontColour(thisPerson->thisType); in wrapSpeech()
192 i = wrapSpeechPerson(theText, *thisPerson, sampleFile, animPerson); in wrapSpeech()
H A Dgraphics.h146 …bool scaleSprite(Sprite &single, const SpritePalette &fontPal, OnScreenPerson *thisPerson, bool mi…
147 … int y1, Sprite &single, const SpritePalette &fontPal, OnScreenPerson *thisPerson, const int camX,…
239 …Graphics::Surface *applyLightmapToSprite(Graphics::Surface *&blitted, OnScreenPerson *thisPerson, …