aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic
AgeCommit message (Collapse)Author
2017-08-16TITANIC: daffine simpler inverseDavid Fioramonti
Replace rotation inverse with transpose. inv(R)=tranpose(R) for rotation matrices.
2017-08-16TITANIC: Unmarked starviewer, fix, key directionsDavid Fioramonti
Changing the fpose Y axis rotations flipped some of the keys (z,x) so I added in negatives to fix that. Also before slash was looking up and comma was looking down. This is the same as the original, but I think thats less intuitive so I have reversed that. It also makes those keys now correct in the readme.
2017-08-16TITANIC: Change fpose Yaxis rotation to be same as wikipediaDavid Fioramonti
Add negatives to star camera turning rotations so view turns correctly when no stars are marked and 1 star is marked.
2017-08-15TITANIC: Cleanup of DAffine, removal of unused staticPaul Gilbert
2017-08-15Merge pull request #991 from dafioram/daffine_refactorPaul Gilbert
TITANIC: DAffine refactor
2017-08-15TITANIC: Further cleanup of FMatrix refactoringsPaul Gilbert
2017-08-15Merge pull request #990 from dafioram/fmatrix_refactorPaul Gilbert
TITANIC: FMatrix refactoring
2017-08-15TITANIC: Workaround longer Pellerator times after loading savegamesPaul Gilbert
2017-08-15TITANIC: Removed dead code from CParrot::ActMsgPaul Gilbert
2017-08-15TITANIC: daffine refactor, changed Yaxis rotation conventionDavid Fioramonti
The X and Z rotation already follow the convention given in wikipedia, but the Y axis rotation doesn't (its the negative angle) so I switched that and updated where that was used. This allowed stray negatives for angle calls to this function (for Y rotations) to be removed from other parts of the code (dvector). In theory this was a non-functional change. In dvector the code was taking the negative of the angle so it was essentially doing the negative of the negative, but when it was used once in star_camera it was not (when it should of been). So That was changed. That part of the code was used for locking onto the third star after the 2nd was already locked. I can't tell if the star control puzzle has improved after this change. It can still have issues locking onto the 2nd star and also not. Also added lots of todos for things to check.
2017-08-15TITANIC: fmatrix refactor, matrix product now non-member functionDavid Fioramonti
The matrix product doesn't change anything about the class so it doesn't need to be a member function. This way other functions can do multiplication of matrices.
2017-08-15TITANIC: fmatrix refactor, common code for matrix productDavid Fioramonti
Changed the left and right matrix product to use the matrix product function with the matrix order reversed.
2017-08-15TITANIC: star control, fmatrix refactoringDavid Fioramonti
renamed fn2->MatRProd and fn3->MatLProd. They do post (R) and pre (L) multiplication.
2017-08-15TITANIC: daffine refactor, call clear before setting rot matrixDavid Fioramonti
The previous code wasn't reseting all the other elements to zero when setting up a rotation matrix. This would of left other values in the not set elements leading to a matrix not quite what the caller wanted. This should lead to the function getFrameTransform returning a different Daffine matrix. Also added lots of todos
2017-08-15TITANIC: daffine refactoring, non-functional changesDavid Fioramonti
Made default constructor col4 construction explicit. Change amount argument to be angle_deg. Added constant from dvector that does conversion from degrees to radians". Also moved conversion constants for angles in dvector to header file so daffine could use that.
2017-08-14TITANIC: Stop showing lift 4 floor on SGT TV after getting eyePaul Gilbert
2017-08-14TITANIC: Don't allow Titania to activate if you remove parts after addingPaul Gilbert
2017-08-13TITANIC: Fix crash after dragging sound slidersPaul Gilbert
2017-08-13TITANIC: Show PET Sound slidersPaul Gilbert
2017-08-13TITANIC: SuccUBus wasn't dry retching in conversationsPaul Gilbert
2017-08-13TITANIC: Stop SuccUBus turning on when dragging mailPaul Gilbert
2017-08-13TITANIC: Renamings for the CSuccUBus classPaul Gilbert
2017-08-13TITANIC: Further cleanup of DVector classPaul Gilbert
2017-08-13Merge pull request #989 from dafioram/dvector_refactorPaul Gilbert
TITANIC: Star control dvector class refactor
2017-08-13TITANIC: Fix receiving any SuccUBus mail in the Bomb room SuccUBusPaul Gilbert
2017-08-13TITANIC: Add missing va_end() on early return (CppCheck warning)Torbjörn Andersson
2017-08-12TITANIC: dvector work, fn5 renamed to RotXYDavid Fioramonti
It does a rotation around the X axis then Y.
2017-08-12TITANIC: dvect work, replace fn4 with getFrameTransformDavid Fioramonti
This function was using two vectors one as a frame rotation and the other as a vector/point rotation. This function is only used in when you click on a star in starview.
2017-08-12TITANIC: star control dvector work, replace fn3 with getAnglesAsVect also ↵David Fioramonti
replace atan2 implementation fn3 in dvector returns a vector that stores a magnitude, and 2 angles. The second angle (the z component of the returned vector) was the angle that the internal vector was between its z and x axis. This angle was obtained by doing a poor man 4-quadrant atan implementation and it gave large values for negative x. This has been replaced with the atan2 standard function.
2017-08-12TITANIC: star control dvector rename fn2 to RotVectAxisYDavid Fioramonti
2017-08-12TITANIC: Star control dvector work, renamed fn1 to DAffMatrixProdVecDavid Fioramonti
It does a matrix product with a vector and a z translation
2017-08-12TITANIC: Add support for compressed bitmaps in titanic.datPaul Gilbert
2017-08-12TITANIC: Fix music fadeout when entering Parrot roomPaul Gilbert
2017-08-12TITANIC: Fix resuming well music after looking down wellPaul Gilbert
2017-08-12TITANIC: Fix converting double digit words into numbersPaul Gilbert
2017-08-12TITANIC: Fix to processing textual numbers in sentencesPaul Gilbert
2017-08-12TITANIC: Fix duplication of RealLife icons when passenger class changesPaul Gilbert
2017-08-11TITANIC: Fix highlighting PET tab icons during load or Deskbot convPaul Gilbert
2017-08-11TITANIC: Fix rendering bottom line of room glyphsPaul Gilbert
2017-08-11TITANIC: Fix animation when leaving fuseboxPaul Gilbert
2017-08-11TITANIC: Fix floating lifbot head in lift 4Paul Gilbert
2017-08-10TITANIC: Fix reinflating SGT bed after deflating itPaul Gilbert
2017-08-10TITANIC: Keep Deskbot talking for entire length of 2nd class upgradePaul Gilbert
2017-08-10TITANIC: Ignore Ctrl+C key until actually in-gamePaul Gilbert
2017-08-10TITANIC: Fix starting playback in music roomPaul Gilbert
2017-08-08TITANIC: Further improvements to arrow key movementPaul Gilbert
The movement code, when deciding on an item or link that matches the desired direction, will check five points on the object/links area.. center, left edge, right edge, top edge, and bottom edge. For each of these, it makes sure that at that point, clicking will actually get passed to it. Otherwise, it moves onto one of the other edges. This helps avoid issues where links weren't working because standard scene objects were partially obscuring them.
2017-08-07TITANIC: Hook in the original game's secret cheat roomPaul Gilbert
You can either use a special Ctrl-C key combination, or use the 'cheat' command in the debugger
2017-08-07TITANIC: Fix bots freezing up during long conversationsPaul Gilbert
2017-08-06TITANIC: Removed unused CWaveFile constructorPaul Gilbert
2017-08-06TITANIC: Fix SuccUBus not always redirecting 'nowhere' glyphs to BilgePaul Gilbert