aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/text32.cpp
AgeCommit message (Collapse)Author
2016-05-28SCI32: Simplify default text width equationColin Snover
2016-05-28SCI: Explicit type conversion. Avoids warnings on number of compilers.Eugene Sandulenko
2016-05-28SCI32: Remove unused titled text bitmap codeColin Snover
Titled text bitmaps do not appear to be used by any game scripts. They seem to only be used by the error manager in SSCI, but ScummVM has its own error handling, so we don’t need this implementation.
2016-03-10SCI32: Implement GfxText32::getTextCountColin Snover
2016-03-07SCI32: Move in-memory bitmap read/write into its own classColin Snover
2016-03-06SCI32: Implement variable size frame drawingColin Snover
2016-03-06SCI32: Implement kEditTextColin Snover
2016-03-03SCI32: Fix misidentification of createFontBitmap(CelInfo &)Colin Snover
2016-03-03SCI32: Add all kBitmap signaturesColin Snover
Not all SCI2.1late/SCI3 function signatures are fully known yet, but all subops are now represented in the kernel tables.
2016-03-01SCI32: Fix text size calculation scaling to match SCIColin Snover
The previous code works correctly only for ratios like 2:1 that do not generate remainders.
2016-02-28SCI32: Non-titled text bitmap implementationColin Snover
This implementation is not 100% engine accurate, but it is more accurate than what was there, and hopefully the differences between this and the engine code are merely cosmetic. The known (intentional) differences are: 1. Uses ScummVM rects inside the engine code, converting to/from SCI rects on the kernel edges and when scaling 2. Fewer side effects when performing operations that *should* have been pure from the start (like text dimension calculation). Still not side-effect-free, but at least things like colours and alignment do not need to be reset every time a measurement is taken, unlike in the actual engine. Editor controls and some other kBitmap code are temporarily disabled as a result of changes to GfxText32 until they can be updated to be engine-accurate.
2016-02-27SCI: Remove another GK1-related hackFilippos Karapetis
2016-02-18SCI: WIP GfxText32 codeColin Snover
This at least prevents SQ6 from crashing when going into the introduction
2014-02-18SCI: Make GPL headers consistent in themselves.Johannes Schickel
2012-06-20SCI: Remove multibyte character processing code from SCI32Filippos Karapetis
There are no Japanese/PC-98 SCI32 games, so this code is not needed
2012-06-20SCI: Don't attempt to draw line feed characters in SCI32Filippos Karapetis
Fixes junk in the about dialogs in PQ4
2012-06-09SCI: Handle translucent text planesFilippos Karapetis
Fixes the incorrect flood fill in the Rada Drums screen in GK1
2012-06-07SCI: Initial implementation of kScrollWindow, used in some SCI21 gamesFilippos Karapetis
This is used in LSL6 hires and SQ6. This initial implementation is hackish and only works in SQ6 (nothing is shown in LSL6)
2012-05-14SCI: Implement savegame deletion functionality in SCI32Filippos Karapetis
This is based on two kernel functions, kMakeSaveCatName and kMakeSaveFileName
2012-03-08SCI: Fix GK1 Mac text positioningMatthew Hoops
A regression from the text bitmap code addition
2012-01-15SCI: Properly handle negative coordinates in drawTextBitmap()Filippos Karapetis
This fixes occasional crashes when going to the map in GK1. Many thanks to digitall for finding this through Valgrind
2012-01-13SCI: Fixed some graphics corruption (black boxes) in the dialogs of GK1Filippos Karapetis
2012-01-01JANITORIAL: Remove SVN tagsStrangerke
2011-10-30SCI: More work on kEditTextFilippos Karapetis
2011-10-29SCI: Bugfix for text alignment in SCI32 gamesFilippos Karapetis
2011-10-29SCI: Silence GCC warningTorbjörn Andersson
2011-10-29SCI: Fixed the up/down buttons in GK1Filippos Karapetis
2011-10-29SCI: Implemented text alignment for SCI32Filippos Karapetis
2011-10-29SCI: Fixed typoFilippos Karapetis
2011-10-29SCI: Some fixes for text positioning in SCI32 games (still WIP)Filippos Karapetis
Also, removed duplicate code
2011-10-28SCI: Remove unneeded casts (thanks to wjp for pointing that out)Filippos Karapetis
2011-10-28SCI: Use the original text buffer width/height when drawing itFilippos Karapetis
Fixes the display of overlay text
2011-10-28SCI: Fixed text background color and text transparency for SCI32 gamesFilippos Karapetis
2011-10-19SCI: Moved the width adjustment outside getPlaneRect()Filippos Karapetis
2011-10-19SCI: Added a sanity check when drawing text. Older SCI32 saves work nowFilippos Karapetis
2011-10-19SCI: Merged all the code to get/set the NS rectFilippos Karapetis
2011-10-15SCI: Fixed text length in upscaled SCI32 gamesFilippos Karapetis
2011-10-14SCI: Fixed display of text surfaces in SCI21Filippos Karapetis
2011-10-14SCI: Silenced warningsFilippos Karapetis
2011-10-14SCI: More work on kBitmap (still WIP)Filippos Karapetis
2011-10-13SCI: Implemented kBitmap(3) and kBitmap(5). Some cleanupFilippos Karapetis
2011-10-11SCI: Fixed text display in QFG4Filippos Karapetis
2011-10-11SCI: Some work on the SCI32 bitmap / font codeFilippos Karapetis
- Initial implementation of kBitmap(0) - Bugfixes for fonts in upscaled games
2011-10-11SCI: Removed leftover unused variablesFilippos Karapetis
2011-10-11SCI: Proper implementation of text drawing for SCI2+Filippos Karapetis
2011-10-09SCI: CreateTextBitmap should return a pointer. Also, silenced a warningFilippos Karapetis
2011-10-09SCI32: Documented the extra 2 params in kCreateTextBitmap(0)Filippos Karapetis
2011-10-08SCI2+: Fixed the implementation of kTextSize(), removing some hacksFilippos Karapetis
Thanks to lskovlun for the fix
2011-10-08SCI2+: Some groundwork for kTextSize()Filippos Karapetis
The old behavior is currently hacked in inside kernelTextSize(), as the top of the subtitles frame is wrong if kTextWidth() is properly working...
2011-09-03SCI32: Added an initial skeleton structure for the SCI2 text drawing codeFilippos Karapetis
This includes kCreateTextBitmap, and moves all of the text drawing code into the new GfxText32 class