Commit Graph
7940 Commits
Author SHA1 Message Date
Martin Kiewitz 8fe74a1a7e SCI/newgui: support for textedit control (mouse support not yet implemented)
svn-id: r44948
2009-10-11 20:46:04 +00:00
Joost Peters 29a6fdf367 fix compilation
svn-id: r44945
2009-10-11 20:23:15 +00:00
Filippos Karapetis cfc7b741f9 Use BitsShow() for partial screen updates
svn-id: r44944
2009-10-11 20:20:28 +00:00
Filippos Karapetis 1f00be5c15 The _variables array is sized from syncArray, so there's no need to store its size in the savegame
svn-id: r44940
2009-10-11 19:23:00 +00:00
Filippos Karapetis 07736ede19 Added kSetPort case with 4 parameters (used in the ending of LSL6)
svn-id: r44938
2009-10-11 18:42:52 +00:00
Filippos Karapetis 222b0d3887 Fill box routines do not translate the fill box coordinates
svn-id: r44937
2009-10-11 18:41:13 +00:00
Filippos Karapetis 6fda9a5067 Optimized some screen updates in the new GUI to only update the changed rectangle, instead of the whole screen
svn-id: r44935
2009-10-11 17:59:23 +00:00
Filippos Karapetis 9b97f21486 Reset the EngineState pointer in the SciGuiGfx class when loading. Fixes loading with the new GUI
svn-id: r44934
2009-10-11 16:47:01 +00:00
Filippos Karapetis 1d2031defd Stop passing the engine state to SciGuiWindowMgr
svn-id: r44933
2009-10-11 16:15:42 +00:00
Filippos Karapetis 0da0d5b6a4 Stop passing all of the engine state to SciGuiPicture
svn-id: r44932
2009-10-11 16:12:24 +00:00
Torbjörn Andersson 57ae40e52c Fixed a warning, ironically inside a warning().
svn-id: r44931
2009-10-11 16:00:16 +00:00
Filippos Karapetis 1d3118cf42 Implemented some advanced savegame functionality - loading and deleting savegames from the GMM is now possible, and new saved games will also have thumbnails. Saving from the GMM creates corrupted saved games, so it has been disabled for now
svn-id: r44930
2009-10-11 15:51:43 +00:00
Martin Kiewitz ba9a9422b4 SCI/newgui: list control implemented
svn-id: r44929
2009-10-11 15:41:52 +00:00
Walter van Niftrik 6f553a630a SCI: Relax GetAngle() signature for KQ6.
svn-id: r44928
2009-10-11 15:32:22 +00:00
Walter van Niftrik 4a157d43b3 SCI: Implement CoordPri() with two args.
svn-id: r44927
2009-10-11 14:58:58 +00:00
Joost Peters 117dfd08ec rename shadow var
svn-id: r44926
2009-10-11 14:30:55 +00:00
Martin Kiewitz efcfae742b SCI: kDrawControl for list and textedit controls also using gui class
svn-id: r44925
2009-10-11 14:28:20 +00:00
Joost Peters 7b493e9a60 fix new[]/delete mismatch
svn-id: r44924
2009-10-11 14:15:37 +00:00
Filippos Karapetis 6d030126d7 More work on the Object class
svn-id: r44921
2009-10-11 13:46:58 +00:00
Filippos Karapetis 7755404f52 Fixed compilation with the current GUI
svn-id: r44914
2009-10-11 12:45:40 +00:00
Martin Kiewitz 0d98fa3fe4 SCI: made kEditControl use SciGui class, not currently implemented in newgui
svn-id: r44913
2009-10-11 12:15:17 +00:00
Torbjörn Andersson 65865de473 Removed unused variable.
svn-id: r44909
2009-10-11 11:59:30 +00:00
Martin Kiewitz 0353b9923d SCI/newgui: SciGuiPicture now also supports mirroring of cel-data
svn-id: r44908
2009-10-11 11:42:50 +00:00
Martin Kiewitz 353fe8ae56 SCI/newgui: SciGuiGfx::BitsFree() implemented, currently used in kAnimate, Bits-methods renamed
svn-id: r44903
2009-10-11 09:47:12 +00:00
Martin Kiewitz 236e801366 SCI/newgui: comment change on SciGui::moveCursor()
svn-id: r44902
2009-10-11 09:39:53 +00:00
Martin Kiewitz 91eee2e99a SCI: change remove script FIXME warning into comment
svn-id: r44901
2009-10-11 09:34:35 +00:00
Martin Kiewitz e780a973d2 SCI/newgui: kDisplay restoreUnder/saveUnder implemented, fixes previously sticky text in sq1, kq5, etc.
svn-id: r44900
2009-10-11 09:31:48 +00:00
Martin Kiewitz 0b1a8dea2d SCI/newgui: kShakeScreen partially implemented
svn-id: r44897
2009-10-11 08:52:23 +00:00
Martin Kiewitz 67c7d49729 SCI/newgui: offTop changed, fixes window corruption (qfg3 and more)
svn-id: r44896
2009-10-11 08:15:25 +00:00
Willem Jan Palenstijn 76ea099d23 SCI: Remove superfluous casts; fix warning.
svn-id: r44895
2009-10-11 08:07:59 +00:00
Martin Kiewitz 4ca178e203 SCI/newgui: correction for GuiAnimateEntry struct
svn-id: r44894
2009-10-11 08:03:09 +00:00
Martin Kiewitz e9bedf9b97 SCI/newgui: Implemented kCanBeHere list processing
svn-id: r44893
2009-10-11 07:54:20 +00:00
Martin Kiewitz 22baa64647 SCI/newgui: kAddToPic fully implemented
svn-id: r44892
2009-10-11 07:21:59 +00:00
Walter van Niftrik f2db73e55d SCI: Fix bug in Message() recursion
svn-id: r44890
2009-10-11 03:40:11 +00:00
Walter van Niftrik b2a148e12c SCI: Fix hang in KQ6 book worm scene
svn-id: r44889
2009-10-11 02:47:07 +00:00
Martin Kiewitz 2d3979ff6e SCI/newgui: kAnimate - list is finally sorted according to y and z
svn-id: r44888
2009-10-10 21:38:24 +00:00
Martin Kiewitz 5d0afc45c6 SCI/newgui: kAnimate now using Common::List
svn-id: r44887
2009-10-10 21:25:21 +00:00
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
Filippos Karapetis d6f5d93dbf Started rewriting the Object struct into a class
svn-id: r44878
2009-10-10 15:58:51 +00:00
Walter van Niftrik bb381d3a52 SCI: Fixed bug in new Message() code
svn-id: r44873
2009-10-10 13:47:26 +00:00
Martin Kiewitz a07c50aba4 SCI/newgui: removed SCI_SCREEN_MASK_DITHERED
svn-id: r44872
2009-10-10 12:58:40 +00:00
Willem Jan Palenstijn 3aa8699874 SCI: Fix warnings
svn-id: r44869
2009-10-10 12:13:34 +00:00
Filippos Karapetis bfabde4512 Fixed loading again - a regression from commit #44803
svn-id: r44868
2009-10-10 12:00:34 +00:00
Filippos Karapetis 053cbdecc7 Merged _k_base_setter() inside kBaseSetter()
svn-id: r44866
2009-10-10 10:48:46 +00:00
Filippos Karapetis ba297ab7b1 Replaced make_reg(0, -1) with SIGNAL_REG and fixed a warning (MessageRecord is a struct)
svn-id: r44865
2009-10-10 10:46:11 +00:00
Walter van Niftrik 6c1cac3956 SCI: kMessage() rewrite
svn-id: r44860
2009-10-10 02:16:23 +00:00