Commit Graph
86814 Commits
Author SHA1 Message Date
Eugene Sandulenko c33637769e WAGE: Added more games to detection 2017-08-17 09:38:00 +02:00
Eugene Sandulenko 72f4a7a116 WAGE: Added more alternative game versions 2017-08-17 09:38:00 +02:00
Eugene Sandulenko adae2eee0e WAGE: Added detection for two more games 2017-08-17 09:38:00 +02:00
Eugene Sandulenko b1e036c326 WAGE: Added alternative version of Fred Rogers game 2017-08-17 09:37:59 +02:00
David Fioramonti 24354ac6a8 TITANIC: fpose, simplify inverse
Was doing 3x3 inverse now it is doing a transpose.
Also named the function.
2017-08-16 20:42:09 -07:00
David Fioramonti 09eb399c07 TITANIC: daffine simpler inverse
Replace rotation inverse with transpose.
inv(R)=tranpose(R) for rotation matrices.
2017-08-16 20:42:09 -07:00
Paul Gilbert f1e42b6af0 TITANIC: Fix hose pickup cursor when loading savegame with cover open 2017-08-16 22:21:44 -04:00
David Fioramonti fb1e9453fb TITANIC: Unmarked starviewer, fix, key directions
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-16 19:11:50 -07:00
Paul Gilbert 6c667a013d TITANIC: Renamings for Broken Pellerator fields 2017-08-16 20:18:55 -04:00
David Fioramonti 5ebc972c25 TITANIC: Change fpose Yaxis rotation to be same as wikipedia
Add negatives to star camera turning rotations so view turns correctly
when no stars are marked and 1 star is marked.
2017-08-16 05:13:08 -07:00
Paul Gilbert 7376458137 TITANI: Fix auto-showing Call button outside music room Pellerator 2017-08-15 22:21:12 -04:00
Paul Gilbert 83cd778062 TITANIC: Fix too short animations in Pellerator journeys 2017-08-15 22:00:05 -04:00
Paul Gilbert 2bf19f8ece TITANIC: Fix too long animation in Pellerator journeys 2017-08-15 21:55:52 -04:00
Paul Gilbert f935d79960 TITANIC: Cleanup of DAffine, removal of unused static 2017-08-15 21:32:25 -04:00
Paul Gilbert 66024fdd2b Merge pull request #991 from dafioram/daffine_refactor
TITANIC: DAffine refactor
2017-08-15 21:28:46 -04:00
Paul Gilbert 867a37618b TITANIC: Further cleanup of FMatrix refactorings 2017-08-15 21:26:17 -04:00
Paul Gilbert 736407d7da Merge pull request #990 from dafioram/fmatrix_refactor
TITANIC: FMatrix refactoring
2017-08-15 21:22:29 -04:00
Paul Gilbert 48d6ca6a3b TITANIC: Workaround longer Pellerator times after loading savegames 2017-08-15 21:18:07 -04:00
Paul Gilbert ede1cbc4ca TITANIC: Removed dead code from CParrot::ActMsg 2017-08-15 19:42:41 -04:00
David Fioramonti 781c679c7f TITANIC: daffine refactor, changed Yaxis rotation convention
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-15 15:02:02 -07:00
David Fioramonti e9ab6fcead TITANIC: fmatrix refactor, matrix product now non-member function
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-15 14:49:00 -07:00
David Fioramonti 40b09ffd54 TITANIC: fmatrix refactor, common code for matrix product
Changed the left and right matrix product to use the matrix
product function with the matrix order reversed.
2017-08-15 14:44:08 -07:00
David Fioramonti 4bd42373ce TITANIC: star control, fmatrix refactoring
renamed fn2->MatRProd and fn3->MatLProd.
They do post (R) and pre (L) multiplication.
2017-08-15 14:41:48 -07:00
Eugene Sandulenko e8d27c782e WAGE: Sorted all detection entries to dictionary sort 2017-08-15 21:20:28 +01:00
Eugene Sandulenko 16739d386e WAGE: Increased md5 sum size to 2MB and recalculated all checksums 2017-08-15 21:16:05 +01:00
Eugene Sandulenko 7313de59b6 WAGE: Use new MacTextWindow API for selection cut/clear
This enables multiline selection cutting and clearing.
2017-08-15 19:51:33 +02:00
Eugene Sandulenko df7bd3033e GRAPHICS: MACGUI: Syncronise internal state when selection is cut 2017-08-15 19:50:07 +02:00
Eugene Sandulenko b9a7f2c800 GRAPHICS: MACGUI: Fix crash in selection when there is no text found 2017-08-15 19:49:15 +02:00
Eugene Sandulenko 0f0dd88b61 GRAPHICS: MACGUI: Fix MacText::getTextChunk() for multiline selections 2017-08-15 19:48:16 +02:00
David Fioramonti 8eb7bf3807 TITANIC: daffine refactor, call clear before setting rot matrix
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-15 04:46:43 -07:00
David Fioramonti 0f600dc21a TITANIC: daffine refactoring, non-functional changes
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-15 04:11:59 -07:00
Simei Yin 5eda2befbb SLUDGE: Add debug channel 2017-08-15 07:47:56 +02:00
Simei Yin 302a14677d SLUDGE: Fix sprite darkness bug and refactor 2017-08-15 07:47:56 +02:00
Paul Gilbert 37863e5a75 TITANIC: Stop showing lift 4 floor on SGT TV after getting eye 2017-08-14 21:26:37 -04:00
Paul Gilbert 7fa2722372 TITANIC: Don't allow Titania to activate if you remove parts after adding 2017-08-14 20:14:37 -04:00
Eugene Sandulenko 970e4b2e8a WAGE: Add detecton for Mormonoids from the Deep 2017-08-14 23:28:12 +02:00
Eugene Sandulenko c462fe9ee7 WAGE: Add detection for "James Bond 007" 2017-08-14 23:28:12 +02:00
Torbjörn Andersson d99596d477 MOHAWK: Update transition mode after loading savegame 2017-08-14 17:35:32 +02:00
Eugene Sandulenko 615af937df GRAPHICS: MACGUI: Initial code for MacTextWindow::cutSelection() 2017-08-14 09:19:41 +02:00
Thierry Crozat 3de1fd1f3e I18N: Regenerate translations data file 2017-08-14 05:05:05 +02:00
Paul Gilbert 664126aaaa TITANIC: Fix crash after dragging sound sliders 2017-08-13 21:35:22 -04:00
Paul Gilbert a8e400ef71 TITANIC: Show PET Sound sliders 2017-08-13 21:21:30 -04:00
Paul Gilbert d137aba895 TITANIC: SuccUBus wasn't dry retching in conversations 2017-08-13 20:30:32 -04:00
Paul Gilbert ad43619b7e TITANIC: Stop SuccUBus turning on when dragging mail 2017-08-13 19:03:54 -04:00
Paul Gilbert 0bdb969b5b TITANIC: Renamings for the CSuccUBus class 2017-08-13 18:45:07 -04:00
Paul Gilbert 9cc1f09f2c TITANIC: Further cleanup of DVector class 2017-08-13 15:22:26 -04:00
Paul Gilbert 9fa832a2b6 Merge pull request #989 from dafioram/dvector_refactor
TITANIC: Star control dvector class refactor
2017-08-13 15:16:42 -04:00
Paul Gilbert e846a103f4 TITANIC: Fix receiving any SuccUBus mail in the Bomb room SuccUBus 2017-08-13 15:00:41 -04:00
Torbjörn Andersson 0c6496b111 BLADERUNNER: Fix potential memory leak (CppCheck warning) 2017-08-13 16:20:50 +02:00
Torbjörn Andersson 8aeeacf204 TITANIC: Add missing va_end() on early return (CppCheck warning) 2017-08-13 16:15:18 +02:00