Strangerke
c295c89a9f
TRECISION: Turn Actor into a class, rewrite some parts of readActor()
2021-05-29 21:23:21 +01:00
SupSuper
f048dbb08d
TRECISION: Save thumbnail pixels as bytes
2021-05-29 21:23:21 +01:00
SupSuper
ba1afe1d92
TRECISION: Fix thumbnail saving
2021-05-29 21:23:21 +01:00
Filippos Karapetis
6c47cb0ec5
COMMON: Add serializers for float and double types
2021-05-29 21:23:20 +01:00
Filippos Karapetis
e8ef84668a
TRECISION: Use ScummVM save file manager and serializer for saved games
...
Original saved games should be compatible. We can add extra metadata to
the ScummVM-generated saves, which will then be incompatible with the
original interpreter
2021-05-29 21:23:20 +01:00
Filippos Karapetis
a415b86e7b
TRECISION: Move for loop variable initialization
2021-05-29 21:23:20 +01:00
Filippos Karapetis
3d093df3a3
TRECISION: Move syncSoundSettings() out of the engine constructor
2021-05-29 21:23:20 +01:00
Filippos Karapetis
21f8466fd4
TRECISION: Remove unused reference
2021-05-29 21:23:20 +01:00
Filippos Karapetis
08e7351b6b
TRECISION: Simplify includes
2021-05-29 21:23:19 +01:00
Filippos Karapetis
6ba5f07931
TRECISION: Remove superfluous void function parameters
2021-05-29 21:23:19 +01:00
Filippos Karapetis
407a79d13e
TRECISION: Remove deprecated register keywords. Some cleanup
2021-05-29 21:23:19 +01:00
Filippos Karapetis
9938c23dd7
TRECISION: Add include guards
2021-05-29 21:23:19 +01:00
Filippos Karapetis
c257a8a316
TRECISION: Add include guards
2021-05-29 21:23:18 +01:00
Filippos Karapetis
77c6222be3
TRECISION: Merge switch cases
2021-05-29 21:23:18 +01:00
Filippos Karapetis
d7fd71d675
TRECISION: Const correctness
2021-05-29 21:23:18 +01:00
SupSuper
6138e4ecd4
TRECISION: Remove unused defines
2021-05-29 21:23:18 +01:00
Filippos Karapetis
d29a13b7f8
TRECISION: Cleanup graphics / video code
2021-05-29 21:23:18 +01:00
Strangerke
62ddbfe851
TRECISION: Rewrite the loading of some more structures and variables
2021-05-29 21:23:17 +01:00
Filippos Karapetis
44da0597a2
TRECISION: Disable the dirty rects code
...
Replacing the dirty rects code with full screen blitting actually
reduces CPU time. Leaving this feature as a disabled #ifdef for now
2021-05-29 21:23:17 +01:00
Filippos Karapetis
0b1793dc90
TRECISION: Re-introduce delayMillis() for each frame
...
This drops CPU load to 1% instead of ~25%
2021-05-29 21:23:17 +01:00
Filippos Karapetis
5fbf8e9197
TRECISION: Use CursorMan for the mouse, and rename showScreen()
2021-05-29 21:23:17 +01:00
Filippos Karapetis
c1825d66f3
TRECISION: Simplify the graphics code and remove dead code
...
The copy to video functionality is not used anywhere
2021-05-29 21:23:17 +01:00
Filippos Karapetis
1f02e9f6c5
TRECISION: Simplify the graphics code
...
This removes the unused CurScrollPageDx variable.
CurRoomMaxX is never changed, and is always SCREENLEN.
Also, BCopy() has been removed, in order to be replaced by direct buffer handling
2021-05-29 21:23:16 +01:00
Filippos Karapetis
75abc49fd2
TRECISION: Cleanup of the video code
2021-05-29 21:23:16 +01:00
Filippos Karapetis
837b89290a
TRECISION: Remove MCopy()
2021-05-29 21:23:16 +01:00
Filippos Karapetis
b0f1482101
TRECISION: Simplify some vCopy() calls
2021-05-29 21:23:16 +01:00
Filippos Karapetis
b72d926b43
TRECISION: Cleanup
2021-05-29 21:23:15 +01:00
Filippos Karapetis
f11200d012
TRECISION: Move BattutaPrint()
2021-05-29 21:23:15 +01:00
SupSuper
391687f705
TRECISION: Rename _video2 to _screenBuffer
2021-05-29 21:23:15 +01:00
Strangerke
b2545bd260
TRECISION: Remove a couple of calls to FastFileRead
2021-05-29 21:23:15 +01:00
Filippos Karapetis
68f43c7c68
TRECISION: Remove redundant declarations
2021-05-29 21:23:15 +01:00
Filippos Karapetis
760e861dda
TRECISION: Remove unused variable _curSmkAction
2021-05-29 21:23:14 +01:00
Filippos Karapetis
2066d10618
TRECISION: Remove unused Smacker buffers
2021-05-29 21:23:14 +01:00
Filippos Karapetis
98e03cbbc3
TRECISION: Remove the unused 8-bit drawing and Smacker doubling code
2021-05-29 21:23:14 +01:00
SupSuper
a1d426470b
TRECISION: Fix looping video clearing incorrectly
2021-05-29 21:23:14 +01:00
Strangerke
91383c07af
TRECISION: Fix initialization of Icone
2021-05-29 21:23:14 +01:00
Filippos Karapetis
b81dc577f5
TRECISION: Remove the _locked variable
2021-05-29 21:23:13 +01:00
Strangerke
bbcd452452
TRECISION: Rename VALVOLA constants
2021-05-29 21:23:13 +01:00
Strangerke
38a81987d8
TRECISION: Rewrite ZBuffer initialization, some renaming and translating
2021-05-29 21:23:13 +01:00
Filippos Karapetis
544a3d5109
TRECISION: Remove wordset()
2021-05-29 21:23:13 +01:00
Filippos Karapetis
8839788dbe
TRECISION: Remove wordcopy()
2021-05-29 21:23:13 +01:00
Filippos Karapetis
95b7d0779f
TRECISION: Use a helper for SBmInfo and reduce usage of wordcopy()
2021-05-29 21:23:12 +01:00
Filippos Karapetis
7518202d13
TRECISION: Use memcpy() and remove longcopy()
2021-05-29 21:23:12 +01:00
Strangerke
558fa20e79
TRECISION: Rewrite the loading of Icone
2021-05-29 21:23:12 +01:00
Strangerke
03f075ff8f
TRECISION: Rewrite loading of TextureArea
2021-05-29 21:23:12 +01:00
Strangerke
93c02dce64
TRECISION: Rewrite the loading of Font and Arrow, remove IntroFont
2021-05-29 21:23:12 +01:00
Strangerke
669aaf1035
TRECISION: Rename wheels constants and variables
2021-05-29 21:23:11 +01:00
Strangerke
3950a9ec63
TRECISION: Rename logicnl to logic
2021-05-29 21:23:11 +01:00
Strangerke
73a44b518f
TRECISION: remove useless use of g_vm in trecison.cpp
2021-05-29 21:23:11 +01:00
Strangerke
39ae25cbb7
TRECISION: move mouseClick hardcoded logic to the logic class
2021-05-29 21:23:11 +01:00