Commit Graph
15 Commits
Author SHA1 Message Date
Adrian Frühwirth cee4d6b853 JANITORIAL: Fix trailing whitespace 2018-05-24 15:30:55 +02:00
David Fioramonti 5cf2f16ca0 TITANIC: Refactoring of Viewport class
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-27 05:39:13 -07:00
David Fioramonti d01354ab0d TITANIC: Reduce header includes for star_control files
Minimized a lot of the unncessary files includes in the
implementation files as well.
2017-08-24 04:31:04 -07:00
David Fioramonti c96b01b82e TITANIC: Reduce header includes for titanic.h
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-24 04:06:54 -07:00
David Fioramonti b200317306 TITANIC: Renamed functions that adds/removes stars/markers
Before it was add/remove row so the new name is more informative.
2017-08-18 18:56:12 -07:00
David Fioramonti 1370b49b6a TITANIC: Simplified dependencies for classes related to star_camera
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-18 17:26:05 -07:00
Paul Gilbert 256b27581c TITANIC: Rename DMatrix to DAffine, thanks to wjp 2017-07-12 19:41:05 -04:00
Paul Gilbert a4fca68217 TITANIC: Fix placement of stars in photo starfield 2017-05-28 22:04:29 -04:00
Paul Gilbert 93c2ca3c94 TITANIC: Renaming methods for setting camera movement 2017-04-15 22:21:01 -04:00
Paul Gilbert d150d1e3bf TITANIC: Remove hard-coded starfield position 2017-04-15 17:10:23 -04:00
Paul Gilbert 5741ee3103 TITANIC: Fix centroid calculations in star drawing methods 2017-04-12 20:48:47 -04:00
Paul Gilbert 2c9dffc502 TITANIC: Temporarily lock camera for testing star closeup rendering 2017-04-10 19:58:33 -04:00
Paul Gilbert 0624a9d5aa TITANIC: Renaming of CStarCamera methods 2017-04-09 21:56:22 -04:00
Paul Gilbert 5059aea538 TITANIC: Rename CStarControlSub12 to CStarCamera 2017-04-09 21:44:10 -04:00
Paul Gilbert fda21bb749 TITANIC: Rename CBaseStar to CBaseStars 2017-04-09 21:08:38 -04:00