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
Filippos Karapetis
f83d7c6339
Reapplied the LSL1 casino workaround, which got disabled accidentally in commit #45661
...
svn-id: r45665
2009-11-04 14:17:14 +00:00
Filippos Karapetis
7030588e22
Removed the reference to EngineState from the SciGuiGfx class
...
svn-id: r45664
2009-11-04 13:26:43 +00:00
Martin Kiewitz
205a6c2299
SCI: forgot to adjust gui32 as well
...
svn-id: r45662
2009-11-04 12:57:11 +00:00
Martin Kiewitz
429c06c5ae
SCI/newgui: kGraph / InitPriority changed to reflect sci0 implementation, also moved code
...
svn-id: r45661
2009-11-04 12:54:27 +00:00
Filippos Karapetis
12e3375f3b
Removed the reference to SciGuiCursor from EngineState
...
svn-id: r45660
2009-11-04 12:19:05 +00:00
Filippos Karapetis
effdfcd4b8
Added references to the scaleX and scaleY selectors, used for SCI1.1 view scaling
...
svn-id: r45659
2009-11-04 12:16:08 +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
f5d1ca32f2
Fixed compilation when INCLUDE_OLDGFX is not defined
...
svn-id: r45657
2009-11-04 11:48:17 +00:00
Filippos Karapetis
7d00c4a7f1
Moved the audio CD handling code inside the AudioPlayer class. Some cleanup
...
svn-id: r45656
2009-11-04 11:22:46 +00:00
Filippos Karapetis
2dbf6662fc
Moved the sound sync code inside the AudioPlayer class
...
svn-id: r45655
2009-11-04 10:20:25 +00:00
Filippos Karapetis
611f5dd95f
Moved sound sync related variables inside the AudioPlayer class and fixed compilation
...
svn-id: r45654
2009-11-04 09:49:28 +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
Filippos Karapetis
66d3540f2c
Cleanup
...
svn-id: r45652
2009-11-04 09:31:35 +00:00
Max Horn
0fd0d1a09f
SCI: Fix warning (declaration of 'FOO' shadows a member of 'this')
...
svn-id: r45637
2009-11-03 20:47:10 +00:00
Martin Kiewitz
7bed008f8e
SCI/newgui: fixes for statusbar and transitions, so menubar shows up in intro of qfg1ega
...
svn-id: r45635
2009-11-03 19:43:21 +00:00
Martin Kiewitz
d758538eaa
SCI/newgui: SciGuiMenu partially implemented
...
svn-id: r45634
2009-11-03 19:33:31 +00:00
Filippos Karapetis
34aaac37fc
Removed some more hacks for accessing the segment manager
...
svn-id: r45631
2009-11-03 14:24:47 +00:00
Filippos Karapetis
74dba071b8
Fixed the deletion of cursorBitmap
...
svn-id: r45630
2009-11-03 14:20:57 +00:00
Filippos Karapetis
ff9c4908a7
Fixed a crash when loading in the old GUI
...
svn-id: r45628
2009-11-03 11:32:23 +00:00
Filippos Karapetis
f0c628cc3c
Remove the SegManager-related hacks for the selector defines, as the segMan parameter is explicit now
...
svn-id: r45626
2009-11-03 09:01:12 +00:00
Filippos Karapetis
9ec6208e2a
Plugged a memory leak
...
svn-id: r45625
2009-11-03 08:23:58 +00:00
Filippos Karapetis
bf8f8acb47
Don't keep a reference to SegManager, as it gets deleted when loading. Fixes a crash when loading games
...
svn-id: r45624
2009-11-03 08:23:02 +00:00
Walter van Niftrik
7f8a8732a1
SCI: Fix hoyle hack
...
svn-id: r45619
2009-11-02 23:06:30 +00:00
Max Horn
51933629d1
Changed foo(void) to foo() in almost all non-backend source files
...
svn-id: r45616
2009-11-02 21:54:57 +00:00
Max Horn
3a2833867f
SCI: Fix warning about unused variable
...
svn-id: r45614
2009-11-02 20:33:34 +00:00
Martin Kiewitz
abf63e1be9
SCI/newgui: Removed GuiCast structure
...
svn-id: r45613
2009-11-02 19:50:17 +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
f2dbd3357f
SCI/newgui: kBaseSetter ported from gregs engine, kq5 pathfinding works now correctly
...
svn-id: r45601
2009-11-01 21:14:33 +00:00
Walter van Niftrik
6522df6d6d
SCI: AvoidPath: Add simpler visibility algorithm (still disabled).
...
svn-id: r45590
2009-11-01 03:32:28 +00:00
Martin Kiewitz
fdc6524fb3
SCI/newgui: fixing kDisposeWindow so that reanimate is correctly called (fixes cels disappearing after removing windows)
...
svn-id: r45588
2009-10-31 22:50:05 +00:00
Walter van Niftrik
4d2cfd5449
SCI: AvoidPath: Switch to A*
...
svn-id: r45586
2009-10-31 21:21:23 +00:00
Martin Kiewitz
0af1d66d2d
SCI/newgui: added portrait data layout as comment (not completely done)
...
svn-id: r45585
2009-10-31 20:56:14 +00:00
Johannes Schickel
f709046167
Fix compilation.
...
svn-id: r45582
2009-10-31 19:55:49 +00:00
Martin Kiewitz
b29fd4dacd
SCI/newgui: SciGuiPortrait created
...
svn-id: r45579
2009-10-31 19:48:28 +00:00
Johannes Schickel
67a7492fa2
Comment out unused variables.
...
svn-id: r45574
2009-10-31 18:36:13 +00:00