31896 Commits

Author SHA1 Message Date
Sven Hesse
341d875cea Added support for compressed sample files (patch #2815426 by m_kiewitz)
svn-id: r42020
2009-07-02 12:15:04 +00:00
Max Horn
630501fe43 oops
svn-id: r42012
2009-07-01 20:53:47 +00:00
Max Horn
385421e95b Flag what looks like a bug in the CMS player code -- somebody should verify and fix this properly
svn-id: r42011
2009-07-01 20:51:47 +00:00
Max Horn
c4f6295330 Fixed some more warnings observed on buildbot
svn-id: r42010
2009-07-01 20:51:34 +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
Lars Persson
62acda5fdb Use MIN with correct template parameter.
svn-id: r42008
2009-07-01 20:11:44 +00:00
Lars Persson
4b850a2c03 Move action inits to engineInit and engineDone callbacks.
svn-id: r42007
2009-07-01 20:02:33 +00:00
Paul Gilbert
f9298ff403 Made the music/sfx volume settings actually affect the in-game music/sfx volume
svn-id: r41975
2009-06-30 10:36:50 +00:00
Johannes Schickel
b37beb4493 Add some more explanation to Graphics::CursorManager::showMouse and OSystem::showMouse.
svn-id: r41968
2009-06-29 23:23:29 +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
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