Commit Graph

152 Commits

Author SHA1 Message Date
Johannes Schickel
b79c2156d0 KYRA: Make GPL headers consistent in themselves. 2014-02-18 02:39:35 +01:00
Torbjörn Andersson
238aa2be2a KYRA: Let the VQA decoder draw directly to the backend
As an alternative to using the Screen class's functions, we can let
the VQA decoder draw directly to the backend. This won't work if the
game uses "hi-res mode", but I don't think that's ever the case for
Malcolm's Revenge. I believe the KyraEngine_MR::playVQA() function
ensures that the screen is properly updated after the movie has
finished.

This almost limits the VQA rewrite to vqa.cpp and vqa.h. Whether it's
better this way than changing the Screen functions to take a 'pitch'
parameter...? I don't know. But it's an alternative.
2014-01-18 03:18:40 +01:00
Torbjörn Andersson
19cb3499f5 KYRA: Rewrite the VQA decoder, using the VideoDecoder classes
There isn't really a lot of benefit to this, but I think it's nicer
if all our video decoders at least try to use the same infrastructure.
2014-01-18 03:18:40 +01:00
athrxx
0b38615a43 KYRA: (LOL/FM-TOWNS) - adjust sjis font settings, spacing, etc. 2013-01-09 20:29:19 +01:00
Johannes Schickel
bbb83f132b KYRA: Make "const type *const" use consistent.
I used this command for changing "const type * const" to "const type *const":
git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/const \([a-zA-Z0-9_]*\) \* const/const \1 \*const/g'
2012-11-19 13:06:09 +01:00
athrxx
93eb6ec64a KYRA: (EOB) - implement simplified EGA dithering for EOB II 2012-11-18 00:03:23 +01:00
athrxx
c8a73d30cf KYRA: (EOB) - cleaning up CGA/EGA graphics code
- fix some glitches in CGA rendering mode
- revert most of 66da4777d4 (instead of having lots of EGA dithering routines throughout the whole EOB code we're going to implement some post-processing code in updateScreen())
2012-11-18 00:03:22 +01:00
Johannes Schickel
b2ba37a039 KYRA: Get rid of unused private class members.
Thanks to salty-horse for pointing at these.
2012-07-03 17:44:37 +02:00
Max Horn
215b41b244 COMMON: Move RenderMode and GUIOptions functionality into separate files 2012-02-26 15:19:31 +01:00
athrxx
30fa5e1663 KYRA: (EOB) - fix save file thumbnail generation in CGA/EGA mode 2012-02-24 18:09:39 +01:00
athrxx
ecd1a9f943 KYRA: (EOB) - cleanup CGA/EGA code a bit 2012-02-24 18:09:37 +01:00
athrxx
66da4777d4 KYRA: (EOB) - implement EGA mode (hi res dithering) for EOB II
(also fix various thing connected to CGA/EGA modes)
2012-02-21 21:48:46 +01:00
athrxx
86a817beb5 KYRA: (EOB) - start work on CGA and EGA graphics modes 2012-02-21 21:48:39 +01:00
Tarek Soliman
921f602ab8 JANITORIAL: Fix whitespace in pointer template arg 2012-02-15 10:07:08 -06:00
Johannes Schickel
487e73bd21 KYRA: Merge Screen_Rpg with Screen (for now).
This should(!) fix ARM compilation issues due to virtual inheritance.
2011-12-26 19:32:05 +01:00
Johannes Schickel
6ca8d9ffe3 KYRA: Remove unused/obsolete function. 2011-12-26 17:56:50 +01:00
athrxx
53e1bf21ec KYRA: (EOB) - get rid of loadVGAPalette7bit()
(slightly change VGA palette loader to accomodate EOB1 palettes)
2011-12-26 16:18:17 +01:00
athrxx
0c7fbd788b KYRA: (EOB) - remove unneeded virtual declarations in screen.h 2011-12-26 16:18:17 +01:00
athrxx
60330556ff KYRA: (EOB/LOL) - move eob/lol specific screen code to new class 2011-12-26 16:18:16 +01:00
athrxx
4c6302943b KYRA: implement Screen::decodeFrame1()
(required for decoding some EGA bitmaps in EOB1)
2011-12-26 16:18:16 +01:00
athrxx
bac0caeb0f KYRA: (EOB) - lots of fixes towards EOB1 playability
also implement some new code (EOB1 portals, burning hands spell, etc.)
2011-12-26 16:18:13 +01:00
athrxx
540d081a6f KYRA: (EOB) - initial code base commit 2011-12-26 16:18:10 +01:00
Christoph Mallon
23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Florian Kagerer
09f77eb464 LOL: - fix invalid mem access
- also extend LordHoto's recent item code changes to LOL

svn-id: r53740
2010-10-23 16:01:40 +00:00
Max Horn
92c896d883 Patch #2973290: Semicolon cleanup
svn-id: r48359
2010-03-22 20:28:08 +00:00
Johannes Schickel
3b7082c32b Fix overflow of glyph count for CREDIT6.FNT, this fixes credits for Kyra1 floppy/FM-TOWNS/PC98.
svn-id: r46269
2009-12-06 00:54:24 +00:00
Johannes Schickel
ea28351862 Cleanup.
svn-id: r44907
2009-10-11 11:34:30 +00:00
Johannes Schickel
6492c00a3a Revert changes to graphics/sjis.h in r44709.
svn-id: r44904
2009-10-11 11:28:43 +00:00
Florian Kagerer
7c065c84cb LOL/PC-98: implemented drawing code for teleporters
svn-id: r44883
2009-10-10 18:45:33 +00:00
Florian Kagerer
3e259dea30 LOL/PC-98: fixed two minor bugs
svn-id: r44870
2009-10-10 12:29:36 +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
Johannes Schickel
eaca55ee50 Some fixes to comply with our coding guidelines.
svn-id: r44624
2009-10-04 17:54:08 +00:00
Johannes Schickel
438244a016 Adapt KYRA engine to use the ASCII and half-width katakana support of the SJIS font. (required for LoL PC98)
svn-id: r44488
2009-09-30 14:53:57 +00:00
Johannes Schickel
b8c7237d12 Cleanup: got rid of Screen::ShadeType.
svn-id: r44487
2009-09-30 14:53:34 +00:00
Johannes Schickel
7c2e3aaa44 Fix removal of SJIS characters in LoL PC98 menu.
svn-id: r44213
2009-09-20 15:01:50 +00:00
Johannes Schickel
34e30a29b5 Make KYRA only call OSystem::updateScreen from inside Screen::updateScreen, when the screen really changed OR the palette changed.
svn-id: r43537
2009-08-19 16:19:55 +00:00
Johannes Schickel
1a59173a9b Enable dirty rect handling for the Amiga version again.
svn-id: r43280
2009-08-11 16:46:38 +00:00
Johannes Schickel
c1511d3b44 Cleanup.
svn-id: r43279
2009-08-11 16:46:20 +00:00
Johannes Schickel
786024ebb6 Fix thumbnails for savegames made via the in-game GUI of Kyrandia 1 Amiga.
svn-id: r43278
2009-08-11 16:18:43 +00:00
Johannes Schickel
e265084bc3 Fix interface text color.
svn-id: r43195
2009-08-10 01:33:36 +00:00
Johannes Schickel
48e86a9e22 Initial support for correct colors in the interface of Kyra1 AMIGA.
svn-id: r43192
2009-08-10 01:32:39 +00:00
Johannes Schickel
300297d557 Add support for the font format used in Kyrandia 1 Amiga. (font colors are wrong though)
svn-id: r43187
2009-08-09 22:46:43 +00:00
Johannes Schickel
518cb968b2 Create a "Font" interface and create a "DOSFont" implementation for handling DOS version fonts.
svn-id: r43186
2009-08-09 22:46:25 +00:00
Johannes Schickel
ad40f3b46e Cleanup AMIGA graphics conversion.
svn-id: r43183
2009-08-09 19:11:10 +00:00
Johannes Schickel
a93008713a Removed the now uneeded "Screen::_disableScreen" flag.
svn-id: r42366
2009-07-11 01:54:42 +00:00
Johannes Schickel
ec2c7cfefa Adapt KYRA to use the new Graphics::FontSJIS code.
svn-id: r42222
2009-07-07 14:22:39 +00:00
Florian Kagerer
9255bfc907 KYRA: fix minor bug in Screen::drawShape()
svn-id: r42110
2009-07-04 21:18:20 +00:00
Johannes Schickel
cc0b30370e Fix kyra2/kyra3 mouse cursor related regressions, introduced with r41959.
svn-id: r41960
2009-06-29 18:49:17 +00:00
Johannes Schickel
67f69bcaf2 - Get rid of code duplication for mouse cursor setup
- Fix mouse cursor colors in LoL PC98
(This commit might introduce regressions, since it changes the key color the mouse cursor uses)

svn-id: r41959
2009-06-29 18:00:18 +00:00