Strangerke
29e4d40ca3
TRECISION: Rename readActor into readModel, make some more variable unsigned
2021-05-29 21:24:17 +01:00
Filippos Karapetis
273b88f8d1
TRECISION: Remove initNames() and its hardcoded texts
...
_objName, _sentence and _sysText are fully initialized in LoadAll().
These variables are not used before LoadAll() is called, so this is
safe to remove
2021-05-29 21:24:17 +01:00
Strangerke
4cabf0e165
TRECISION: Fix some warnings, some renaming and polishing
2021-05-29 21:24:16 +01:00
Filippos Karapetis
baf34e1fa4
TRECISION: Remove dead code (_flagScreenRefreshed flag)
...
It's set to true in ProcessTime() which is the first function to run
inside the game loop. Afterwards, it's never set to false, so
practically it's always true
2021-05-29 21:24:14 +01:00
SupSuper
9ce06897df
TRECISION: Clean up some rects
2021-05-29 21:24:13 +01:00
SupSuper
3f6196f31b
TRECISION: Fix incorrect object rects
2021-05-29 21:24:13 +01:00
Strangerke
c061fe823d
TRECISION: Move define.h
2021-05-29 21:24:12 +01:00
Strangerke
ab16163989
TRECISION: Move some functions to utils and script
2021-05-29 21:24:12 +01:00
Strangerke
4e4d713fad
TRECISION: Add Actor source file
2021-05-29 21:24:11 +01:00
Filippos Karapetis
09e0f7bf33
TRECISION: Whitespace cleanup
2021-05-29 21:24:11 +01:00
Filippos Karapetis
45829f6b68
TRECISION: Use Common::Rect instead of individual rect dimensions
2021-05-29 21:24:11 +01:00
Strangerke
43de268f2d
TRECISION: Move sinCosAngle to utils
2021-05-29 21:24:11 +01:00
Strangerke
bb2a84ebd3
TRECISION: Rename Actor, add syncGameStream to it
2021-05-29 21:24:10 +01:00
Strangerke
d84937818c
TRECISION: rename some members of TrecisionEngine, remove a useless member
2021-05-29 21:24:10 +01:00
Strangerke
2aa603cccc
TRECISION: Remove _extraRoomObject, move a couple of things to utils and the main class
2021-05-29 21:24:10 +01:00
Strangerke
8bf2be7b35
TRECISION: Get rid of llvideo
2021-05-29 21:24:04 +01:00
Strangerke
9c357d1031
TRECISION: Remove comments before functions which only duplicate the function name
2021-05-29 21:24:04 +01:00
Strangerke
980a41072b
TRECISION: Move save/load code to main class
2021-05-29 21:24:03 +01:00
Strangerke
569418c236
TRECISION: Move CheckMask to utils
2021-05-29 21:24:01 +01:00
Strangerke
cc00e55adc
TRECISION: Move some more functions, get rid of nl/sys/main.cpp
2021-05-29 21:24:01 +01:00
Strangerke
36b0ac86a0
TRECISION: Move NLDelay to utils, rename some defines
2021-05-29 21:24:00 +01:00
Filippos Karapetis
478d65531d
TRECISION: Cleanup closeup check, perform some renames
2021-05-29 21:24:00 +01:00
Strangerke
22ef714b98
TRECISION: Move some utils functions to the main class, fix a variable shadowed in read
...
+ some renaming, fix some missing default cases in switches
2021-05-29 21:23:59 +01:00
Strangerke
d6e429082a
TRECISION: Make loadBackGround use a stream instead of a temp buffer
2021-05-29 21:23:56 +01:00
Strangerke
fdd0353f4f
TRECISION: Move compression code to FastFile, revert some changes to finally be able to commit it without conflicts
2021-05-29 21:23:54 +01:00
Filippos Karapetis
0808e48fb1
TRECISION: Allocate the decompressed buffer on the fly
...
This removes the hardcoded buffer size
2021-05-29 21:23:54 +01:00
Strangerke
47eaccc391
TRECISION: Fix signed/unsigned comparison in DecCR
2021-05-29 21:23:49 +01:00
Strangerke
4f8665fc63
TRECISION: Rework the decompress function
2021-05-29 21:23:47 +01:00
Strangerke
69a1f281a9
TRECISION: Move DecCR to utils (with some changes), some renaming
2021-05-29 21:23:47 +01:00
Filippos Karapetis
3ac5aaf4b1
TRECISION: Rename sign -> text, Clear -> clear
2021-05-29 21:23:46 +01:00
Filippos Karapetis
1a9183683d
TRECISION: Clean up includes
2021-05-29 21:23:43 +01:00
Filippos Karapetis
0ef6f5d64a
TRECISION: Simplify the mouse handling code
2021-05-29 21:23:42 +01:00
Strangerke
b985de010c
TRECISION: Rename most flags
2021-05-29 21:23:39 +01:00
Filippos Karapetis
0e50d4f8f0
TRECISION: Start refactoring the video and subtitle code
...
The new code is still disabled, as there are still issues to fix
2021-05-29 21:23:33 +01:00
Strangerke
8a7394e873
TRECISION: Remove useless _sysText item initializations
2021-05-29 21:23:32 +01:00
Filippos Karapetis
868d8a0e25
TRECISION: Add enums for system messages and disable the unused ones
2021-05-29 21:23:22 +01:00
Strangerke
e0e111f60c
TRECISION: introduce LogicManager for hardcoded logic parts of the engine, some renaming
2021-05-29 21:23:08 +01:00
Strangerke
af5c75bffa
TRECISION: Move more functions to main class
2021-05-29 21:23:07 +01:00
Strangerke
c6f5560f7d
TRECISION: Move some more inventory functions, renaming
2021-05-29 21:23:06 +01:00