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
Filippos Karapetis
6e18ee5b88
Changed palette initialization depending on the findings of the resource manager. Fixes the palette in several SCI1 EGA games
...
svn-id: r45114
2009-10-15 12:04:07 +00:00
Martin Kiewitz
022491c1cd
SCI/newgui: longbow palette 999 doesnt have mapping, so palette was detected as SCI1.1, changed detection. fixes black windows
...
svn-id: r45110
2009-10-15 10:12:14 +00:00
Willem Jan Palenstijn
c3e1f7be6b
SCI: Don't cache squares
...
svn-id: r45109
2009-10-15 09:54:45 +00:00
Martin Kiewitz
bc49c6e63e
SCI/newgui: kPalette / setIntensity / reimplemented setPalette optional parameter, fixed memory corruption in setIntensity
...
svn-id: r45091
2009-10-14 19:39:07 +00:00
Martin Kiewitz
3c5c954154
SCI/newgui: changed kPalette (setIntensity) to behave differently (seems we had it wrong) also changed nonsense clipping
...
svn-id: r45090
2009-10-14 18:35:15 +00:00
Filippos Karapetis
20036d3cb4
Fixed the palette in the SEQ decoder again
...
svn-id: r45088
2009-10-14 18:03:47 +00:00
Filippos Karapetis
1b3a5eaff6
Started rewriting the SEQ decoder to use the new GUI functions
...
svn-id: r45083
2009-10-14 15:21:53 +00:00
Martin Kiewitz
9dff5c53b4
SCI/newgui: SciGuiTransitions now at least supports fadeIn/out
...
svn-id: r45072
2009-10-14 12:39:39 +00:00
Martin Kiewitz
07222b8e89
SCI/newgui: kGraph updateBox implemented, cleaned up usage of BitsShow() still not perfect (e.g. kq5 cutscene information box)
...
svn-id: r44966
2009-10-12 07:11:22 +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
b0eeb3636c
SCI/newgui: cleanup, fixing uninitialized variable in SciGuiPalette
...
svn-id: r44796
2009-10-08 20:13:52 +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
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
e6fc06344d
SCI/newgui: changed dithering logic, otherwise colors combined with black wouldnt get undithered correctly
...
svn-id: r44762
2009-10-07 22:03:17 +00:00
Martin Kiewitz
7f78a7c6be
SCI/newgui: undithering of picture now possible (just follow instructions in gui_screen.cpp)
...
svn-id: r44742
2009-10-07 18:00:49 +00:00
Filippos Karapetis
6d135e904f
WIP code for replacing the FreeSCI view decoding code with the new one (no changes to the logic, yet)
...
svn-id: r44717
2009-10-06 19:57:55 +00:00
Filippos Karapetis
c17495d895
- Fixed kGetTime() again
...
- Removed the odd way of calculating elapsed time in SciGui(). We got _system->getMillis() for that purpose
- Replaced the code in SciGui::wait() with the one in SciGui32::wait (which works fine, and is correct). The code in SciGui() was not polling for events while waiting, either
svn-id: r44712
2009-10-06 17:45:57 +00:00
Filippos Karapetis
0b47085da0
Removed an unused reference to OSystem
...
svn-id: r44704
2009-10-06 17:09:34 +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