Commit Graph
137148 Commits
Author SHA1 Message Date
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 54e7451152 TRECISION: Remove definition of HBLUE, replace some magic values by MOUSECOL 2021-05-29 21:24:04 +01:00
Strangerke fcbbf2fc58 TRECISION: Fix initialization of _vertsCorr 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 9e7dd6ab75 TRECISION: Add loadAnimTab and syncGameStream in AnimManager, move/add/suppress some defines 2021-05-29 21:24:03 +01:00
Strangerke b144a8a36b TRECISION: Remove nl/sys 2021-05-29 21:24:03 +01:00
Strangerke 0298e0c08b TRECISION: Some renaming in SoundManager 2021-05-29 21:24:03 +01:00
Strangerke 9954c87b66 TRECISION: Make some members of SoundManager private 2021-05-29 21:24:02 +01:00
Strangerke 7436888ae5 TRECISION: Introduce SoundManager 2021-05-29 21:24:02 +01:00
Strangerke 664efc53e4 TRECISION: Simplify some code by using ABS and SWAP 2021-05-29 21:24:02 +01:00
Strangerke ec8bf0f7a6 TRECISION: Small simplification of the code of NlDissolve 2021-05-29 21:24:02 +01:00
Strangerke d68350f62c TRECISION: Replace 2 series of 'if' by 2 switches 2021-05-29 21:24:02 +01:00
Strangerke 569418c236 TRECISION: Move CheckMask to utils 2021-05-29 21:24:01 +01:00
Strangerke e44bbeb7b8 TRECISION: Move DrawObj to GraphicsManager and ReadSounds to sound.cpp 2021-05-29 21:24:01 +01:00
Strangerke e9602280ef TRECISION: turn 2 magic numbers into defines 2021-05-29 21:24:01 +01:00
Strangerke 4f0d954e17 TRECISION: Remove a useless parameter in ReadObj 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 318406f639 TRECISION: Change and rename defines to enums and remove unused defines 2021-05-29 21:24:00 +01:00
Filippos Karapetis 30339f471f TRECISION: Removed unused defines. Some renaming 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
Filippos Karapetis 103071cd64 TRECISION: Rename and map the rest of the rooms / closeups 2021-05-29 21:23:59 +01:00
Filippos Karapetis 3654bee551 TRECISION: Start renaming room IDs and mapping the rooms 2021-05-29 21:23:59 +01:00
Filippos Karapetis d755681336 TRECISION: Add a console, with some initial commands
The current commands available are "room" and "filedump"
2021-05-29 21:23:59 +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
Filippos Karapetis 18e3eb55b7 TRECISION: Refactor Smacker animations dirty rects 2021-05-29 21:23:58 +01:00
Filippos Karapetis 4953e2adbf Revert "TRECISION: Remove the extra Smacker background buffer"
This reverts commit ee99cfc58a91f8158d1e087ef7adbb369966e823.
2021-05-29 21:23:58 +01:00
Strangerke f882880d73 TRECISION: Remove AtMouseClick 2021-05-29 21:23:58 +01:00
Strangerke b6ffdcf16a TRECISION: Move endChangeRoom to LogicManager, use a setter instead of memcpy on a specific message 2021-05-29 21:23:58 +01:00
Strangerke 03a3c1923f TRECISION: Avoid another signed/unsigned comparison 2021-05-29 21:23:58 +01:00
Strangerke 73eb6008ad TRECISION: Fix endianess in decompress, fix some a warning 2021-05-29 21:23:57 +01:00
Strangerke 8d17cc69a9 TRECISION: Move ObjPointers and MaskPointers to the main engine, fix leaking 2021-05-29 21:23:57 +01:00
Strangerke 507f5af16a TRECISION: rewrite ReadObject (as well as 41D and 2C) to use streams. WIP (it's leaking a lot) 2021-05-29 21:23:57 +01:00
Filippos Karapetis 08e890d2e7 TRECISION: Cleanup 2021-05-29 21:23:57 +01:00
Filippos Karapetis b4d81d0b30 TRECISION: Remove the extra Smacker background buffer
It's no longer needed
2021-05-29 21:23:57 +01:00
Filippos Karapetis fc4a929208 TRECISION: Use full screen updates for the background videos
The performance difference is very small, and this allows for
further simplification of the rendering pipeline
2021-05-29 21:23:56 +01:00
Filippos Karapetis 96f9f118ad TRECISION: Remove dead code related to _actionPointer
This whole code is unused, values larger than hLAST are used as
animations
2021-05-29 21:23:56 +01:00
Strangerke ce96966008 TRECISION: Make ReadObj use a stream (WIP) 2021-05-29 21:23:56 +01:00
Strangerke d6e429082a TRECISION: Make loadBackGround use a stream instead of a temp buffer 2021-05-29 21:23:56 +01:00
Filippos Karapetis 9425a29454 TRECISION: Add some extra padding and sanity checks to the decompressor
Fixes OOB writes in some rooms (e.g. boiler and lava)
2021-05-29 21:23:56 +01:00
Filippos Karapetis 3bed3d9b56 TRECISION: Plug memory leaks in Smacker surfaces 2021-05-29 21:23:55 +01:00
Strangerke 9a2c9ae36e TRECISION: Move the BMInfo reader to its struct 2021-05-29 21:23:55 +01:00
Filippos Karapetis 3ae9e45036 TRECISION: Reuse the object reading code 2021-05-29 21:23:55 +01:00
Filippos Karapetis 948451b4d2 TRECISION: Simplify SDObj and its associated buffer and mask handling 2021-05-29 21:23:55 +01:00
Filippos Karapetis 9d68817274 TRECISION: Disable the dumpfile code, and reduce memory leaking again 2021-05-29 21:23:55 +01:00
Strangerke 97a27fa272 TRECISION: Remove hardcoded value for buffersize 2021-05-29 21:23:54 +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
Filippos Karapetis 8705be2596 TRECISION: Fix handling of the 3 CD animation files 2021-05-29 21:23:54 +01:00