Commit graph

770 commits

Author SHA1 Message Date
Filippos Karapetis
db484b2734 TRECISION: Rename a variable 2021-05-31 01:59:26 +03:00
Filippos Karapetis
c78f0496a1 TRECISION: Make some AnimManager fields and functions private 2021-05-31 01:59:15 +03:00
Strangerke
305aea78b1 TRECISION: Fix Dissolve() with safeguards 2021-05-30 23:00:08 +01:00
Filippos Karapetis
d334bb3cb8 TRECISION: Remove the wrappers for combining inventory items 2021-05-31 00:19:00 +03:00
Filippos Karapetis
a33b9877c1 TRECISION: Fix drawing of the first Smacker frame in some animations 2021-05-31 00:19:00 +03:00
Filippos Karapetis
e9e601e726 TRECISION: Fix GraphicsManager sanity checks 2021-05-31 00:18:59 +03:00
Strangerke
303e046cc9 TRECISION: Fix a typo in a comment, reduce level of if/then blocks in PathFinding3D 2021-05-30 17:52:24 +01:00
Filippos Karapetis
85a13bc7a6 TRECISION: Fix the elevator button and Ruby's reader closeups voiceover 2021-05-30 18:18:43 +03:00
Filippos Karapetis
0ca3d76f9c TRECISION: Replace _flagCharacterExists with _flagShowCharacter
These two ended up having practically the same semantics, so they have
been merged. The only place where the difference actually mattered
is in characterContinueTalk(), to show the subtitles in the correct
place, but it suffices to check for active character animations at that
point instead.
2021-05-30 17:37:18 +03:00
Filippos Karapetis
ef803f8768 TRECISION: Split doMouseLeftRight() into smaller functions 2021-05-30 17:37:17 +03:00
Filippos Karapetis
b117194994 TRECISION: Disable dissolve() for now, as it writes OOB 2021-05-30 17:37:17 +03:00
Filippos Karapetis
ffcdb3f58d TRECISION: Simplify dissolve() 2021-05-30 17:37:17 +03:00
Filippos Karapetis
4efb1d7f44 TRECISION: Add some sanity checks to GraphicsManager. Some cleanup 2021-05-30 17:37:17 +03:00
Filippos Karapetis
24f3f4ff75 TRECISION: Use Common::Point for text placement 2021-05-30 17:37:16 +03:00
Filippos Karapetis
bd64803269 TRECISION: Fix regression with closeup exits 2021-05-30 17:37:16 +03:00
Filippos Karapetis
de70a494cb TRECISION: Const correctness 2021-05-30 17:37:16 +03:00
Filippos Karapetis
faaf6beaaa TRECISION: Group code that clears the inventory item combination state 2021-05-30 10:57:42 +03:00
Strangerke
546606b8ba TRECISION: Split DrawCharacter() in two sub functions 2021-05-30 07:44:52 +01:00
Strangerke
7a2c33623a TRECISION: Fix some failed template arguments deduction on buildbot 2021-05-30 07:33:38 +01:00
SupSuper
c92c1dddad TRECISION: Remove global constructor 2021-05-29 23:54:51 +01:00
Filippos Karapetis
21a1dd91c2 TRECISION: Remove unused includes 2021-05-29 21:25:11 +01:00
Filippos Karapetis
12b4e08191 TRECISION: Remove redundant actor showing statement
This statement was probably added to show the main character in the
first room the first time it's visited, which happens when the game
starts. We set _flagShowCharacter to true in the engine constructor,
so this statement is redundant.
2021-05-29 21:25:11 +01:00
Filippos Karapetis
361bdc1734 TRECISION: Cleanup 2021-05-29 21:25:11 +01:00
Strangerke
1459e3c577 TRECISION: Add a safeguard in DrawCharacter, some renaming 2021-05-29 21:25:10 +01:00
Strangerke
d46aecd81e TRECISION: Rename STexture::init() in order to be coherent with other functions 2021-05-29 21:25:10 +01:00
Filippos Karapetis
ad3ad9e3df TRECISION: Use Common::List for event queues 2021-05-29 21:25:10 +01:00
Strangerke
70a08aa780 TRECISION: Small refactoring in STexture 2021-05-29 21:25:10 +01:00
SupSuper
a08788e9b8 TRECISION: Don't quit while you're ahead! 2021-05-29 21:25:09 +01:00
Strangerke
bd3e22ef61 TRECISION: Move some code from struct.h to struct.cpp 2021-05-29 21:25:09 +01:00
SupSuper
d16fb074e7 TRECISION: Move MessageQueues into Scheduler 2021-05-29 21:25:09 +01:00
Strangerke
d20b12b608 TRECISION: Remove an unused include 2021-05-29 21:25:09 +01:00
Strangerke
81b0efd905 TRECISION: set SInvObject._flag private, add accessors 2021-05-29 21:25:09 +01:00
Strangerke
55462465f7 TRECISION: Fix regression in 113ce2a 2021-05-29 21:25:08 +01:00
Strangerke
c11cd96849 TRECISION: Kill SScript 2021-05-29 21:25:08 +01:00
Filippos Karapetis
24a51fc26b TRECISION: Close the inventory when starting a dialog or changing rooms 2021-05-29 21:25:08 +01:00
Strangerke
f840836b3e TRECISION: Set SObject._mode private, add accessors 2021-05-29 21:25:08 +01:00
Filippos Karapetis
3ac3156d9e TRECISION: Fix empty slots in the original save/load dialog 2021-05-29 21:25:08 +01:00
SupSuper
67674c9784 TRECISION: Fix videos not stopping immediately 2021-05-29 21:25:07 +01:00
Strangerke
d22c218897 TRECISION: Set SObject._flg private, add accessors 2021-05-29 21:25:07 +01:00
Filippos Karapetis
c6254cfc78 TRECISION: Fix compilation 2021-05-29 21:25:07 +01:00
Filippos Karapetis
0128994f3f TRECISION: Merge forceSeekToFrame() and forceSkip(). Some cleanup 2021-05-29 21:25:07 +01:00
D G Turner
1fd14f6dca TRECISION: Fix Compilation on Linux / Case Sensitive Platforms 2021-05-29 21:25:06 +01:00
SupSuper
23e36fe859 TRECISION: Fix loading original saves 2021-05-29 21:25:06 +01:00
Strangerke
744de60f3e TRECISION: Move implementation ofloadRoom and syncGameStream to a new cpp file 2021-05-29 21:25:06 +01:00
Filippos Karapetis
ed1022927a TRECISION: Make some GraphicsManager functions and variables private 2021-05-29 21:25:06 +01:00
Filippos Karapetis
3f583cd42e TRECISION: Move more screen update functionality into GraphicsManager 2021-05-29 21:25:06 +01:00
Strangerke
bc3b343eb7 TRECISION: Make SRoom._flag private, add accessors,add sync and loading functions 2021-05-29 21:25:05 +01:00
Strangerke
639eba4896 TRECISION: Remove extra parenthesis while reviewing code 2021-05-29 21:25:05 +01:00
Filippos Karapetis
1e5a5f1d23 TRECISION: Fix regression with dialog completion checks 2021-05-29 21:25:05 +01:00
Filippos Karapetis
a3ae0deb6e TRECISION: Add accessors to DialogManager's members
This allows for the following:
- Make class members of DialogManager private
- Cleaner, more readable code
- Remove unused code
2021-05-29 21:25:05 +01:00