Commit Graph
286 Commits
Author SHA1 Message Date
Johannes Schickel 175a81ce98 Fix KYRA's cursor handling by pushing a dummy cursor via CursorMan.pushCursor too. Also replace CursorMan.popAllCursors by CursorMan.popCursor to prevent the caller's cursor from being destroyed.
svn-id: r48621
2010-04-11 17:27:33 +00:00
Johannes Schickel aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Max Horn 0cf53b025d Move DisposeAfterUse::Flag from Common to global namespace, and into a new header common/types.h
svn-id: r47180
2010-01-08 22:07:35 +00:00
Max Horn 2bbf708dea Introduced new type Common::DisposeAfterUse::Flag
svn-id: r45233
2009-10-18 19:41:59 +00:00
Johannes Schickel f62f3eea89 Fix valgrind warning.
svn-id: r45207
2009-10-17 22:47:21 +00:00
Florian Kagerer 16e852159a LOL/PC-98: fix king richard healing sequence
svn-id: r44936
2009-10-11 18:40:21 +00:00
Johannes Schickel 097d6d298d Print warning, when the number of colors in a palette file exceed the number of colors in the target palette on load.
svn-id: r44922
2009-10-11 13:54:35 +00:00
Johannes Schickel e90f337bd2 Fix regression introduced with r44907.
svn-id: r44911
2009-10-11 12:01:20 +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 a15cf067a7 LOL/PC-98: fixed minor glitch in wsa code
svn-id: r44879
2009-10-10 17:15:10 +00:00
Florian Kagerer 3e259dea30 LOL/PC-98: fixed two minor bugs
svn-id: r44870
2009-10-10 12:29:36 +00:00
Florian Kagerer f8cdacdeea LOLLOL/PC-98: fixed add-spell-to-scroll animation
svn-id: r44797
2009-10-08 20:22:12 +00:00
Florian Kagerer 45fda46cf3 KYRA/LOL: - get rid of ascii/sjis detection which could cause problems when typing savegame names
- fixed some minor bugs

svn-id: r44709
2009-10-06 17:22:40 +00:00
Johannes Schickel 41e4a1ddb6 LoL PC98: Fix thumbnail creation for quick saves and autosave.
svn-id: r44623
2009-10-04 17:38:15 +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 03a26923c9 Implemented support for drawing 8x16 chars from our custom SJIS font.
svn-id: r44486
2009-09-30 14:53:07 +00:00
Florian Kagerer 00504a893b LOL/PC-98: fix menu colors
svn-id: r44381
2009-09-26 21:17:47 +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 59f72d111f Add checks for half-width katakana, which are currently unsupported.
svn-id: r44204
2009-09-20 12:44:35 +00:00
Johannes Schickel 88ac419052 Use Common::List::empty instead of Common::List::size, which is faster for checking whether the list is empty and easier to read.
svn-id: r43538
2009-08-19 16:23:26 +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 0c2ab20663 Implemented proper character selection of Lands of Lore PC98.
svn-id: r43531
2009-08-19 08:30:15 +00:00
Johannes Schickel e548e71ba1 Fix possible out of bounds access in Screen::drawShape.
svn-id: r43475
2009-08-17 12:47:57 +00:00
Johannes Schickel 871f832fe1 Fix valgrind warnings.
svn-id: r43428
2009-08-16 06:33:34 +00:00
Johannes Schickel bc5a2d02e2 Little optimization in Screen::setPaletteIndex, now it only resets the palette, when the color index really changed.
svn-id: r43338
2009-08-13 00:19:26 +00:00
Johannes Schickel 73f38d97b5 Add a slight paranoia check to drawCharANSI.
svn-id: r43325
2009-08-12 18:07:27 +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 cb8b2d7799 - Fix AMIGA to DOS palette conversion
- Amiga version uses 13 instead of 12 palette buffers

svn-id: r43220
2009-08-10 19:08:00 +00:00
Johannes Schickel bee9391d95 Use interface palette for mouse cursor in Kyra1 amiga, when it's enabled.
svn-id: r43197
2009-08-10 01:34:14 +00:00
Johannes Schickel d68706d8ed Enable interface text fading in Kyra1 amiga again.
svn-id: r43196
2009-08-10 01:33:56 +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 738c51f88f Clear the destination page for bitmap loading, this fixes graphics artifacts in Kyra1 amiga.
svn-id: r43189
2009-08-09 23:32:52 +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 84c0bf22d2 Simplify KYRA's SJIS font loading code.
svn-id: r42820
2009-07-26 14:18:49 +00:00
Johannes Schickel cb960ad976 Change the way the font data for SJIS fonts is load.
svn-id: r42815
2009-07-26 14:17:40 +00:00
Johannes Schickel 0a03ae8265 Change KYRA to use our SJIS font, when it's available.
svn-id: r42814
2009-07-26 14:17:21 +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 e35dd4df1c Change "FM-Towns" to "FM-TOWNS" for consistency.
svn-id: r42232
2009-07-07 19:00:39 +00:00
Johannes Schickel 8c65d4d4a9 - Rename FontSJIS::enableShadow to enableOutline.
- Initialize outline to false by default in FontTowns.

svn-id: r42231
2009-07-07 18:17:30 +00:00
Johannes Schickel 62eebc3e17 - Added support for outlined FM-Towns ROM drawing
- Adapted KYRA to use that

svn-id: r42230
2009-07-07 18:10:35 +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 267efdc874 Fix invisible mouse cursor, when picking up items.
svn-id: r41967
2009-06-29 23:14:35 +00:00