Commit graph

177 commits

Author SHA1 Message Date
Martin Kiewitz
cb15cdfb07 SCI/newgui: kAnimate list - showBitsFlag implemented
svn-id: r44886
2009-10-10 20:30:31 +00:00
Martin Kiewitz
dbaac9de57 SCI/newgui: kAnimate is now using a dynamic buffer that stores animation data, fixes sq5 crash
svn-id: r44885
2009-10-10 20:25:04 +00:00
Martin Kiewitz
7f2259d280 SCI/newgui: changed GuiAnimateList struct
svn-id: r44882
2009-10-10 18:39:52 +00:00
Martin Kiewitz
0a3e03a166 SCI/newgui: removed hardcoded screen height/width
svn-id: r44881
2009-10-10 18:18:12 +00:00
Martin Kiewitz
17ee521707 SCI/newgui: intelligent cel undithering implemented
svn-id: r44880
2009-10-10 17:40:29 +00:00
Martin Kiewitz
a07c50aba4 SCI/newgui: removed SCI_SCREEN_MASK_DITHERED
svn-id: r44872
2009-10-10 12:58:40 +00:00
Walter van Niftrik
6c1cac3956 SCI: kMessage() rewrite
svn-id: r44860
2009-10-10 02:16:23 +00:00
Max Horn
99111f0ffd SCI: Fix some weird casting in the vectorPatternCircle and vectorPatternTexturedCircle
svn-id: r44851
2009-10-09 21:49:04 +00:00
Martin Kiewitz
e0b1ef6e46 SCI/newgui: changing SciGuiScreen::dither() for cel-undithering logic
svn-id: r44846
2009-10-09 20:54:02 +00:00
Martin Kiewitz
23887e9735 SCI/newgui: changing undithering logic again, palette now uses decoded color-combinations, fixup happens during dithering run on undithered mode
svn-id: r44845
2009-10-09 20:21:21 +00:00
Martin Kiewitz
5801dd2064 SCI/newgui: moved priority band initialization to init() call of SciGui to avoid having to call usesOldGfxFunctions() within constructor, where it would crash on some games (sq3)
svn-id: r44844
2009-10-09 19:50:20 +00:00
Martin Kiewitz
9f88122baa SCI/newgui: calling process_sound_events now directly within kAnimate(), fixes hanging scripts (e.g. sq3 exiting pod, kq1 getting killed)
svn-id: r44843
2009-10-09 19:41:39 +00:00
Martin Kiewitz
e387d274dd SCI/newgui: adding inactivate code for debug purposes to forward single methods to SciGui32 (testing only)
svn-id: r44842
2009-10-09 19:19:34 +00:00
Martin Kiewitz
918827ce99 SCI/newgui: correction for kAddToPic, fixes guards in 1st screen of kq1
svn-id: r44841
2009-10-09 18:57:16 +00:00
Martin Kiewitz
18df7c69ee SCI/newgui: kAnimate priority fixed
svn-id: r44840
2009-10-09 18:24:55 +00:00
Martin Kiewitz
dd0f5c318c SCI/newgui: pattern #defines moved into SciGuiPicture
svn-id: r44839
2009-10-09 18:08:13 +00:00
Martin Kiewitz
164611668b SCI/newgui: pattern and floodfill moved into SciGuiPicture
svn-id: r44838
2009-10-09 18:06:24 +00:00
Martin Kiewitz
01dc7545d2 SCI: drawMenuBar/clearMenuBar now using gui class, currently unimplemented in newgui, but so wont get affected by oldgui switching to visualScreen anymore (e.g. qfg2)
svn-id: r44837
2009-10-09 17:47:33 +00:00
Martin Kiewitz
efb1c33715 SCI/newgui: priority band init fix
svn-id: r44833
2009-10-09 17:16:34 +00:00
Martin Kiewitz
ab1184770b SCI/newgui: kCanBeHere partially implemented, little corrections
svn-id: r44832
2009-10-09 16:51:10 +00:00
Martin Kiewitz
c26e283d1b SCI/newgui: priority bands support for ega pictures
svn-id: r44827
2009-10-09 13:43:20 +00:00
Martin Kiewitz
79bbcdac7d SCI/newgui: some more priority band usage in kAnimate
svn-id: r44826
2009-10-09 13:25:32 +00:00
Martin Kiewitz
ed5a4625d5 SCI/newgui: support for priority bands, kCoordPri kPriCoord implemented, priority band picture support also added
svn-id: r44825
2009-10-09 13:15:37 +00:00
Martin Kiewitz
0d5ba6ac6c SCI/newgui: SciGuiView now also locks resource
svn-id: r44823
2009-10-09 12:10:17 +00:00
Martin Kiewitz
9f3c2c9083 SCI/newgui: SciGuiFont now locks the resourcedata, fixes broken fonts in games
svn-id: r44820
2009-10-09 12:04:07 +00:00
Martin Kiewitz
3135892df0 SCI/newgui: windowmgr cleanup
svn-id: r44815
2009-10-09 10:49:03 +00:00
Max Horn
0d9e1ded6f Fix warning
svn-id: r44809
2009-10-09 09:41:35 +00:00
Martin Kiewitz
3072d54589 SCI/newgui: Implemented kAddToPic (almost complete, but z-sorting and some extra code missing)
svn-id: r44807
2009-10-09 07:50:37 +00:00
Willem Jan Palenstijn
2f1c7f779a SCI: Don't iterate past end of list
svn-id: r44804
2009-10-08 21:32:04 +00:00
Martin Kiewitz
2ab906bafd SCI/newgui: RestoreBits() now ignores empty handles
svn-id: r44801
2009-10-08 21:00:21 +00:00
Martin Kiewitz
b6967bc70d SCI/newgui: more cleanup
svn-id: r44799
2009-10-08 20:51:49 +00:00
Martin Kiewitz
b0eeb3636c SCI/newgui: cleanup, fixing uninitialized variable in SciGuiPalette
svn-id: r44796
2009-10-08 20:13:52 +00:00
Martin Kiewitz
f5ccaf7e29 SCI/newgui: floodfill cleanup, pattern drawing: helper went private, clipping implemented
svn-id: r44792
2009-10-08 19:14:58 +00:00
Max Horn
d46aac8404 SCI: Fix warning
svn-id: r44791
2009-10-08 18:59:45 +00:00
Martin Kiewitz
03ee8c00be SCI/newgui: remarks about _menuPort, uninitialized usage in SciGuiPalette removed, _menuPort and _mainPort get deleted in destructor
svn-id: r44790
2009-10-08 18:34:49 +00:00
Martin Kiewitz
aab278974a SCI/newgui: kAnimate changes
svn-id: r44789
2009-10-08 18:07:49 +00:00
Martin Kiewitz
61952c3ac1 SCI/newgui: implemented more of kAnimate, currently crashes on windowMgr update.
svn-id: r44788
2009-10-08 16:23:46 +00:00
Martin Kiewitz
43a60d965a SCI/newgui: change to nsRect, scripts expect that. Fixes mouse clicking on several games
svn-id: r44784
2009-10-08 11:57:17 +00:00
Martin Kiewitz
8f8b84f774 SCI/newgui: kAnimate - coordinates fixed
svn-id: r44783
2009-10-08 11:49:11 +00:00
Martin Kiewitz
120b6b9392 SCI/newgui: kAnimate - _delete invoking implemented
svn-id: r44782
2009-10-08 11:23:53 +00:00
Martin Kiewitz
cce8d2e279 SCI/newgui: kAnimate - more implemented, cels are now drawn but isnt working correctly currently
svn-id: r44781
2009-10-08 10:35:12 +00:00
Martin Kiewitz
d1dcd82ac0 SCI/newgui: kAnimate SciGuiGfx::AnimateFill implemented
svn-id: r44780
2009-10-08 10:02:26 +00:00
Martin Kiewitz
bac0c76947 SCI/newgui: kAnimate - resolved previously unknown code functionality
svn-id: r44777
2009-10-08 09:29:14 +00:00
Filippos Karapetis
498d80a510 Don't store the engine state in the SciGuiPalette class. The palette timestamps are now calculated from Epoch time, instead of game start time (the functionality is exactly the same, though)
svn-id: r44773
2009-10-08 08:00:30 +00:00
Martin Kiewitz
0120111416 SCI/newgui: removed EGAmapping
svn-id: r44772
2009-10-08 07:58:31 +00:00
Filippos Karapetis
2d98b72858 Restore the engine state stored within SciGui during loading once more, since it gets replaced during loading. Fixes loading (a regression from #44730)
svn-id: r44771
2009-10-08 07:57:26 +00:00
Max Horn
0988e273ec SCI: Turn lookup_node & lookup_list into SegManager::lookupNode & SegManager::lookupList
svn-id: r44769
2009-10-07 23:34:24 +00:00
Max Horn
a4fa78743d SCI: Change more stuff to be CFG compliant
svn-id: r44768
2009-10-07 23:21:18 +00:00
Max Horn
5d07a657f0 SCI: Get rid of SciGuiScreen::initScreen, also known as 'calloc' elsewhere ;)
svn-id: r44766
2009-10-07 22:53:32 +00:00
Max Horn
e8a13197e3 SCI: Replace SciGuiGfx::mallocPort by 'new GuiPort'; also add FIXMES about ports which are not freed, have no valid ID and are not known to the window mgr
svn-id: r44765
2009-10-07 22:50:11 +00:00