Torbjörn Andersson
877474cd32
MADS: Allow text to scroll off screen before removing it
...
For example in the credits scroll. Clipping was already done
elsewhere, so this really is just a change in how soon the line is
removed from the list of text to display.
2015-02-22 01:43:02 +01:00
Paul Gilbert
85aecfaad4
MADS: Fix animations of spider and vulture in witch doctor's hut scene
2015-02-21 18:56:06 -05:00
Paul Gilbert
076ce7e6c1
MADS: Implement scroll wheel support for scrolling inventory
2015-02-21 17:45:20 -05:00
Paul Gilbert
c660119c22
MADS: Fix depth for seaweed in scene 104
2015-02-21 16:48:04 -05:00
Paul Gilbert
549b5d435a
MADS: Fix crash when trapping bouncy native in pit
2015-02-21 16:14:59 -05:00
Paul Gilbert
df5742eee4
MADS: Fix player animation when getting blown up by mine
2015-02-21 15:52:01 -05:00
Paul Gilbert
db325695f4
MADS: Fix proper cycling of idle animations
2015-02-15 11:07:33 -05:00
Paul Gilbert
7739e12e42
MADS: Stop player disappearing after cutscene of fish being eaten
2015-02-15 09:50:14 -05:00
Paul Gilbert
7658821afd
MADS: Fix left screen clipping for scaled flipped sprites
2015-02-15 08:10:13 -05:00
Paul Gilbert
51561c80c0
MADS: Fix left edge screen clipping for non-scaled flipped sprites
2015-02-15 07:19:42 -05:00
Paul Gilbert
2c9ad1ee9b
MADS: Fix death animations for seaweed and underwater mine
2015-02-14 21:34:09 -05:00
Paul Gilbert
a505ae941c
MADS: Fix picture when picking up timer module
2015-02-14 20:44:59 -05:00
Paul Gilbert
be489d88e6
MADS: Fix palette loading for in-game dialogs
2015-02-14 18:03:45 -05:00
Paul Gilbert
d31e602add
MADS: Allow Escape key to close game options dialog
2015-02-14 16:54:47 -05:00
Paul Gilbert
1aa9181466
MADS: Cleanup and bugfixes for panning transition support methods
2015-02-14 15:34:11 -05:00
Paul Gilbert
55be1b82a8
MADS: Variable renaming in closestColor
2015-02-08 23:54:51 -05:00
Paul Gilbert
5e00b39cae
MADS: Implementing code for panning screen transitions
2015-02-08 22:07:42 -05:00
Strangerke
35c17d5066
MADS: Janitorial - fix some else statements with braces on separate lines or extra tabs
2015-01-31 13:01:23 +01:00
Strangerke
0fcd78391b
MADS: Add a safeguard in doFrame
2015-01-31 12:53:35 +01:00
Strangerke
772cbc122d
MADS: Fix a bug in PaletteUsage::process, some renaming
2015-01-31 12:42:36 +01:00
Strangerke
1c8ecb41bd
MADS: Fix signed/unsigned comparison warning
2015-01-31 12:41:46 +01:00
Strangerke
15a10d2744
MADS: Remove a useless variable
2015-01-31 12:41:03 +01:00
Strangerke
c0b2d47f38
MADS: Add safeguards in DialogsNebular::show
2015-01-31 12:10:55 +01:00
Torbjörn Andersson
dfe04491c1
JANITORIAL: Remove unnecessary semicolons
2015-01-21 01:29:22 +01:00
Paul Gilbert
926404bd10
MADS: Renamings of Layer and a transition type
2015-01-17 20:51:52 -05:00
Paul Gilbert
9b8fa20c76
MADS: Fix horizontal flipping of scene background sprites
2015-01-17 17:29:08 -05:00
Paul Gilbert
4ee29ef3a8
MADS: Add loading of SpriteInfo frame numbers for scene background sprites
2015-01-17 16:46:57 -05:00
Paul Gilbert
ccd0c63a7b
MADS: Implement background scrolling in anim views
2015-01-17 12:23:41 -05:00
Paul Gilbert
9c25e2eea0
MADS: Fix crash on exit after watching introduction twice
2015-01-17 10:57:51 -05:00
Filippos Karapetis
815851e959
MADS: Remove unused reference to MADSEngine
...
Thanks to fingolfin for finding out the unused reference
2014-12-07 15:39:11 +02:00
Filippos Karapetis
01e8286e1c
MADS: Remove trailing whitespace
2014-10-28 16:19:26 +02:00
Paul Gilbert
6fc5092c03
MADS: Remove unused variable
2014-10-22 21:05:47 -04:00
Paul Gilbert
c021759ad2
MADS: Add md5 checks for the asound.00* sound drivers
...
The implementation of the sound driver code relies on the data for each
sound being at specific locations in the files, so this ensures that
if any language version changes the sound files, we'll know about it
2014-10-22 20:43:22 -04:00
Paul Gilbert
e06327e81a
MADS: Minor clean up of sprite set removal
2014-10-18 18:27:07 -04:00
Filippos Karapetis
879890e021
MADS: Clear scene sprites and objects when showing a game menu
...
This shows the game menu, albeit with the wrong palette
2014-10-18 20:46:17 +03:00
Filippos Karapetis
ad1aedec76
MADS: Implement the Rex Cancel button in the game options dialog
...
The current options are now saved when the dialog opens, and are
restored to their original values if the user cancels
2014-10-18 20:19:14 +03:00
Filippos Karapetis
f0bcacc7b3
MADS: Reset screen clip bounds before copying over a new screen
...
This is needed for the in-game menu, where a dialog spawns another one
2014-10-18 20:12:42 +03:00
Paul Gilbert
dbfe4972e3
MADS: Remove deprecated code from AnimationView and a bunch of out-of-date TODOs
2014-10-18 11:55:30 -04:00
Paul Gilbert
a657c39824
MADS: Only show Quotes main menu item after winning the game
2014-10-18 11:42:11 -04:00
Paul Gilbert
72303564f7
MADS: Hook up Rex game endings to show the correct animation and/or credits
2014-10-18 11:20:50 -04:00
Paul Gilbert
dee4fd193d
MADS: Fix stopping digital audio, music, and palette cycling when animation ends
2014-10-16 21:53:21 -04:00
Paul Gilbert
8ee1a85f35
MADS: Save redundant reloads of digital audio when switching animations
2014-10-15 21:18:17 -04:00
Filippos Karapetis
33b770ac60
MADS: Move all the anim and text view code into a common class
...
The animation and text players are more or less common among all MADS
games
2014-10-15 11:43:30 +03:00
Filippos Karapetis
701d43b5c2
MADS: Initial implementation of sound driver handling for V2 games
2014-10-15 11:43:20 +03:00
Filippos Karapetis
331488cae0
MADS: Bugfix for the text view debugger command
2014-10-15 10:37:01 +03:00
Paul Gilbert
1658a34ef5
MADS: Correct the color for the top/bottom line bounding the cutscene
2014-10-14 22:29:29 -04:00
Paul Gilbert
2048fe68d2
MADS: Fix clearing on-screen messages when the cutscene animation changes
2014-10-14 21:49:14 -04:00
Paul Gilbert
ea9599b763
MADS: Implement subtitles for animation cutscenes
2014-10-14 21:37:00 -04:00
Paul Gilbert
b5fb32de5e
MADS: Fix to exit game safely when sound driver hasn't been created
2014-10-14 21:26:00 -04:00
Paul Gilbert
b58f6f397d
MADS: New conversation message logic for cutscene animations
2014-10-13 20:28:34 -04:00
Filippos Karapetis
2e87ace09d
MADS: Handle the unimplemented 'D' animation command
2014-10-14 01:32:03 +03:00
Filippos Karapetis
9ca021a0d2
MADS: Properly skip empty lines in animation files
2014-10-14 00:35:01 +03:00
Paul Gilbert
7f7e144dd2
MADS: Add debugger commands for playing text and anim cutscenes
2014-10-13 16:59:15 -04:00
Paul Gilbert
ffe58e058c
MADS: Fix playback of digital audio during animation sequences
2014-10-13 10:11:54 -04:00
Paul Gilbert
fc2a579f2e
MADS: Further fixes for palette cycling during animations
2014-10-13 09:03:50 -04:00
Paul Gilbert
f978539cbc
MADS: Move OPL creation from the engine to SoundManager
2014-10-12 16:54:40 -04:00
Paul Gilbert
d02693cb0c
MADS: Better initialization of animation cycling palettes
2014-10-12 16:24:33 -04:00
Paul Gilbert
f866550948
MADS: Depth style 2 frames can be drawn using existing methods
2014-10-12 14:38:04 -04:00
Paul Gilbert
175d027a80
MADS: Fix horizontal background scrolling in animations
2014-10-12 14:32:40 -04:00
Paul Gilbert
e743621f23
MADS: Fix palette animations in cutscene animations
2014-10-11 18:21:49 -04:00
Paul Gilbert
e58ae71bef
MADS: Fix loading wide-screen backgrounds during intro animation
2014-10-11 16:27:25 -04:00
Paul Gilbert
db95979a24
MADS: Fix loading correct backgrounds during animations
2014-10-10 18:11:48 -04:00
Strangerke
c128365068
MADS: Rex - Fix a bug related to "TAKE" "NOTE" action in scene 603.
...
The second check was never reached. Using the 'else' block of the previous check fixes the issue.
2014-10-10 07:36:42 +02:00
Strangerke
1d3e5f86f0
MADS: Rex - Reduce the scope of some variables in TextView
2014-10-10 07:32:30 +02:00
Strangerke
20061c101d
MADS: Rex - Remove dead code also present in the original in the logic of scene 5
2014-10-10 07:31:52 +02:00
Strangerke
0b79af9a5d
MADS: Reduce the scope of a couple of variables in MSurface
2014-10-10 07:22:31 +02:00
Paul Gilbert
3a205467a9
MADS: Fix for switching between animations in AnimView sequence
2014-10-08 22:47:14 -04:00
Paul Gilbert
c584515b24
MADS: Fix palette for display of intro animation
2014-10-08 22:21:26 -04:00
Paul Gilbert
1c9752cb02
MADS: Fix refreshing backgound at start of intro animation
2014-10-08 21:04:06 -04:00
Paul Gilbert
1e38fa204b
MADS: Introduction animation is starting to be shown
2014-10-08 20:46:43 -04:00
Strangerke
5d8f53ef73
MADS: Rex - Empty properly the current line buffer before getting the next menu line
2014-10-08 07:41:23 +02:00
Strangerke
8c07c77388
MADS: Rex - Remove an erroneous assert on newPalIndex
2014-10-08 07:37:44 +02:00
Paul Gilbert
de434e45d3
MADS: Fixes for loading of intro cutscene animation
2014-10-06 22:14:57 -04:00
Strangerke
62b98913de
MADS: Rex - Avoid potential not null terminated buffers after the use of strncpy
2014-09-29 00:48:07 +02:00
Strangerke
2ffd169923
MADS: Rex - Remove unused variables
2014-09-29 00:29:47 +02:00
Strangerke
913616f951
MADS: Rex - Fix safety check in ASound9
2014-09-29 00:26:58 +02:00
Paul Gilbert
dfe9cf2618
MADS: Fix Animation to handle loading backgrounds as well as user interfaces
2014-09-20 11:29:00 -04:00
Paul Gilbert
9a0ba3e634
MADS: Add new Animation fields needed by AnimView
2014-09-20 10:41:52 -04:00
Strangerke
a9bc36c6b5
MADS: Phantom - add preloadsequence call in initializeGlobals
2014-09-19 23:35:55 +02:00
Paul Gilbert
a1548e27a0
MADS: Further animation setup in AnimView
2014-09-18 22:21:15 -04:00
Paul Gilbert
b4ebed792e
MADS: Further resource entry initialization
2014-09-16 22:10:37 -04:00
Paul Gilbert
455eb540c4
MADS: Beginnings of resource loading in AnimView
2014-09-16 21:18:35 -04:00
Peter Bozsó
6f343afe8b
MADS: Remove unused variables.
2014-09-15 15:07:45 +02:00
Paul Gilbert
71e2e8b19a
MADS: Implement loading resource sequence for AnimationView
2014-09-07 13:23:28 -04:00
Paul Gilbert
f18178fd2c
MADS: Fix palette for difficulty selection dialog
2014-09-06 20:15:54 -04:00
Paul Gilbert
94068dddf7
MADS: Properly free menu items when main menu is freed
2014-09-06 17:55:01 -04:00
Paul Gilbert
a5528ecc7e
MADS: Fix spare screen background changes for TextView showing quotes
2014-09-06 16:39:49 -04:00
Paul Gilbert
9ef68900e2
MADS: Fix text not properly being erased when showing quotes
2014-09-06 10:44:04 -04:00
Paul Gilbert
556414e53a
MADS: Fix custom color setup for quotes display
2014-09-05 22:35:13 -04:00
Paul Gilbert
efcf87a6e5
MADS: Fix OPL init error when showing credits multiple times
2014-09-05 22:21:24 -04:00
Paul Gilbert
2942f93ed5
MADS: Fix exiting the game
2014-09-05 21:39:10 -04:00
Paul Gilbert
350cd83050
MADS: Fix starting TextView palette setup and scroll ending
2014-09-05 21:33:38 -04:00
Paul Gilbert
bfbcc9f3e4
MADS: Fix text not showing at all for Quotes
2014-09-04 22:07:16 -04:00
Paul Gilbert
6c25604b9a
MADS: Fix palette setup for credits view
2014-09-04 21:53:47 -04:00
Paul Gilbert
82b2b2d65d
MADS: Properly implement drawing to a subset of the screen
2014-09-03 22:09:50 -04:00
Paul Gilbert
63f2ba2c1d
MADS: Converting text view to use existing drawing frameweork
2014-09-02 21:06:33 -04:00
Paul Gilbert
4f128e7118
MADS: Fixes to correctly display the credits screen
2014-08-31 22:54:07 -04:00
Paul Gilbert
4bf98c3e42
MADS: Actually hook in the new sound player group
2014-08-31 19:42:58 -04:00
Paul Gilbert
8990a31643
MADS: Implement sound player group #9
2014-08-31 19:21:02 -04:00
Paul Gilbert
218fb94abf
MADS: Hook in text credits view, beginnings of correct script processing
2014-08-31 16:49:43 -04:00
Paul Gilbert
00ec2a01fe
ACCESS: Fix display of advert view on Exit
2014-08-31 09:49:56 -04:00
Paul Gilbert
c96247ca57
MADS: Fix some memory leaks
2014-08-31 08:53:50 -04:00
Strangerke
09d1dee599
MADS: Fix some more uninitialized variables
2014-08-06 20:07:11 +02:00
Strangerke
76480bed15
MADS: Rex - Fix some uninitialized variables in the menu
2014-08-06 19:16:08 +02:00
Strangerke
f24346aad7
MADS: Avoid potential buffer overflows
2014-08-06 19:06:19 +02:00
Paul Gilbert
7416a4f4b2
MADS: Beginnings of exit advert view
2014-07-27 22:23:49 -04:00
Paul Gilbert
6e27b523c0
MADS: Fix invalid parameter in error call
2014-07-27 18:31:09 -04:00
Paul Gilbert
68432e8d02
MADS: Beginnings of animation view class
2014-07-27 17:58:10 -04:00
Paul Gilbert
73dfbc70ac
MADS: Beginnings of re-implementing text view class
2014-07-27 16:48:23 -04:00
Torbjörn Andersson
45533b73a8
MADS: Silence GCC warning
2014-07-27 20:40:05 +02:00
Paul Gilbert
913751edae
MADS: Main menu selections now working
2014-07-27 11:10:59 -04:00
Paul Gilbert
9b00eedd40
MADS: Menu item highlighting and selection animation now working
2014-07-27 10:18:57 -04:00
Paul Gilbert
7ea081e7a0
MADS: Add support to event manager for intercepting events
2014-07-26 20:19:35 -04:00
Paul Gilbert
b87723f34b
MADS: Cleanup of menu item positioning
2014-07-26 19:40:05 -04:00
Paul Gilbert
1d3e1c5a01
MADS: Menuitems now animating correctly for the main menu
2014-07-26 18:26:17 -04:00
Paul Gilbert
5f2687fdb3
MADS: Main menu background is now correctly loading
2014-07-25 22:07:34 -04:00
Paul Gilbert
7d4b05098d
MADS: Clean up _depthStyle usage in DepthSurface class
2014-07-24 21:09:34 -04:00
Filippos Karapetis
be9c3bf72b
MADS: WIP handling of V2 walk nodes and walkable areas
2014-07-23 02:47:29 +03:00
Filippos Karapetis
9118f38b29
MADS: Add support for FAB decompression in the dump_file command
2014-07-23 02:47:29 +03:00
Paul Gilbert
1c09a34fec
MADS: Fix palette method signature
2014-07-20 16:33:35 -04:00
Torbjörn Andersson
9ea138a3f9
MADS: Initialise _lineIndex
...
Without this, Rex Nebular crashes on startup for me.
2014-07-20 16:01:36 +02:00
Paul Gilbert
23892e76cf
MADS: Remove redundant saved surface from FullScreenDialog base class
2014-07-19 14:40:33 -04:00
Paul Gilbert
a224e28c15
MADS: Fixes for compilation warnings
2014-07-18 20:33:49 -04:00
Paul Gilbert
97d29debeb
MADS: Beginnings of work on Rex Nebular main menu
2014-07-18 20:20:18 -04:00
Paul Gilbert
462d8db30f
MADS: Fix incorrect difficulty check for leaving ship without rebreather
2014-06-29 18:40:06 -04:00
Paul Gilbert
dd7b6f9c80
MADS: Cleanup of fields and constants usage
2014-06-28 22:56:51 -04:00
Paul Gilbert
92cc2a7bc8
MADS: Create savegame thumbnail from scenes before opening in-game dialogs
2014-06-28 22:40:25 -04:00
Filippos Karapetis
0113e79e23
MADS: Don't error out on unsupported scene transitions
...
This prevents the game from erroring out when screen fade is toggled
2014-06-29 05:22:46 +03:00
Paul Gilbert
4ebf52d3b3
MADS: Fix selection of lines in the difficulty dialog to match the original
2014-06-28 21:36:43 -04:00
Filippos Karapetis
7828f8ffbd
MADS: Remove dead code
2014-06-28 21:57:46 +03:00
Filippos Karapetis
b356f7f923
MADS: Started implementing the Rex in-game and option menus
2014-06-28 21:57:46 +03:00
Paul Gilbert
456ce2a678
MADS: Implement the difficulty selection dialog
2014-06-26 22:07:33 -04:00
Filippos Karapetis
1ff27b72dc
MADS: Init scene variables for Phantom/Dragon, so they can start again
2014-06-14 17:48:29 +03:00
Strangerke
cd31c9e87a
MADS: initialize a couple of variable in DialogLine
2014-06-12 14:18:52 +02:00
Paul Gilbert
ee894cfc4a
MADS: Fix calculating frame delays for animated objects
2014-06-07 18:43:17 -04:00
Paul Gilbert
9775135811
MADS: Fix incorrect frame usage for spinning inventory items
2014-06-07 17:34:57 -04:00
Paul Gilbert
9c52f7399f
MADS: Delete line that was removed in Nebular 8.49
2014-06-07 14:14:13 -04:00
Paul Gilbert
2b8820f3f6
MADS: More setup code for the difficulty dialog
2014-06-07 14:10:31 -04:00
Paul Gilbert
d1a5ec96d2
MADS: Fix door being open when entering scene 102
2014-06-07 12:11:21 -04:00
Torbjörn Andersson
2eb80dd811
MADS: Remove unused variable
2014-06-07 12:24:44 +02:00
Torbjörn Andersson
ab01020e11
MADS: Silence GCC warning about non-virtual destructor
2014-06-07 12:24:44 +02:00
Paul Gilbert
17cc86d172
MADS: Refactoring and cleanup of the game startup code
2014-06-06 20:04:46 -04:00
Paul Gilbert
9aee739a18
MADS: Implemented support methods for ScreenDialog base class
2014-06-05 22:15:31 -04:00
Paul Gilbert
26a2a125ed
MADS: Added setup code for difficulty dialog
2014-06-05 19:28:17 -04:00
Strangerke
788eca3cd6
MADS: Fix an uninitialized variable in DialogsNebular
2014-06-05 07:53:46 +02:00
Strangerke
b404455eaf
MADS: remove a magic value, use _transparencyIndex
2014-06-05 07:48:03 +02:00
Paul Gilbert
01c18c8f40
MADS: Fix restoring upper palette area when dialogs close
2014-06-04 21:56:16 -04:00
Paul Gilbert
643cbc6d16
MADS: Fix palette corruption when changing selected inventor item
2014-06-04 21:53:14 -04:00
Strangerke
26e545a9c8
MADS: Fix typo in drawScroller()
2014-06-05 00:04:03 +02:00
Paul Gilbert
5a3d85e353
MADS: Finally re-enable Rex waking up in the first game scene
2014-06-04 09:35:10 -04:00