aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic
AgeCommit message (Collapse)Author
2017-09-09Merge pull request #1017 from dafioram/star-control-changesPaul Gilbert
TITANIC: Star control changes
2017-09-09TITANIC: Cleanup and fixes for clicking on Starfield marker LEDsPaul Gilbert
2017-09-09TITANIC: Hitting go on captain wheel resets itDavid Fioramonti
In the original once you have hit the go button on the steering wheel it won't let you use it again until you have solved the puzzle so that is how ScummVM does it now.
2017-09-09TITANIC: Prevent locking/unlocking sounds in photoviewDavid Fioramonti
In scummvm and the original engine if you try to unlock/lock stars in photoview/skyview then the stars will not unlock/lock, but the sounds associated with unlocking and locking were playing. Giving a false impression that the locking/unlocking was happening. The sounds no longer play when in photoview.
2017-09-09TITANIC: Improved naming for Helmet On/Off flagDavid Fioramonti
2017-09-09TITANIC: Fix occassional PET mixup when toggling nav helmet on & offPaul Gilbert
2017-09-09TITANIC: Fix parrot freezing after multiple chicken dragsPaul Gilbert
2017-09-09TITANIC: Fix play/stop operation for 1st Class Restaurant PhonographPaul Gilbert
2017-09-08TITANIC: Keep highlighted inventory items animating when changing roomPaul Gilbert
2017-09-07TITANIC: Fix hiding SGT toilet after turning it on & offPaul Gilbert
2017-09-07TITANIC: star camera better handler function namingDavid Fioramonti
The functions that dealt with the mover handling only had handler in the name so I added mover and type to the name to reflect that it involves the mover handler.
2017-09-07TITANIC: star control, removed todos and improved some commentsDavid Fioramonti
2017-09-07TITANIC: make sure of setOrientations more clearDavid Fioramonti
Made camera automover setOrientations not virtual and reduced arguments also changed name since to differentiate it from behavior of derived classes.
2017-09-07TITANIC: Make use of CCameraAutoMover::setPath() more clearDavid Fioramonti
There was a setPath() adn setPath2() function took in different arguments and were doing the same thing, but not using the different arguments. I made it into one function that only takes in the arguments it uses. Also it was marked virtual, but all the derived classes, CMarkedAutoMover, and CUnmarkedAutoMover were just doing there own thing and then calling this base class implementation. Therefore, I made it be not virtual and the derived classes can do there own thing and then call this, but since they are doing slightly different things it makes sense to differentiate the names and not have them all be called setPath. I.e., the derived classes also change the orientation so that is included in their function names to reflect that.
2017-09-07TITANIC: Better naming for Viewport functionDavid Fioramonti
I differentiated getRelativePosCentering() and getRelativePosCentering2() since one was using the raw Pose and one was using the regular Pose.
2017-09-06TITANIC: Add 'skip' response for Deskbot to skip entire checkinPaul Gilbert
2017-09-06TITANIC: Make Parrot speech respect the Parrot volume levelPaul Gilbert
2017-09-06TITANIC: Fix gfx glitch closing SGT chest of drawersPaul Gilbert
2017-09-06TITANIC: Fix specifying end frame in movie debugger commandPaul Gilbert
2017-09-05TITANIC: Allow GMM loading from the copyright and continue dialogPaul Gilbert
2017-09-05TITANIC: Fix Bellbot disappearing during checkin cutscenePaul Gilbert
2017-09-05TITANIC: Hook up in-game sound sliders to ScummVM volumesPaul Gilbert
2017-09-05TITANIC: Simplify sound command now that # character is allowedPaul Gilbert
2017-09-04TITANIC: Implement setup code for sound slider positionsPaul Gilbert
2017-09-04TITANIC: Cleanup and enum for CPetSoundPaul Gilbert
2017-09-04TITANIC: Fix display of music system stop button when pressedPaul Gilbert
2017-09-04TITANIC: Support full view specification in debugger room commandPaul Gilbert
2017-09-03TITANIC: Fix Doorbot disappearing on loading prologue elevator savegamePaul Gilbert
2017-09-03TITANIC: Fix Doorbot disappearing in prologue elevatorPaul Gilbert
2017-09-03TITANIC: Fix Doorbot doubletake in the prologuePaul Gilbert
2017-09-02TITANIC: Minor cleanup and warning fixes to star controlPaul Gilbert
2017-09-02TITANIC: Fix star3 locking overshoot, #9961David Fioramonti
I fixed this previously for star2, I thought the overshoot for star3 locking might have also been fixed since I hadn't observed it in a while. I applied the same workaround by setting the old position to be the new position.
2017-09-02TITANIC: Added/Removed comments for new functions in FVector and FPoseDavid Fioramonti
2017-09-02TITANIC: Move Matrix4Inv out of starcamera and into FPose functionDavid Fioramonti
2017-09-02TITANIC: Remove DVector and DAffine files from build and folderDavid Fioramonti
2017-09-02TITANIC: Swap DAffine for FPose in Orientation and TransformsDavid Fioramonti
More swapping of functions in the Orientation and Transform classes.
2017-09-02TITANIC: Swap DAffine usage for FPose in setViewportAngleDavid Fioramonti
2017-09-02TITANIC: Replace DAffine with FPose in Transform and Orientation classesDavid Fioramonti
2017-09-02TITANIC: Duplicate DAffine usage in lockMarker2 with FPose usageDavid Fioramonti
2017-09-02TITANIC: Templatize matrix_invDavid Fioramonti
This allows DAffine and FPose to use a double version and a float version of matrix4Inv.
2017-09-01TITANIC: Added DAffine functions that combines several vector operationsDavid Fioramonti
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