Commit Graph

72 Commits

Author SHA1 Message Date
Sven Hesse
5b02192477 GOB: Add Font::hasChar() 2012-07-30 01:44:45 +02:00
Sven Hesse
27782700a5 GOB: Add some PreGob and Once Upon A Time cursor functions 2012-07-30 01:44:42 +02:00
Sven Hesse
00fa997039 GOB: Move drawString into Font 2012-07-30 01:24:18 +02:00
Sven Hesse
1cb6cc0218 GOB: Don't crash when drawPackedSprite() can't open the sprite 2012-07-30 01:24:18 +02:00
Sven Hesse
d124b87649 GOB: Remove unnecessary include
A remnant of when we were still doing dithering color LUT
creation at startup
2012-06-03 17:15:18 +02:00
Sven Hesse
aa7c44a070 GOB: Hook up the PE cursors to v7 loadCursor
Addy Junior / Adibou2 now shows proper cursors.
Thanks to clone2727 for the constant nagging. :P
2012-05-29 14:22:07 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Johannes Schickel
04d4162357 GOB: Adapt to setPalette RGBA->RGB change. 2011-02-14 17:08:32 +01:00
Max Horn
ab039812e7 COMMON: OSystem now has a PaletteManager
svn-id: r55806
2011-02-07 17:52:38 +00:00
Sven Hesse
076b9c9e53 GOB: Remove the vidMode parameter from Video::initSurfDesc
svn-id: r55727
2011-02-02 16:48:04 +00:00
Sven Hesse
261a640a93 GOB: Stop drawing a letter on surface boundaries
svn-id: r55574
2011-01-27 20:50:43 +00:00
Sven Hesse
d71125dc21 GOB: Use a fake cursor for Addy for now :P
svn-id: r55550
2011-01-26 19:04:24 +00:00
Sven Hesse
16a3cc8a84 GOB: Clean up class DataIO
Removing the need for class DataStream and that handle mess.

svn-id: r53984
2010-10-31 20:07:14 +00:00
Arnaud Boutonné
305d6fc7f5 GOB: Remove useless variable
svn-id: r52957
2010-09-30 15:31:31 +00:00
Sven Hesse
3ab8bf16a2 GOB: Create 16bit surfaces for true color games
Enabling basic Urban drawing again

svn-id: r52949
2010-09-30 13:03:22 +00:00
Sven Hesse
4f2b58b117 GOB: Remove the now useless VGAVideoDriver
svn-id: r52948
2010-09-30 13:02:50 +00:00
Sven Hesse
51fd528fe5 GOB: Change all drawing to use class Surface
svn-id: r52947
2010-09-30 13:02:16 +00:00
Sven Hesse
e68b6e9f15 GOB: Remove dither stuff, commenting out most v6 drawing
svn-id: r52945
2010-09-30 13:00:30 +00:00
Sven Hesse
b6766f0d7f GOB: Stub setting up of 16bpp graphics
svn-id: r52944
2010-09-30 12:59:48 +00:00
Max Horn
b3e404109c Move initGraphics and initCommonGFX from to new header.
These functions are only used internally be Engine subclasses, and
by moving them to a separate header we can reduce indirect header
dependencies.

svn-id: r48934
2010-05-04 11:58:12 +00:00
Arnaud Boutonné
b8875aca0c Add an assert to avoid a crash when printing the character 0x00.
svn-id: r47945
2010-02-06 22:48:36 +00:00
Sven Hesse
d4949d03d4 Minor style-related changes
svn-id: r47839
2010-02-03 03:25:50 +00:00
Sven Hesse
31006320a6 Fixing "graphical glitch in Bizoo level" (bug #2867361)
svn-id: r45470
2009-10-28 14:57:13 +00:00
Arnaud Boutonné
6976bc87b7 Playtoons - Add patterns to drawCircle
svn-id: r44122
2009-09-16 22:19:54 +00:00
Sven Hesse
ad7c50e70d Fixing mismatched delete
svn-id: r42354
2009-07-10 21:49:47 +00:00
Sven Hesse
3823ae285f Giving Font its own real class
svn-id: r42277
2009-07-09 02:54:10 +00:00
Max Horn
0989bb0b90 GOB: Got rid of class ReferenceCounter; changed SurfaceDesc::Ptr to SurfaceDescPtr (a Common::SharedPtr); and changed many SurfaceDesc pointers to references
svn-id: r41299
2009-06-06 20:03:13 +00:00
Sven Hesse
bfb29080f1 Remove superfluous indeo3-includes
svn-id: r40743
2009-05-20 20:05:53 +00:00
Sven Hesse
d0c88ca6a0 Playing half-sized videos fullscreen in the demoplayer
svn-id: r40211
2009-04-29 19:58:43 +00:00
Sven Hesse
eaf22dc66c Decreased the dithering LUT's depth to 5 bit per color component.
The results still good and generating it is fast enough to do at each start (so we don't need to save it anymore)

svn-id: r40195
2009-04-29 10:24:00 +00:00
Johannes Schickel
5417f6bacb - Replace OSystem::clearScreen with OSystem::fillScreen as discussed on -devel.
- Update BaseBackend and DC port to properly implement OSystem::fillScreen (now only PalmOS has to be updated).
- Update all client code which relied on OSystem::clearScreen so far.

svn-id: r38304
2009-02-15 21:20:21 +00:00
Johannes Schickel
655a1cb227 Oops. (stupid c&p bug)
svn-id: r35659
2009-01-02 00:52:01 +00:00
Johannes Schickel
15784edb08 Cleanup.
svn-id: r35658
2009-01-02 00:50:53 +00:00
Sven Hesse
74024ff3e5 Moving the dither code to graphics/
svn-id: r35526
2008-12-24 15:57:43 +00:00
Sven Hesse
5f8323bd50 Plugging leaks
svn-id: r35355
2008-12-14 04:33:28 +00:00
Sven Hesse
4ec3826080 Working (minus text) menu in Urban Runner
svn-id: r35310
2008-12-12 02:44:34 +00:00
Sven Hesse
c7fa7f888a On second thought, an octree only works if the color to look up is in the palette.
So using a table-based approach to find the nearest color now, using only the upper 6 bits to stop the table from getting too large. It still takes noticeable time to build it. :/
But as a result, the video actually looks okay now...

svn-id: r35298
2008-12-11 03:06:43 +00:00
Sven Hesse
5d9c8b7c47 Changing the GobEngine to use its dirty rects also for OSystem-copies, instead of relying on kFeatureAutoComputeDirtyRects
svn-id: r35239
2008-12-04 18:38:55 +00:00
Johannes Schickel
5a0556f09c Committed my patch #2123680 "SDL: Backend transaction / rollback support".
svn-id: r35062
2008-11-14 22:08:10 +00:00
Max Horn
3248906156 Engine class changed:
- Moved initCommonGFX() && GUIErrorMessage() out of class Engine
- got rid of the _autosavePeriod member (this prevented users from
  changing the autosave period during runtime)
- Got rid of an evil 'using GUI::Dialog' statement
- Clarified some Doxygen comments

svn-id: r34720
2008-10-02 17:48:01 +00:00
Sven Hesse
59df762f0a More split screen fixes.
I never get tired out those... ;)

svn-id: r32308
2008-05-26 22:02:20 +00:00
Sven Hesse
beb81bdc6e Fixing a valgrind warning
svn-id: r32218
2008-05-22 21:26:56 +00:00
Sven Hesse
f2294d9b89 Fixing another split screen glitch
svn-id: r32212
2008-05-22 17:10:41 +00:00
Sven Hesse
4e785a9e73 Changing the split stuff again, fixing several scrolling and hotspot-text related issues
svn-id: r32161
2008-05-17 23:55:04 +00:00
Sven Hesse
72dc3ecc55 Fixing the crash when entering the virtual trip tower in Woodruff
svn-id: r32090
2008-05-13 18:43:26 +00:00
Sven Hesse
220d6ce82f Restructured sound code
svn-id: r31937
2008-05-08 00:47:23 +00:00
Sven Hesse
edff41b1c3 Correct o2_initScreen() for Woodruff (screen positioning, clipping and cursor limiting)
svn-id: r31846
2008-05-03 20:08:46 +00:00
Paul Gilbert
6eb64102a4 Fix to remove a tab character from the GPL header
svn-id: r30238
2008-01-05 12:45:14 +00:00
Nicola Mettifogo
258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +00:00