Commit Graph
86814 Commits
Author SHA1 Message Date
Stephen Kennedy 532faef82b Keymapper WIP:
* Improved automatic mapping algorithm
* Remap dialog overhaul - now displays active keymap(s)

svn-id: r33821
2008-08-13 11:46:08 +00:00
Kari Salminen f69cc559b9 Reverted r33815 (But not r33816).
svn-id: r33819
2008-08-13 11:36:45 +00:00
Vicent Marti 0bf2187039 Finished GUI layout in g1x.
svn-id: r33818
2008-08-13 10:42:01 +00:00
Max Horn 9b8665fa85 Clarify SCUMM MD5 message: We do not want reports on fanmade translations
svn-id: r33817
2008-08-13 10:13:22 +00:00
Kari Salminen be9192687b Shutting up Valgrind about using uninitialised values from array _chn in function stopNote.
svn-id: r33816
2008-08-13 01:10:03 +00:00
Kari Salminen eeba630cbf Changed Agi::SoundMgr's sound buffer to a member array of size BUFFER_SIZE. Also added initialization of _playing to false in SoundMgr's constructor. Hopefully helps with the occasional crashes in the sound code when starting the first sound in an AGI game.
svn-id: r33815
2008-08-13 01:02:00 +00:00
Kari Salminen 582104752b Hopefully fixes 'Conditional jump or move depends on uninitialised value(s)' Valgrind warning at sound.cpp:611.
svn-id: r33812
2008-08-12 23:56:13 +00:00
Kari Salminen 954244d350 Fixed drawPlainBox's boundary checking (It wrote outside the screen occasionally). Now using the Common::Rect for clipping, yay! It's good.
svn-id: r33811
2008-08-12 23:44:39 +00:00
Kari Salminen 00cbedb25f Added possibility to get the read resource's size from readBundleFile. Made loadMsg handle input data that has empty strings residing just beyond the input buffer (Thanks Valgrind :-)).
svn-id: r33810
2008-08-12 22:45:38 +00:00
Joost Peters 03edc74ef6 fix typo 'baclup' -> 'backup'
svn-id: r33809
2008-08-12 21:23:40 +00:00
Kari Salminen 095fa55527 Fix for GCC warning in OSRenderer::renderOverlay: declaration of 'len' shadows a previous local.
svn-id: r33808
2008-08-12 20:58:26 +00:00
Kari Salminen e547eeb116 Tiny comment fix.
svn-id: r33807
2008-08-12 20:27:49 +00:00
Kari Salminen eb9633ee1e Implemented Operation Stealth's makeCommandLine.
svn-id: r33805
2008-08-12 19:33:17 +00:00
Kari Salminen 811e4b3128 Implemented Operation Stealth specific parts of processInventory and added another mouse button waiting loop into the function's end (It's in both Future Wars and Operation Stealth). Fixes inventory showing in Operation Stealth.
svn-id: r33795
2008-08-12 14:44:44 +00:00
Kari Salminen c935a09ef5 Changed commandBuffer from a char[80] to Common::String and made FWRenderer::setCommand use a Common::String. Hopefully this might help with the command buffer overflow stuff, although this isn't a fix for the problem behind it, just a bandaid.
svn-id: r33793
2008-08-12 00:13:27 +00:00
Kari Salminen 96a1ca1709 Made Operation Stealth's action failure messages use a background color set by the opcode 0x49 'o1_setDefaultMenuBgColor'. Should fix the 'text hard to read' problems.
svn-id: r33792
2008-08-11 23:20:10 +00:00
Stephen Kennedy 300a1df2b0 Remap dialog WIP
svn-id: r33791
2008-08-11 23:08:21 +00:00
Kari Salminen 88ec480cef Implemented drawMessage changes for Operation Stealth's timed cutscenes (Negative colors are used for timed text boxes that are totally transparent, only the text is drawn).
svn-id: r33790
2008-08-11 23:01:32 +00:00
Andre Heider c8188bf344 build a wii binary per default
svn-id: r33788
2008-08-11 22:44:29 +00:00
Andre Heider 15ca970498 video mode polishing:
* proper fullscreen video mode
* multiple graphic modes with different overscan values
* "fullscreen mode" stretches the picture on 16:9 displays
* fixed broken sword 1/2 gfx garbage
* support for setShakePos()

svn-id: r33787
2008-08-11 22:43:00 +00:00
Kari Salminen 36e0d2eab8 Moved fontParamTable inside TextHandler struct and made it a constant size as that's what it is (No need for using malloc & free anymore). Previously we would've tried to free an array that wasn't heap-allocated in freePoldatDat (Freeing fontParamTable_standard or fontParamTable_alt), that's fixed.
svn-id: r33786
2008-08-11 22:26:25 +00:00
Kari Salminen 8aaba9d38e Changed palPtr from a pointer to a Common::Array named palArray. Removed palEntriesCount variable as it's now equivalent to palArray.size().
svn-id: r33785
2008-08-11 21:45:47 +00:00
Kari Salminen d6dde4b85f Removed textDataPtr pointer as it's not used beyond the loadTextData function. Reworked loadTextData a bit so there are no two loops for the same thing (Also renamed some of the local variables).
svn-id: r33784
2008-08-11 21:26:41 +00:00
Kari Salminen 2d5a140725 Changed partBuffer from a pointer to a Common::Array. Removed numElementInPart variable as it's now equivalent with partBuffer.size().
svn-id: r33783
2008-08-11 20:41:13 +00:00
Kari Salminen c1462dda14 Added a safeguard to readBundleFile so it shouldn't corrupt memory even if the input says the data's unpacked size is less than its packed size (This shouldn't ever happen with non-corrupted data).
svn-id: r33782
2008-08-11 20:18:33 +00:00
Kari Salminen 02c9cb35f4 Changed readBundleFile to unpack data in-place and added debugging messages to the function.
svn-id: r33781
2008-08-11 20:09:03 +00:00
Florian Kagerer 3fdc699411 LOL: add support for floppy installer files
(startup will fail nonethelesse since we have different pak file names)

svn-id: r33777
2008-08-11 14:47:50 +00:00
Stephen Kennedy 626547a706 * Updated virtual keyboard pack
svn-id: r33776
2008-08-11 13:12:32 +00:00
Stephen Kennedy b2032650d1 * Added test keyboard pack
svn-id: r33775
2008-08-11 11:55:10 +00:00
Christopher Page c9e0422722 Added Autosave support for AGI
svn-id: r33772
2008-08-10 22:53:43 +00:00
Vicent Marti a4b3434af9 Bugfix: Selection background too short when scrollbar not present.
Bugfix: Vector renderer drawstep for bitmap blitting.
Added bitmap GFX for checkboxes.

svn-id: r33771
2008-08-10 22:03:00 +00:00
Christopher Page fcc00f20b9 Merged revisions 33719,33721-33723,33725-33727,33729-33730,33733,33736,33742,33754,33756,33758,33761,33763,33766 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk

svn-id: r33769
2008-08-10 21:58:18 +00:00
Vicent Marti 52f3551587 Bugfix: Several text-drawing issues.
Bugfix: Overlapping text in text edit dialogs.

svn-id: r33768
2008-08-10 18:56:10 +00:00
Torbjörn Andersson 9d0b0523cf Fixed a bunch of Valgrind warnings (mostly uninitialised variables, but also an
invalid free()), so that I can start and quit the game without any unexpected
warnings. (The obvious next step, of course, would be to actually *play* the game
for a bit...)

svn-id: r33766
2008-08-10 18:44:00 +00:00
Vicent Marti b2bac41d0e Reverted debug layout drawing.
Bugfix: Scrollbar overlapping in text widgets/text overlapping?

svn-id: r33765
2008-08-10 18:35:27 +00:00
Vicent Marti 559c19e9f4 Bugfix: Inverse layout reflowing.
Bugfix: Glitches with several layouts when using Aspect Ratio Correction.

svn-id: r33764
2008-08-10 18:26:14 +00:00
Torbjörn Andersson d08c3ba66b Committed my patch #2040074 ("XMIDI callback control events"). At the moment, I'm
not aware of any game that actually uses this XMIDI feature, so its primary
function right now is to silence lots of warnings while running the DOS version
of Simon the Sorcerer 2.

svn-id: r33763
2008-08-10 17:59:42 +00:00
Eugene Sandulenko 327ae17095 Add checksums for ScummVM repacked Italian and Spanish versions.
svn-id: r33761
2008-08-10 17:35:42 +00:00
Vicent Marti 8a31616f46 Bitmap cursor loading from XML files.
svn-id: r33760
2008-08-10 17:22:12 +00:00
Kostas Nakos df12c19dad address the ignored events and bad inventory screen handling 'features'
svn-id: r33758
2008-08-10 17:15:30 +00:00
Kostas Nakos cb6cbc69d3 hint the backend to show the VK
svn-id: r33756
2008-08-10 17:13:24 +00:00
Kostas Nakos 002c55dfac add support for drascula engine
svn-id: r33754
2008-08-10 17:10:09 +00:00
Vicent Marti b48d9e9f20 Graphic cursors.
svn-id: r33753
2008-08-10 11:09:28 +00:00
Vicent Marti ba00896f5d Fixed error when loading BDF fonts.
Hot scaler swapping works without crashes!

svn-id: r33751
2008-08-10 09:53:42 +00:00
Johannes Schickel f8355abdee Added fallback to text only mode when voice files are not found.
svn-id: r33742
2008-08-10 01:28:00 +00:00
Johannes Schickel 980b3f8af1 Fixed kyra to support properly support restarting of engine (for GSoC RTL, based on a patch from Chris Page).
svn-id: r33736
2008-08-10 00:36:46 +00:00
Johannes Schickel 8268b5c210 Fixed crash in KyraEngine_HoF::pauseEngineIntern.
svn-id: r33733
2008-08-10 00:17:56 +00:00
Max Horn dca7116cb5 Use FSNode API in default OSystem::openConfigFileForReading & OSystem::openConfigFileForWriting method implementations
svn-id: r33730
2008-08-09 23:07:32 +00:00
Max Horn 39d2c3bdad If no default config file is present, just don't load it, instead of crashing
svn-id: r33729
2008-08-09 22:42:03 +00:00
Vicent Marti 185dbbe84d Finished support for theme loading.
Fixed several bugs regarding theme loading.

svn-id: r33728
2008-08-09 22:40:05 +00:00