Commit Graph
173 Commits
Author SHA1 Message Date
Martin Kiewitz a800855bf4 SCI: added new SciGui32 class, Gfx class needs some work though and hopefully i didnt overlook some kernel function that is also used by sci32. now using plane left/top
svn-id: r47679
2010-01-29 21:30:46 +00:00
Walter van Niftrik 9861b04b93 SCI: Add driver for Yamaha FB-01. Cleanup.
svn-id: r47571
2010-01-26 19:25:33 +00:00
Johannes Schickel 2489340cc8 Fix build broken with r47480.
svn-id: r47481
2010-01-23 18:11:21 +00:00
Filippos Karapetis df149e1509 Separated the parser code
svn-id: r47480
2010-01-23 17:55:54 +00:00
Walter van Niftrik 208dbf1d9a SCI: Renamed softseq/ to drivers/
svn-id: r47418
2010-01-21 16:27:29 +00:00
Walter van Niftrik 9f5e50c130 SCI: Removed seq/ directory
svn-id: r47417
2010-01-21 16:25:39 +00:00
Walter van Niftrik 373700f00a SCI: Add MIDI support. Currently only the later MT-32/GM patch type works.
Support for the earlier MT-32 patch format will be added in the near future.

svn-id: r47297
2010-01-14 01:44:11 +00:00
Joost Peters 17feb75ae7 add new robot.cpp file
svn-id: r47100
2010-01-06 22:04:27 +00:00
Filippos Karapetis d99aa0f126 More renaming
svn-id: r47009
2010-01-05 01:37:57 +00:00
Matthew Hoops 2f1a909696 Fix compile.
svn-id: r47008
2010-01-05 01:29:04 +00:00
Filippos Karapetis 84cd8d2dc7 Renamed /gui to /graphics and /sfx to /sound, to better illustrate their purpose
svn-id: r47007
2010-01-05 01:22:16 +00:00
Filippos Karapetis f66d5a7f53 SCI: Removed the old graphics code
svn-id: r47005
2010-01-05 00:54:53 +00:00
Filippos Karapetis bcc33871c1 The wrapper for the VMD decoder is only used in the SCI engine for SCI32 games, so moved it inside the engine, instead of common code. Added support for VMD video playing from the "play_video" console command
svn-id: r46737
2009-12-30 10:09:48 +00:00
Filippos Karapetis b1c37aee20 SCI/new music code: split the MidiParser class into a separate file
svn-id: r46611
2009-12-27 02:46:00 +00:00
Filippos Karapetis 980b8bb899 Moved all of the sound iterator code in its own directory, and added a slight hack to the SoundCommandParser constructor
svn-id: r46430
2009-12-20 13:38:13 +00:00
Martin Kiewitz a5f1808c83 SCI: SciEvent created, kernel_sleep() created
svn-id: r46252
2009-12-04 17:38:24 +00:00
Filippos Karapetis 544daa5c31 - Started importing the music code from Greg's SCI engine
- Simplified some sound version checks

svn-id: r45923
2009-11-15 14:14:49 +00:00
Filippos Karapetis c91f89bd56 Removed more dead code
svn-id: r45888
2009-11-14 09:46:51 +00:00
Filippos Karapetis fbfafb576e Started objectifying kDoSound()
svn-id: r45862
2009-11-12 15:24:11 +00:00
Filippos Karapetis 597524b255 Moved most of the code for playing sound effects and speech into a separate class
svn-id: r45653
2009-11-04 09:36:18 +00:00
Martin Kiewitz 10a902735a SCI: SciGuiMenu created, kMenu-related stuff now using SciGui
svn-id: r45612
2009-11-02 17:59:19 +00:00
Martin Kiewitz b29fd4dacd SCI/newgui: SciGuiPortrait created
svn-id: r45579
2009-10-31 19:48:28 +00:00
Martin Kiewitz c6f96d6ac3 SCI/newgui: SciGuiControls created, SciGuiText now active
svn-id: r45457
2009-10-28 12:58:13 +00:00
Martin Kiewitz efd41ffc46 SCI/newgui: SciGuiText created
svn-id: r45412
2009-10-26 19:33:07 +00:00
Filippos Karapetis 1a4b617398 - Removed graphics options code from the old GUI. Almost all of them are not supposed to be modified by the user (e.g. the way lines and brushes are drawn), and we can implement any of them again if needed in the new GUI (but they shouldn't really be needed).
- Added a config option to disable dithering in the new GUI if requested, called "undither", which is set to true by default and can be changed to false if needed per game
- The per-resource palette code has been removed for now, to be replaced by regular hashmaps (once the FreeSCI scifx reading code has been converted)

svn-id: r45378
2009-10-25 20:53:07 +00:00
Johannes Schickel 56181a475c Change "=" to ":=" in some module.mk files for consistency.
svn-id: r45364
2009-10-24 21:55:53 +00:00
Filippos Karapetis d14061fdd7 Started moving some of the old GUI code inside /gui32
svn-id: r45185
2009-10-17 12:42:21 +00:00
Filippos Karapetis e4c23834dd Moved sci_ffs() inside iterator.cpp, the only place where it's actually used, and removed tools.*. Also, removed all the unused includes to tools.h from several places
svn-id: r45176
2009-10-16 23:29:00 +00:00
Filippos Karapetis 600d5199fc Moved the SEQ decoder outside the gfx directory, as it is completely stand alone now and no longer uses any GUI-related code
svn-id: r45153
2009-10-16 08:26:41 +00:00
Martin Kiewitz 724e7a873a SCI/newgui: class SciGuiTransitions created
svn-id: r45051
2009-10-13 21:18:47 +00:00
Filippos Karapetis 0b396ed37c Removed the now unused code in gfx/res_cursor.cpp
svn-id: r45034
2009-10-13 17:57:03 +00:00
Martin Kiewitz 4ccfb76e3c SCI/newgui: added new file to module.mk
svn-id: r45020
2009-10-13 15:29:24 +00:00
Max Horn 76996301d1 SCI: Removed obsolete stringfrags code
svn-id: r44803
2009-10-08 21:29:45 +00:00
Filippos Karapetis ece4f55db9 Updated the MSVC project files and module.mk for commit #r44730
svn-id: r44732
2009-10-07 12:53:58 +00:00
Filippos Karapetis f258a29d6b Updated the SCI engine module.mk and MSVC project files for commit #44698
svn-id: r44699
2009-10-06 16:19:20 +00:00
Max Horn db2e5a4fb5 SCI: Rework the way SciGUIwindowMgr keeps track of windows/ports; remove the GUI heapmanager
svn-id: r44635
2009-10-04 21:27:24 +00:00
Filippos Karapetis 7c7e0445ee Replaced DblList with Common::List
svn-id: r44630
2009-10-04 18:51:01 +00:00
Willem Jan Palenstijn b9cdb1abb7 SCI: Merge new GUI code written by m_kiewitz.
This is a major rewrite of the graphics code. A slightly adapted
version of the old code is still available and currently the default.
The new code is selectable in sci.cpp, but is not yet finished.

svn-id: r44565
2009-10-03 20:49:18 +00:00
Max Horn d2a6713a8e SCI: Replace IntMapper Script::_objIndices and Common::Array Script::_objects by a HashMap -- goodbye, class IntMapper
svn-id: r44240
2009-09-21 21:38:43 +00:00
Max Horn f2d2276c4a SCI: Move some selector related function into a new file selector.cpp
svn-id: r44171
2009-09-17 16:53:58 +00:00
Max Horn e40cbe574e SCI: Rename engine/memobj.* to engine/segment.*
svn-id: r44155
2009-09-17 13:22:46 +00:00
Filippos Karapetis c3db0d3f2a - Finished automatic detection of the game platform in the fallback detector
- Added detection for GK1 to the fallback detector
- Removed the rest of the executable reading code, as it's no longer used

svn-id: r43746
2009-08-25 23:36:20 +00:00
Matthew Hoops b5da8a5cdc - Split SCI_VERSION_32 into SCI_VERSION_2, SCI_VERSION_2_1, and SCI_VERSION_3 (each version has a different kernel table).
- Improve map detection.
- Fix SCI32 object and script initialization (Torin's Passage and GK1 scripts now start up, and probably most SCI2/2.1 games).
- Add SCI2 and SCI2.1 kernel tables.

svn-id: r43742
2009-08-25 23:02:57 +00:00
Filippos Karapetis 0b47fa50ae Applied a slightly modified patch from clone2727 which adds static selector names to some demos which are missing them (KQ4, LSL1, LSL3, Iceman and Christmas1992)
svn-id: r42372
2009-07-11 06:33:19 +00:00
Max Horn 6b1110b82d SCI: Moved MemObject code into a separate source file
svn-id: r41166
2009-06-04 11:45:17 +00:00
Filippos Karapetis 3490819a66 - Removed debug_mode from the engine state
- Turned all SCIkwarn and SCIkdebug functions to ScummVM's debugC function
- Placed some debug code in appropriate defines: DEBUG_PARSER, DEBUG_AVOIDPATH and DEBUG_SOUND
- Removed the "debuglog" command and the "script_checkloads_flag" and "sci_debug_flags" variables

svn-id: r41033
2009-05-30 15:40:49 +00:00
Filippos Karapetis 56c0a41b71 SCI: Moved the rest of the console code out of sciconsole.cpp and into console.cpp. "list" and "hexgrep" have been added to the console commands. parse_reg_t() has been moved to kmovement.cpp (as it's the only code using it). Note that the debug commands in scriptdebug.cpp have not been converted yet, so they don't work at the moment
svn-id: r41024
2009-05-30 10:22:53 +00:00
Filippos Karapetis 7d0c861506 Merged res_view0.cpp and res_view1.cpp
svn-id: r40997
2009-05-29 14:16:51 +00:00
Max Horn b72c2a29fb SCI: Removing useless adlib-via-OSS code
svn-id: r40992
2009-05-29 13:04:32 +00:00
Max Horn 99b520dd09 SCI: Merged SfxPlayer/NewPlayer code into sfx/core.cpp
svn-id: r40965
2009-05-28 22:02:45 +00:00