Commit Graph

372 Commits

Author SHA1 Message Date
Paul Gilbert
c78e83d784 VOYEUR: Implemented remainder of playAVideoDuration 2013-12-30 08:05:45 +11:00
Paul Gilbert
c4197b4e30 VOYEUR: Move _isRLV3 flag to animation header class 2013-12-30 07:45:44 +11:00
Paul Gilbert
beb64fe527 VOYEUR: Adding support for manually set backgrounds to RL2 playback 2013-12-30 07:33:36 +11:00
Paul Gilbert
3fd1abbe32 VOYEUR: Implemented playAVideo code, and support for RLV3 videos 2013-12-29 21:12:03 +11:00
Paul Gilbert
10af04da6a VOYEUR: Mouse flags cleanup and in progress work on doGossip 2013-12-29 09:58:43 +11:00
Paul Gilbert
1256fb6b66 VOYEUR: Add support for creating a PictureResource from a Graphics::Surface 2013-12-29 09:54:40 +11:00
Paul Gilbert
2c0a94d174 VOYEUR: Fix right click to exit room closeups 2013-12-28 21:17:57 +11:00
Paul Gilbert
d763f83862 VOYEUR: Fixes for mouse cursor calls 2013-12-28 20:53:33 +11:00
Paul Gilbert
aa42e7d2bd VOYEUR: Fix data needed for drawDot 2013-12-28 20:40:53 +11:00
Paul Gilbert
8fa75375d4 VOYEUR: Bugfixes for doEvidDisplay 2013-12-28 20:32:17 +11:00
Paul Gilbert
f88c472778 VOYEUR: Fixed naming of mouse state flags 2013-12-28 19:53:00 +11:00
Paul Gilbert
f01ff9a938 VOYEUR: Further replacement of page flip code with flipPageAndWait calls 2013-12-28 18:45:32 +11:00
Paul Gilbert
b08e80cd66 VOYEUR: Implemented evidence display code 2013-12-28 18:37:37 +11:00
Paul Gilbert
84752aa272 VOYEUR: Refactored code fragments to use flipPageAndWait 2013-12-28 15:09:44 +11:00
Paul Gilbert
19c208a05d VOYEUR: Refactored code fragments to use flipPageAndWaitForFade method 2013-12-28 15:02:54 +11:00
Paul Gilbert
9eccf91aea VOYEUR: Implemented startCursorBlink and drawDot 2013-12-28 14:01:06 +11:00
Paul Gilbert
3b9cdf48ee VOYEUR: Fix for doRoom start and looping 2013-12-28 13:30:51 +11:00
Paul Gilbert
8ed1171ca0 VOYEUR: Convert doInterface to use new rects resource type 2013-12-27 20:42:05 +11:00
Paul Gilbert
16cbccf09a VOYEUR: Remove redundant method definition 2013-12-26 15:47:27 +11:00
Paul Gilbert
554756f93f VOYEUR: Fix prototype for playAVideoDuration 2013-12-26 09:36:27 +11:00
Paul Gilbert
906f2546b4 VOYEUR: Implemented getChooseButton 2013-12-26 09:35:27 +11:00
Paul Gilbert
88c9dac8c0 VOYEUR: Implemented playAVideoDuration 2013-12-26 07:30:46 +11:00
Paul Gilbert
6e1a7abeef VOYEUR: Implemented checkForIncriminate 2013-12-25 19:38:32 +11:00
Paul Gilbert
0c82fc1baf VOYEUR: Implemented checkForMurder 2013-12-25 19:26:49 +11:00
Paul Gilbert
6e801e246b VOYEUR: Enhance RectResource to handle rect sets 2013-12-25 17:07:05 +11:00
Paul Gilbert
754601bbab VOYEUR: Better implementation of rect resources 2013-12-25 16:40:46 +11:00
Paul Gilbert
562df7ede1 VOYEUR: Implement doTapePlaying 2013-12-25 16:05:01 +11:00
Paul Gilbert
c5f9cf9134 VOYEUR: Implemented doGossip 2013-12-25 15:43:18 +11:00
Paul Gilbert
2721c2e3ed VOYEUR: Implemented reviewTape and dependent code 2013-12-25 14:08:37 +11:00
Paul Gilbert
fa6eb76d66 VOYEUR: Implemented further event methods, and miscellaneous 2013-12-24 16:32:50 +11:00
Paul Gilbert
156f78e7cd VOYEUR: Bugfixes and move for doScroll method 2013-12-24 10:32:41 +11:00
Paul Gilbert
1af5a3b1b4 VOYEUR: Fix for setting up viewport clipping rect 2013-12-24 09:50:42 +11:00
Paul Gilbert
4f9c900a03 VOYEUR: Fixes for video camera battery countdown 2013-12-24 07:38:39 +11:00
Paul Gilbert
2fe3902dc9 VOYEUR: Fix to start doInterface after doApt 2013-12-21 11:52:53 -05:00
Paul Gilbert
537ec24e1e VOYEUR: Renamed a couple of event fields 2013-12-20 23:03:17 -05:00
Paul Gilbert
171d159489 VOYEUR: Implemented doRoom method 2013-12-20 22:51:31 -05:00
Paul Gilbert
a73ea5c3dc VOYEUR: Beginnings of camera spy screen 2013-12-19 09:25:40 -05:00
Paul Gilbert
72c21cf0a7 VOYEUR: Implemented drawIfaceTime 2013-12-18 22:01:16 -05:00
Paul Gilbert
f588211815 VOYEUR: Implemented checkTransition 2013-12-18 21:26:26 -05:00
Paul Gilbert
13b4c9ca68 VOYEUR: Renaming of mouse click fields 2013-12-18 20:13:34 -05:00
Paul Gilbert
6cd2d01397 VOYEUR: Fixes for doApt mouse handling 2013-12-18 09:34:48 -05:00
Paul Gilbert
1a4c6d46ac VOYEUR: Reset doAptAnim frame delay back to what it should be 2013-12-18 09:17:47 -05:00
Paul Gilbert
29fe53993b VOYEUR: Fix error in vDoFadeInt 2013-12-18 09:03:18 -05:00
Paul Gilbert
23f9cb19b4 VOYEUR: In progress work on fixing initial apartment animation 2013-12-18 08:53:44 -05:00
Paul Gilbert
b99176fee6 VOYEUR: Fix for sound playback in the apartment 2013-12-17 20:18:01 -05:00
Paul Gilbert
2346671e7c VOYEUR: Resource fix in doAptAnim 2013-12-16 22:21:41 -05:00
Paul Gilbert
5dde350ba0 VOYEUR: Implemented getVOCStatus 2013-12-16 22:21:11 -05:00
Paul Gilbert
7d8aa0a506 VOYEUR: Implemented getVOCFileName 2013-12-15 20:11:11 -05:00
Paul Gilbert
e132e8b7c1 VOYEUR: Implemented doApt 2013-12-15 19:01:44 -05:00
Paul Gilbert
663d08b192 VOYEUR: Fix for when multiple bolt files are open 2013-12-15 17:51:47 -05:00
Paul Gilbert
28ecf5ba53 VOYEUR: Fix extra flag parameters for getBoltGroup and freeBoltGroup 2013-12-15 15:08:25 -05:00
Paul Gilbert
2f3bb44f5e VOYEUR: Fix for loading bolt groups 2013-12-15 13:28:42 -05:00
Paul Gilbert
8eae029669 VOYEUR: Fix for resource pointers resolveAll not clearing it's resolve it 2013-12-15 11:15:58 -05:00
Paul Gilbert
e44fa657e4 VOYEUR: Implemented support methods needed for doApt 2013-12-14 22:27:16 -05:00
Paul Gilbert
798a93d899 VOYEUR: Slight fix to doInterface method 2013-12-14 21:08:56 -05:00
Paul Gilbert
fc757c3169 VOYEUR: Fix shadowed variable in doInterface 2013-12-14 20:42:16 -05:00
Paul Gilbert
95316a5956 VOYEUR: Implemented doInterface method 2013-12-14 20:40:19 -05:00
Paul Gilbert
af90a11ff2 VOYEUR: Fix various warnings 2013-12-14 17:38:01 -05:00
Paul Gilbert
49d50afb47 VOYEUR: In progress implementation of doInterface 2013-12-14 11:39:15 -05:00
Paul Gilbert
debe14fc50 VOYEUR: Fixes for casting warnings 2013-12-14 11:07:01 -05:00
Paul Gilbert
4ffa060832 VOYEUR: Make parsePlayCommands debug parse Index be 1-based 2013-12-13 23:26:51 -05:00
Paul Gilbert
033929d701 VOYEUR: Fixes for parsePlayCommands command 8 2013-12-13 23:18:59 -05:00
Paul Gilbert
b9bd380a29 VOYEUR: Fixes for parsePlayCommands command 7 2013-12-13 23:13:35 -05:00
Paul Gilbert
208c5aa6b7 VOYEUR: Fix for parsePlayCommands command 9 2013-12-13 23:03:25 -05:00
Paul Gilbert
b80d0e9aa3 VOYEUR: Fix field intiialisation in getStateInfo 2013-12-13 22:11:16 -05:00
Paul Gilbert
f2b8c51881 VOYEUR: Added extra initialisation for ControlResource objects 2013-12-13 22:10:39 -05:00
Paul Gilbert
09b22952ce VOYEUR: Minor fix to getNextRecord and added a few debug lines 2013-12-13 20:51:06 -05:00
Paul Gilbert
c479aed9d1 VOYEUR: Implemented cardPerform and cardPerform2 2013-12-12 23:56:54 -05:00
Paul Gilbert
1187a4fc25 VOYEUR: Implemented goToState method 2013-12-12 20:33:59 -05:00
Paul Gilbert
dfd4e765f2 VOYEUR: Implementing code for chooseSTAMPButton and sub-methods 2013-12-12 08:51:13 -05:00
Paul Gilbert
888f35fe5e VOYEUR: Implemented the saveLastInplay method 2013-12-11 22:57:51 -05:00
Paul Gilbert
ae7bb13f20 VOYEUR: Fix loading of ControlResource 2013-12-11 22:36:40 -05:00
Paul Gilbert
7f018dafd5 VOYEUR: Bugfixes for getField1CE method 2013-12-11 22:20:48 -05:00
Paul Gilbert
d5762b5332 VOYEUR: Removed use of GET_WORD macro in parsePlayCommands 2013-12-11 21:51:33 -05:00
Paul Gilbert
7f5a5606a5 VOYEUR: Implemented remainder of parsePlayCommands 2013-12-11 21:46:06 -05:00
Paul Gilbert
d08953ccd9 VOYEUR: Implemented more of parsePlayCommands 2013-12-11 00:11:02 -05:00
Paul Gilbert
10be9a527b VOYEUR: Split ThreadResource into it's own file 2013-12-10 21:34:48 -05:00
Paul Gilbert
9660652695 VOYEUR: More of parsePlayCommands implemented 2013-12-10 20:47:05 -05:00
Paul Gilbert
573e2c143d VOYEUR: Start of implementing parsePlayCommands 2013-12-10 09:19:54 -05:00
Paul Gilbert
9cb1122a98 VOYEUR: Implement stubs for thread methods needed by playStamp 2013-12-09 22:28:53 -05:00
Paul Gilbert
03f7fb64db VOYEUR: Implemented the playStamp method 2013-12-09 22:22:32 -05:00
Paul Gilbert
afc4e0ed33 VOYEUR: Implemented thread getButtonsText and support methods 2013-12-08 23:44:06 -05:00
Paul Gilbert
ce9b127cbc VOYEUR: Further thread initialisation methods 2013-12-08 22:57:11 -05:00
Paul Gilbert
7ccc9a3fab VOYEUR: Moved stm methods into ThreadResource class 2013-12-08 19:25:40 -05:00
Paul Gilbert
96b1fb8601 VOYEUR: Fixes for ControlResource initialisation 2013-12-08 18:23:40 -05:00
Paul Gilbert
bad9219c27 VOYEUR: Temporarily disable startup screens 2013-12-08 18:02:46 -05:00
Paul Gilbert
fc7c1cd33e VOYEUR: More thread/stack initialisation 2013-12-08 16:51:50 -05:00
Paul Gilbert
ce3cb58d15 VOYEUR: Extra control/group initialisation 2013-12-08 14:44:48 -05:00
Paul Gilbert
a86b1c3d58 VOYEUR: Implementation of basic StampBoltFile resource types 2013-12-08 10:40:26 -05:00
Paul Gilbert
a6ceaf2985 VOYEUR: Refactoring of BoltFile now that have more than one bolt file 2013-12-07 20:44:28 -05:00
Paul Gilbert
b40c34a883 VOYEUR: Fix engine to not be enabled by default 2013-12-07 19:17:40 -05:00
Paul Gilbert
9922353f56 VOYEUR: Implemented addVideoEventStart and dependent variable initialisation 2013-12-05 22:36:59 -05:00
Paul Gilbert
75c960081c VOYEUR: Did some refactoring of game files 2013-12-05 21:49:12 -05:00
Paul Gilbert
958654fe94 VOYEUR: Added staticres.cpp file 2013-12-04 22:25:34 -05:00
Paul Gilbert
39a86aed6a VOYEUR: Implemented sDrawPic mode for writing transition card text 2013-12-03 22:17:04 -05:00
Paul Gilbert
805230e163 VOYEUR: Fix for stuttering sound in animation playback 2013-12-02 22:45:29 -05:00
Paul Gilbert
08d68be2dc VOYEUR: Fix for playback of animations with a background 2013-12-02 22:09:21 -05:00
Paul Gilbert
1fb422cde2 VOYEUR: Implemented sound effects for the lock screen 2013-12-02 08:29:51 -05:00
Paul Gilbert
626c988841 VOYEUR: Fix for correctly displaying lock screen 2013-12-01 22:56:28 -05:00
Paul Gilbert
ede418b67a VOYEUR: Merge of upstream 2013-11-30 20:44:23 -05:00
Paul Gilbert
66d1f7a8de VOYEUR: Fixes for opening scene to start 2013-06-26 22:23:50 -04:00
Paul Gilbert
d8ef42a761 VOYEUR: Work on doOpening method 2013-06-24 08:51:42 -04:00
Paul Gilbert
a4e445702f VOYEUR: Implemented doTransitionCard 2013-06-23 14:55:27 -04:00
Paul Gilbert
2654135257 VOYEUR: Fix crash from using background resource after it's group is freed 2013-06-23 11:31:54 -04:00
Paul Gilbert
cc4486772c VOYEUR: Fix in bounds clipping in sDrawPic 2013-06-23 11:16:53 -04:00
Paul Gilbert
b4bfc7c71c VOYEUR: Implementing code for showing title sequence 2013-06-22 21:09:20 -04:00
Paul Gilbert
527a52e473 VOYEUR: Sound for RL2 video files is sort of working 2013-06-22 19:28:52 -04:00
Paul Gilbert
c4a56dbdb8 VOYEUR: Implemented RL2 video decoder 2013-06-22 11:57:51 -04:00
Paul Gilbert
8c2b956120 VOYEUR: Converted cursor drawing to use CursorMan 2013-06-21 00:18:19 -04:00
Paul Gilbert
975cc8075d VOYEUR: Fixed colours of lock screen text display 2013-06-20 22:08:01 -04:00
Paul Gilbert
1c34c1847e VOYEUR: Lock screen mouse clicks now working 2013-06-20 21:42:48 -04:00
Paul Gilbert
ff270eb61e VOYEUR: Fix setting cursor colour in lock screen 2013-06-20 21:24:30 -04:00
Paul Gilbert
412ac6a00d VOYEUR: Minor cleanup of doLock cursor code 2013-06-20 08:38:38 -04:00
Paul Gilbert
4c70e6afce VOYEUR: On-screen text finally showing up 2013-06-19 23:02:40 -04:00
Paul Gilbert
3e62f279d5 VOYEUR: Fix loading and use of font resource top padding 2013-06-19 00:16:51 -04:00
Paul Gilbert
c0e6fcba73 VOYEUR: Implemented sDrawPic modes for screen clearing 2013-06-18 23:14:46 -04:00
Paul Gilbert
65a6308a5a VOYEUR: Fix crash on shutdown 2013-06-17 23:06:00 -04:00
Paul Gilbert
b135ce3d28 VOYEUR: Further fading memory access bugfixes 2013-06-17 22:59:26 -04:00
Paul Gilbert
1a2f6fe6f3 VOYEUR: Fix memory overrun in fading code 2013-06-17 22:45:59 -04:00
Paul Gilbert
ef902493c4 VOYEUR: Some cleanup and enum-ifying graphic drawing code 2013-06-17 22:41:58 -04:00
Paul Gilbert
eea9f9d2bb VOYEUR: Implemented setCursorTo method 2013-06-16 21:50:31 -04:00
Paul Gilbert
8f3d5d5320 VOYEUR: Fixed initialisation of viewport parent pointer 2013-06-16 21:20:42 -04:00
Paul Gilbert
76ba4bcafb VOYEUR: Font rendering fixes 2013-06-16 09:03:03 -04:00
Paul Gilbert
0a0db2bf73 VOYEUR: Refactoring and bugfixes for correctly loading fontInfo and font resources 2013-06-15 11:39:28 -04:00
Paul Gilbert
b02c72b45f VOYEUR: Initial implementation of drawText method 2013-06-14 22:01:59 -04:00
Paul Gilbert
0fe067ba4a VOYEUR: Lock screen background now correctly showing 2013-06-12 22:43:54 -04:00
Paul Gilbert
e24e181a2a VOYEUR: Work implementing the lock display screen 2013-06-12 22:13:52 -04:00
Paul Gilbert
f9b2c62bcd VOYEUR: Fading now works correctly 2013-06-10 23:24:02 -04:00
Paul Gilbert
ca8a47700d VOYEUR: Add missing code from CMapResource & ViewPortListResource initialisation 2013-06-10 21:46:19 -04:00
Paul Gilbert
7bf4d49253 VOYEUR: Starting to implement code for the lock screen 2013-06-10 21:29:12 -04:00
Paul Gilbert
54c470d36f VOYEUR: Implemented fillPic and related code 2013-06-08 17:51:41 -04:00
Paul Gilbert
b1eeefaab1 VOYEUR: Implement freeBoltGroup and related logic 2013-06-08 15:49:44 -04:00
Paul Gilbert
11a4fef956 VOYEUR: Some further work implementing fading 2013-06-08 15:41:22 -04:00
Paul Gilbert
3780d9abec VOYEUR: Major cleanup of code between EventsManager and GraphicsManager 2013-06-08 10:31:37 -04:00
Paul Gilbert
48c18a7c14 VOYEUR: Implemented decoding of viewport list palette data 2013-06-07 22:07:57 -04:00
Paul Gilbert
8d6d3d8aa6 VOYEUR: Some fixes for startup palette loading 2013-06-07 21:22:00 -04:00
Paul Gilbert
8342e1ed75 VOYEUR: Fix glitch in decoding first screen 2013-06-07 20:15:26 -04:00
Paul Gilbert
adef1bc27d VOYEUR: Some cleanup of sDrawPic, and decompression fixes 2013-06-06 23:48:46 -04:00
Paul Gilbert
f5ed290025 VOYEUR: Minor palette load bugfixes. First screen is now partly showing 2013-06-05 22:10:13 -04:00
Paul Gilbert
6bce04959b VOYEUR: Implemented more doHeadTitle startup code, and startFade 2013-06-05 21:28:51 -04:00
Paul Gilbert
2a2e1a08cf VOYEUR: Fix to event manager delays and screen updates methods 2013-06-02 22:33:47 -04:00
Paul Gilbert
f70fd94732 VOYEUR: Added in debugger and adding event manager methods 2013-06-01 22:14:59 -04:00
Paul Gilbert
e9e596e741 VOYEUR: Fixes for recent changes to ViewPortResource initialisation 2013-06-01 20:07:20 -04:00
Paul Gilbert
0dc30622d3 VOYEUR: Firthur work on sDrawPic and add fn 2013-06-01 19:38:50 -04:00
Paul Gilbert
b85aa4f8d9 VOYEUR: Implemented the restoreBack method 2013-06-01 13:01:09 -04:00
Paul Gilbert
99f474a3b6 VOYEUR: Implemented the restoreMCGASaveRect method 2013-06-01 12:35:50 -04:00
Paul Gilbert
8b6d3169cc VOYEUR: Implemented sWaitFlip 2013-05-31 22:13:28 -04:00
Paul Gilbert
a6c852c99d VOYEUR: Implemented flipPage 2013-05-31 21:31:33 -04:00
Paul Gilbert
4279eedceb VOYEUR: Cleanup of sDrawPic parameter usage and viewport initialisation 2013-05-31 21:03:16 -04:00
Paul Gilbert
43d31cc334 VOYEUR: Implemented first execution path through sInitPic 2013-05-31 18:40:04 -04:00
Paul Gilbert
8e1325e538 VOYEUR: Implemented the setupMCGASaveRect method 2013-05-30 08:31:06 -04:00
Paul Gilbert
04794adf5c VOYEUR: Completed setupViewPort 2013-05-29 23:21:07 -04:00
Paul Gilbert
452fdc64af VOYEUR: Fixes to pointer fields in viewport setup 2013-05-28 23:57:16 -04:00
Paul Gilbert
d770907c33 VOYEUR: Starting on viewport activation, and extra bolt entry guards 2013-05-28 22:39:32 -04:00
Paul Gilbert
83524863d7 VOYEUR: Implemented remaining Bolt init methods 2013-05-27 23:01:15 -04:00
Paul Gilbert
ab4f798f5b VOYEUR: Added code for initViewPortList 2013-05-26 22:18:54 -04:00
Paul Gilbert
23f3866e14 VOYEUR: Implemented initViewPort and pointer resolve methods 2013-05-25 23:30:48 -04:00
Paul Gilbert
e33fb4f897 VOYEUR: Fixes for decompression, and picture initialisation 2013-05-25 20:51:53 -04:00
Paul Gilbert
a855cf648b VOYEUR: Refactoring Bolt statics into a separate class 2013-05-25 15:36:57 -04:00
Paul Gilbert
aff7c3d9bd VOYEUR: Beginnings of Bolt init function array 2013-05-25 09:58:03 -04:00
Paul Gilbert
3c6507812e VOYEUR: Clean up of IntData usage 2013-05-24 21:54:40 -04:00
Paul Gilbert
0d26e515fb VOYEUR: Start of work on general initialisation 2013-05-23 23:13:28 +10:00
Paul Gilbert
71d2b5008d VOYEUR: Finished globalInitBolt method 2013-05-22 22:29:24 +10:00
Paul Gilbert
d4a137528f VOEYUR: Now the font data pointer loads correctly 2013-05-22 21:43:26 +10:00
Paul Gilbert
7c85f94a57 VOYEUR: First group's members are now successfully decompressed 2013-05-22 14:00:47 +10:00
Paul Gilbert
ca0eb9bd75 VOYEUR: Some initial bugfixes for resource decompression 2013-05-22 13:15:43 +10:00
Paul Gilbert
a52dffb315 VOYEUR: Implemented code for default decompression 2013-05-22 12:07:17 +10:00
Paul Gilbert
bff4076093 VOYEUR: Fixes for loading group index 2013-05-21 13:19:12 +10:00
Paul Gilbert
4b638bc4b0 VOYEUR: Further work on bolt file loading 2013-05-21 11:18:40 +10:00
Paul Gilbert
0c5561cc07 VOYEUR: In progress work on bolt file manager 2013-05-20 12:45:54 +10:00
Paul Gilbert
b72298fa6f VOYEUR: Added proper detection entry 2013-05-18 13:13:48 +10:00
Paul Gilbert
db519373c1 VOYEUR: Added engine skeleton 2013-05-18 12:40:43 +10:00