Filippos Karapetis
eefa01af68
Simplified some music checks for SCI0
...
svn-id: r45994
2009-11-19 22:57:26 +00:00
Filippos Karapetis
f9a1a5751e
Fixed regression from commit #45862
...
svn-id: r45985
2009-11-19 08:56:05 +00:00
Filippos Karapetis
236eecac19
Some more work on the sound command parser
...
svn-id: r45954
2009-11-17 15:01:16 +00:00
Filippos Karapetis
4ce5d81a4d
Some more work on the sound command parser
...
svn-id: r45944
2009-11-17 06:39:28 +00:00
Filippos Karapetis
8d99384ab9
Some more work on music code
...
svn-id: r45934
2009-11-15 23:39:55 +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
b6c46c752c
Moved getAngle() inside kmovement.cpp, the only place where it's actually used
...
svn-id: r45903
2009-11-14 17:53:30 +00:00
Filippos Karapetis
7c73bc2965
Cleaned up the file handling functions and removed the C IO wrappers. Apparently, the special case that these were meant to handle never occurs (i.e. reading and writing to the same file), and the current code works well enough to justify these extra sanity checks
...
svn-id: r45902
2009-11-14 16:19:25 +00:00
Filippos Karapetis
39695bcb02
Removed unused code
...
svn-id: r45901
2009-11-14 16:16:47 +00:00
Max Horn
05a735c442
SCI: Silence warnings (none of the code in seq/gm.cpp is used)
...
svn-id: r45897
2009-11-14 13:04:17 +00:00
Filippos Karapetis
c91f89bd56
Removed more dead code
...
svn-id: r45888
2009-11-14 09:46:51 +00:00
Filippos Karapetis
40570ddf21
Cleanup
...
svn-id: r45886
2009-11-14 03:21:42 +00:00
Filippos Karapetis
e2985a4173
Removed sfx/misc.h
...
svn-id: r45885
2009-11-14 03:15:20 +00:00
Filippos Karapetis
75c696fdc6
Removed some unused parts of the PCM sound playing code
...
svn-id: r45884
2009-11-14 02:59:21 +00:00
Eugene Sandulenko
5aaf66641b
Fix warning
...
svn-id: r45871
2009-11-12 21:20:04 +00:00
Martin Kiewitz
67ce14622a
SCI/newgui: SciGuiMenu forgot to reset memory handles after restoring
...
svn-id: r45869
2009-11-12 19:27:26 +00:00
Walter van Niftrik
32ec8647a6
SCI: Fix uninitialized variable in Amiga driver.
...
svn-id: r45868
2009-11-12 19:16:55 +00:00
Martin Kiewitz
83c7b6b6b6
SCI/newgui: SciGuiFont fixing delete
...
svn-id: r45867
2009-11-12 19:11:50 +00:00
Walter van Niftrik
f716959c1a
SCI: Fix crash in Iceman/amiga.
...
svn-id: r45866
2009-11-12 19:02:59 +00:00
Torbjörn Andersson
b3f97d9b73
Silenced GCC warning. Since command is unsigned, it's always >= 0.
...
svn-id: r45864
2009-11-12 18:27:16 +00:00
Martin Kiewitz
b85c254c5f
SCI/newgui: support for disabled menu entries, changed textface (int) to greyedOutput (bool)
...
svn-id: r45863
2009-11-12 16:20:19 +00:00
Filippos Karapetis
fbfafb576e
Started objectifying kDoSound()
...
svn-id: r45862
2009-11-12 15:24:11 +00:00
Martin Kiewitz
1351703dc0
SCI/newgui: SciGuiMenu adjustment, when no right aligned text is available at all (makes lsl6 menu pixel perfect)
...
svn-id: r45860
2009-11-12 13:01:35 +00:00
Martin Kiewitz
d1dc586aa3
SCI/newgui: SciGuiMenu now has said support (used in at least codename iceman)
...
svn-id: r45859
2009-11-12 12:49:17 +00:00
Filippos Karapetis
c45c335e0d
Some more tweaks for skipping the menu data in savegames, when INCLUDE_OLDGFX isn't defined (it still problematic and goes out of sync)
...
svn-id: r45858
2009-11-12 11:47:28 +00:00
Filippos Karapetis
226f0bd23d
The menu bar code is no longer used in the new graphics code, and the menu state is no longer stored in saved games
...
svn-id: r45854
2009-11-12 09:24:46 +00:00
Martin Kiewitz
c8f1afd24c
SCI/newgui: changed behaviour of menu when left/right to follow sierra. Added other differences in implementation, added reanimate TODOs, added mouse interaction TODO
...
svn-id: r45853
2009-11-12 08:28:59 +00:00
Martin Kiewitz
4174878482
SCI/newgui: inserted comment about not following sierra completely here in interactiveWithKeyboard()
...
svn-id: r45845
2009-11-11 21:38:50 +00:00
Martin Kiewitz
94d05b3d0a
SCI/newgui: if left/right walks into a separator line, do down instead of repeating left/right and thus skipping the menu
...
svn-id: r45844
2009-11-11 21:32:07 +00:00
Martin Kiewitz
1bc60e9d85
SCI/newgui: call menuReset() on game_init(), fixes double menu in pq2
...
svn-id: r45843
2009-11-11 21:22:04 +00:00
Martin Kiewitz
958ad94d8c
SCI/newgui: setting as default
...
svn-id: r45842
2009-11-11 21:06:06 +00:00
Martin Kiewitz
889687c0c3
SCI/newgui: menu done, separator line adjusted slightly, menu is now inverted as well
...
svn-id: r45841
2009-11-11 21:02:49 +00:00
Martin Kiewitz
7f83e98739
SCI/newgui: separator line support for menu, also fixed item adjustment
...
svn-id: r45840
2009-11-11 20:29:39 +00:00
Martin Kiewitz
e035ef032b
SCI/newgui: menu now only missing: menu invert, separators
...
svn-id: r45839
2009-11-11 20:08:55 +00:00
Martin Kiewitz
429d8be2dc
SCI/newgui: Almost done with menu support
...
svn-id: r45838
2009-11-11 19:43:51 +00:00
Max Horn
53d0bcd594
SCI: Remove remarks about in-place loading, at least for now.
...
Not loading in-place has the advantage that it allows to cleanly
cancel loading a savesate, e.g. if we detect a defect during
loading. This is much harder (if not impossible) to achieve if
loading in-place. So I'd prefer if we took advantage of this.
Right now, though, we don't.
svn-id: r45786
2009-11-09 22:20:59 +00:00
Filippos Karapetis
45aa06a83f
Fixed compilation when INCLUDE_OLDGFX isn't defined
...
svn-id: r45689
2009-11-05 21:09:46 +00:00
Martin Kiewitz
0b8a2ff617
SCI/newgui: SciGuiMenu interactive keyboard support added (menu drawing still missing)
...
svn-id: r45684
2009-11-05 07:28:44 +00:00
Martin Kiewitz
b64afbdac0
SCI/newgui: kDisposeWindow - changed to reflect actual sierra sci behaviour
...
svn-id: r45683
2009-11-05 07:27:36 +00:00
Walter van Niftrik
20a3c484d5
SCI: Converted FreeSCI Amiga sound driver. Some cleanup.
...
svn-id: r45682
2009-11-05 01:35:43 +00:00
Filippos Karapetis
1f49679db5
Moved the audio related command enums inside audio.h
...
svn-id: r45676
2009-11-05 00:04:53 +00:00
Martin Kiewitz
14447f7e01
SCI/newgui: select() implemented (interactive modes not done yet)
...
svn-id: r45674
2009-11-04 21:03:57 +00:00
Martin Kiewitz
c975c288ee
SCI/newgui: SciGuiMenu select() created, little cleanup
...
svn-id: r45673
2009-11-04 16:16:55 +00:00
Filippos Karapetis
5910e32b36
Applied patch #2891232 - "SCI sfx: Let each SongIterator remap its own channels"
...
svn-id: r45672
2009-11-04 16:11:46 +00:00
Martin Kiewitz
a53fda32bb
SCI/newgui: SciGuiMenu - set()/get() implemented
...
svn-id: r45671
2009-11-04 16:11:44 +00:00
Filippos Karapetis
6ea1cf7376
Applied patch #2891230 - "SCI sfx: fix song iterators from not getting freed"
...
svn-id: r45670
2009-11-04 15:51:50 +00:00
Matthew Hoops
d2b76368e1
Fix CD Audio in JonesCD and add some comments.
...
svn-id: r45669
2009-11-04 15:41:40 +00:00
Filippos Karapetis
5daca46946
Removed unused variables and placed some more old code inside INCLUDE_OLDGFX defines
...
svn-id: r45668
2009-11-04 15:32:25 +00:00
Filippos Karapetis
2aeb892e06
Cleanup
...
svn-id: r45667
2009-11-04 14:27:03 +00:00
Filippos Karapetis
c8fbac1517
- Changed the segment manager to be a static part of the engine, and stopped deleting and recreating it when restoring games
...
- Merged game_exit(), script_free_vm_memory() and script_free_engine()
- Cleanup
svn-id: r45666
2009-11-04 14:22:17 +00:00