Martin Kiewitz
df422c0894
SCI: Fix kSetCursor (Sci1.1) to behave like Sierra Sci (fixes cursor hiding/showing in kq6)
...
svn-id: r46224
2009-11-30 19:34:45 +00:00
Filippos Karapetis
74dba071b8
Fixed the deletion of cursorBitmap
...
svn-id: r45630
2009-11-03 14:20:57 +00:00
Filippos Karapetis
6fd5fdcf7b
Upscale the mouse cursor when the screen is upscaled. Also, reapplied some code which was accidentally reverted in commit #45562
...
svn-id: r45565
2009-10-31 15:44:59 +00:00
Martin Kiewitz
f36e9cbe4d
SCI/newgui: UpscaledHires implemented including undithering support, cleanup
...
svn-id: r45562
2009-10-31 14:38:25 +00:00
Filippos Karapetis
cd3f9336ab
Cursor positioning now takes screen scaling into account
...
svn-id: r45556
2009-10-31 12:17:38 +00:00
Filippos Karapetis
371097d27c
Added caching for mouse cursor views
...
svn-id: r45541
2009-10-30 17:13:25 +00:00
Martin Kiewitz
8178d548eb
SCI/newgui: Defining color white and others in SciGuiScreen and using that. Also clears screen with 0 on sci1.1 games (needs further investigation), fixes pictures
...
svn-id: r45500
2009-10-29 14:16:20 +00:00
Martin Kiewitz
7b8bc76453
SCI/newgui: old cursor uses now hardcoded white, fixes cursor color changing in lsl5
...
svn-id: r45251
2009-10-19 19:58:10 +00:00
Willem Jan Palenstijn
ed964efe3d
SCI: Fix delete/delete[] mismatch
...
svn-id: r45198
2009-10-17 18:59:13 +00:00
Willem Jan Palenstijn
a74fd21847
SCI: Fix delete/free mismatches
...
svn-id: r45196
2009-10-17 17:59:09 +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
Filippos Karapetis
4e0046dd1f
Merged the rest of the cursor code
...
svn-id: r45029
2009-10-13 17:09:32 +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
Filippos Karapetis
1562add631
- Cleaned up the cursor code
...
- Renamed gui -> _gui in EngineState, for consistency
- Added a reference to SciGuiCursor in EngineState, to be used by current code
- Renamed setCursorHide -> hideCursor, setCursorShow -> showCursor
- Moved the cursor zone limiting code inside SciGuiCursor. This code is currently not functioning, as we need to call refreshPosition() before each updateScreen() call to limit the cursor position.
svn-id: r44760
2009-10-07 21:29:47 +00:00
Martin Kiewitz
1dfe7578cb
SCI/newgui: kSetCursor (show, hide, pos, shape) implemented
...
svn-id: r44734
2009-10-07 14:53:15 +00:00
Martin Kiewitz
77b549a0ad
SCI: SciGuiCursor class added, cleanup, OSystem removed from SciGui constructor
...
svn-id: r44730
2009-10-07 12:47:53 +00:00