Commit Graph

1838 Commits

Author SHA1 Message Date
Johannes Schickel
53756ef1d0 Cleanup.
svn-id: r42565
2009-07-17 14:05:22 +00:00
Johannes Schickel
c353e5389b - Moved SoundAdlibPC definition to new header file sound_adlib.h
- Made the future versions of sound.h GPL only
- sound_adlib.h is dual licensed under GPL and LGPL (so AdPlug can still benefit from future changes)

svn-id: r42564
2009-07-17 13:50:59 +00:00
Johannes Schickel
799af694f0 Replace LGPL header by GPL header.
svn-id: r42563
2009-07-17 13:35:56 +00:00
Johannes Schickel
572b0e6c03 Fix bug in "KyraEngine_v2::runSceneScript6", fixes text line Zanthia says, when picking up the spellbook page in the town.
svn-id: r42543
2009-07-16 21:47:57 +00:00
Johannes Schickel
6b3c3a8a12 Bugfix: Disallow GMM Save/Load while in kyragem scene.
svn-id: r42507
2009-07-15 15:51:47 +00:00
Johannes Schickel
59b35ff5fb Fix graphics glitch in LoL PC98 intro.
svn-id: r42493
2009-07-14 22:47:33 +00:00
Max Horn
6b98c4c4e7 Got rid of some more ioFailed uses (also fixed a potential leak in graphics/font.cpp, and handle eos correctly in the FLAC code)
svn-id: r42488
2009-07-14 18:24:20 +00:00
Johannes Schickel
43c7f7530a Got rid of Screen_LoL::_paletteConvTable.
svn-id: r42443
2009-07-13 17:48:13 +00:00
Johannes Schickel
c3ce2087bb Add missing quotation mark to error message.
svn-id: r42406
2009-07-12 08:51:57 +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
3080cc2905 Fix graphics not updating, when loading a save in Kyra1. This fixes problems when loading saves in rooms like Brynn's temple, which play animations directly on scene enter.
svn-id: r42365
2009-07-11 01:54:27 +00:00
Johannes Schickel
a17333ed1b Cleanup rollDice (the results of the old and the new function are almost identical).
svn-id: r42293
2009-07-09 15:32:25 +00:00
Johannes Schickel
a7c96e1526 Cleanup.
svn-id: r42292
2009-07-09 15:32:06 +00:00
Florian Kagerer
c7eedb573a LOL: cleanup
svn-id: r42271
2009-07-08 21:12:03 +00:00
Florian Kagerer
a212a9da7e LOL: rename new function in last commit according to LordHoto's suggestion
svn-id: r42270
2009-07-08 20:32:34 +00:00
Florian Kagerer
2950bc28c4 LOL: fix long standing bugs in the battle system (hit chance, damage, etc) by adapting original style random number generator
svn-id: r42269
2009-07-08 20:19:23 +00:00
Johannes Schickel
4dc454581c Change all uses of FM-Towns/fm-towns to FM-TOWNS.
svn-id: r42235
2009-07-07 19:18:53 +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
Johannes Schickel
c22010b3d2 Fix RTL from Kyra3 main menu. (It now doesn't quit ScummVM anymore)
svn-id: r42180
2009-07-06 16:17:03 +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
Florian Kagerer
9255bfc907 KYRA: fix minor bug in Screen::drawShape()
svn-id: r42110
2009-07-04 21:18:20 +00:00
Johannes Schickel
eeb5ba9d50 Kyra1 PC-98 never offered English as language settings, thus remove it. (The CD version *does* supply English files, but those will work as FM-Towns version, so this causes no drawback for the user and is faithful to the original)
svn-id: r42106
2009-07-04 18:54:43 +00:00
Max Horn
cbea1a1193 Added more GCC_PRINTF attributes, and fixed resulting warnings in format strings
svn-id: r42054
2009-07-03 10:40:49 +00:00
Max Horn
a6b57dc3a9 - Added GCC_PRINTF attribute to several funcs where it makes sense
- change some constants from double to float, to avoid "loss of precision due to implicit conversion" warnings
- removed duplicate prototypes for some funcs
- fixed some "increases required alignment of target type" warnings

svn-id: r42009
2009-07-01 20:51:04 +00:00
Johannes Schickel
267efdc874 Fix invisible mouse cursor, when picking up items.
svn-id: r41967
2009-06-29 23:14:35 +00:00
Johannes Schickel
18940ffd46 Fix bug in drawShape.
svn-id: r41964
2009-06-29 20:17:10 +00:00
Johannes Schickel
a12b4e7002 Fix LoL cursor in DOS version.
svn-id: r41963
2009-06-29 20:16:59 +00:00
Johannes Schickel
e15502d381 Fix bug in drawShape, which caused invisibility in Kyra1 to be displayed incorrectly.
svn-id: r41962
2009-06-29 19:02:15 +00:00
Johannes Schickel
3919bd2aed Fix palette regression caused by r41949.
svn-id: r41961
2009-06-29 18:49:28 +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
c810f9645a Removed obsolete TODOs in HoF code.
svn-id: r41958
2009-06-29 17:26:56 +00:00
Johannes Schickel
11dafd2ded Resolved some TODOs in Kyra3 code.
svn-id: r41957
2009-06-29 17:26:43 +00:00
Johannes Schickel
fbefe917f2 Removed more obsolete TODO messages.
svn-id: r41956
2009-06-29 17:06:17 +00:00
Johannes Schickel
c2d13aab2a Update the screen animations while dropping items in Hand of Fate.
svn-id: r41955
2009-06-29 17:06:00 +00:00
Johannes Schickel
31691eb6bf Removed some obsolete TODOs.
svn-id: r41954
2009-06-29 17:05:49 +00:00
Johannes Schickel
179a822b93 Adapted various code parts to use Palette::fill.
svn-id: r41953
2009-06-29 16:49:53 +00:00
Johannes Schickel
07cdbd273d Add a "fill" method to Palette.
svn-id: r41952
2009-06-29 16:49:38 +00:00
Johannes Schickel
bfe8ec6d66 Replaced some raw palette loads.
svn-id: r41951
2009-06-29 16:49:26 +00:00
Johannes Schickel
80a4a2dd8e Cleanup GUI_HoF::setupPalette.
svn-id: r41950
2009-06-29 16:49:14 +00:00
Johannes Schickel
6f46b69236 Cleanup KyraEngine_MR::updateCharPal.
svn-id: r41949
2009-06-29 16:08:39 +00:00
Johannes Schickel
3b7f11d4cc Change LoLEngine::generateFlashPalette to take Palette objects as parameters.
svn-id: r41948
2009-06-29 16:08:28 +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
Johannes Schickel
3bde2647b6 Change raw palette read to Screen::loadPalette call.
svn-id: r41946
2009-06-29 16:08:00 +00:00
Johannes Schickel
0bf94cb194 Chang Palette parameter of LolEngine::setPaletteBrightness to be const.
svn-id: r41945
2009-06-29 16:07:46 +00:00
Johannes Schickel
bf81e432e1 Change LoLEngine::generateBrightnessPalette to take Palette objects as parameters.
svn-id: r41944
2009-06-29 16:06:31 +00:00