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
Filippos Karapetis
2f23eb99ee
The "room" command can now set the current room number, too (more straightforward than changing global var 13)
...
svn-id: r46925
2010-01-03 15:08:26 +00:00
Martin Kiewitz
1084b90fbb
SCI: listsaves is now "list_saves", also included entry in help
...
svn-id: r46884
2010-01-02 14:11:38 +00:00
Martin Kiewitz
d4738631d5
SCI: implemented new console command "listsaves"
...
svn-id: r46883
2010-01-02 14:08:26 +00:00
Martin Kiewitz
0c9b828db1
SCI: console behaviour changed for vmvars command, now allows entering decimal values, also accepts hexadecimal values (use e.g. 12h). hexadecimal addresses are still accepted as well
...
svn-id: r46878
2010-01-02 09:39:17 +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
5cb5fe22ea
SCI/new sound code:
...
- Made the SciMusic class private, and added wrapper functions for invoking specific methods of SciMusic from outside the SoundCommandParser class
- Many SCI games keep creating and destroying sound effects constantly (i.e. many times per second). Therefore, another scheme has been devised, which replaces the mutex that was in place. Whenever a sound command is run which operates on a specific object in the play list, we disallow onTimer() from kicking in. This isn't ideal, but it does stop random deadlocks because of locked mutexes without any noticeable side effects
svn-id: r46681
2009-12-28 20:10:15 +00:00
Filippos Karapetis
62c1c2633d
SCI/new music code: Implemented the "songlib" debug command
...
svn-id: r46670
2009-12-28 11:23:20 +00:00
Martin Kiewitz
78d268b21a
SCI/newgui: Added support for draw_pic command
...
svn-id: r46599
2009-12-26 18:07:36 +00:00
Max Horn
fd5e548bb2
SCI: Fix some warnings
...
svn-id: r46476
2009-12-22 00:16:09 +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
Filippos Karapetis
0c1b646c7f
- Started wrapping the current sound code around appropriate defines
...
- Introduced a new resource type, SoundResource, used in the new music code
svn-id: r46421
2009-12-19 16:19:53 +00:00
Filippos Karapetis
2e6013947d
Moved the interface class for the the custom SCI MIDI drivers together with the actual driver implementation code
...
svn-id: r46414
2009-12-18 18:32:09 +00:00
Martin Kiewitz
a5f1808c83
SCI: SciEvent created, kernel_sleep() created
...
svn-id: r46252
2009-12-04 17:38:24 +00:00