Paul Gilbert
a7c1b2fc6b
TITANIC: Finished TTparser processInput
2016-07-15 19:12:42 -04:00
Paul Gilbert
361ac2cfe4
TITANIC: Implemented secondary replaceNumbers method
2016-07-15 19:12:39 -04:00
Paul Gilbert
3878f38d8c
TITANIC: Move replacement string arrays into TTparser, added NUMBERS array
2016-07-15 19:12:22 -04:00
Paul Gilbert
e16239e21f
TITANIC: Implemented parser replaceNumbers sub-methods
2016-07-15 19:12:02 -04:00
Paul Gilbert
e1ba967233
TITANIC: Moved other static arrays from Titanic engine to dat file
2016-07-15 19:12:00 -04:00
Paul Gilbert
b37da849c9
TITANIC: Implement TTparser searchAndReplace methods
2016-07-15 19:11:43 -04:00
Paul Gilbert
053ff7ab75
TITANIC: Change engine to use titanic.dat
2016-07-15 19:11:06 -04:00
Paul Gilbert
2680caa5bd
DEVTOOLS: Creation of titanic.dat for holding static data
2016-07-15 19:10:30 -04:00
Torbjörn Andersson
246d48b467
WAGE: Free memory used by loadWorld() debug code
2016-07-15 11:41:50 +02:00
Torbjörn Andersson
72269b6c9d
WAGE: Fix memory leak in drawBitmap()
...
The 'tmp' surface was never freed when in _boundsCalculationMode.
2016-07-15 11:29:19 +02:00
Torbjörn Andersson
9284204cf6
WAGE: Free memory for buttons when dialog is destroyed
2016-07-15 11:24:05 +02:00
Eugene Sandulenko
48f99d0b93
Merge pull request #783 from bgK/create-project-cmake-builder
...
DEVTOOLS: Add a CMake project generator to create_project
2016-07-13 18:56:36 +02:00
Eugene Sandulenko
30e0592162
GUI: Regenerate built-in theme
2016-07-12 22:43:55 +02:00
Eugene Sandulenko
3359abbe5f
Merge pull request #784 from Tkachov/tabwidget-height-fix
...
GUI: Fix TabWidget height issues
2016-07-12 22:42:18 +02:00
Colin Snover
a9b7b40c66
SCI32: Disable kernel call 0x23 on LSL6hires
...
LSL6hires calls 0x23 (Graph/Robot) from game scripts, but it is a
null function in the game's interpreter.
2016-07-12 14:43:56 -05:00
Colin Snover
e133c74403
SCI32: Fix unnecessary palette updates
...
Some games load palettes that include color 255, but this is
hardcoded to white in SSCI, so just ignore it during merges since
it is ignored when the hardware palette is updated anyway.
2016-07-12 14:43:56 -05:00
Colin Snover
efc12ffc5c
SCI32: Avoid flash of incorrect colour when palettes are changed
...
Avoid forcing the screen to refresh after a palette change if the
screen is also about to be drawn to, as the palette change + draw
is intended to be an atomic operation.
2016-07-12 14:41:17 -05:00
Alexander Tkachev
64a79fd1ab
GUI: Fix TabWidget height issues
...
Changes theme stx files to specify TabWidget's type. That fixes wrong TabWidget height.
Changes TabWidget's getHeight() to return not only "children" height, but also tabs height. That fixes wrong clipping area.
Changes Widget's findWidget to use getHeight(). That fixes bug when widgets in the bottom of TabWidget were not reacting to the mouse events.
2016-07-12 22:37:57 +06:00
Colin Snover
53ab0b2805
SCI32: Fix broken background volume in Torin during speech
2016-07-11 16:23:46 -05:00
Colin Snover
b37ebb61eb
Revert "SCI32: Add blackline option to KQ7 2.00b DOS"
...
This reverts commit 1ab87e3f8f .
VMD and DUK are the formats that get blacklined, not Robot.
2016-07-11 14:27:57 -05:00
Colin Snover
1cf1b88c7d
SCI32: Add ADGF_DEMO flag to Hoyle 5 detection
2016-07-11 13:55:17 -05:00
Colin Snover
1ab87e3f8f
SCI32: Add blackline option to KQ7 2.00b DOS
...
KQ7 DOS uses Robot video in place of AVI.
2016-07-11 13:55:17 -05:00
Martin Kiewitz
d5dfd41ed1
SCI: Update script patch comments
2016-07-11 20:45:19 +02:00
Colin Snover
593560e876
SCI32: Add detection for Hoyle 5 demo
2016-07-11 13:02:27 -05:00
Martin Kiewitz
9dd5ee988b
SCI32: Improve kq7 subtitle script patch
...
Subtitle box should now always use color 255, which should be
white all the time. Normally it uses color 7, which is white
most of the time, but for example pink/purple at the start of
chapter 5.
2016-07-11 19:04:18 +02:00
Colin Snover
08821cf4e3
SCI32: Give planes a default type
...
With the addition of the transparent pic type code, the _type
property would be read uninitialised by setType if _pictureId was
set to kPlanePic.
CID 1357230, 1357231.
2016-07-11 10:39:50 -05:00
Colin Snover
f171db965c
SCI32: Guard against no split count
...
CID 1357229.
2016-07-11 10:39:50 -05:00
Colin Snover
e4588a7134
SCI32: Silence non-monitored channels while monitoring is active
2016-07-11 10:39:50 -05:00
Colin Snover
60c3663142
SCI32: Fix incorrect logic of cycler overflow
2016-07-11 10:39:50 -05:00
Colin Snover
bc362e5b7c
SCI32: Minor cleanup of GfxPalette32
2016-07-11 10:39:50 -05:00
Colin Snover
8fb55564a6
SCI32: Fix bad output caused by missing palette copies
...
Sometimes, games accidentally use palette entries that are not
marked as used and expect them to be a particular colour, like the
Phantasmagoria title screen, or the white palette entry (always
255 in DOS/Win).
2016-07-11 10:39:50 -05:00
Colin Snover
6a13adb638
SCI32: Fix sign comparison warning
2016-07-11 10:39:50 -05:00
Colin Snover
4cfc387602
SCI32: Split GfxPalette and GfxPalette32 + HunkPalette
2016-07-11 10:39:50 -05:00
Colin Snover
7f53a26d9e
SCI32: Split kPalCycle into subop functions
2016-07-11 10:39:50 -05:00
Colin Snover
ec73fa1e4a
SCI32: Fix audio deadlocks
...
Several functions in Audio32 would call into the mixer to pause
or resume the audio handle, which would cause a deadlock if the
mixer's mixCallback timer fired while one of these functions was
running on the main thread.
To address this, calls to mixer to pause/unpause the digital audio
handle have been removed. Since this was just an optimisation to
prevent unnecessary calls to fill the audio buffer, the only
problem now is that a tiny amount of CPU is wasted on unnecessary
callbacks to read from the empty SCI mixer.
2016-07-11 10:39:50 -05:00
Colin Snover
1714cf8aa5
SCI32: Minor Audio32 cleanup
2016-07-11 10:39:50 -05:00
Torbjörn Andersson
11ec5ad5a3
GRAPHICS: Fix copy/paste error in blitAlphaBitmapClip() (CID 1357410)
2016-07-11 05:43:24 +02:00
Torbjörn Andersson
6eabc887e1
GRAPHICS: Fix copy/paste error in blitSurfaceClip (CID 1357411)
2016-07-11 05:41:04 +02:00
Martin Kiewitz
eeafe230b9
SCI32: Fix an issue with the KQ7 subtitles script patch
...
Volume was lowered, but not raised afterwards for certain cases
Original script patch was commited in
b676530528
2016-07-11 00:26:05 +02:00
Martin Kiewitz
b676530528
SCI32: Add script patch to fix/improve KQ7 subtitles
...
Needs lots of testing of course
Applies to 1.51 and 2.00
2016-07-10 23:40:29 +02:00
Paul Gilbert
76b61324de
TITANIC: Renaming for normalized input line
2016-07-10 16:39:38 -04:00
Paul Gilbert
69134c66cc
TITANIC: Implemented parser normalizeContraction
2016-07-10 16:39:37 -04:00
Paul Gilbert
1da409ca98
TITANIC: Rename stub method to normalizeContraction
2016-07-10 16:39:36 -04:00
Paul Gilbert
68e230182c
TITANIC: Implement TTparser normalize
2016-07-10 16:39:35 -04:00
Paul Gilbert
e862d80cd2
TITANIC: Beginning of parser input line normalization
2016-07-10 16:39:33 -04:00
Paul Gilbert
e5e0e22c56
TITANIC: Beginnings of TTinput class
2016-07-10 16:39:32 -04:00
Paul Gilbert
eb94894688
TITANIC: Implement TTword hierarchy virtual methods
2016-07-10 16:39:31 -04:00
Paul Gilbert
2f9d7f2284
TITANIC: Added TTword subclass copy methods
2016-07-10 16:39:30 -04:00
Paul Gilbert
f114ca6c26
TITANIC: More TTword subclass constructors
2016-07-10 16:39:29 -04:00
Paul Gilbert
d649157c5b
TITANIC: Figured out original class names for TTword descendents
2016-07-10 16:39:28 -04:00