Commit Graph

77 Commits

Author SHA1 Message Date
Johannes Schickel
9216c7e3de KYRA: Adapt to setPalette/grabPalette RGBA->RGB changes. 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
Torbjörn Andersson
54b2a8c98d JANITORIAL: Cleanup (mostly whitespace)
svn-id: r53161
2010-10-12 04:19:58 +00:00
Johannes Schickel
64585b40eb KYRA: Get rid of Screen_LoL::generateLevelOverlay.
This function is actually exactly the same as Screen_v2::generateOverlay,
after I fixed the implementation of the latter last commit.

svn-id: r51704
2010-08-03 16:22:12 +00:00
Johannes Schickel
0fe2ba6a0d Some more enforcement of our formatting conventions in KYRA too.
svn-id: r49069
2010-05-17 23:29:44 +00:00
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Florian Kagerer
a21a808250 LOL: fixed text fading
svn-id: r46431
2009-12-20 14:11:56 +00:00
Florian Kagerer
e36594dbe9 LOL: - cleanup
svn-id: r45852
2009-11-12 07:41:33 +00:00
Florian Kagerer
c0fc64ecbf LOL: - fixed transparency tables in PC-98 16 color version
- renamed some variables

svn-id: r45847
2009-11-11 23:05:19 +00:00
Florian Kagerer
16e852159a LOL/PC-98: fix king richard healing sequence
svn-id: r44936
2009-10-11 18:40:21 +00:00
Florian Kagerer
35f8e6ec05 LOL/PC-98: fixed freeze spell
svn-id: r44753
2009-10-07 20:25:49 +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
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
Florian Kagerer
ae737ca2c2 LOL/PC-98: fixed save menu
svn-id: r44608
2009-10-04 15:12:05 +00:00
Florian Kagerer
b8e02a03c1 LOL: fixed minor bugs in text displayer
svn-id: r44582
2009-10-04 01:05:27 +00:00
Florian Kagerer
e515b57b67 LOL/PC-98: fixed automap
svn-id: r44554
2009-10-03 13:42:24 +00:00
Florian Kagerer
e5aae67e39 LOL/PC-98: - some more fixes for level graphics (shapes are still not quite right)
- fixed heal spell

svn-id: r44547
2009-10-02 21:27:10 +00:00
Johannes Schickel
b8c7237d12 Cleanup: got rid of Screen::ShadeType.
svn-id: r44487
2009-09-30 14:53:34 +00:00
Florian Kagerer
5d17bae120 LOL/PC-98: more fixes for text displayer and character inventory
svn-id: r44380
2009-09-26 18:25:36 +00:00
Johannes Schickel
df4978b776 Fix valgrind warning.
svn-id: r44227
2009-09-20 23:56:21 +00:00
Johannes Schickel
c9d8146c64 Fix compilation under Linux.
svn-id: r44226
2009-09-20 23:38:35 +00:00
Florian Kagerer
4d9258d3e5 LOL/PC-98: start fixing color issues (still not working correctly though)
svn-id: r44223
2009-09-20 23:25:39 +00:00
Florian Kagerer
ea2b6d12dc LOL/PC-98: fix some asserts
svn-id: r44197
2009-09-19 17:39:31 +00:00
Florian Kagerer
8f4bba878f LOL: start on pc98 support (still messed up and not working though)
svn-id: r44195
2009-09-19 13:17:55 +00:00
Florian Kagerer
559f1f087b LOL: cleanup (replaced some uint8 arrays with new palette objects)
svn-id: r44179
2009-09-17 22:22:25 +00:00
Florian Kagerer
4e34275af1 LOL: add missing opcode
svn-id: r44036
2009-09-11 21:15:48 +00:00
Florian Kagerer
68ae279aff LOL/Floppy: fixed gfx tables generation
svn-id: r44034
2009-09-11 17:38:36 +00:00
Florian Kagerer
1dfb5c2b30 LOL: some more work on the floppy version (drawing code is still broken)
svn-id: r43923
2009-09-03 21:03:10 +00:00
Johannes Schickel
43c7f7530a Got rid of Screen_LoL::_paletteConvTable.
svn-id: r42443
2009-07-13 17:48:13 +00:00
Florian Kagerer
b43664e368 LOL: cleanup
svn-id: r42141
2009-07-05 16:29:17 +00:00
Florian Kagerer
501df3adf8 LOL: - reduce code duplication
svn-id: r42140
2009-07-05 14:58:22 +00:00
Johannes Schickel
a12b4e7002 Fix LoL cursor in DOS version.
svn-id: r41963
2009-06-29 20:16:59 +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
Johannes Schickel
c09985db2c Change Screen_LoL::loadSpecialColors to take an Palette object as parameter.
svn-id: r41947
2009-06-29 16:08:16 +00:00
Florian Kagerer
7d876f8a19 LOL: fixed regression
svn-id: r41917
2009-06-27 13:15:47 +00:00
Johannes Schickel
f9b075c50a Change Screen_v2::findLeastDifferentColor to take a Palette object as source.
svn-id: r41886
2009-06-25 20:00:52 +00:00
Johannes Schickel
5d4e7b540c Change Screen_LoL genereta overlay functionallity to accept a Palette object as source.
svn-id: r41884
2009-06-25 19:59:06 +00:00
Johannes Schickel
df307cfdc8 Change Screen_LoL::generateGrayOverlay to use a Palette object internally.
svn-id: r41882
2009-06-25 19:57:35 +00:00
Johannes Schickel
55cb0c6738 Cleanup.
svn-id: r41876
2009-06-25 19:52:49 +00:00
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
4597178cf9 Fix palette regression in Lands of Lore.
svn-id: r41777
2009-06-22 19:46:08 +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
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
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
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
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
Florian Kagerer
4416881c07 LOL: implemented king richard healing sequence
svn-id: r41314
2009-06-07 00:37:30 +00:00