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
Filippos Karapetis
f755311114
priority_first and priority_last are not used by the new drawing code, thus the new code didn't handle priority changes by kGraph()
...
svn-id: r45658
2009-11-04 11:52:11 +00:00
Filippos Karapetis
57266a7cba
- Removed status_bar_foreground and status_bar_background variables from the engine state
...
- Implemented clearMenuBar() in the new graphics code
- Removed the "status_bar" command, which was used to set custom colors for the status bar
svn-id: r45538
2009-10-30 14:39:26 +00:00
Filippos Karapetis
ff284c9f5b
Remove unused includes when INCLUDE_OLDGFX is not set. Implemented the full screen updates that the current menu code is doing using new graphics functions (still unfinished). Some cleanup.
...
svn-id: r45536
2009-10-30 12:33:05 +00:00
Filippos Karapetis
394fc76719
Rewrote kBaseSetter() to use new graphics functions and behave like the original, and fixed a bug in the process (the previous code ignored z when calculating the height)
...
svn-id: r45463
2009-10-28 14:23:23 +00:00
Filippos Karapetis
04ab6bc9fc
Enclose all of the old graphics code within the INCLUDE_OLDGFX safeguard (defined in sci.h)
...
svn-id: r45459
2009-10-28 13:20:30 +00:00
Filippos Karapetis
b5feeb60b6
Moved the cel count calculation to the new graphics code
...
svn-id: r45379
2009-10-25 22:33:08 +00:00
Willem Jan Palenstijn
4a3ebce699
SCI: Restore accumulator after executing send from debugger
...
svn-id: r45360
2009-10-24 13:26:12 +00:00
Filippos Karapetis
1f4ad52c61
Moved the view loop counting code in the new GUI
...
svn-id: r45322
2009-10-22 05:41:50 +00:00
Max Horn
f3ab3051d8
SCI: Make the implicit segMan param to GET_SEL32(V) and PUT_SEL32(V) explicit
...
svn-id: r45234
2009-10-18 19:42:56 +00:00
Matthew Hoops
c8853f0cc0
Move the SeqDecoder to the Sci namespace, it makes more sense than Graphics because it's only used in Sci.
...
svn-id: r45230
2009-10-18 18:47:53 +00:00
Filippos Karapetis
cc31846eb5
Added a new console command, "play_video", which can play a SEQ or AVI file
...
svn-id: r45178
2009-10-17 10:42:00 +00:00
Willem Jan Palenstijn
4ce77c77fa
SCI: Make send varselector reads more verbose. Add notes.
...
svn-id: r45131
2009-10-15 20:13:19 +00:00