Commit Graph

1759 Commits

Author SHA1 Message Date
Johannes Schickel
0ef8d1ffed Implement proper color index conversion for Lands of Lore PC98. (The intro and menu screen work fine now)
svn-id: r41867
2009-06-25 15:22:08 +00:00
Johannes Schickel
86b63e0e4e Implement proper AMIGA to VGA color conversion.
svn-id: r41852
2009-06-25 02:39:23 +00:00
Johannes Schickel
bd4b5d8336 Implement proper VGA (a color component in [0, 63]) to our palette format (color component in [0, 255]) conversion.
svn-id: r41851
2009-06-25 02:39:00 +00:00
Johannes Schickel
951e82a921 Readd PC98 palette loading for LoL 16 color.
svn-id: r41850
2009-06-25 02:38:19 +00:00
Johannes Schickel
6e299e4777 Strip trailing whitespaces and tabs.
svn-id: r41848
2009-06-25 01:30:12 +00:00
Johannes Schickel
049c9b0c86 Add config option for Kyra1 16 color, it'll only use dithering when "16_color" is set to true.
svn-id: r41847
2009-06-25 01:29:55 +00:00
Johannes Schickel
0ec0b1d498 Implement palette fading for 16 color version of Kyrandia 1.
svn-id: r41846
2009-06-25 01:29:41 +00:00
Johannes Schickel
857ee03c7d Implement properly colored mouse cursors in 16 color version of Kyrandia 1.
svn-id: r41845
2009-06-25 01:29:27 +00:00
Johannes Schickel
004f6900b1 Initial support for Kyrandia 1 PC-9801 Japanese 16 color.
svn-id: r41844
2009-06-25 01:29:14 +00:00
Johannes Schickel
4597178cf9 Fix palette regression in Lands of Lore.
svn-id: r41777
2009-06-22 19:46:08 +00:00
Johannes Schickel
4c01d4a954 Fix memory leak.
svn-id: r41747
2009-06-22 02:41:56 +00:00
Johannes Schickel
5767277d8d - Fixed regression in Screen::fadeToBlack
- Fixed some palette regressions in Kyra1 Amiga (only the intro works currently)

svn-id: r41746
2009-06-22 02:37:57 +00:00
Johannes Schickel
d7432e18ea Changed Screen::loadPalette to take a reference to a Palette object instead of an array.
svn-id: r41745
2009-06-22 02:37:41 +00:00
Johannes Schickel
d2e5166dae Changed Screen::loadBitmap and Movie::open to take an optional Palette pointer instead of an optional array pointer.
svn-id: r41744
2009-06-22 02:37:20 +00:00
Johannes Schickel
73ea378dee - Changed the following Screen functions to take a reference to a Palette object:
-> setScreenPalette
	-> fadePalette
	-> getFadeParams
	-> fadePalStep
- Fixed initialization of 256 color palettes

svn-id: r41743
2009-06-22 02:36:54 +00:00
Johannes Schickel
4bb392b593 Add wrapper functionality for copying full palettes.
svn-id: r41742
2009-06-22 02:36:16 +00:00
Johannes Schickel
882662977f Changed Screen::getPalette to return a reference to a Palette object.
svn-id: r41741
2009-06-22 02:35:45 +00:00
Johannes Schickel
9da52cb282 Got rid of Screen::_currentPalette.
svn-id: r41740
2009-06-22 02:35:04 +00:00
Johannes Schickel
b448d506b8 Start refactoring palette handling into new class "Palette".
svn-id: r41739
2009-06-22 02:34:35 +00:00
Johannes Schickel
3424dfda98 Cleanup.
svn-id: r41736
2009-06-21 21:17:41 +00:00
Florian Kagerer
8e9de2b762 LOL: minor fix for floating cursors
svn-id: r41735
2009-06-21 21:05:06 +00:00
Florian Kagerer
df611a5278 LOL: - implemented support for "floating cursors"
- prevent complete refresh for audio menu whenever a mouse button is pressed

svn-id: r41734
2009-06-21 20:40:31 +00:00
Johannes Schickel
7eaf539b23 Cleanup.
svn-id: r41733
2009-06-21 20:10:45 +00:00
Johannes Schickel
198e35a79f Fix slider buttons in LoL (and some minor cleanup).
svn-id: r41732
2009-06-21 19:49:20 +00:00
Johannes Schickel
67119f9c52 Cleanup: Change LoL specific config entries to use underscores instead of whitespaces.
svn-id: r41731
2009-06-21 19:01:04 +00:00
Johannes Schickel
76eee406d6 Cleanup: Change LoL code to use KYRA volume handling.
svn-id: r41730
2009-06-21 19:00:50 +00:00
Florian Kagerer
5b0b0051c1 LOL: - implemented audio menu
- menu settings now get saved
- remove white spaces

svn-id: r41729
2009-06-21 16:59:51 +00:00
Johannes Schickel
0fa9b569bf Cleanup.
svn-id: r41723
2009-06-21 01:22:23 +00:00
Johannes Schickel
ed16d2d63f Fix umlauts for original interpreter saves.
svn-id: r41722
2009-06-21 01:15:47 +00:00
Johannes Schickel
872e925807 Enable proper umlaut handling in kyra 1-3.
svn-id: r41721
2009-06-21 01:15:37 +00:00
Johannes Schickel
db7484b7ba Moved CP850<->ISO-8859-1 conversion to Util.
svn-id: r41720
2009-06-21 01:15:24 +00:00
Johannes Schickel
89607d994b Fix drawing of sharp s.
svn-id: r41719
2009-06-21 01:15:09 +00:00
Johannes Schickel
d4248b10c8 Prevent font code to draw characters not included in the font.
svn-id: r41718
2009-06-21 01:14:57 +00:00
Florian Kagerer
164c4a5177 LOL: minor fix for save menu
svn-id: r41715
2009-06-20 16:36:26 +00:00
Florian Kagerer
cb06b0983e LOL: cleanup
svn-id: r41714
2009-06-20 15:09:55 +00:00
Florian Kagerer
8d26c58372 LOL: implemented save menu
svn-id: r41713
2009-06-20 14:26:01 +00:00
Paul Gilbert
d7e0c52a86 Added explicit casts to _fontConversionTableGerman for systems where char is signed
svn-id: r41699
2009-06-20 06:20:12 +00:00
Florian Kagerer
66445ae515 LOL: - implemented delete menu
- fixed some bugs in the menu code

svn-id: r41683
2009-06-19 18:46:19 +00:00
Johannes Schickel
d4e01e3a1b Fix some warnings.
svn-id: r41679
2009-06-19 17:53:25 +00:00
Florian Kagerer
ec7d86404c LOL: - implemented bezel cup opcode
- implemented font conversion for certain language specific characters in load game dialogue (only german atm)

svn-id: r41677
2009-06-19 17:03:28 +00:00
Johannes Schickel
2e27c7b492 Replaced "getRandomNumberSpecial" be RandomSource usage. (This is needed for proper event recording, also the probability for generated numbers is actually nearly the same)
svn-id: r41646
2009-06-18 21:47:10 +00:00
Florian Kagerer
0b4725d142 LOL: implemented options menu (settings aren't saved yet)
svn-id: r41596
2009-06-16 21:23:26 +00:00
Florian Kagerer
475c967d0d KYRA: fixed regression (broken menu slide bars in HOF/MR)
svn-id: r41576
2009-06-15 23:22:31 +00:00
Florian Kagerer
650f3a50d2 LOL: implemented quit menu
svn-id: r41560
2009-06-15 21:39:43 +00:00
Florian Kagerer
583a89be62 LOL: - started on the ingame menu code (death menu, load menu and main menu)
- fixed regression in kyra gui code (broken menu highlighting)
- fixed minor bug in animation code

svn-id: r41557
2009-06-15 20:52:09 +00:00
Johannes Schickel
7c5d739ba7 Cleanup.
svn-id: r41519
2009-06-14 14:24:28 +00:00
Johannes Schickel
b9d42b8741 Got rid of a needless "getEventManager" call. (Using Engine::_eventMan now instead)
svn-id: r41516
2009-06-14 14:05:42 +00:00
Nicola Mettifogo
20d75f6ec7 Added missing return statements.
svn-id: r41473
2009-06-12 10:26:15 +00:00
Nicola Mettifogo
5172c83200 Finally fix build (extra qualifier removed).
svn-id: r41470
2009-06-12 09:56:07 +00:00
Nicola Mettifogo
b2e5905327 * Adapted Kyra to the new IFFParser interface.
* Adapted the new IFFParser to Kyra (slightly).
The Kyra1 demo on the website works.

svn-id: r41468
2009-06-12 09:49:38 +00:00