Commit Graph
89 Commits
Author SHA1 Message Date
Andrei Prykhodko 3c67ce0eed PINK: removed usage of global variable 2019-05-08 12:01:22 +03:00
Andrei Prykhodko 07b4495e2b PINK: fixed ActionPlay behavior when startFrame is wrong
This fixes Trac bug #10800
2019-01-15 23:11:00 +02:00
Bastien Bouclet 9894976ade PINK: Push down the advanced detector include
So the whole engine is not rebuilt when making changes to shared code.
2018-12-10 19:12:18 +01:00
D G Turner 3f99c2c9dd PINK: Fix For Assertion When Looking Under Bed in Six House.
The action which triggers the assertion is CheckUnderBedDB.

This changes ActionPlay::OnStart method to be similar to superclass
implementation with regard to _startFrame to avoid this.

However, the animation still glitches repeating several times, but this
is a script bug in the original and should be addressed in a workaround
in a future commit.

This should fix the main issue in Trac bug #10800.
2018-11-11 01:58:50 +00:00
Andrei Prykhodko d6f2a89488 PINK: fixed original bug when ActionSfx continues to play when it should stop 2018-08-16 06:33:53 +03:00
Andrei Prykhodko c255de107d PINK: implemented text drawing in ActionText for English version 2018-08-05 22:08:54 +03:00
Andrei Prykhodko 8530d9fbc5 PINK: fixed Coverity warnings 2018-07-29 21:34:20 +03:00
Andrei Prykhodko bb732cd9c8 PINK: add partial implementation of ActionText 2018-07-29 21:23:04 +03:00
Andrei Prykhodko cd87d76932 PINK: added more debug output, removed unneeded 2018-07-21 19:40:12 +03:00
Andrei Prykhodko cb3945cf4f PINK: hid debug output under channels and levels 2018-07-21 16:23:57 +03:00
Andrei Prykhodko b90816e811 PINK: fixed position of some sprites in PDA 2018-07-17 20:04:28 +03:00
Eugene Sandulenko ace8fcca82 PINK: Made _director a pointer and reduced header dependencies 2018-07-11 22:45:36 +02:00
Eugene Sandulenko a4b8ffc2de PINK: Spelling fixes in method names 2018-07-11 22:45:36 +02:00
Andrei Prykhodko 600049ce4d PINK: added assert for possible division by zero 2018-07-02 11:47:22 +03:00
Andrei Prykhodko 0a6993a09b PINK: fixed uninitialized fields 2018-06-30 23:49:27 +03:00
Andrei Prykhodko 22f6c66393 PINK: added thumb moving in PDA 2018-06-30 23:29:45 +03:00
Andrei Prykhodko 4f13195e8c PINK: added PDA rightHand movement 2018-06-30 20:04:11 +03:00
Andrei Prykhodko 5294c8d252 PINK: fixed possible bug when curFrame is -1 2018-06-30 19:43:34 +03:00
Andrei Prykhodko d38ed02895 PINK: removed comments about ActionLoop Random style 2018-06-30 19:43:34 +03:00
Andrei Prykhodko 5a25e445da PINK: removed empty method call 2018-06-30 17:12:58 +03:00
Andrei Prykhodko 326f21c1a9 PINK: fixed compiler warnings 2018-06-30 17:12:39 +03:00
Andrei Prykhodko 35a3389cea PINK: fixed ActionPlayWithSfx 2018-06-30 15:54:37 +03:00
Andrei Prykhodko 5f0fec7de2 PINK: fixed various PDA bugs 2018-06-30 15:18:03 +03:00
Andrei Prykhodko f75bb43f91 PINK: fixed loading of GLOBAL pda page 2018-06-30 10:33:50 +03:00
Andrei Prykhodko 4938a33fbb PINK: added pre-loading of global pda page sprites 2018-06-30 08:56:05 +03:00
Eugene Sandulenko 66d8fca8b3 PINK: Fix warnings 2018-06-29 09:37:44 +02:00
Andrei Prykhodko feb3fde1cf PINK: JANITORIAL: formatting fixes 2018-06-28 23:51:32 +02:00
Andrei Prykhodko 633649398f PINK: added position recalculation of walking sprites 2018-06-28 23:51:32 +02:00
Eugene Sandulenko bb8a64d22d PINK: JANITORIAL: Fix code formatting 2018-06-28 23:51:32 +02:00
Eugene Sandulenko 85e0c7ccd3 PINK: JANITORIAL: Indentation fixes 2018-06-28 23:51:32 +02:00
Eugene Sandulenko a224e41edc PINK: JANITORIAL: More whitespace fixes 2018-06-28 23:51:32 +02:00
Eugene Sandulenko c3e1157d18 PINK: JANITORIAL: More formatting fixes 2018-06-28 23:51:32 +02:00
whiterandrek c4461cb4c3 PINK: fix playing of sprites which have incorrect stopFrame 2018-06-28 23:51:32 +02:00
whiterandrek 4879f7600c PINK: fix ActionTalk sound balance. Thanks Henke37 for bugreport 2018-06-28 23:51:32 +02:00
whiterandrek 4af995079a PINK: fix playing looped ActionPlayWithSfx 2018-06-28 23:51:32 +02:00
whiterandrek 02524d81c8 PINK: remove sprite unnecessary updating by another hack 2018-06-28 23:51:32 +02:00
whiterandrek 5282560ba1 PINK: fix drawing of some sprites after setting frame 2018-06-28 23:51:32 +02:00
whiterandrek e0fa8fe171 PINK: fix ActionLoop Random 2018-06-28 23:51:32 +02:00
whiterandrek 2fb268b155 PINK: reworked sprite class(ActionCEL) and his inheritors. 2018-06-28 23:51:32 +02:00
whiterandrek 3ca2c13893 PINK: remove observing of looped sounds 2018-06-28 23:51:32 +02:00
whiterandrek 58e7d560ee PINK: inline small functions 2018-06-28 23:51:32 +02:00
whiterandrek 5babed5790 PINK: fix playing looped sounds 2018-06-28 23:51:32 +02:00
whiterandrek f11d331129 PINK: implement sound balance 2018-06-28 23:51:32 +02:00
whiterandrek cf04fb20c7 PINK: rework sound system 2018-06-28 23:51:32 +02:00
whiterandrek 4fd0ec3ff7 PINK: fix ending of ActionCEL 2018-06-28 23:51:32 +02:00
whiterandrek a76d86a342 PINK: add check to startFrame because it can be greater than sprite's frames number 2018-06-28 23:51:32 +02:00
whiterandrek fb8d8c1f57 PINK: remove redundant adding sprite to scene, which doesn't need to be drawn 2018-06-28 23:51:32 +02:00
whiterandrek bfd1b62063 PINK: change drawing method 2018-06-28 23:51:32 +02:00
whiterandrek da0adc92a2 PINK: reformat Action's code 2018-06-28 23:51:32 +02:00
whiterandrek a531381f2b PINK: change pause/unpause to pause method with parameter 2018-06-28 23:51:32 +02:00