Commit graph

25 commits

Author SHA1 Message Date
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
Paul Gilbert
e830ddbc70 TITANIC: Bring movement rates in the starfield closer to the original
The original updated the camera during the general scene drawing,
which was done at a much higher rate than I wanted for the ScummVM
implementation. So I've added this workaround to update the camera
every 10ms when the player is in the star control scene. This gives
it a comparible rate of movement to the original.
2017-08-06 20:36:28 -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
09da421293 TITANIC: Further code for new skip nav button to work correctly 2017-03-29 22:25:33 -04: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
Paul Gilbert
875002daea TITANIC: Add semicolon to DECLARE_MESSAGE_MAP usage 2016-07-24 20:52:21 -04:00
Paul Gilbert
4d79ee16c0 TITANIC: Add semicolon after CLASSDEF macro usage 2016-07-24 20:30:56 -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
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
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
7375394b81 TITANIC: Converting saveable objects hierarchy to have type data
This is necessary for at least message sending, and probably other
areas, that needs to be able to pass class filtering for message
targets. And I could figure out a clean way to use the built-in RTTI
2016-03-06 19:12:49 -05: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
Renamed from engines/titanic/game/star_control.h (Browse further)