Commit Graph

330 Commits

Author SHA1 Message Date
Paul Gilbert
841356ac80 Added loading of the correct DSR file at the start of each animation scene
svn-id: r50490
2010-06-29 11:09:33 +00:00
Paul Gilbert
eb4a48bfd9 Reserved palette ranges used by on-screen messages
svn-id: r50489
2010-06-29 10:52:59 +00:00
Paul Gilbert
b91ba9c56e Bugfixes to reading in the animation font name correctly, as well as converted some Common::String usage to char buffers to fix incorrect String usage
svn-id: r50488
2010-06-29 10:40:24 +00:00
Paul Gilbert
6063a9cba3 Bugfix to properly erase text messages when they expire
svn-id: r50432
2010-06-28 11:40:39 +00:00
Paul Gilbert
c7682f5117 Added proper conversion of message RGB colour values
svn-id: r50371
2010-06-27 06:35:32 +00:00
Paul Gilbert
9a8683ac65 Added accidentally deleted line
svn-id: r50369
2010-06-27 05:58:11 +00:00
Paul Gilbert
965cdb6fbf Several bugfixes to the loading, display, and digital sound playing of messages during cutscenes
svn-id: r50366
2010-06-27 05:18:21 +00:00
Paul Gilbert
c922af06c2 Centralised the update logic for the various system lists into the MadsView class
svn-id: r50365
2010-06-27 05:17:40 +00:00
Filippos Karapetis
783b71d585 Load the correct speech file pack for the intro of Rex Nebular
svn-id: r50321
2010-06-26 13:28:22 +00:00
Paul Gilbert
8eb206b6b9 Bugfix to correctly handle transparency when rendering scaled sprites
svn-id: r50314
2010-06-26 11:31:04 +00:00
Paul Gilbert
d7fe988251 Bugfix to dirty area handling to prevent creation of invalid rects
svn-id: r50312
2010-06-26 11:14:38 +00:00
Paul Gilbert
70e4a8605b Minor bugfix for correctly positioning where background sprites are drawn
svn-id: r50298
2010-06-26 00:37:44 +00:00
Paul Gilbert
ab261facee Added extra validation for sprite decoding
svn-id: r50297
2010-06-26 00:36:43 +00:00
Paul Gilbert
e328bd8f7f Added support for Fab compressed sprite sets
svn-id: r50295
2010-06-25 23:43:07 +00:00
Florian Kagerer
c35e350531 AUDIO: get rid of MDT_PREFER_MIDI since it should be sufficient to either select MDT_PREFER_MT32 or MDT_PREFER_GM
svn-id: r50288
2010-06-25 20:51:57 +00:00
Paul Gilbert
aa0c86e755 Bugfix for correctly decoding 2-bit encoded depth surfaces
svn-id: r50206
2010-06-24 08:17:46 +00:00
Paul Gilbert
cd8bec1ae2 Corrected rendering of sprites into a scene background
svn-id: r50205
2010-06-24 08:16:40 +00:00
Paul Gilbert
70e9df9566 Corrected incorrect variable name change
svn-id: r50204
2010-06-24 08:15:31 +00:00
Matthew Hoops
3838197ac1 Silence gcc warnings.
svn-id: r50197
2010-06-24 01:29:46 +00:00
Filippos Karapetis
3cdd841192 Made a warning more verbose
svn-id: r50177
2010-06-23 11:32:36 +00:00
Paul Gilbert
fedc060605 Corrected newly added palette conversion warning
svn-id: r50176
2010-06-23 11:28:53 +00:00
Filippos Karapetis
3569b49662 Changed some asserts to warnings
svn-id: r50175
2010-06-23 11:22:44 +00:00
Paul Gilbert
717005bf25 Rewrote the MADS animation frame decoder to better guard against invalid data causing memory overruns
svn-id: r50174
2010-06-23 10:11:01 +00:00
Max Horn
bbad3f333a Patch #1956501: "GUI/LAUNCHER: Midi device selection"
svn-id: r50128
2010-06-21 21:36:36 +00:00
Paul Gilbert
110e03c87b Removed unused variables
svn-id: r50071
2010-06-20 07:06:22 +00:00
Paul Gilbert
fcdb7807a4 Implemented explicit transparency index support - the previous hardcoded index of 0 wasn't correct, since some sprites need that index
svn-id: r50070
2010-06-20 07:04:58 +00:00
Paul Gilbert
d6cd656f15 Added support for the alternate encoding for depth surfaces
svn-id: r50069
2010-06-20 05:25:34 +00:00
Filippos Karapetis
cf86b44793 M4/MADS: Some slight tweaks to the animation message chunks
svn-id: r49927
2010-06-17 12:13:27 +00:00
Torbjörn Andersson
f10b1a23f8 Fixed a few cppcheck errors.
svn-id: r49919
2010-06-17 05:40:48 +00:00
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
Paul Gilbert
328d571bba Implemented extra timer methods and a DynamicHotspots class
svn-id: r48776
2010-04-23 10:28:30 +00:00
Paul Gilbert
3edc151c5b Changed MadsView into a separate class, since it's functionality is needed by two different class hierarchies that can't share a common ancestor class
svn-id: r48763
2010-04-21 10:42:01 +00:00
Max Horn
a1840bd573 AUDIO: Rename Mixer::playInputStream to playStream
svn-id: r48637
2010-04-12 09:14:17 +00:00
Paul Gilbert
eb433fcccd Added the beginnings of the main timer list
svn-id: r48635
2010-04-12 08:31:46 +00:00
Ori Avtalion
bfbbc0a072 Remove unused dereference
svn-id: r48586
2010-04-08 22:04:17 +00:00
Ori Avtalion
aee05cd21d Remove extra semicolons
svn-id: r48457
2010-04-01 15:03:08 +00:00
Johannes Schickel
a3ab15e8cf Use the enumerators instead of hardcoding the values of them.
svn-id: r48411
2010-03-27 13:29:10 +00:00
Paul Gilbert
a2de7bb0ef Added the game options dialog, along with several bugfixes to dialog display code
svn-id: r48410
2010-03-27 10:44:38 +00:00
Paul Gilbert
38f2c1b7a4 Completed dialog item selection code
svn-id: r48409
2010-03-27 07:14:52 +00:00
Paul Gilbert
c73a50b4e3 Changed the encoding of keycodes to only include the flags for Ctrl, Alt, and Shift
svn-id: r48408
2010-03-27 07:13:30 +00:00
Paul Gilbert
73787f05f0 Bugfixes to the graphics display of dialogs
svn-id: r48405
2010-03-26 20:45:32 +00:00
Paul Gilbert
5d85ad0759 Further fixed the setEntry method to make it Endian safe
svn-id: r48404
2010-03-26 10:21:08 +00:00
Paul Gilbert
02b1e3278a Bugfix for logic used to calculate single RGB palette entries
svn-id: r48403
2010-03-26 09:35:48 +00:00
Johannes Schickel
fcc7ab61ac Fix compilation by removing a public keyword outside a class scope and using "> >" instead of ">>" for template closing brackets.
Note that ">>" is always operator>> in the current C++ standard, thus
one has to use "Common::Array<Common::SharedPtr<SpriteAsset> >" instead
of "Common::Array<Common::SharedPtr<SpriteAsset>>" for example.

svn-id: r48402
2010-03-25 12:54:55 +00:00
Paul Gilbert
ae8853d80b Added preliminary logic for showing loaded sprite frames
svn-id: r48401
2010-03-25 12:46:06 +00:00
Johannes Schickel
86c779bed8 Prevent inifinite loop caused by a check of an unsigned integer against >= 0.
svn-id: r48397
2010-03-24 21:39:26 +00:00
Paul Gilbert
cf5cd833fd Moved new MadsView related code into Mads_Views, where it's more appropriate. Added extra logic necessary for displaying text in the game dialogs
svn-id: r48378
2010-03-24 11:49:26 +00:00
Paul Gilbert
d34fd9cdd6 Bugfix for getting correct quote information
svn-id: r48377
2010-03-24 11:47:08 +00:00
Paul Gilbert
e0f92f61eb Bugfixes for correctly getting string lengths and cropping drawn text
svn-id: r48376
2010-03-24 11:46:09 +00:00
Paul Gilbert
b46a2b4e10 Added further code for the game dialog framework
svn-id: r48368
2010-03-23 12:02:23 +00:00
Max Horn
92c896d883 Patch #2973290: Semicolon cleanup
svn-id: r48359
2010-03-22 20:28:08 +00:00
Johannes Schickel
a725b490e8 Fix shadow member of this warnings of gcc.
svn-id: r48355
2010-03-21 12:36:57 +00:00
Paul Gilbert
05922881cb Added framework for displaying game dialogs
svn-id: r48353
2010-03-21 10:51:11 +00:00
Paul Gilbert
b2b7a08cc2 Beginnings of hooking up the new logic for current action display
svn-id: r48298
2010-03-19 09:19:23 +00:00
Max Horn
c934642bdb COMMON: Move typedef StringList from str.h to new header str-array.h
This removes the dependency on array.h from str.h.
Also, begun migration from the confusing type name "StringList" to
the more appropriate StringArray.

svn-id: r48282
2010-03-18 15:09:24 +00:00
Max Horn
d78dba3bca COMMON: Move Common::RandomSource to common/random.*
svn-id: r48279
2010-03-18 15:07:11 +00:00
Paul Gilbert
730405f975 Further code implemented for the current action display
svn-id: r48266
2010-03-16 08:26:08 +00:00
Paul Gilbert
404088f58b Further separation of MADS and M4 scene logic
svn-id: r48257
2010-03-14 05:47:33 +00:00
Paul Gilbert
77c821249e Further work on separating M4 specific scene code into the m4_scene.cpp file
svn-id: r48256
2010-03-14 05:39:47 +00:00
Paul Gilbert
ca64698408 Split up the SceneResources class into a generic common set, with specific versions each for M4 and Mads, and merged the MadsSceneInfo data into it
svn-id: r48223
2010-03-10 11:43:48 +00:00
Torbjörn Andersson
65585f6433 Silenced some harmless cppcheck warnings about unreachable code after a return.
In this case, it was always a break after a return in a switch case. There are
similar cases which cppcheck didn't detect, and a couple of cases where we have
a break after a continue in a switch case (where the continue refers to an
outer loop), but I didn't touch those. Not yet, at least.

svn-id: r48218
2010-03-10 06:39:23 +00:00
Paul Gilbert
7f57001e17 Split up the scene.cpp file into separate files for M4 and MADS specific scene code and support classes. Also have started adding code for textual display and proper current action display
svn-id: r48172
2010-03-07 05:06:58 +00:00
Johannes Schickel
576f0b9a66 Fix gcc warning.
svn-id: r48151
2010-02-28 01:35:34 +00:00
Paul Gilbert
2881a8c057 Implemented loading of the Rex Nebular walkable areas
svn-id: r48150
2010-02-28 01:07:25 +00:00
Paul Gilbert
75a0022dff Beginnings of code for scene info loading
svn-id: r48143
2010-02-27 05:30:53 +00:00
Yotam Barnoy
ef330ed9b4 Patch for bug 2943361 by littleboy, adding full kb modifier support to all engines + GUI and proper keypad handling
svn-id: r48101
2010-02-21 04:04:13 +00:00
Paul Gilbert
6969b5ebe6 Implemented some of the sprite animations loading logic for the first scene (no display yet)
svn-id: r48099
2010-02-21 01:18:03 +00:00
Paul Gilbert
bf82639c04 Implemented player sprite loading portion of scene enter code
svn-id: r48076
2010-02-17 11:37:17 +00:00
Paul Gilbert
52c2abba96 Added the beginnings of scene set-up logic
svn-id: r48039
2010-02-13 11:49:18 +00:00
Paul Gilbert
1b877ceb5b Added command variation for dumping quotes and vocab
svn-id: r48038
2010-02-13 11:45:54 +00:00
Willem Jan Palenstijn
005cdeb830 Fix warning
svn-id: r48031
2010-02-10 12:36:46 +00:00
Paul Gilbert
3415cae9ad Separated scene info console method between M4 and MADS classes, and cleaned up the message method
svn-id: r48030
2010-02-10 11:11:31 +00:00
Paul Gilbert
a435237a38 Bugfix for crash when view gets focus based on a key event
svn-id: r48029
2010-02-10 11:03:04 +00:00
Paul Gilbert
9c178c2d3a Formatting corrections to conform to ScummVM formatting guidelines
svn-id: r47733
2010-01-31 00:47:29 +00:00
Paul Gilbert
dc8ff8c9d4 Further work on separating the scene logic for MADS and M4
svn-id: r47732
2010-01-31 00:42:47 +00:00
Paul Gilbert
3d1a43bc54 Worked on separating scene logic into separate classes for M4 and MADS
svn-id: r47728
2010-01-30 23:03:07 +00:00
Johannes Schickel
a505d32eff Replace use of Audio::makeRawMemoryStream by Audio::makeRawStream.
svn-id: r47716
2010-01-30 15:26:54 +00:00
Paul Gilbert
3285a4ba4d Beginnings of a separation of the MADS and M4 engines into separate classes. This will be cleaner then having checks everywhere for whether the game mode is MADS or M4.
svn-id: r47705
2010-01-30 09:21:07 +00:00
Max Horn
1565f14bc1 Moved audio stream implementations (for MP3, FLAC, etc.) to new dir sound/decoders/
svn-id: r47579
2010-01-26 22:48:45 +00:00
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Max Horn
4b996e7de7 Reorder params to Audio::makeRawMemoryStream
svn-id: r47492
2010-01-23 23:55:35 +00:00
Torbjörn Andersson
4818467908 Silenced some more cppcheck warnings. Some of these may seem silly, but the way
I figure it the changes are harmless at worst, and making them will make it
easier to find real errors in the (still quite long) list of warnings.

svn-id: r47443
2010-01-22 19:05:02 +00:00
Max Horn
cebaa0b0d3 Started to get rid of Audio::FLAG_LOOP
svn-id: r47397
2010-01-19 23:50:33 +00:00
Max Horn
dc5e08e623 Move raw audio flags from sound/mixer.h to sound/raw.h
svn-id: r47395
2010-01-19 22:30:33 +00:00
Torbjörn Andersson
428f8d6955 Fixed some cppcheck warnings.
svn-id: r47393
2010-01-19 20:41:51 +00:00
Max Horn
b227c660c6 Remove loop start/end params from Mixer::playRaw; convert some code from Mixer::playRaw to Mixer::playInputStream
svn-id: r47375
2010-01-19 11:20:58 +00:00
Max Horn
557bb394de Get rid of Mixer::FLAG_AUTOFREE.
Also fix several recently introduced new/delete vs. malloc/free mismatches.

svn-id: r47369
2010-01-19 00:56:29 +00:00
Max Horn
b8f2a3a342 cleanup
svn-id: r47333
2010-01-16 21:34:36 +00:00
Johannes Schickel
0d995c5920 Rename all "Adlib" uses to "AdLib" to match the real name of the sound card / company.
Check this for reference:
http://en.wikipedia.org/wiki/Ad_Lib,_Inc.
http://www.crossfire-designs.de/images/articles/soundcards/adlib.jpg (note the upper left of the card)

This commit does not touch "adlib" and "ADLIB" uses!

Also it does not update all the SCUMM detection entries, which still use "Adlib".

svn-id: r47279
2010-01-12 21:07:56 +00:00
Max Horn
0cf53b025d Move DisposeAfterUse::Flag from Common to global namespace, and into a new header common/types.h
svn-id: r47180
2010-01-08 22:07:35 +00:00
Torbjörn Andersson
72eb9ec9ea Fixed a bunch of cppcheck warnings. Mostly about checking if a pointer is null
before freeing it, which isn't necessary.

svn-id: r46941
2010-01-03 19:37:43 +00:00
Paul Gilbert
5c732e00ee Started implementation of the original game's cheat mode
svn-id: r46425
2009-12-20 07:10:32 +00:00
Paul Gilbert
b729218bb6 Changed the M4 event handler to encode the keyboard flags into KEVENT_KEY events
svn-id: r46424
2009-12-20 07:09:40 +00:00
Paul Gilbert
63350a0ecc Further implementation of dialog/message script language
svn-id: r46418
2009-12-19 05:47:31 +00:00
Paul Gilbert
ae50fdca72 Added an extra assert
svn-id: r46417
2009-12-19 05:46:26 +00:00
Paul Gilbert
575308cea7 Implemented basic message parsing
svn-id: r46402
2009-12-17 07:55:08 +00:00
Paul Gilbert
d10bb1036e Implemented the rendering section of dialog display
svn-id: r46338
2009-12-12 11:59:38 +00:00
Torbjörn Andersson
22ca0c1e92 Renamed line() to drawLine() to silence warning about function parameters in
dialogs.cpp shadowing it. Actually, the function doesn't seem to be used
anywhere at the moment, but perhaps someone has future plans for it?

svn-id: r46331
2009-12-11 17:14:55 +00:00
Paul Gilbert
724d698a05 Beginnings of a dialog display class
svn-id: r46330
2009-12-11 09:41:27 +00:00
Max Horn
c8873d8492 Changed MidiDriver::createMidi to take a MidiDriverType instead of an int
svn-id: r46316
2009-12-09 18:12:51 +00:00
Max Horn
d34cdae9ce M4: Move 'determine transparent color' hack into a new M4Sprite method
svn-id: r46281
2009-12-07 18:23:28 +00:00