Paul Gilbert
deb907de63
Bugfixes to depth processing that was causing the 'Microprose Design Group' message not to appear in the first intro scene
...
svn-id: r49801
2010-06-15 11:19:32 +00:00
Eugene Sandulenko
44a39ffbc6
AdvancedDetector: Add new parameter directoryGlobs.
...
Without this parameter mass detection gave tons of false alarms.
Use globbing for narrowing down the depth search.
svn-id: r49788
2010-06-15 10:59:23 +00:00
Eugene Sandulenko
4d517ed0e9
Extended advancedDetector with depth parameter.
...
Now AD can search nested directories. By default it is turned off,
but there is new parameter to ADParameters struct. Usually value
of 2 is good enough for all purposes.
svn-id: r49653
2010-06-14 14:50:23 +00:00
Paul Gilbert
58487da20b
Moved the actionNouns array from the scene to the globals object, since the scene will no longer be active during animation sequences
...
svn-id: r49646
2010-06-14 06:33:24 +00:00
Paul Gilbert
6fb462e6b0
Further memory leak fixes reported by Valgrind
...
svn-id: r49644
2010-06-14 05:27:54 +00:00
Paul Gilbert
466a151744
Fixes for memory leaks reported by Valgrind
...
svn-id: r49643
2010-06-14 04:20:57 +00:00
Paul Gilbert
ae0a7a6675
Added logic for animation sequences specifying a starting animation frame number
...
svn-id: r49642
2010-06-14 03:15:58 +00:00
Paul Gilbert
4c6d276ce9
Bugfixes for correct moving of the screen viewport within an animation
...
svn-id: r49629
2010-06-13 10:50:54 +00:00
Paul Gilbert
02ed880180
Added logic for handling the rate of animation background scrolling, and miscellaneous extra fields
...
svn-id: r49627
2010-06-13 08:53:06 +00:00
Paul Gilbert
2625c9b20b
Applied fix for checking unallocated channels for All Notes Off MIDI command
...
svn-id: r49613
2010-06-12 23:53:26 +00:00
Paul Gilbert
277a700e67
Reimplemented the scaled sprite drawing logic. The first introduction sequence scene now displays correctly
...
svn-id: r49604
2010-06-12 11:32:28 +00:00
Paul Gilbert
e572267a05
Bugfixes to correctly scroll the background during animations
...
svn-id: r49596
2010-06-11 11:08:37 +00:00
Paul Gilbert
ef34896dce
Clarified various incorrectly named parameters, and fixed code for loading the correct art file backgrounds when running animation sequences
...
svn-id: r49595
2010-06-11 11:03:51 +00:00
Paul Gilbert
4d87342847
Added extra code and support methods for properly clearing up backgrounds and used sprites when an animation sequence ends
...
svn-id: r49566
2010-06-10 10:20:25 +00:00
Paul Gilbert
62402e743e
Added extra positioning and dummy depths surface so that the introduction cutscene now starts up
...
svn-id: r49480
2010-06-07 10:17:44 +00:00
Paul Gilbert
b2678ddf52
Changed a create call to setSize to fix compiler error
...
svn-id: r49479
2010-06-07 09:35:59 +00:00
Paul Gilbert
34f7c05e4d
Initial conversion of the AnimviewView class to use the expanded MadsAnimation class, rather than the older AAFile skeleton class
...
svn-id: r49478
2010-06-07 09:19:42 +00:00
Paul Gilbert
1572524b64
Moved destruction of globals and resource manager to common M4 engine base class - this fixes a bug where resources were still being tossed after the resource manager was destroyed
...
svn-id: r49476
2010-06-07 09:06:06 +00:00
Paul Gilbert
3efec5720d
Bugfixes for correct positioning of opening animation
...
svn-id: r49448
2010-06-06 06:46:29 +00:00
Paul Gilbert
b9065aa2d2
Various bugfixes to the animation code - first Rex animation now plays, albeit in the wrong place
...
svn-id: r49437
2010-06-05 04:18:23 +00:00
Paul Gilbert
5686c251f0
Added missing animation initialisation code
...
svn-id: r49436
2010-06-05 01:55:17 +00:00
Paul Gilbert
3a5fe4ca00
Bugfix for wrong parameter order in scene resources load method call. Also added fragment to destroy an active animation when it's finished animating
...
svn-id: r49434
2010-06-04 22:53:26 +00:00
Paul Gilbert
3d98f679e7
Bugfix for the loading of the animation frame list
...
svn-id: r49427
2010-06-04 12:51:06 +00:00
Paul Gilbert
86462c66a0
Added code and support routines for destroying animations correctly, which also necessitated changing the sprite list code
...
svn-id: r49426
2010-06-04 11:28:30 +00:00
Torbjörn Andersson
038ac90482
Renamed some variables to silence GCC warnings.
...
svn-id: r49412
2010-06-03 21:13:08 +00:00
Paul Gilbert
26860b8e51
Properly implemented the logic for loading the correct interface background as specified in a scene's resources
...
svn-id: r49409
2010-06-03 10:46:55 +00:00
Paul Gilbert
86dcc28342
Moved the MADS interface view into mads_scene.cpp and did a major cleanup of scene loading code
...
svn-id: r49405
2010-06-03 09:34:32 +00:00
Willem Jan Palenstijn
2bebba8c94
Fix warning, whitespace
...
svn-id: r49352
2010-05-31 12:38:15 +00:00
Filippos Karapetis
ff40247376
Hopefully fixed compilation
...
svn-id: r49350
2010-05-31 12:27:13 +00:00
Paul Gilbert
088e6456ea
In progress work implementing the animation player
...
svn-id: r49347
2010-05-31 12:10:30 +00:00
Paul Gilbert
bea6ef4beb
Clarified variable usage for sequence list entry indexes
...
svn-id: r49287
2010-05-28 10:20:02 +00:00
Paul Gilbert
145eacd491
Implemented needed methods for scrolling surfaces horizontally or vertically
...
svn-id: r49286
2010-05-28 10:17:16 +00:00
Paul Gilbert
eca8c35cfc
Gave proper names to each flag in the message flag set
...
svn-id: r49229
2010-05-26 08:32:32 +00:00
Paul Gilbert
961a64a9f8
Bugfix to allow timed text to display in the correct colours
...
svn-id: r49211
2010-05-25 11:54:18 +00:00
Paul Gilbert
a83aafab54
Changed the font system to allow for multiple fonts to be loaded simultaneously
...
svn-id: r49209
2010-05-25 10:46:56 +00:00
Paul Gilbert
6bda3e15db
Implemented the bulk of the logic for displaying timed on-screen messages
...
svn-id: r49180
2010-05-24 12:12:27 +00:00
Paul Gilbert
dd9bf70761
Major work done on the animation and support classes to match the original
...
svn-id: r49150
2010-05-23 07:20:40 +00:00
Paul Gilbert
68cae03b3c
Bugfixes for animation display, and better understanding of how animations cycle
...
svn-id: r49057
2010-05-17 10:30:17 +00:00
Paul Gilbert
43e61ec60f
Bugfixes for animation depth logic
...
svn-id: r49045
2010-05-16 01:32:46 +00:00
Paul Gilbert
86bfccb842
Removed use of globally constructed menu item position lists
...
svn-id: r49035
2010-05-15 00:42:56 +00:00
Paul Gilbert
e91df69eb6
Decoded further fields in the SequenceList class, and started implementation of kernel message display
...
svn-id: r49034
2010-05-15 00:28:44 +00:00
Max Horn
2149a2383d
Reduce indirect header dependencies further
...
svn-id: r48936
2010-05-04 12:00:16 +00:00
Max Horn
970745e60c
Move DebugChannel related code to new header
...
svn-id: r48935
2010-05-04 11:59:22 +00:00
Max Horn
b3e404109c
Move initGraphics and initCommonGFX from to new header.
...
These functions are only used internally be Engine subclasses, and
by moving them to a separate header we can reduce indirect header
dependencies.
svn-id: r48934
2010-05-04 11:58:12 +00:00
Max Horn
5568a8473b
Get rid of Engine::_gameDataDir.
...
This greatly reduces indirect dependencies on several header files
from common.
svn-id: r48933
2010-05-04 11:56:52 +00:00
Johannes Schickel
990f633b00
Fix g++ warning by commenting out an unused variable.
...
svn-id: r48905
2010-05-03 13:04:08 +00:00
Torbjörn Andersson
35f1a55b70
Allow the Orion Burger title screen to be shown again. At least, it doesn't
...
crash on my computer any more. (It doesn't do much interesting either.)
svn-id: r48892
2010-05-02 17:43:24 +00:00
Paul Gilbert
e11afdeab5
Added proper names for some of the previous unknown timer fields, and bugfixes for the sequence list methods
...
svn-id: r48875
2010-04-30 11:27:42 +00:00
Max Horn
460d69e885
COMMON: Move DebugChannel stuff into a new DebugMan singleton
...
svn-id: r48821
2010-04-27 21:40:52 +00:00
Paul Gilbert
46c520f797
Added further timer method implementation. Also renamed some of the classes to match those of the original engine, based on the contents of various in-game error messages
...
svn-id: r48816
2010-04-27 11:23:27 +00:00