aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-07-17GRAPHICS: Use MacText::appendText to render formatted textVelocityRa
With this we can specify font, character size and slant that each appended text will use.
2017-07-17GRAPHICS: Add MacText::appendText() variants that accept text format argsVelocityRa
Made 1 helper method and 1 function to reduce duplication size as much as possible and still keep them useful for other purposes.
2017-07-17WAGE: Experimental MacText(Window) console renderingVelocityRa
Currently the font specified in the constructor is not being used, I explain why in gui.cpp, line 182. Use the 2 defines in gui.h to specify whether: 1) The new text rendering in general is used (USE_NEW_TEXT_RENDERER) 2) The MacTextWindow class is used for rendering (USE_MACTEXTWINDOW)
2017-07-17GRAPHICS: Introduce drawText, appendText and font in MacTextWindowVelocityRa
2017-07-17GRAPHICS: Fix bug in MacText::draw() on calculating bounding rect sizeVelocityRa
Change is _surface->w to _surface->h in the fourth arg to Common::Rect
2017-07-17GRAPHICS: Skeleton of MacTextWindowVelocityRa
Needed to add 2 helper methods to MacWindowManager to make it cleaner
2017-07-17GRAPHICS: Fix MacText::appendText by resizing _textLinesVelocityRa
Also fix an off-by-one error
2017-07-17NETWORKING: fix missing SIOCGIFCONF for Haiku (#973)Schrijvers Luc
2017-07-17I18N: Regenerate translations data fileThierry Crozat
2017-07-16TITANIC: Fix Gondola mixer to use the two different songsPaul Gilbert
2017-07-16SCI32: Remove duplicate callColin Snover
2017-07-16SCI32: Fix wrong GK1 sound volume syncColin Snover
Fixes Trac#9793.
2017-07-16SCI32: Improve GK1 narrator speech syncColin Snover
2017-07-16TITANIC: Workaround music being lost leaving Arboretum in WinterPaul Gilbert
When you change the Arboretum to Winter and exit, it changes to a special FrozenArboretum room with the river and everything frozen. Both the regular and frozen Arboretum rooms have a GondolierMixer.. when leavin one for the other, it's meant to do a two second fadeout and then the new room's mixer takes over. This doesn't work for ScummVM currently - it may be due to the simplicity of the QMixer implementation. So to work around it for the forseeable future, I've set the TurnOff times to 0 seconds so the old mixer's sounds are immediately and properly stopped, letting the new mixer take over.
2017-07-16TITANIC: Renamings for Gondolier MixerPaul Gilbert
2017-07-16TITANIC: Fix scaling in scene transition cutscenesPaul Gilbert
2017-07-16TITANIC: Fix music transitions for each passenger class in lift travelPaul Gilbert
2017-07-16TITANIC: Add a VolumeMode enumPaul Gilbert
2017-07-16SCI: Clarify Tab character & modifier workarounds in GfxMenuColin Snover
2017-07-16SCI: Fix kMenuSelect to understand control charactersColin Snover
In b4c0be8b42d63cbf3c808be1a94839483f674ce9 keyboard events were adjusted to send control characters to game scripts, which matches how keyboard input works in SSCI. Unfortunately this broke games using kMenuSelect because that kernel code was not expecting to receive control characters. Here is an amended list of known types of keyboard shortcuts, for future reference: * All games with text inputs (Ctrl+C clears text boxes) * Most games using MenuBar, like QFG1EGA (Ctrl+P pauses the game, Tab or Ctrl+I show inventory) * QFG1VGA (Ctrl+S shows stats) * Torin (Ctrl+N, Ctrl+O, Ctrl+S, etc. activate menu commands) * LSL1VGA & LSL3 (Ctrl+Alt+X to bypass age check) * Most in-game debuggers (Alt+T for teleport) The shortcut handling code is still not 100% accurate since there are some edge cases that are not implemented (e.g. in DOS/SSCI, Shift+Ctrl+<key> usually sends the same key information as Ctrl+<key>, but not if <key> is Tab), but it should now be working in a consistent and rational manner for end-users.
2017-07-16TITANIC: Cleanup of CAutoAnimate classPaul Gilbert
2017-07-16TITANIC: Fix MaitreD to hate the default musicPaul Gilbert
2017-07-16TINSEL: Fix some DW2 text/voice not playing all the way throughPaul Gilbert
2017-07-16SLUDGE: Add sprite display colorSimei Yin
2017-07-16SLUDGE: Complete pasteCharacter to backdropSimei Yin
2017-07-16SLUDGE: Complete burnSpriteToBackdropSimei Yin
2017-07-16SLUDGE: Load game icon/logoSimei Yin
2017-07-16SLUDGE: Correct fallback detection with custom descriptionSimei Yin
2017-07-16SCI: Fix control character keyboard eventsColin Snover
Used by: * All games with text inputs (Ctrl+C clears text boxes) * QFG1VGA (Ctrl+S shows stats) * Torin (Ctrl+N, Ctrl+O, Ctrl+S, etc. activate menu commands) The branch that used to shift control keys for SCI versions <= SCI_VERSION_1_MIDDLE was bogus; history indicates it was intended to be used to fix backends that sent control characters when Ctrl+Alt were used together, but that case is already handled by the Alt-checking code just prior to that code. Games expect to receive control characters only when Ctrl is the only active modifier, and this seems to be consistent across all versions of SCI engine from SCI0 all the way through at least SCI2.1. Fixes Trac#6703, Trac#9837.
2017-07-15SCI32: Add patch for mismatched PointSoft Torin heap 20700Colin Snover
Refs Trac#9776, Trac#9864. Fixes Trac#9797.
2017-07-15TITANIC: Fix inventory scrolling when an item is selectedPaul Gilbert
2017-07-16I18N: Update translations templatesThierry Crozat
2017-07-15SCI: Stop double-initialization of SCI0/1 objectsColin Snover
These objects should have been initialized only during the first pass. Double-initialization does not cause any visible problem problem during normal operation (mostly it just causes memory waste by making Object::_baseVars/_baseMethod double up their data), but could have silently allowed games to receive bogus data for an out-of-bounds property or method index, instead of raising an error.
2017-07-15SCI: Fix up Object::_baseMethod implementationColin Snover
1. In SCI0/1, selectors and offsets in the method block are stored contiguously (all selectors, then all offsets), with a null separator between the two runs. All the later versions of SCI instead interleave selectors & offsets. Since these values are already being copied into a new array anyway, code for reading method selectors/offsets is now simplified by interleaving this data when it is written into _baseMethod for SCI0/1, so the same equation for retrieving method selectors/offsets can be used across all SCI versions. 2. In SCI1.1-2.1 branch, the method count was being copied into the first entry of the array, which meant that SCI1.1-2.1 had extra code for dealing with the fact that the first entry was not an entry. This has been fixed, and the extra code removed. 3. Data was being overread into _baseMethod in all games SCI0-2.1. (SCI0/1 had an extra magic value of 2, and SCI1.1-2.1 had an extra magic value of 3). Reviewing history, it's not clear why this happened, other than that it appears to have been introduced at 7b0760f1bc5c28abcede041a6e3930f84ff3d319. My best guess is that this was a confusion between byte count and record count, where the intent was to read an extra 2 bytes for the null separator in SCI0/1, but it actually read 2 records instead. (I do not have a guess on why SCI1.1 ended up with a 3.) This overreading has been removed.
2017-07-15TITANIC: Fix range for timed volume transitionsPaul Gilbert
2017-07-15TITANIC: Endgame sequence sound fixesPaul Gilbert
2017-07-15TITANIC: Don't allow the same star to be locked on multiple timesPaul Gilbert
2017-07-15TITANIC: Fix locking stars in star control puzzle when Caps lock is onPaul Gilbert
2017-07-15TITANIC: Don't allow starfield to be shown if puzzle was skippedPaul Gilbert
2017-07-15CHEWY: More work on scene info handlingFilippos Karapetis
2017-07-15TITANIC: Fix incorrect calls to queueSoundBastien Bouclet
The sound type was being passed in the balance parameter.
2017-07-15SLUDGE: Move PixelFormat init to constructorSimei Yin
2017-07-15SLUDGE: Remove unused function displayFatalSimei Yin
2017-07-15SLUDGE: Clean unused extern variablesSimei Yin
2017-07-15SLUDGE: Clean useless #if 0'sSimei Yin
2017-07-15SLUDGE: Remove unused memwatchSimei Yin
2017-07-15SLUDGE: Remove gl-related graphics.hSimei Yin
2017-07-15SLUDGE: Remove openGl-related function fixFontSimei Yin
2017-07-15SLUDGE: Add a color into stack machineSimei Yin
2017-07-15SLUDGE: Add credit scrollingSimei Yin