aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/star_control/viewport.cpp
AgeCommit message (Collapse)Author
2017-09-07TITANIC: star control, removed todos and improved some commentsDavid Fioramonti
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-02TITANIC: Minor cleanup and warning fixes to star controlPaul Gilbert
2017-08-30TITANIC: Formatting fixes for viewport refactoringPaul Gilbert
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-24TITANIC: Reduce header includes for star_control filesDavid Fioramonti
Minimized a lot of the unncessary files includes in the implementation files as well.
2017-08-24TITANIC: Reduce header includes for titanic.hDavid Fioramonti
I reduced the header includes a lot in Titanic.h and forward declared when I could. Titanic.h was including a lot and a lot of functions that were including it were not using its API. This will help make it more clear which implementation files are using which class since they will just need to include which ones they need. I also moved the debug related items in Titanic.h into the debugger header. I also reordered several of the the header includes to be local to global.
2017-08-21TITANIC: Named some functions in fvectorDavid Fioramonti
2017-08-16TITANIC: fpose, simplify inverseDavid Fioramonti
Was doing 3x3 inverse now it is doing a transpose. Also named the function.
2017-08-15TITANIC: star control, fmatrix refactoringDavid Fioramonti
renamed fn2->MatRProd and fn3->MatLProd. They do post (R) and pre (L) multiplication.
2017-05-28TITANIC: Fix copying viewport _valArray dataPaul Gilbert
2017-05-28TITANIC: Renamings of orientation related variables and methodsPaul Gilbert
2017-04-16TITANIC: Renamings for positions and orientationsPaul Gilbert
2017-04-16TITANIC: Renaming of camera setting position & orientationPaul Gilbert
2017-04-16TITANIC: Renaming for viewport position poses and access methodsPaul Gilbert
2017-04-16TITANIC: Rename CStarControlSub13 to CViewportPaul Gilbert