Martin Kiewitz
cd4812dfd9
SCI: support for kanji (sjis), minor centering issue left
...
svn-id: r48674
2010-04-16 18:23:50 +00:00
Martin Kiewitz
01852cbf93
SCI: dont switch to english on kanji text, also cut off text w/o spaces inside GetLongest() so that kanji raw chars will appear in windows
...
svn-id: r48673
2010-04-16 13:27:30 +00:00
Filippos Karapetis
dd6fbd887d
Added a sanity check for the current list node inside GfxAnimate::invoke(). This should fix the crash in LSL2 as described in patch #2987942 , without adding additional lookups
...
svn-id: r48670
2010-04-16 12:58:14 +00:00
Martin Kiewitz
2cb0f7f155
SCI: make pixelation transition work in upscaled hires mode
...
svn-id: r48668
2010-04-16 11:44:10 +00:00
Martin Kiewitz
1410f3c65a
SCI: make scroll transitions work in upscaled hires mode
...
svn-id: r48667
2010-04-16 11:22:37 +00:00
Martin Kiewitz
20392ebee8
SCI: split menu/item strings when displaying instead of when initializing - makes on-the-fly menu language changes possible (used by multilingual SCI01 games)
...
svn-id: r48659
2010-04-15 16:40:37 +00:00
Max Horn
a1840bd573
AUDIO: Rename Mixer::playInputStream to playStream
...
svn-id: r48637
2010-04-12 09:14:17 +00:00
Martin Kiewitz
2e7b049e41
SCI: check before writing 0 in SegManager::strncpy, fixes jones/cd crash
...
svn-id: r48519
2010-04-04 20:47:03 +00:00
Martin Kiewitz
6a840638ba
SCI: put an ending NUL in strncpy, fixes castle of brain scrolling problem - should be verified by the vm gurus (waltervn and lskovlun)
...
svn-id: r48511
2010-04-04 12:25:52 +00:00
Martin Kiewitz
4e9183cc1b
SCI: removing unused variable from palette::set
...
svn-id: r48475
2010-04-02 18:51:20 +00:00
Martin Kiewitz
bc311445f8
SCI: change actual setting of palette, fixes gk1 palette issue when talking to grace indirectly caused by r47955, seems to also fix jones palette issue, could cause regressions
...
svn-id: r48474
2010-04-02 18:48:17 +00:00
Max Horn
92c896d883
Patch #2973290 : Semicolon cleanup
...
svn-id: r48359
2010-03-22 20:28:08 +00:00
Max Horn
cac0ac66e2
COMMON: Get rid of Common::StringList
...
svn-id: r48287
2010-03-18 15:54:40 +00:00
Max Horn
c934642bdb
COMMON: Move typedef StringList from str.h to new header str-array.h
...
This removes the dependency on array.h from str.h.
Also, begun migration from the confusing type name "StringList" to
the more appropriate StringArray.
svn-id: r48282
2010-03-18 15:09:24 +00:00
Martin Kiewitz
2624b72513
SCI: fix assert in sound code when fadeout is done (lsl1 bug #2970301 )
...
svn-id: r48271
2010-03-16 14:13:52 +00:00
Max Horn
77592b5690
Fix warning
...
svn-id: r48222
2010-03-10 11:26:27 +00:00
Torbjörn Andersson
65585f6433
Silenced some harmless cppcheck warnings about unreachable code after a return.
...
In this case, it was always a break after a return in a switch case. There are
similar cases which cppcheck didn't detect, and a couple of cases where we have
a break after a continue in a switch case (where the continue refers to an
outer loop), but I didn't touch those. Not yet, at least.
svn-id: r48218
2010-03-10 06:39:23 +00:00
Max Horn
38bf3d0d3c
SCI: Make EngineState parameter to INV_SEL explicit
...
svn-id: r48202
2010-03-08 21:54:07 +00:00
Max Horn
5e8743d0d6
SCI: Made some stuff static
...
svn-id: r48199
2010-03-08 20:12:17 +00:00
Fabio Battaglia
5cf998eab3
SCI: Add detection entry for Space Quest 5 french found in Space Quest Collector's edition
...
svn-id: r48165
2010-03-05 23:35:28 +00:00
Matthew Hoops
8cc157a72d
Add detection entry for SQ4 Mac.
...
svn-id: r48156
2010-02-28 20:22:48 +00:00
Max Horn
2e68de1e5a
SCI: Turn kernel_sleep() into SciEvent::sleep()
...
svn-id: r48119
2010-02-23 22:47:53 +00:00
Max Horn
02201e937a
SCI: Move SciGui::wait to EngineState::wait
...
svn-id: r48118
2010-02-23 22:44:46 +00:00
Max Horn
da95a98203
SCI: Stop storing EngineState in SciGui32
...
svn-id: r48117
2010-02-23 22:41:20 +00:00
Fabio Battaglia
ad4a390815
SCI: add Gabriel Knight 1 French DOS CD detection entry
...
svn-id: r48115
2010-02-23 13:41:08 +00:00
Martin Kiewitz
d22d8f910a
SCI: added warning when getting invalid rect in kCan(t)BeHere
...
svn-id: r48102
2010-02-21 09:52:44 +00:00
Yotam Barnoy
ef330ed9b4
Patch for bug 2943361 by littleboy, adding full kb modifier support to all engines + GUI and proper keypad handling
...
svn-id: r48101
2010-02-21 04:04:13 +00:00
Filippos Karapetis
cebb052e2c
Added comments on the SCI0-SCI1.1 kernel function table differences
...
svn-id: r48100
2010-02-21 01:25:10 +00:00
Filippos Karapetis
43ca6071ea
Handle invalid rects in kCanBeHere(). Fixes some odd crashes in Iceman
...
svn-id: r48098
2010-02-21 00:50:27 +00:00
Filippos Karapetis
24b0622e6f
Removed dead code
...
svn-id: r48097
2010-02-20 23:30:59 +00:00
Max Horn
ee1110a114
SCI: Reduce header interdependencies
...
svn-id: r48086
2010-02-17 23:38:43 +00:00
Max Horn
86e34c3464
SCI: Rename some members of class Resource
...
svn-id: r48085
2010-02-17 23:37:59 +00:00
Max Horn
903b694574
SCI: Cleanup resource.h
...
svn-id: r48084
2010-02-17 23:37:32 +00:00
Max Horn
26b7f0bbb9
SCI: Remove hack in convertSierraGameId which caused a memory leak
...
svn-id: r48083
2010-02-17 23:36:50 +00:00
Matthew Hoops
cf005b6238
SCI32 reorders the REF* subops in kMessage; fixes GK1 conversations.
...
svn-id: r48066
2010-02-15 17:10:40 +00:00
Max Horn
b246c867df
SCI: No need to set _executionStackPosChanged in kDisposeScript, as the callk opcode handler does that already
...
svn-id: r48064
2010-02-15 10:01:09 +00:00
Max Horn
975dbef0e5
SCI: Remove sound/audio.h include from engine/state.h
...
svn-id: r48063
2010-02-15 00:20:53 +00:00
Filippos Karapetis
f034b8bd5f
Fixed typo
...
svn-id: r48060
2010-02-14 12:32:25 +00:00
Filippos Karapetis
07e405588d
Moved the reference to AudioPlayer inside SciEngine (as it doesn't have a state, per se, and is static)
...
svn-id: r48059
2010-02-14 12:23:22 +00:00
Max Horn
b9a11ddb0b
SCI: Move language related code from EngineState to SciEngine
...
svn-id: r48052
2010-02-13 17:46:44 +00:00
Max Horn
06021f79ac
SCI: Fix compiling with USE_OLD_MUSIC_FUNCTIONS enabled
...
svn-id: r48051
2010-02-13 17:46:05 +00:00
Max Horn
e45f0f309a
SCI: Remove EngineState::_kernel, use SciEngine::_kernel instead
...
svn-id: r48050
2010-02-13 17:45:40 +00:00
Max Horn
9575cc08a2
SCI: Move GameFeatures from EngineState to SciEngine
...
svn-id: r48049
2010-02-13 17:44:58 +00:00
Max Horn
a82939c9be
SCI: Get rid of EngineState::resMan
...
svn-id: r48048
2010-02-13 17:44:19 +00:00
Max Horn
721a57a661
SCI: Move Gui/Gfx related permanent objects from EngineState to SciEngine
...
svn-id: r48047
2010-02-13 17:43:31 +00:00
Max Horn
ac4d325e0d
SCI: Add global g_sci pointer to the active SciEngine instance
...
svn-id: r48046
2010-02-13 17:42:49 +00:00
Max Horn
e17a2bd37d
SCI: Change getSciVersionDesc() to return 'const char *' instead of 'Common::String'
...
svn-id: r48044
2010-02-13 11:58:15 +00:00
Max Horn
2c9883773c
SCI: Remove unused PARSE_HEAP_SIZE
...
svn-id: r48043
2010-02-13 11:57:44 +00:00
Walter van Niftrik
a3a07f19fc
SCI: Revert r47929 (bad idea, as we may run out of offsets). Instead, adapt SCI32 list iteration code to store node successor before invoking.
...
svn-id: r48036
2010-02-12 02:23:28 +00:00
Max Horn
b90acf431b
SCI: Update said.y to match changes made to said.cpp; regenerate said.cpp using 'bison -l -o said.cpp said.y'
...
svn-id: r48033
2010-02-10 16:47:53 +00:00