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
Matthew Hoops
d8c59f5baa
Disable the planeLeft/planeTop code as it doesn't work under the current code (and left a FIXME explaining why it doesn't work).
...
svn-id: r47006
2010-01-05 01:14:08 +00:00
Filippos Karapetis
f66d5a7f53
SCI: Removed the old graphics code
...
svn-id: r47005
2010-01-05 00:54:53 +00:00
Martin Kiewitz
575bc45301
SCI: adjusting cel drawing according to left/top of plane
...
svn-id: r47002
2010-01-05 00:12:31 +00:00
Matthew Hoops
3c0805550e
Remove the planes/screenItems count and use the arrays' size() function instead.
...
svn-id: r47000
2010-01-04 23:37:29 +00:00
Matthew Hoops
c26ac879c6
Silence gcc warnings.
...
svn-id: r46999
2010-01-04 23:32:41 +00:00
Martin Kiewitz
6c001b7ffd
SCI: removing warning() from kFrameOut
...
svn-id: r46998
2010-01-04 23:31:50 +00:00
Martin Kiewitz
01d68c7eaf
SCI: adding #ifdefs for temporary gui work
...
svn-id: r46997
2010-01-04 23:17:51 +00:00
Martin Kiewitz
3767d3a718
SCI: now filtering screenItems against planes
...
svn-id: r46996
2010-01-04 23:09:57 +00:00
Martin Kiewitz
a6aaeb70e6
SCI: fix crash due accessing invalid object (implemented deleteScreenitem)
...
svn-id: r46993
2010-01-04 22:23:45 +00:00
Martin Kiewitz
05a16d7cba
SCI: surprise for this DrMcCoy guy
...
svn-id: r46992
2010-01-04 22:14:34 +00:00
Martin Kiewitz
01eb329be2
SCI: kPalette / animate adjustments to behave more like sierra sci, also doesnt crash in island of brain anymore
...
svn-id: r46975
2010-01-04 16:44:58 +00:00
Martin Kiewitz
baf8575e36
SCI: adjusted kDisplay change to occur SCI1late
...
svn-id: r46902
2010-01-02 22:04:05 +00:00
Martin Kiewitz
2f65f8f7c6
SCI: kDisplay difference in SCI0 (fixes colonels bequest copy protection screen)
...
svn-id: r46901
2010-01-02 21:55:39 +00:00
Filippos Karapetis
d4556f5a26
SCI32: Added sanity checks to kAddScreenItem and kUpdateScreenItem, so that they don't try and draw cels outside the screen
...
svn-id: r46767
2009-12-30 18:33:03 +00:00
Filippos Karapetis
fabe51c129
Renamed gameName -> gameId, to keep the same vocabulary everywhere
...
svn-id: r46635
2009-12-27 12:54:03 +00:00
Martin Kiewitz
7bce8acd2e
SCI: implemented _picNotValidSci11 for new kPicNotValid behaviour in sci1.1 (fixes island of dr. brain first pic after copy protection not showing up)
...
svn-id: r46305
2009-12-09 09:31:07 +00:00
Martin Kiewitz
601fd79733
SCI: SciGui::getPortPic now uses byref
...
svn-id: r46293
2009-12-08 21:04:40 +00:00
Martin Kiewitz
a2d7505e81
SCI: Saving picPort now (fixes loading saved games in castle of dr. brain)
...
svn-id: r46292
2009-12-08 20:54:18 +00:00
Martin Kiewitz
d982d10505
SCI: Make event constants more verbose
...
svn-id: r46255
2009-12-04 17:58:26 +00:00
Martin Kiewitz
a5f1808c83
SCI: SciEvent created, kernel_sleep() created
...
svn-id: r46252
2009-12-04 17:38:24 +00:00
Martin Kiewitz
43abd8d2e9
SCI: Fixed kSetCursor (fixes qfg1vga menu immediately disappearing after opening)
...
svn-id: r46248
2009-12-04 12:55:53 +00:00
Martin Kiewitz
df422c0894
SCI: Fix kSetCursor (Sci1.1) to behave like Sierra Sci (fixes cursor hiding/showing in kq6)
...
svn-id: r46224
2009-11-30 19:34:45 +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
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
429d8be2dc
SCI/newgui: Almost done with menu support
...
svn-id: r45838
2009-11-11 19:43:51 +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
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
Martin Kiewitz
a53fda32bb
SCI/newgui: SciGuiMenu - set()/get() implemented
...
svn-id: r45671
2009-11-04 16:11:44 +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
7030588e22
Removed the reference to EngineState from the SciGuiGfx class
...
svn-id: r45664
2009-11-04 13:26:43 +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
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
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
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
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
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
Martin Kiewitz
b29fd4dacd
SCI/newgui: SciGuiPortrait created
...
svn-id: r45579
2009-10-31 19:48:28 +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
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
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
Filippos Karapetis
29fb3b0f3f
Plugged some memory leaks in the new graphics code
...
svn-id: r45550
2009-10-30 22:50:21 +00:00
Filippos Karapetis
8bf3e5b549
Added caching of views
...
svn-id: r45542
2009-10-30 17:38: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