Commit graph

357 commits

Author SHA1 Message Date
Max Horn
ee1110a114 SCI: Reduce header interdependencies
svn-id: r48086
2010-02-17 23:38:43 +00:00
Max Horn
86e34c3464 SCI: Rename some members of class Resource
svn-id: r48085
2010-02-17 23:37:59 +00:00
Max Horn
e45f0f309a SCI: Remove EngineState::_kernel, use SciEngine::_kernel instead
svn-id: r48050
2010-02-13 17:45:40 +00:00
Max Horn
9575cc08a2 SCI: Move GameFeatures from EngineState to SciEngine
svn-id: r48049
2010-02-13 17:44:58 +00:00
Max Horn
a82939c9be SCI: Get rid of EngineState::resMan
svn-id: r48048
2010-02-13 17:44:19 +00:00
Max Horn
721a57a661 SCI: Move Gui/Gfx related permanent objects from EngineState to SciEngine
svn-id: r48047
2010-02-13 17:43:31 +00:00
Max Horn
ac4d325e0d SCI: Add global g_sci pointer to the active SciEngine instance
svn-id: r48046
2010-02-13 17:42:49 +00:00
Max Horn
e17a2bd37d SCI: Change getSciVersionDesc() to return 'const char *' instead of 'Common::String'
svn-id: r48044
2010-02-13 11:58:15 +00:00
Max Horn
f86618f92b SCI: Add a 'SELECTOR' macro
svn-id: r47918
2010-02-05 22:55:18 +00:00
Martin Kiewitz
03dd0ac7bb SCI: screen specific debug functions are now called directly w/o SciGui/32
svn-id: r47905
2010-02-05 15:53:36 +00:00
Martin Kiewitz
f8f490c565 SCI: calling most of the cursor functions directly via _gfxCursor instead of SciGui/32
svn-id: r47903
2010-02-05 14:48:51 +00:00
Martin Kiewitz
fb49449322 SCI: putting kDrawCel info GfxPaint class, debug is using GfxPaint class as well for drawing cels
svn-id: r47885
2010-02-04 20:02:48 +00:00
Martin Kiewitz
3ce2e22978 SCI: adding GfxPaint class, implementing kernelDrawPicture for GfxPaint16 and GfxPaint32, using those classes directly when drawing pictures instead of SciGui/32. Making draw_pic command work in sci32 that way, using _gfxPaint16 for kDrawPic because that command is sci16 exclusive
svn-id: r47883
2010-02-04 19:22:40 +00:00
Filippos Karapetis
2fb37063a4 Placed all the game feature detection code in a separate class
svn-id: r47850
2010-02-03 11:02:43 +00:00
Max Horn
81f7a55e8c SCI: Renamed Console::_vm to _engine
svn-id: r47831
2010-02-03 01:32:03 +00:00
Max Horn
2c25dab0e7 SCI: cleanup
svn-id: r47825
2010-02-02 22:53:33 +00:00
Max Horn
4b19acf255 SCI: Use Common::List and Common::String to simplify breakpoint handling (untested)
svn-id: r47824
2010-02-02 22:52:41 +00:00
Martin Kiewitz
e44620a0df SCI: fix printObject, so it does not output some spaces to terminal in case its supposed to output to debug console
svn-id: r47772
2010-01-31 18:49:59 +00:00
Martin Kiewitz
30bd160ad9 SCI: added additional decimal output for "vo" command
svn-id: r47768
2010-01-31 18:14:19 +00:00
Martin Kiewitz
72c2d360f7 SCI: renamed SciPalette to GfxPalette, Screen to GfxScreen, GfxPalette is now called directly w/o SciGui
svn-id: r47752
2010-01-31 16:21:11 +00:00
Martin Kiewitz
c991a5bceb SCI: renamed SciGuiAnimate to GfxAnimate, moved code from SciGui into this class, now getting called directly
svn-id: r47751
2010-01-31 15:07:36 +00:00
Filippos Karapetis
7f4aa161bc Removed duplicate code. Some cleanup
svn-id: r47735
2010-01-31 01:26:06 +00:00
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
Filippos Karapetis
b374478cd0 Added static selectors for SCI2-SCI2.1 games (fixes the demo of Torin's Passage)
svn-id: r47669
2010-01-29 14:57:18 +00:00
Max Horn
4ffec28103 SCI: Move selector stuff to new header; reorder k_argc & k_argp param of invoke_selector
svn-id: r47665
2010-01-29 11:03:54 +00:00
Martin Kiewitz
f7692e724f SCI: some progress on REing robot files (99% comments only)
svn-id: r47647
2010-01-28 19:28:56 +00:00
Filippos Karapetis
858eb1a283 Don't attempt to pause/resume sounds when the debug console opens if the sound subsystem hasn't been initialized yet
svn-id: r47639
2010-01-28 10:31:37 +00:00
Filippos Karapetis
1e6123ce89 Improved the diskdump command so that it also writes the resource header, if it exists (e.g. in SOL audio files)
svn-id: r47630
2010-01-28 08:17:46 +00:00
Filippos Karapetis
da7d221d40 Introduced a new console command, diskdump, which is able to dump files from resource files to disk
svn-id: r47623
2010-01-28 01:45:20 +00:00
Martin Kiewitz
00413a0b04 SCI: also change exit to quit in help
svn-id: r47608
2010-01-27 20:06:07 +00:00
Martin Kiewitz
f376572ed8 SCI: renamed exit console command to quit, so that systemwide "exit" works (exits console instead of quitting game)
svn-id: r47607
2010-01-27 20:03:45 +00:00
Martin Kiewitz
e0d05a482c SCI: changed flags (uint16) to force (bool) for set/merge palette methods
svn-id: r47578
2010-01-26 22:45:52 +00:00
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Filippos Karapetis
bab94d58ba Added missing documentation for the new music related commands introduced in rev. 47475
svn-id: r47497
2010-01-24 11:54:55 +00:00
Filippos Karapetis
df149e1509 Separated the parser code
svn-id: r47480
2010-01-23 17:55:54 +00:00
Filippos Karapetis
d6e0276119 Added song manipulation debug commands: songinfo, startsound, togglesound and stopallsounds. is_sample now works with the new sound code
svn-id: r47475
2010-01-23 14:39:03 +00:00
Filippos Karapetis
93a8b469c0 - Fixed pausing of all sounds in the playlist
- Sounds are now paused correctly when opening/closing the debug console
- Some cleanup

svn-id: r47422
2010-01-21 21:28:32 +00:00
Walter van Niftrik
208dbf1d9a SCI: Renamed softseq/ to drivers/
svn-id: r47418
2010-01-21 16:27:29 +00:00
Max Horn
8559f0c3eb SCI: Use prefix increment instead of postfix on iterators (more efficient); also correct code formatting issues
svn-id: r47295
2010-01-13 23:58:25 +00:00
Martin Kiewitz
a815d0e12a SCI: added new debug command "picture_visualize", which enables visualization of the drawing process of EGA pictures
svn-id: r47201
2010-01-09 14:09:45 +00:00
Eugene Sandulenko
413b4291b4 Fix warnings.
svn-id: r47101
2010-01-06 22:24:52 +00:00
Martin Kiewitz
1bea3e3873 SCI: added a new class for robot resources
svn-id: r47099
2010-01-06 21:56:31 +00:00
Martin Kiewitz
d183420c86 SCI: implemented debug command "set_palette"
svn-id: r47047
2010-01-05 21:25:59 +00:00
Martin Kiewitz
be9507fcb1 SCI: implemented new debug command "draw_cel"
svn-id: r47043
2010-01-05 21:03:33 +00:00
Martin Kiewitz
d183fb3c81 SCI: fix debug command draw_pic to accept higher resourceIds
svn-id: r47039
2010-01-05 20:39:21 +00:00
Filippos Karapetis
d99aa0f126 More renaming
svn-id: r47009
2010-01-05 01:37:57 +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
eeb3502fa4 Made the "version" command more verbose, listing all the automatically detected game features, along with the detected SCI version
svn-id: r46943
2010-01-03 20:18:36 +00:00
Filippos Karapetis
6a25bd2b8a The backtrace command now outputs to the graphical console
svn-id: r46934
2010-01-03 16:50:27 +00:00