Commit Graph
48 Commits
Author SHA1 Message Date
Adrian Frühwirth cee4d6b853 JANITORIAL: Fix trailing whitespace 2018-05-24 15:30:55 +02:00
David Fioramonti d5fb1170d7 TITANIC: Prevent locking/unlocking sounds in photoview
In scummvm and the original engine if you try to
unlock/lock stars in photoview/skyview then the
stars will not unlock/lock, but the sounds
associated with unlocking and locking were playing.
Giving a false impression that the
locking/unlocking was happening.

The sounds no longer play when in photoview.
2017-09-09 14:24:26 -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 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 f935d79960 TITANIC: Cleanup of DAffine, removal of unused static 2017-08-15 21:32:25 -04:00
Paul Gilbert 89457af33e TITANIC: Don't allow movement link to be used in Starfield Puzlze
The scene has an unused right turn link that wasn't used, and is
covered by the starview. Since movement now uses simulated mouse
clicks, the worst result of clicking right arrow is simply that
a star may be accidentally selected. But for cleanliness, it was
best to fix it. It also allowed the creation of code that other
objects in the view can use to override default movement logic,
just in case it's needed.
2017-08-06 15:25:28 -04:00
Paul Gilbert b4c5318e6d TITANIC: Don't allow starfield to be shown if puzzle was skipped 2017-07-15 15:48:43 -04:00
Paul Gilbert 906c6de3d1 TITANIC: Fix daffine.h includes 2017-07-12 19:52:25 -04:00
Paul Gilbert 256b27581c TITANIC: Rename DMatrix to DAffine, thanks to wjp 2017-07-12 19:41:05 -04:00
Paul Gilbert 10ada8b23b TITANIC: Fix some calculation errors when locking markers 2017-06-01 21:19:49 -04:00
Paul Gilbert 520ba69b24 TITANIC: Renamings for locking/unlocking markers 2017-05-31 19:00:17 -04:00
Paul Gilbert b21e829a9f TITANIC: Renamings and fixes for starfield marker buttons in PET 2017-05-30 22:23:31 -04:00
Paul Gilbert 56474edca0 TITANIC: Cleanup & fixes for starfield viewpoint box 2017-05-30 20:01:49 -04:00
Paul Gilbert 867f06a2b4 TITANIC: Renamings and further fixes for CPhotoCrosshairs 2017-05-30 12:11:35 -04:00
Paul Gilbert 77703ed316 TITANIC: Renamed CStarControlSub7 to CStarMarkers 2017-05-28 22:25:13 -04:00
Paul Gilbert 60faebe348 TITANIC: Renamings for CCameraMover fields and methods 2017-04-17 11:39:25 -04:00
Paul Gilbert 5059aea538 TITANIC: Rename CStarControlSub12 to CStarCamera 2017-04-09 21:44:10 -04:00
Paul Gilbert 8ffdd29b11 TITANIC: Renamed CStarControlSub6 to FPose 2017-04-05 21:29:32 -04:00
Paul Gilbert 25fcb52d70 TITANIC: Renaming of crosshairs related code 2017-03-31 22:51:06 -04:00
Paul Gilbert 5d11c67d00 TITANIC: Fix initialization of CStarControl _petControl reference 2017-03-30 22:32:44 -04:00
Paul Gilbert 09da421293 TITANIC: Further code for new skip nav button to work correctly 2017-03-29 22:25:33 -04:00
Paul Gilbert a925264fb0 TITANIC: Remove redundant static from CStarControlSub6
It was only ever used as a temporary matrix in the constructor.
Given that, it was cleaner to simply declare it as a local variable.
2017-03-26 21:40:55 -04:00
Paul Gilbert 64b970ef64 TITANIC: Implementing CStarView methods 2017-03-02 23:04:02 -05:00
Paul Gilbert 297cb6be82 TITANIC: Code for starfield mode setup & photo code 2017-03-02 21:07:28 -05:00
Paul Gilbert 1f99c01f12 TITANIC: Added remainder of CStarControl class 2017-02-27 09:08:34 -05:00
Paul Gilbert 93cd3eced2 TITANIC: Implemented CStarControl doAction 2017-02-27 08:55:56 -05:00
Paul Gilbert e107003c4c TITANIC: Some preliminary cleanup of star control interfaces 2017-02-24 23:30:17 -05:00
Paul Gilbert 90e4e8a064 TITANIC: Initial cleanup & renamings for bridge controls 2017-02-20 21:15:00 -05:00
Paul Gilbert 9d6af45877 TITANIC: Removal of un-used fields to reduce Buildbot warnings
Note there's a lot of preliminary code in the star_control/ folder
for code that still needs to be fully disassembled & implemented.
So for now I've made liberal use of #if 0 blocks to disable fields
that will likely be needed again in the future
2017-01-15 09:29:04 -05:00
Eugene Sandulenko dead4aa014 JANITORIAL: Remove trailing spaces 2016-10-09 14:59:58 +02:00
Paul Gilbert 7ace328cb8 TITANIC: Fix various warnings 2016-07-31 18:08:57 -04:00
Paul Gilbert 0ed7b463e8 TITANIC: Fixes for saving & loading savegames 2016-07-20 21:51:44 -04:00
Paul Gilbert 020655a6f3 TITANIC: Adding CStarControlSub12 methods 2016-07-17 21:26:03 -04:00
Paul Gilbert 816b99f5a6 TITANIC: Added CStarField support methods 2016-07-17 13:26:22 -04:00
Paul Gilbert 29c87fe375 TITANIC: Renamed CStarControlSub12 to CStarField 2016-07-17 13:10:04 -04:00
Paul Gilbert c4e3cd87ab TITANIC: Finished startfield initDocument 2016-07-17 13:10:01 -04:00
Paul Gilbert 0118919d35 TITANIC: Further work on DMatrix 2016-07-17 13:09:56 -04:00
Paul Gilbert 1b06a9294a TITANIC: Setup of CStarControlSub6 class 2016-07-17 13:09:54 -04:00
Paul Gilbert 46ec1a004b TITANIC: Added CStarControl message handlers 2016-07-15 19:26:27 -04:00
Paul Gilbert ed06a1a44e TITANIC: Added bulk ofCStarView draw 2016-07-15 19:26:24 -04:00
Paul Gilbert 712db65ff4 TITANIC: Implemented CStarControlSub15 class 2016-07-15 19:26:14 -04:00
Paul Gilbert eebb42be89 TITANIC: Work on CBaseStar and CStarControlSub4 classes 2016-07-15 19:26:08 -04:00
Paul Gilbert 5ccc0a66da TITANIC: Removed const modifier from all saveable objects
Turns out that CGameObject::save regenerates the _movieRangeInfo list.
So the const suffix can no longer be used for the entire hierarchy
2016-07-15 19:25:58 -04:00
Paul Gilbert c87a6e212a TITANIC: Adding stub methods to CGameObject 2016-07-15 19:25:25 -04:00
Paul Gilbert be9a05f8b5 TITANIC: Added CPetStarfield methods 2016-07-15 19:25:14 -04:00
Paul Gilbert 1efbed5409 TITANIC: Move most of the root classes into new support/ folder 2016-04-03 16:16:35 -04:00
Paul Gilbert 20725a0eda TITANIC: Further work on CStarControl support classes and loading 2016-03-05 21:44:57 -05:00
Paul Gilbert f01bd1be9f TITANIC: Create stubs for CStarControl support classes 2016-03-05 15:44:39 -05:00