Commit Graph

43 Commits

Author SHA1 Message Date
Paul Gilbert
c89fe5f6d5 Added support for idle character animations
svn-id: r50723
2010-07-06 11:33:09 +00:00
Filippos Karapetis
7fa2664828 Some slight fixes so that Phantom/Dragon start again
svn-id: r50598
2010-07-02 14:39:13 +00:00
Paul Gilbert
c1176498f1 Removed the old hardcoded calls to loadDSRFile
svn-id: r50491
2010-06-29 11:15:21 +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
Max Horn
bbad3f333a Patch #1956501: "GUI/LAUNCHER: Midi device selection"
svn-id: r50128
2010-06-21 21:36:36 +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
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
088e6456ea In progress work implementing the animation player
svn-id: r49347
2010-05-31 12:10:30 +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
68cae03b3c Bugfixes for animation display, and better understanding of how animations cycle
svn-id: r49057
2010-05-17 10:30:17 +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
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
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
05922881cb Added framework for displaying game dialogs
svn-id: r48353
2010-03-21 10:51:11 +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
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
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
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
c8873d8492 Changed MidiDriver::createMidi to take a MidiDriverType instead of an int
svn-id: r46316
2009-12-09 18:12:51 +00:00
Paul Gilbert
60fa351d32 Expanded the actions view into a full user interface view, and added support for highlighting of user interface elements
svn-id: r46262
2009-12-05 05:44:46 +00:00
Paul Gilbert
5afc0e5ed7 Added the basics of a action list display
svn-id: r46152
2009-11-26 11:48:43 +00:00
Paul Gilbert
6bb2b8aa9a Added support for needed MADS game configuration options
svn-id: r45911
2009-11-15 08:22:14 +00:00
Paul Gilbert
a6f1280fcc Added support for loading the game's object list
svn-id: r45651
2009-11-04 08:38:32 +00:00
Johannes Schickel
c50940bbf4 Got rid of Common::File::addDefaultDirectory, instead implemented the solution proposed in "Case agnostic handling for directories (and files)" on -devel.
svn-id: r44266
2009-09-23 00:15:00 +00:00
Johannes Schickel
7e71865e91 Move the event recorder to its own class (EventRecoder inside common/EventRecorder.[h/cpp]).
svn-id: r42751
2009-07-25 12:59:46 +00:00
Paul Gilbert
e930f4c792 Added missing parenthesis in M4Engine::delay
svn-id: r39733
2009-03-29 11:22:49 +00:00
Max Horn
dd98126423 Engines: Fused several init&go methods into a single run method
svn-id: r39003
2009-03-01 04:42:46 +00:00
Max Horn
7cb437b56f Renamed SpecialDebugLevel to DebugChannel
svn-id: r36142
2009-01-30 05:10:24 +00:00
Max Horn
ac59693be2 A ton of code formatting fixes; also fixed warnings about single line loops like 'while(cond);' by inserting newlines
svn-id: r36127
2009-01-29 05:26:12 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Johannes Schickel
5a0556f09c Committed my patch #2123680 "SDL: Backend transaction / rollback support".
svn-id: r35062
2008-11-14 22:08:10 +00:00
Max Horn
40136f2590 Switched various Engine APIs to use Common::Error
svn-id: r34916
2008-11-06 17:05:54 +00:00
Max Horn
19b6289688 Don't call Common::List::size() if you don't have to (it's an expensive operation, which has to iterate the whole List, while empty() works in constant time)
svn-id: r34786
2008-10-12 22:06:31 +00:00
Max Horn
2bc093828f Replaced Engine::_gameDataPath (a String) by Engine::_gameDataDir (an FSNode); adapted code to that (by using getChild() to get subdirs, not string concatenation
svn-id: r34434
2008-09-07 22:10:58 +00:00
Max Horn
d48a57723a added two FIXMEs to M4 -- somehow, adding two subdirs of CWD named 'goodstuf' and 'resource' to the list of default dirs doesn't sound very sensible to me ;)
svn-id: r34426
2008-09-07 21:43:36 +00:00
Filippos Karapetis
e8763e2ac2 Fixed menu background loading in Riddle of Master Lu
svn-id: r32122
2008-05-14 19:42:02 +00:00
Filippos Karapetis
7ca439f410 Initial import of the work in progress M4 engine
svn-id: r31600
2008-04-20 14:47:37 +00:00