aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-08-21TITANIC: Made variable for magic number used in auto camera moverDavid Fioramonti
This variable controls the number of transitions the game goes through when the mover is changing position. This reduces several 31/32s from the code.
2017-08-21TITANIC: Camera Auto Mover class cleanupDavid Fioramonti
Named some functions, made _speeds be an array instead of a dynamic one.
2017-08-21TITANIC: Named some functions in fvectorDavid Fioramonti
2017-08-20TITANIC: Prevent 2 star locking for large distancesDavid Fioramonti
I have added a conditional to the code so that if the player tries to lock onto the 2nd star and they are very far away, >1e8, then the game will not allow the star to be locked. This is a temporary workaround since if a distance of farther then this is attempted then the view will be throw way off and the stars will not be shown locking onto correctly. I've also made the locking functions return booleans so I can determine the success of the lockings. This is a partial fix for #9961.
2017-08-20TITANIC: Change ship view and position even if not movedDavid Fioramonti
The code was preventing the position and view from changing when the distance between the current and new position for a marked auto mover was zero. This happens if you lock the 2nd or 3rd star and then unlock and relock again. It was prevented this with asserts and if statement checks and I removed them all. This section of code isn't doing any inverses based on the reciprocal of the distance so theres no issue with allowing transition speeds/distances of zero. Fixes #10148.
2017-08-20TITANIC: Further camera and crosshair classes cleanupPaul Gilbert
2017-08-20Merge pull request #995 from dafioram/star_camera_workPaul Gilbert
TITANIC: CStarCamera Refactoring and CStarCrosshairs logic fix
2017-08-20VIDEO: Support old-style stereo in VMDsColin Snover
This format is used by the stereo audio VMDs in Lighthouse.
2017-08-20COMMON: Implement SeekableReadStream interface for MemoryReadWriteStreamColin Snover
This allows MemoryReadWriteStream to be passed successfully to functions that use the SeekableReadStream type so that they can call the `pos` method, like the DPCMStream class of the VMD decoder.
2017-08-20SAGA: Fix the conversation panel background color in IHNMFilippos Karapetis
2017-08-20SAGA: Filter scene verbs on objects properly for IHNM. Fixes bug #9712Filippos Karapetis
The original check was incorrectly disabled for IHNM in commit ab6fb8e9c3. The check has been enabled again, with an added condition for actors that can be used, like the jukebox in Gorrister's
2017-08-20SAGA: Remove obsolete hack for the compact disk in Ellen's chapterFilippos Karapetis
This has been added in commit 5624ba23d0 and is no longer needed. The gem is shown correctly over the compact disk in that scene, and the behavior is the same as the original
2017-08-20TITANIC: Pause the engine while the save/load dialogs are openBastien Bouclet
2017-08-20MOHAWK: Riven: Pause the engine while the load dialog is openBastien Bouclet
2017-08-19TITANIC: Fix flagging of mouth and vision centre inserting in TitaniaPaul Gilbert
2017-08-19TITANIC: Hide cursor when bridge view is showing movement sequencePaul Gilbert
2017-08-19TITANIC: Start end credits at bottom of screen, not the topPaul Gilbert
2017-08-19TITANIC: Fix getting chicken after not picking up a previous onePaul Gilbert
When you dispense a chicken, but don't pick it up and leave, the chicken is returned to the dispensor. But previously you couldn't then get another chicken, though you should be able to get one.
2017-08-19TITANIC: Prevent moving for locking stars when onto of starDavid Fioramonti
Originally, if you unlocked a star when you had 2 or 3 stars locked and then relocked without changing views then the game crashed. This was because it was trying to transition a distance of zero and this failed an assert (to normalize the length to be the distance). The transition is no longer done so the crash does not happen. Fixes #10147.
2017-08-19TITANIC: Pull assert out of dvector/fvector normalizationDavid Fioramonti
Before the normalization function was asserting if it couldn't normalize now the caller can determine what to do with a failed normalization.
2017-08-19CONFIGURE: Silence undefined-var-template warningThierry Crozat
We get this warning a lot for the Singleton class due to the way we instantiate its specializations. Also in case we forget the instantiation we get a link error anyway, so the warning is not very useful anyway.
2017-08-18TITANIC: Add logic to prevent removing locked/marked stars via skymapDavid Fioramonti
If you want to remove locked stars you can do so using the D key, but previously, you could also deselect a currently locked star via the skymap and it would crash. It previously crashed if: 1. You had 2 stars locked on and you tried to remove the 1st 2. Had 1 locked and 1 unlocked and you tried to unlock the 1st 3. Had 2 locked and 1 unlocked and you tried to unlock any of the other two locked stars. Refactoring would allow quicker comprehension of the logic of this section of code. Fixes #10126.
2017-08-18TITANIC: Allow GMM/F7 loading in prologue before player gets the PETPaul Gilbert
2017-08-18TITANIC: Fix use-after-free in TTtalker when loading savegamesPaul Gilbert
2017-08-18TITANIC: Renamed functions that adds/removes stars/markersDavid Fioramonti
Before it was add/remove row so the new name is more informative.
2017-08-18TITANIC: Implement F5 & F7 Saving and LoadingPaul Gilbert
2017-08-18TTTANIC: Fix bomb narration disappearing after Titania's cutscenePaul Gilbert
2017-08-18TITANIC: Simplify sound looping by using LoopingAudioStreamPaul Gilbert
2017-08-18TITANIC: Simplified dependencies for classes related to star_cameraDavid Fioramonti
This involved removing header files and forward declaring when possible. I also reorded the header include files to be local to gloabal. E.x., in the class implementation the class header file would be the first included. This is a first pass of header reduction for star_control/ files
2017-08-18TITANIC: Fix toggling fan speed from very fast down to slowPaul Gilbert
2017-08-18TITANIC: Fix Promenade fan sound after toggling fan speed too muchPaul Gilbert
2017-08-18WAGE: Do not error on unprintable characters.Eugene Sandulenko
Makes Swamp Witch start
2017-08-18GRAPHICS: MACGUI: Fix MacTextWindow dragging and resizingEugene Sandulenko
2017-08-18TITANIC: Change variable for tracking stars marked into enumDavid Fioramonti
2017-08-18GRAPHICS: MACGUI: Perform sanity checks before blittingEugene Sandulenko
2017-08-18SLUDGE: Fix zBuffer problem when credit scrollingSimei Yin
2017-08-18SLUDGE: Fix load&save sound bugSimei Yin
2017-08-18SLUDGE: Play mod musicSimei Yin
2017-08-17Merge pull request #992 from dafioram/daffine_fmatrix_workPaul Gilbert
TITANIC: Daffine and FMatrix work
2017-08-17TITANIC: Fix talking to ParrotPaul Gilbert
2017-08-17TITANIC: Have Parrot return after Perch is placed in cagePaul Gilbert
2017-08-17TITANIC: Fix magazine being winnable multiple timesPaul Gilbert
2017-08-17TITANIC: Fix taking hose from Frozen Broken PelleratorPaul Gilbert
2017-08-17SCUMM: Prevent darkenPallete() in Room 0 in FT, fixes bug #9871Ben Castricum
2017-08-17WAGE: Added more games to detectionEugene Sandulenko
2017-08-17WAGE: Added more alternative game versionsEugene Sandulenko
2017-08-17WAGE: Added detection for two more gamesEugene Sandulenko
2017-08-17WAGE: Added alternative version of Fred Rogers gameEugene Sandulenko
2017-08-16TITANIC: fpose, simplify inverseDavid Fioramonti
Was doing 3x3 inverse now it is doing a transpose. Also named the function.
2017-08-16TITANIC: daffine simpler inverseDavid Fioramonti
Replace rotation inverse with transpose. inv(R)=tranpose(R) for rotation matrices.