Jordi Vilalta Prat
6d3b2ec3af
- Refactorized Groovie::MusicPlayer to make it extensible
...
- Added an empty MusicPlayerMac to let the Macintosh version of The 7th Guest start
svn-id: r42116
2009-07-05 09:34:54 +00:00
Paul Gilbert
48d164a498
Bugfix for word-wrapping of text, which sometimes failed for strings with special characters
...
svn-id: r42115
2009-07-05 07:21:17 +00:00
Willem Jan Palenstijn
eba5780fc0
When creating a CleanupSongIterator, transfer death listeners to it
...
svn-id: r42113
2009-07-05 01:16:53 +00:00
Willem Jan Palenstijn
f907dc7fc7
When morphing a TeeSongIterator, transfer death listeners to remaining child
...
svn-id: r42112
2009-07-04 23:52:24 +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
c48f71edf4
After discussing with Max, disable -Wmissing-format-attribute again. Also added a comment explaining why it is disabled.
...
svn-id: r42107
2009-07-04 19:04:39 +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
Johannes Schickel
59aa80b2d2
Fix mismatching format arguments.
...
svn-id: r42105
2009-07-04 18:54:27 +00:00
Johannes Schickel
1431944294
Add GCC_PRINTF parameter.
...
svn-id: r42104
2009-07-04 18:54:06 +00:00
Filippos Karapetis
177891a0c1
Cursors without a palette are now initialized correctly (from patch #2816652 ). Fixes the cursor transparent color in QFG3
...
svn-id: r42099
2009-07-04 17:39:43 +00:00
Filippos Karapetis
b0c908e349
Merged SCI1 versions in one more file
...
svn-id: r42098
2009-07-04 16:36:56 +00:00
Filippos Karapetis
b093511239
- Merged the "early" and "late" SCI1 versions - these are functionally equivalent, and the code that does the version check is unreliable (e.g. it sets SQ1 VGA to SCI1 "late" and EcoQuest 1 to SCI1 "early")
...
- Cleanup of the vocabulary setting functions
- Cleanup of the cursor manipulation code
svn-id: r42097
2009-07-04 16:30:20 +00:00
Filippos Karapetis
c5522b3766
- Kernel function names are no longer loaded from vocab.999, but are constructed from the hardcoded function table, depending on the SCI version used
...
- SCI0 games using older graphics functions are now detected by the presence of the "curAngle" selector
- SCI0 games using a SCI1 table (like KQ1 demo version and full version) are detected by the presence of the "sightAngle" selector (as no SCI0 game seems to have it)
svn-id: r42095
2009-07-04 15:45:04 +00:00
Filippos Karapetis
fddc5915f7
- Changed some comments to DOxygen style
...
svn-id: r42094
2009-07-04 15:39:31 +00:00
Filippos Karapetis
49ef8ae5a4
Added a new console command, "selector", which attempts to find a selector by name
...
svn-id: r42093
2009-07-04 15:22:42 +00:00
Filippos Karapetis
8726f01986
Removed silly FIXME (mixup between debug and engine debug levels)
...
svn-id: r42088
2009-07-04 11:33:51 +00:00
Filippos Karapetis
230e7a8d2c
Newer DoSound() semantics are now detected automatically, by the existence of the "setVol" selector. Removed game flag GF_SCI1_NEWDOSOUND
...
svn-id: r42087
2009-07-04 11:24:09 +00:00
Filippos Karapetis
df9570cb32
SCI0 games using older graphics functions are automatically detected now, from the presence of the "TimesSin" and "SinMult" kernel functions. Removed the GF_SCI0_OLDGFXFUNCS game flag
...
svn-id: r42081
2009-07-03 23:37:08 +00:00
Filippos Karapetis
9a96b20cd0
Replaced script_error and CORE_ERROR with error()
...
svn-id: r42079
2009-07-03 21:59:07 +00:00
Filippos Karapetis
6fa8541aed
- Pushed debugstate into debug.h
...
- When an error occurs, manipulate the execution stack before error() opens the console inside getDebugger(), like FreeSCI did. Added another method for obtaining the SCI console for use by the engine itself.
svn-id: r42062
2009-07-03 14:22:50 +00:00
Filippos Karapetis
69da51e71d
Replaced all calls for manipulating the mouse cursor to be made to the CursorManager instead of directly to the graphics backend
...
svn-id: r42060
2009-07-03 14:18:20 +00:00
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