aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/star_control/unmarked_auto_mover.cpp
AgeCommit message (Collapse)Author
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-08-30TITANIC: AutoMover and related refactoringDavid Fioramonti
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-22TITANIC: Formatting fixes for star control classesPaul Gilbert
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-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-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-06-07TITANIC: Renamings for automatic camera mover classesPaul Gilbert