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
fe7b70a4d5
SCI/newgui: undithering now enabled by default
...
svn-id: r45125
2009-10-15 15:27:08 +00:00
Martin Kiewitz
e074792616
SCI/newgui: SciGuiTransitions now also supports scrolling up (lsl6 intro)
...
svn-id: r45084
2009-10-14 15:43:58 +00:00
Martin Kiewitz
19cacbdb3c
SCI/newgui: SciGuiScreen putPixel etc. needs to use _width and _height instead of _displayWidth and _displayHeight
...
svn-id: r45004
2009-10-13 07:17:30 +00:00
Max Horn
ab1f2dac77
SCI: Fix warnings, cleanup
...
svn-id: r44978
2009-10-12 11:49:32 +00:00
Filippos Karapetis
2bb8d69380
Got rid of _baseTable and _baseDisplayTable
...
svn-id: r44973
2009-10-12 10:32:44 +00:00
Filippos Karapetis
ebb188c415
Move the line drawing code to SciGuiScreen()
...
svn-id: r44969
2009-10-12 08:25:38 +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
Martin Kiewitz
0b1a8dea2d
SCI/newgui: kShakeScreen partially implemented
...
svn-id: r44897
2009-10-11 08:52:23 +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
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
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
a61076a645
SCI: debug command undither implemented
...
svn-id: r44761
2009-10-07 21:47:34 +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
Martin Kiewitz
cb31d302b9
SCI/newgui: implemented debug command show_map
...
svn-id: r44735
2009-10-07 15:53:34 +00:00
Martin Kiewitz
337dbf2289
SCI: removed OSystem from SciGuiScreen
...
svn-id: r44731
2009-10-07 12:52:21 +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
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
df29b0067e
- Unified the screen buffers that are used by the current and the new GUI
...
- Replaced the FreeSCI line drawing code (which is actually Bresenham) with Graphics::drawLine(), after discussing with waltervn. This shouldn't bring any regressions, as we're no longer offering the option to scale the background at a vector level. After playing through some of the games, I haven't noticed any regressions
- Some cleanup
svn-id: r44692
2009-10-06 12:26:13 +00:00
Willem Jan Palenstijn
437a7cc07c
SCI: Make getBitsDataSize use the same logic as saveBits
...
svn-id: r44682
2009-10-05 23:00:48 +00:00
Martin Kiewitz
30596adec2
SCI/newgui: Implemented trick to get dithering going after drawing picture w/o destroying statusbar
...
svn-id: r44681
2009-10-05 22:42:41 +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
Filippos Karapetis
4d699301c7
Minimize unnecessary calls to updateScreen() in the new GUI. This improves drawing speed dramatically
...
svn-id: r44659
2009-10-05 12:04:39 +00:00
Filippos Karapetis
7f053e3a62
Removed the unused _bytesPerDisplayPixel parameter. All SCI games use 8bpp color (apart from the videos in Phantasmagoria 2, which are not part of the engine itself)
...
svn-id: r44653
2009-10-05 07:51:31 +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
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
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