Martin Kiewitz
afee877c46
SCI: Do clipping on celNo for case when celNo is below 0 (fixes crash in island dr. brain intro)
...
svn-id: r46240
2009-12-02 21:30:43 +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
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
0315264328
SCI/newgui: SciGuiView is now able to detect "straight" EGA mappings and will then ignore the mapping. This will result in undithering working for those views. All EGA-mapping views in qfg2 seem to be special fx related so they dont need undithering at all
...
svn-id: r45377
2009-10-25 20:46:14 +00:00
Martin Kiewitz
5a465c86c2
SCI/newgui: SciGuiView disable undithering when EGA mappings are available (support needs to get implemented for this case), also fixes a part of the undithering code
...
svn-id: r45374
2009-10-25 19:49:09 +00:00
Martin Kiewitz
8551e6cfe3
SCI/newgui: support for EGA mapping in SCI1 games, fixes qfg2 character selection
...
svn-id: r45362
2009-10-24 19:29:06 +00:00
Filippos Karapetis
e4c23834dd
Moved sci_ffs() inside iterator.cpp, the only place where it's actually used, and removed tools.*. Also, removed all the unused includes to tools.h from several places
...
svn-id: r45176
2009-10-16 23:29:00 +00:00
Martin Kiewitz
17ee521707
SCI/newgui: intelligent cel undithering implemented
...
svn-id: r44880
2009-10-10 17:40:29 +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
0120111416
SCI/newgui: removed EGAmapping
...
svn-id: r44772
2009-10-08 07:58:31 +00:00
Martin Kiewitz
5a86544581
SCI/newgui: SciGuiView - paletteoffset in EGA games documented and finally not used
...
svn-id: r44751
2009-10-07 20:04:48 +00:00
Johannes Schickel
0e3b634ecb
Fix mismatching new[]/delete use, by replacing delete with delete[].
...
svn-id: r44741
2009-10-07 17:46:17 +00:00
Filippos Karapetis
6e17b025a5
Implemented the SciGuiView destructor and plugged a memory leak in the current GUI
...
svn-id: r44740
2009-10-07 17:29:37 +00:00
Filippos Karapetis
ec421984a9
Replaced the view loading code with the new view loading functions. EGA view color translation has been disabled, as it caused palette problems in Codename:Iceman
...
svn-id: r44737
2009-10-07 16:26:16 +00:00
Martin Kiewitz
14dfa5d7b0
SCI/newgui: palette functions from SciGuiGfx now in SciGuiPalette
...
svn-id: r44698
2009-10-06 16:14:40 +00:00
Filippos Karapetis
5d382150df
- Removed the SciGuiGfx parameter from SciGuiView
...
- Moved _sysPalette inside SciGuiScreen
- Made CreatePaletteFromData() a static helper function
svn-id: r44696
2009-10-06 14:37:25 +00:00
Filippos Karapetis
daa6f0d9a2
SciGuiView is only using the ResourceManager, so there's no need to pass the whole EngineState to it
...
svn-id: r44693
2009-10-06 12:33:36 +00:00
Filippos Karapetis
8e108cc0a0
Removed unused reference to OSystem
...
svn-id: r44691
2009-10-06 08:11:06 +00:00
Martin Kiewitz
467c883ae1
SCI/newgui: view type amiga now supported
...
svn-id: r44689
2009-10-06 07:37:08 +00:00
Martin Kiewitz
c901f18e03
SCI/newgui: view 1.1 loading now completely fixed, included sanity check and one fixme
...
svn-id: r44687
2009-10-06 07:25:07 +00:00
Martin Kiewitz
358bfb3141
SCI/newgui: one typo in view sci1.1 fixed
...
svn-id: r44686
2009-10-06 07:12:09 +00:00
Martin Kiewitz
64d73415ca
SCI/newgui: changed the way dithering works on ega games, also default value change for kDrawStatus
...
svn-id: r44679
2009-10-05 21:38:51 +00:00
Martin Kiewitz
ac9faddd17
SVN/newgui: views on sci1.1 - mirroring now possible
...
svn-id: r44667
2009-10-05 17:57:06 +00:00
Martin Kiewitz
ac5d71b57e
SCI/newgui: duplicate the color in cels into upper 4 bits on ega so they wont get dithered with black
...
svn-id: r44666
2009-10-05 17:40:21 +00:00
Martin Kiewitz
d7f584166d
SVN/newgui: ega cel uncompression implemented
...
svn-id: r44665
2009-10-05 16:51:01 +00:00
Filippos Karapetis
3f77685f13
More method renaming
...
svn-id: r44651
2009-10-05 07:38:05 +00:00
Filippos Karapetis
8568892bf5
- Renamed GUI -> Gui and capitalized as appropriate (e.g. SciGUIwindowMgr -> SciGuiWindowMgr)
...
- Renamed "cell" -> "cel"
svn-id: r44649
2009-10-05 07:10:01 +00:00
Willem Jan Palenstijn
632359c0b4
SCI: Fix cast, constness
...
svn-id: r44640
2009-10-04 22:26:57 +00:00
Martin Kiewitz
92d0a9e17f
SCI/newgui: EGA view loading / mapping table
...
svn-id: r44639
2009-10-04 22:15:19 +00:00
Martin Kiewitz
6063d5fbe9
SCI/newgui: ega view loading implemented, unpacking still missing
...
svn-id: r44637
2009-10-04 21:57:31 +00:00
Martin Kiewitz
08c7ec123d
SCI/newgui: SciGUIview class now uses resmanager to detect view format
...
svn-id: r44636
2009-10-04 21:30:13 +00:00
Max Horn
f242266f6d
Change a couple places from 'end of namespace' to 'End of namespace', for consistency
...
svn-id: r44634
2009-10-04 21:26:33 +00:00
Martin Kiewitz
975f1b75ea
SCI/gui: final rename commit
...
svn-id: r44621
2009-10-04 16:41:53 +00:00
Martin Kiewitz
3deae94473
SCI/newgui: getCellRect() getLoopInfo() implemented, cleanup
...
svn-id: r44611
2009-10-04 15:34:43 +00:00
Martin Kiewitz
4957ec3505
SCI: kAddToPic, kAnimate and kSetNowSeen transferred to SciGUI32, not yet implemented in newgui
...
svn-id: r44606
2009-10-04 14:59:51 +00:00
Max Horn
a1e2ba1ba5
SCI: Fixing a bunch of warnings; change 'intencity' -> 'intensity';
...
properly init a sciPalette via memset
svn-id: r44604
2009-10-04 11:59:29 +00:00
Martin Kiewitz
10d70ec742
SCI/newgui: cleanup
...
svn-id: r44584
2009-10-04 05:20:56 +00:00
Willem Jan Palenstijn
b9cdb1abb7
SCI: Merge new GUI code written by m_kiewitz.
...
This is a major rewrite of the graphics code. A slightly adapted
version of the old code is still available and currently the default.
The new code is selectable in sci.cpp, but is not yet finished.
svn-id: r44565
2009-10-03 20:49:18 +00:00