aboutsummaryrefslogtreecommitdiff
path: root/engines
AgeCommit message (Collapse)Author
2017-09-01TITANIC: Replace all external uses of DVector with FVectorDavid Fioramonti
Wherever DVector was used outside of DAffine and CMatrixTransform I replaced with FVectors. So Internally those functions are still using DVectors. This required adding some new functions to FVector that duplicated functionality in DVector.
2017-08-31TITANIC: Don't allow unlocking stars while locking onto a starDavid Fioramonti
Fixes #10170. I've added a boolean variable that tracks whether the game is in the process of locking onto a star or not. When the user hits the unlock button _isInLockingProcess gets checked and the request to unlock is denied if the locking on is currently happening. Once the locking on is finished then the release is lifted and the user can unlock at this time (or after locking onto the next star).
2017-08-31TITANIC: Minor syntactic fixes for Star Control classesPaul Gilbert
2017-08-31TITANIC: Fix star lock2/lock3 overshoot, fixes #9961David Fioramonti
The problem was that the camera when locking onto the 2nd star was starting at a bad spot and then overshooting when it moved to do the locking movements. A solution I picked is just to start at the final spot. I also removed the check that the distance the mover had to move was too large since the bug is now avoided.
2017-08-31TITANIC: Star Camera lockMarker2 refactorDavid Fioramonti
Named many variables in the lockMarker2 functions.
2017-08-31TITANIC: Add 4x4 inverse to Daffine and use itDavid Fioramonti
Very important for StarCamera:lockMarker2 is an inverse of the difference between locked star1 and about to be star2. Before it was calculating the col4 values by doing a new col4 = -inv(R)*col4. col4 represents the x,y,z position of the vector. This calculation is not correct in the most general sense and is only valid for a single rotation and translation. For any more than one rotation and translation the upper left 3x3 inverse is still the transpose of the previous 3x3 portion there since that is just the rotation part, but the translation part is now R2T1 + T2, which can't be undone by simply multiplying by the inverse of R2. This gets more complicated for lots of rotations so I've added a general 4x4 inverse calculation and just pulled of the column 4 values. The inverse implementation I used was from the mesa 3d library and that has an MIT license so its okay to use in GPL.
2017-08-30TITANIC: Renamed a dvector funcDavid Fioramonti
More correct function naming then before.
2017-08-30TITANIC: StarCamera separate function for calculating angleDavid Fioramonti
This makes lockMarker2 more manageable.
2017-08-30TITANIC: StarCamera workDavid Fioramonti
2017-08-30TITANIC: AutoMover and related refactoringDavid Fioramonti
2017-08-30TITANIC: CCameraMover and related classes RefactorDavid Fioramonti
1. Removed updatePosition function defintions since UnmarkedCameraMover and MarkedCameraMover, derived classes, are overriddening it. I.e., CCameraMover::updatePosition doesn't get used. This also allowed some header files to removed. 2. Renaming of some functions.
2017-08-30TITANIC: Formatting fixes for viewport refactoringPaul Gilbert
2017-08-30Merge pull request #1001 from dafioram/viewport_refactorPaul Gilbert
TITANIC: Viewport refactor
2017-08-30WAGE: Update Parrot Talk games statusEugene Sandulenko
2017-08-29WAGE: Correctly specify target name for dumped scriptsEugene Sandulenko
2017-08-29WAGE: Dump scripts by requestEugene Sandulenko
2017-08-29WAGE: Quit gracefully when requestedEugene Sandulenko
2017-08-29WAGE: Since the sounds are blocking, made the sound handle globalEugene Sandulenko
2017-08-29WAGE: Make sound blockingEugene Sandulenko
2017-08-28TITANIA: Fix light being loose after Bellbot gets Titania's eyePaul Gilbert
2017-08-28TITANIC: Fix crash opening GMM during startup & Continue dialogPaul Gilbert
2017-08-28WAGE: Properly set the character when player is not definedEugene Sandulenko
2017-08-27BLADERUNNER: Fix buildThomas Fach-Pedersen
2017-08-27BLADERUNNER: Fix buildThomas Fach-Pedersen
2017-08-27BLADERUNNER: Add Overlay videosThomas Fach-Pedersen
2017-08-27TITANIC: Refactoring of Viewport classDavid Fioramonti
1. Improved naming of functions. E.x., fn17 is now called getRelativePosNoCentering 2. Improved variable names E.x., _valArray[3] is now _pixel1OffSetX, naming makes sense for it use in CBaseStars::draw. 3. Lots of comments and TODO added for suspicious behavior Mentioned unused functions and values that don't get used. 4. Changes in other classes that viewport renaming affected Some of the star_camera functions were 1-1 mapping of functions in viewport so I just made the names be the same.
2017-08-27TITANIC: Fix viewport _field24/starcolor not being savedDavid Fioramonti
One of the fields wasn't getting saved. This field determines whether the star color should be pink or white. It gets recomputed when you put the helmet back on so it doesn't really matter. Previously, when it loaded this value it was loading some orientation data which occurs next in the saved data file for saved games saved by scummvm versions before this commit.
2017-08-27TITANIC: Move Rad2Deg from dvector to fvectorDavid Fioramonti
I wanted to use that variable in viewport.cpp and since fvector.h is included in more functions (already) then dvector it makes sense to move it there.
2017-08-27TITANIC: Add fpose product helper functionDavid Fioramonti
This adds a non-member function that computes the product between two fpose "matrices" and puts it in a third. One of the constructor was doing that so now it calls this non-member function.
2017-08-26SCI32: Ignore invalid audio maps in Phant2 FRColin Snover
Fixes Trac#10049.
2017-08-26SCI32: Ignore invalid audio map in GK2 DEColin Snover
Fixes Trac#10143.
2017-08-26SCI32: Limit existing bad audio map resource skips by languageColin Snover
Since audio maps change when game speech is localised, it makes sense to limit audio map skips by language until it turns out that the same problem exists in more than one language release, so we do not accidentally skip a map that is bad in one language, but OK in another language.
2017-08-26SCI32: Allow changing SFX/speech volume in GK2Colin Snover
Originally, changing the SFX volume from ScummVM was disabled because the game itself only allowed adjustment of music volume, so adjusting the SFX volume would indirectly affect the music volume. On reflection, allowing the adjustment of SFX volume even though this also changes the music volume seems preferable to not allowing any adjustment of the SFX/speech volumes.
2017-08-26SCI32: Fix SFX volume being misapplied to music & speech in some gamesColin Snover
This was happening in games with game scripts that control the master volume themselves by applying the master volume to each channel sent to the kernel, instead of relying on the kernel to manage the master volume for them.
2017-08-26TITANIC: Added frame debugger command for setting objects' movie framesPaul Gilbert
2017-08-26BLADERUNNER: Support for AESCPeter Kohaut
2017-08-26TITANIC: Fix error setting correct PET buttons for a given areaPaul Gilbert
2017-08-26TITANIC: Fix German strings in create_titanic, regenerate titanic.datPaul Gilbert
2017-08-26TITANIC: Add further strings to create_titanic toolPaul Gilbert
2017-08-26TITANIC: Hide back view of MaitreD from close to the tablePaul Gilbert
The MaitreD was rendered using frame 0 from c386.avi, but with a corrupted right and bottom edge. Ironically, the MaitreD object isn't used at all, since hiding him revealed he's part of the background as well. From the video, it seems like he was meant to have an idle wiggle animation that didn't end up being used.
2017-08-26TITANIC: Fix another struct vs class warningPaul Gilbert
2017-08-26BLADERUNNER: Transparent background in dialogue menuPeter Kohaut
2017-08-25TITANIC: Fix struct vs class forward declaration warningPaul Gilbert
2017-08-25SCI32: Stop blacklisting 37.MAP from PhantasmagoriaColin Snover
It turns out that GOG.com version of Phantasmagoria needs the 37.MAP patch file because for some reason the 37.MAP in RESSCI.000 is empty (36 bytes, versus the correct file which is ~1kB). Fortunately, this file is the same across all CDs in the original US release, so hopefully unblocking this patch will not cause any problems for any of the CD releases either. Fixes Trac#10161.
2017-08-25TITANIC: Fix buffer overflow when getting first class upgradeColin Snover
2017-08-25TITANIC: Fix Door/Bellbot remaining when summoned outside doorsPaul Gilbert
2017-08-25TITANIC: Show NPC portrait in Conversations tab after loading savegamePaul Gilbert
2017-08-25TITANIC: Fix doubled announcement when summoning DoorBotColin Snover
This would happen when the player is in one of the rooms with a room-specific announcement.
2017-08-25TITANIC: Correct cursor after ejecting cylinder in music systemPaul Gilbert
2017-08-25TITANIC: Don't allow cylinders to be dropped in music system slot closedPaul Gilbert