37103 Commits

Author SHA1 Message Date
Johannes Schickel
94e821f1eb Prepare test module build to allow for instantiating AudioStreams.
svn-id: r47803
2010-02-01 21:32:33 +00:00
Johannes Schickel
516d44e65c Fix behavior of delete key, when the cursor is at the end of the input line.
svn-id: r47802
2010-02-01 18:23:23 +00:00
Johannes Schickel
17f198369d Fix assert after ^W and Delete key events in the debugger, when there's nothing on the line.
svn-id: r47801
2010-02-01 18:18:20 +00:00
Filippos Karapetis
5678269280 Fixed silly typos (priority is a byte in SCI32)
svn-id: r47800
2010-02-01 18:16:50 +00:00
Filippos Karapetis
86408ae3bc Added an initial implementation of kGetHighPlanePri
svn-id: r47799
2010-02-01 17:04:20 +00:00
Lars Skovlund
16490ab64e Fix bug in kString(Printf)
svn-id: r47798
2010-02-01 16:58:17 +00:00
Matthew Hoops
7b34392aad Only compile in the SCI32 static selectors when ENABLE_SCI32 is set; minor cleanup.
svn-id: r47797
2010-02-01 16:42:10 +00:00
Martin Kiewitz
bc89883da8 partly reverting r46807 ffs. Regression in numpad handling - ID: 2943361
svn-id: r47796
2010-02-01 15:44:24 +00:00
Martin Kiewitz
097b45db21 SCI: fix getLanguage - fixes gk1 german (day number blood writing at the start), thx to waltervn
svn-id: r47795
2010-02-01 13:27:20 +00:00
Martin Kiewitz
80abaab1ae SCI: initialize gfxmenu for sci32 (fixes gk1 crash)
svn-id: r47794
2010-02-01 11:53:54 +00:00
Martin Kiewitz
a20f4ef1fc SCI: implemented reset for GfxMenu, not recreating object anymore
svn-id: r47793
2010-02-01 10:16:45 +00:00
Martin Kiewitz
845c245ff3 SCI: class menu renamed to GfxMenu - now getting called directly, also fix for loading savedgames
svn-id: r47792
2010-02-01 09:53:42 +00:00
Matthew Hoops
c72c2ff711 kPlatform(0) should return the SCI platform number. Fixes playing AVI's in KQ7 Windows. Also, adding/updating detection entries for KQ7 Windows.
svn-id: r47791
2010-02-01 04:14:16 +00:00
Matthew Hoops
af52e2caf0 Torin calls K_FILEIO_OPEN without a file mode to open with. Assume that it's opening the file for reading as it appears that it is just testing if it exists. Torin (and the demo) progress a little farther now.
svn-id: r47790
2010-02-01 03:59:48 +00:00
Walter van Niftrik
f24e0aad2b SCI: When removing audio resources from the resource manager, also remove them from the LRU list.
svn-id: r47789
2010-02-01 01:05:08 +00:00
Matthew Hoops
313b531d56 Skip extra pixels at the end of each row in the cel so that they don't carry over to the next row if the dest width is less than the source width. Fixes several images in Mixed-Up Mother Goose (SCI1).
svn-id: r47788
2010-02-01 00:53:13 +00:00
Martin Kiewitz
da1a125a1a SCI: fixing scaling for sci32
svn-id: r47787
2010-02-01 00:23:05 +00:00
Matthew Hoops
d1bc12300c mothergoose SCI1 starts at the top of the screen, so set offTop to 0 for that version.
svn-id: r47786
2010-01-31 23:53:25 +00:00
Torbjörn Andersson
c5be030077 Silenced some more cppcheck warnings.
svn-id: r47785
2010-01-31 23:28:12 +00:00
Walter van Niftrik
b0b7764178 SCI: Add stub for kIntersections()
svn-id: r47784
2010-01-31 22:38:07 +00:00
Martin Kiewitz
d31f696d1f SCI: rename Controls to GfxControls, gets directly called now
svn-id: r47783
2010-01-31 22:20:55 +00:00
Matthew Hoops
12d983eaf4 Make EngineState::getLanguage() check from the resource manager as to what language it has loaded before checking from what ScummVM has set and make kDoAudio use EngineState::getLanguage()
svn-id: r47782
2010-01-31 22:14:35 +00:00
Martin Kiewitz
5cf510648a SCI: syncWithFramebuffer() is now called directly w/o SciGui/SciGui32
svn-id: r47781
2010-01-31 21:59:37 +00:00
Martin Kiewitz
19bca95905 SCI: renamed Text class to GfxText16
svn-id: r47780
2010-01-31 21:54:43 +00:00
Matthew Hoops
fb3d272c3c getFont() should check _cachedFonts and not _cachedViews. Fixes segfaults when using fonts.
svn-id: r47779
2010-01-31 21:31:11 +00:00
Walter van Niftrik
c66a6db213 SCI: Fix regression in KQ5CD caused by r47775.
svn-id: r47778
2010-01-31 21:11:36 +00:00
Martin Kiewitz
180874f044 SCI: display object name when addScreenItem is called
svn-id: r47777
2010-01-31 19:52:05 +00:00
Walter van Niftrik
a92bb6193b SCI: Implement kMemorySegment().
svn-id: r47776
2010-01-31 19:47:54 +00:00
Walter van Niftrik
4acb18f6b9 SCI: Add another DeviceInfo subfunction. Fixes VM crash in MUMG.
svn-id: r47775
2010-01-31 19:46:46 +00:00
Walter van Niftrik
1d50acaa50 SCI: Handle -1 properly when passed as a language id to DoAudio
svn-id: r47774
2010-01-31 19:45:51 +00:00
Walter van Niftrik
43c15603c3 SCI: Add support for early audio map files.
svn-id: r47773
2010-01-31 19:44:40 +00:00
Martin Kiewitz
e44620a0df SCI: fix printObject, so it does not output some spaces to terminal in case its supposed to output to debug console
svn-id: r47772
2010-01-31 18:49:59 +00:00
Johannes Schickel
420569626c Fix return of a reference to a temporary object introduced with r47766. (Hopefully this "workaround" will work also for Chrilith's compiler ;-).
svn-id: r47771
2010-01-31 18:29:54 +00:00
Johannes Schickel
3dd46d50f5 Slight fixes to comply with our coding guidelines.
svn-id: r47770
2010-01-31 18:24:49 +00:00
Chris Apers
a13af0270b Updated so that code compiles again
svn-id: r47769
2010-01-31 18:14:20 +00:00
Martin Kiewitz
30bd160ad9 SCI: added additional decimal output for "vo" command
svn-id: r47768
2010-01-31 18:14:19 +00:00
Chris Apers
8f8c85e757 Removed obsolete code
svn-id: r47767
2010-01-31 18:11:48 +00:00
Chris Apers
3ed2192923 Prevent my compiler to crash and object copy hopefully it doesn't break something
svn-id: r47766
2010-01-31 18:08:51 +00:00
Martin Kiewitz
699a525db4 SCI: removing unused DrawChar()/StdChar() from text class
svn-id: r47765
2010-01-31 18:01:49 +00:00
Martin Kiewitz
299fb1a9cc SCI: dont delete _font inside text class, its already deleted inside cache
svn-id: r47764
2010-01-31 17:57:51 +00:00
Arnaud Boutonné
5507cb6247 Fascination - Partially fix the intro
svn-id: r47763
2010-01-31 17:57:07 +00:00
Martin Kiewitz
aaf756e736 SCI: implemented font caching
svn-id: r47762
2010-01-31 17:45:22 +00:00
Matthew Hoops
3b411f6576 Fix compile without ENABLE_SCI32 set.
svn-id: r47761
2010-01-31 17:30:58 +00:00
Matthew Hoops
2cf1efac78 Silence gcc warnings.
svn-id: r47760
2010-01-31 17:19:17 +00:00
Martin Kiewitz
66c88b98f5 SCI: GfxCache is now also called directly w/o SciGui nor SciGui32
svn-id: r47759
2010-01-31 17:14:58 +00:00
Johannes Schickel
6a3308150f Yet another little formatting fix.
svn-id: r47758
2010-01-31 17:05:07 +00:00
Johannes Schickel
4bdae74b10 Formatting.
svn-id: r47757
2010-01-31 16:49:24 +00:00
Martin Kiewitz
af5b9b14ca SCI: changed the way font class is initialized
svn-id: r47756
2010-01-31 16:49:22 +00:00
Johannes Schickel
594d82e287 Fix possible memory leaks.
svn-id: r47755
2010-01-31 16:32:11 +00:00
Martin Kiewitz
b21255509a SCI: remove classname from header to fix build
svn-id: r47754
2010-01-31 16:29:02 +00:00