Commit Graph

31909 Commits

Author SHA1 Message Date
Max Horn
9b3074d929 If NDEBUG is #defined, then assert does nothing, leading to warnings about 'old_size' not being used -> fix that
svn-id: r42056
2009-07-03 11:05:59 +00:00
Max Horn
72512db7fb SCI: Fixed warning
svn-id: r42055
2009-07-03 10:41:03 +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
Filippos Karapetis
9664050ff0 Simplified the kernel name loading code: Merged the default SCI0 and SCI1 kernel name tables in one table. vocab.999 is only used in SCI0 and SCI01 games if it exists as an override to the default kernel name table (which works with SCI0/SCI01 demos with no vocab.999, like KQ1 and xmas1998). Removed GF_SCI0_SCI1VOCAB.
svn-id: r42050
2009-07-03 09:01:51 +00:00
Filippos Karapetis
f3ac0a62c4 Applied patch #2815937 - "SCI: ReadString fix to repair LSL5 password". This fixes the problems with the LSL5 password for good
svn-id: r42049
2009-07-03 07:06:48 +00:00
Paul Gilbert
d81bbae875 Bugfix for displaying text messages when an auto tracking (cut-scene) changes to a user wait
svn-id: r42048
2009-07-03 06:21:04 +00:00
Paul Gilbert
3190bf68f2 Bugfix for loading savegames where the active resource file database isn't completely filled
svn-id: r42047
2009-07-03 06:19:20 +00:00
Filippos Karapetis
c3403ac739 Moved some more debug state related variables in the DebugState struct
svn-id: r42044
2009-07-02 23:58:05 +00:00
Filippos Karapetis
80cb18e87f Moved all the debug state variables in a separate struct and re-enabled several places where they're used
svn-id: r42043
2009-07-02 23:16:40 +00:00
Max Horn
650248dbd1 Added -Wmissing-format-attribute to build system
svn-id: r42041
2009-07-02 22:21:33 +00:00
Max Horn
5188929825 cleanup
svn-id: r42040
2009-07-02 22:05:42 +00:00
Max Horn
cea01452a7 fixed indention (and trigger a reconfigure in buildbot)
svn-id: r42039
2009-07-02 21:37:13 +00:00
Max Horn
8aa667e342 Enhanced the quicksearch box in the launcher to match words in the search string individually
svn-id: r42038
2009-07-02 21:16:36 +00:00
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