31866 Commits

Author SHA1 Message Date
Johannes Schickel
bf81e432e1 Change LoLEngine::generateBrightnessPalette to take Palette objects as parameters.
svn-id: r41944
2009-06-29 16:06:31 +00:00
Johannes Schickel
f7bbd359bb Changed LoLEngine::setPaletteBrightness to take an Palette object.
svn-id: r41943
2009-06-29 16:06:18 +00:00
Johannes Schickel
c72dac8dd0 Change LoLEngine::processMagicIce to use Palette objects internally.
svn-id: r41942
2009-06-29 16:06:02 +00:00
Johannes Schickel
b12496d1dd Modified Palette::load*Palette definition.
svn-id: r41941
2009-06-29 16:05:50 +00:00
Johannes Schickel
beca7b16c4 Indentation fix.
svn-id: r41940
2009-06-29 12:33:47 +00:00
Torbjörn Andersson
d120ca8f5c For consistency, use upper-case letter in hex constant.
svn-id: r41938
2009-06-28 22:20:28 +00:00
Max Horn
4e17f7251d Fix PSP port
svn-id: r41934
2009-06-28 21:04:24 +00:00
Max Horn
d3ca315761 PS2: Don't overload fillScreen with a dummy, just use the inherited version
svn-id: r41933
2009-06-28 19:58:30 +00:00
Max Horn
bb28ed7b7a Changed OSystem::setWindowCaption to expect ISO LATIN 1 encoded input;
also intentionally broke WinCE and Symbian ports (in an obvious way that
can be undo by commenting out some text) -- hopefully this will get the
maintainers' attention during the next release cycle, unlike my emails

svn-id: r41932
2009-06-28 19:58:11 +00:00
Max Horn
a882a6f467 GUI: Replaced ThemeParser::_drawFunction hashmap by a static function getDrawingFunctionCallback which maps strings to draw funcs
svn-id: r41931
2009-06-28 19:57:27 +00:00
Max Horn
531e7a8c78 Silenced the reamining warnings reported in patch #2684986 (gcc warnings with -DFORTIFY_SOURCE=2 -fstack-protector)
svn-id: r41930
2009-06-28 19:56:58 +00:00
Joost Peters
53c431dc97 change link order in .spec file to produce working binaries when building using the configure script
svn-id: r41929
2009-06-28 17:51:53 +00:00
Florian Kagerer
9b27e2b97c LOL: add workaround to fix map text display when the language is set to French
svn-id: r41922
2009-06-27 16:48:47 +00:00
Florian Kagerer
7d876f8a19 LOL: fixed regression
svn-id: r41917
2009-06-27 13:15:47 +00:00
Florian Kagerer
a7cb4362b4 LOL: cleanup
svn-id: r41916
2009-06-27 12:36:12 +00:00
Kari Salminen
49dd58de45 Name Operation Stealth's global variables 251 and 252 and init them in main loop.
These are used as a sort of a backup for the
mouse position (x, y) variables 249 and 250.

Future Wars's VAR_MOUSE_Y_MODE and Operation Stealth's
VAR_MOUSE_X_POS_2ND (251) clash and that's possibly
why executePlayerInput currently works incorrectly
with Operation Stealth. More reverse engineering
is needed...

svn-id: r41915
2009-06-27 12:26:26 +00:00
Sven Hesse
5a6573d33d Fixing text strings embedded in the TOT
svn-id: r41903
2009-06-26 19:03:37 +00:00
Florian Kagerer
43d61d598a KYRA/LOL: fixed minor bug by adding reset() call to pc98 audio driver destructor
svn-id: r41902
2009-06-26 17:58:27 +00:00
Johannes Schickel
9f5f262561 Implement difference in TIM's displayText code for PC98, this should fix the font color in the intro.
svn-id: r41897
2009-06-26 00:12:19 +00:00
Johannes Schickel
e212c06845 Implement palette difference in Kanji drawing code for PC98.
svn-id: r41896
2009-06-26 00:12:08 +00:00
Johannes Schickel
e45a941f9d Implement PC98 text mode color palette.
svn-id: r41895
2009-06-26 00:11:56 +00:00
Johannes Schickel
2ea9084d64 For now always enable voices in PC98 version of LoL.
svn-id: r41893
2009-06-25 23:04:43 +00:00
Johannes Schickel
44e2f4c929 Only initialize palettes with 16 colors in (real) 16 color games.
svn-id: r41892
2009-06-25 23:04:32 +00:00
Johannes Schickel
7bbad2738a Store palettes in a Common::Array instead of a fixed size array.
svn-id: r41891
2009-06-25 23:04:21 +00:00
Johannes Schickel
fc0d0e2323 Cleanup palette setup.
svn-id: r41890
2009-06-25 23:04:08 +00:00
Johannes Schickel
fb06b92170 Implement difference in PC98 version. (This actually breaks the text colors in the LoL intro for now...)
svn-id: r41889
2009-06-25 23:03:57 +00:00
Florian Kagerer
c358145c72 KYRA/LOL: - support speech/text settings in LOL intro
- fix possible pc98 music issue

svn-id: r41887
2009-06-25 21:17:50 +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
d7d385e756 Change Screen_HoF::generateGrayOverlay to accept a Palette object as source.
svn-id: r41885
2009-06-25 19:59:56 +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
2b87ffc31e Change Screen_HoF::generateGrayOverlay to use a Palette object internally.
svn-id: r41883
2009-06-25 19:58:17 +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
6e69a149cd Change Screen_v2::generateOverlay to take a const Palette reference instead of a pointer.
svn-id: r41881
2009-06-25 19:57:06 +00:00
Johannes Schickel
7a7babad77 Add a const "getData" access method to Palette.
svn-id: r41880
2009-06-25 19:56:02 +00:00
Johannes Schickel
b21dd2cb43 Cleanup VQA player a bit.
svn-id: r41879
2009-06-25 19:55:25 +00:00
Johannes Schickel
c3672f8433 Replace yet another palette from file loading with Screen::loadPalette.
svn-id: r41878
2009-06-25 19:54:41 +00:00
Johannes Schickel
dca6ec2653 Use Screen::loadPalette instead of Resource::loadFileToBuf.
svn-id: r41877
2009-06-25 19:53:55 +00:00
Johannes Schickel
55cb0c6738 Cleanup.
svn-id: r41876
2009-06-25 19:52:49 +00:00
Sven Hesse
17a2f52ac6 Making _numDataChunks unsigned
svn-id: r41875
2009-06-25 18:53:36 +00:00
Johannes Schickel
9b2da1ad0a Cleanup.
svn-id: r41871
2009-06-25 15:53:21 +00:00
Johannes Schickel
c202a119d4 Fix japanese font colors in Kyra 1 PC98 16 color.
svn-id: r41870
2009-06-25 15:53:09 +00:00
Sven Hesse
df6e41e2ba Adding more version entries for a Gob1 Win version, thanks to Hkz
svn-id: r41869
2009-06-25 15:37:46 +00:00
Sven Hesse
e39b5b986e Oops, used git commit --amend wrong, apparently. /This/ is the real Environments change I wanted to push
svn-id: r41868
2009-06-25 15:29:19 +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
Sven Hesse
8343bc6cc0 Giving the "backup" arrays their own class, Environments, and really plugging all related leaks
svn-id: r41860
2009-06-25 10:55:01 +00:00
Sven Hesse
88062e90a0 Plugging some memory leaks
svn-id: r41859
2009-06-25 10:54:35 +00:00
Arnaud Boutonné
33a836fc56 Fix compilation issue for MSVC
svn-id: r41858
2009-06-25 10:03:23 +00:00
Johannes Schickel
215ffb189d Mention Kyra 1 PC98 16 color dithering support.
svn-id: r41853
2009-06-25 02:41:39 +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