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
Filippos Karapetis
58299f4bfd
Added a comment that the current implementation that we got on drawing already scaled views is a temporary hack
...
svn-id: r45571
2009-10-31 18:26:31 +00:00
Torbjörn Andersson
d5421d93d4
Silenced GCC warning.
...
svn-id: r45570
2009-10-31 18:12:19 +00:00
Martin Kiewitz
cda9b293fd
SCI/newgui: Changed code for graphSaveUpscaledHiresBox to not scale the position, its not needed and would actually result in a crash cause of 2 times scaling.
...
svn-id: r45569
2009-10-31 18:00:22 +00:00
Filippos Karapetis
9450661f72
Added some default directories
...
svn-id: r45568
2009-10-31 17:55:03 +00:00
Filippos Karapetis
c64fa600b7
- Added some TODOs
...
- Disabled the kGraph case used in KQ6 Windows for now, as it's problematic and crashes the game
- Added extra param to kDrawCel(), used in KQ6 Windows
The icon bar in KQ6 Windows is shown a bit better now
svn-id: r45567
2009-10-31 17:54:28 +00:00
Filippos Karapetis
2b29b53b47
Slight optimization to the 2x scaler
...
svn-id: r45566
2009-10-31 17:02:11 +00:00
Filippos Karapetis
6fd5fdcf7b
Upscale the mouse cursor when the screen is upscaled. Also, reapplied some code which was accidentally reverted in commit #45562
...
svn-id: r45565
2009-10-31 15:44:59 +00:00
Martin Kiewitz
99cd8d5d2f
SCI/newgui: kGraph support for Save-UpscaledHires-Box (not sure if coordinates are really hires, it seems that they are not)
...
svn-id: r45564
2009-10-31 15:25:47 +00:00
Martin Kiewitz
4b9066ef69
SCI: accidentally set newgui to default, reverting
...
svn-id: r45563
2009-10-31 14:41:28 +00:00
Martin Kiewitz
f36e9cbe4d
SCI/newgui: UpscaledHires implemented including undithering support, cleanup
...
svn-id: r45562
2009-10-31 14:38:25 +00:00
Filippos Karapetis
43f476b571
Properly fixed putPixel() for scaled screens
...
svn-id: r45557
2009-10-31 12:19:35 +00:00
Filippos Karapetis
cd3f9336ab
Cursor positioning now takes screen scaling into account
...
svn-id: r45556
2009-10-31 12:17:38 +00:00
Filippos Karapetis
71db8b851b
Some more work on KQ6 hi res version - screen scaling should be done now, but other methods haven't been updated yet
...
svn-id: r45555
2009-10-31 10:54:19 +00:00
Johannes Schickel
0867129399
Formatting.
...
svn-id: r45553
2009-10-30 23:44:12 +00:00
Filippos Karapetis
86cafd561f
Some work on the kPortrait kernel function, used to show hires character portraits in the Windows CD version of KQ6
...
svn-id: r45552
2009-10-30 22:55:35 +00:00