Filippos Karapetis
04ce40a1fa
TRECISION: Cleanly separate original saved games from the ScummVM ones
...
This breaks compatibility with saved games created during development.
We know that versions 103 and 104 were used by the original engine, so
version 110 is a safe one for ScummVM
2021-05-29 21:24:50 +01:00
Filippos Karapetis
8fd5ffbbdf
TRECISION: Remove unused saved game fields
...
The fields synced in SoundManager::syncGameStream() were never changed
2021-05-29 21:24:49 +01:00
SupSuper
d71d2a9e51
TRECISION: Free memory allocated to sound files
2021-05-29 21:24:49 +01:00
SupSuper
7f18f17185
TRECISION: Free sounds on room load
2021-05-29 21:24:49 +01:00
Filippos Karapetis
4dd9b52613
TRECISION: Fix memory leaks reported by Valgrind
...
Thanks to eriktorbjorn for reporting these
2021-05-29 21:24:49 +01:00
Filippos Karapetis
df5a7ccf39
TRECISION: Fix drawing after an animation has been restarted
2021-05-29 21:24:48 +01:00
Filippos Karapetis
60ecdfa399
TRECISION: Cleanup
2021-05-29 21:24:48 +01:00
Strangerke
fa55ae2fc6
TRECISION: Revert, change the way _compBuffer is allocated
2021-05-29 21:24:48 +01:00
Strangerke
1df6a9b138
TRECISION: Fixhow _compStream is deleted
2021-05-29 21:24:48 +01:00
Strangerke
68f8780a65
TRECISION: return in drawCharacter when _flagShowCharacter is false, rename a couple of variables and initialize a couple of others
2021-05-29 21:24:48 +01:00
Strangerke
0f1640eb92
TRECISION: Fix some uninitialized values
2021-05-29 21:24:47 +01:00
Strangerke
b31272d9a9
TRECISION: Remove some unused includes
2021-05-29 21:24:47 +01:00
Strangerke
de2662084f
TRECISION: Fix spacing in one line in dialog
2021-05-29 21:24:47 +01:00
Strangerke
b9f4b7ef84
TRECISION: Move Microprose head fix in a separate function
2021-05-29 21:24:47 +01:00
D G Turner
8abd7ae2b1
TRECISION: Add Missing Detection Entry for 3-CD English Windows Version
2021-05-29 21:24:47 +01:00
D G Turner
fad3639d6d
TRECISION: Further GCC Warning Fixes
2021-05-29 21:24:46 +01:00
D G Turner
b94dca4c91
TRECISION: Fix Various GCC Warnings
2021-05-29 21:24:46 +01:00
D G Turner
5cd8050e14
TRECISION: Fix Codacy issue
...
This was authored by bluegr, but accidently removed by force-push so
am restoring this change.
2021-05-29 21:24:46 +01:00
D G Turner
febb68456d
TRECISION: Fix Various GCC Warnings
...
These include several sequence-point issues in 3d.cpp.
2021-05-29 21:24:46 +01:00
SupSuper
c9c2bca44f
TRECISION: Translate last comment
2021-05-29 21:24:46 +01:00
D G Turner
a1c24252ca
TRECISION: Fix Several GCC Warnings by Removing Errant Semicolons
2021-05-29 21:24:45 +01:00
Filippos Karapetis
56f9939c68
TRECISION: Simplify entry searching in FastFile, fix Codacy issues
2021-05-29 21:24:45 +01:00
Filippos Karapetis
71c827c7cc
TRECISION: Simplify string handling in TextManager, fix Codacy issues
2021-05-29 21:24:45 +01:00
Filippos Karapetis
b55a9c12e4
TRECISION: Fix Codacy issues
2021-05-29 21:24:45 +01:00
SupSuper
f91cf55126
TRECISION: Missing potfiles
2021-05-29 21:24:44 +01:00
Filippos Karapetis
e267361ad9
TRECISION: Fix drawing objects and actors on top of animated backgrounds
2021-05-29 21:24:44 +01:00
Filippos Karapetis
08e8f5bfc5
TRECISION: Remove redundant pixel format transformation call
2021-05-29 21:24:44 +01:00
Filippos Karapetis
4abd23ffb6
TRECISION: Move surface format conversion inside GraphicsManager
2021-05-29 21:24:44 +01:00
Filippos Karapetis
a5a7d40f42
TRECISION: Move the shadowing pixel code inside GraphicsManager
2021-05-29 21:24:44 +01:00
Filippos Karapetis
6fe9b587ac
TRECISION: Move resource loading code inside resource.cpp
2021-05-29 21:24:43 +01:00
Filippos Karapetis
408a0d4260
TRECISION: Move data file checking inside the game detection entries
2021-05-29 21:24:43 +01:00
Filippos Karapetis
dbf5f5c0f8
TRECISION: Move class member initialization inside each class
...
Also, move some class members in the classes that actually use them
2021-05-29 21:24:43 +01:00
Filippos Karapetis
5b077727e5
TRECISION: Move font drawing inside GraphicsManager
2021-05-29 21:24:43 +01:00
Filippos Karapetis
8d2f96bab2
TRECISION: Rename clearScreenBufferSaveSlotDescriptions()
2021-05-29 21:24:43 +01:00
SupSuper
2ba59e97fd
TRECISION: Enable Return to Launcher
2021-05-29 21:24:42 +01:00
SupSuper
c34edf6419
TRECISION: Get rid of last global
2021-05-29 21:24:42 +01:00
SupSuper
36d22fb492
TRECISION: Remove unused functions
2021-05-29 21:24:42 +01:00
Filippos Karapetis
23b3f63d91
TRECISION: Remove setSmkBackground()
...
_smkBackground is initialized when a scene loads
2021-05-29 21:24:42 +01:00
Strangerke
5ad0bff227
TRECISION: Get rid of two more static variables in Scheduler
2021-05-29 21:24:41 +01:00
Filippos Karapetis
30d5cd1740
TRECISION: Const correctness
2021-05-29 21:24:41 +01:00
Filippos Karapetis
9ab7f5e20f
TRECISION: Cleanup and fixes to redrawRoom()
2021-05-29 21:24:41 +01:00
Filippos Karapetis
934b23e62a
TRECISION: Fix graphics corruption in the first visit to the werewolf
2021-05-29 21:24:41 +01:00
Filippos Karapetis
2e672547e5
TRECISION: Remove a superfluous buffer clearing call
2021-05-29 21:24:41 +01:00
Filippos Karapetis
9ee916300f
TRECISION: Merge another screen buffer clearing function. Some cleanup
2021-05-29 21:24:40 +01:00
Strangerke
f1c5b4cb44
TRECISION: move pauseStartTime to TrecisionEngine to remove a static
2021-05-29 21:24:40 +01:00
Strangerke
b643bbbe5b
TRECISION: Make clang happier concerning the initialization of _shadowFaces, make sure float number are ending with 'f' in 3D.cpp
2021-05-29 21:24:40 +01:00
Filippos Karapetis
d7dbb30811
TRECISION: Remove indirect references to screen buffer. Some cleanup
...
- The pixel aliasing algorithm is done inside GraphicsManager
- Merge resetScreenBuffer() into loadBackground()
2021-05-29 21:24:40 +01:00
Filippos Karapetis
7f59c36fed
TRECISION: Refactor handling of inventory icons + save slot thumbnails
...
- Loading and drawing of inventory icons is now done inside GraphicsManager
- Saved game thumbnails are loaded and handled inside GraphicsManager
- Moved performLoad() inside saveload.cpp, together with the other
save game handling functions
2021-05-29 21:24:39 +01:00
Strangerke
70140d1450
TRECISION: Remove dependency on video.h in trecision.h
2021-05-29 21:24:39 +01:00
Filippos Karapetis
e1d0de40ff
TRECISION: Simplify the inventory drawing code and remove dead code
...
- LASTICON + READICON + 1 equals 0, so this check makes no difference
2021-05-29 21:24:39 +01:00