Einar Johan Trøan Sømåen
579810d296
WINTERMUTE: Use hasSuffix instead of contains to verify file-extensions.
2012-07-24 18:14:38 +02:00
David-John Willis
d83764f055
GPH: Fix accidental commit.
...
* I did not mean to commit any of the GPH backend with the OP stuff. Cleanup of this backend will follow later.
2012-07-24 10:12:54 +01:00
David-John Willis
b157269ff4
OPENPANDORA: Clean up old commented code.
2012-07-24 10:08:58 +01:00
David-John Willis
6f978ee78b
OPENPANDORA: Free hiddenCursor on unloadGFXMode and cleanup screen setup.
...
* Also remove some old cruft in the form of commented code.
2012-07-24 10:08:58 +01:00
David-John Willis
45354676eb
OPENPANDORA: Move SDL_CreateCursor hacklet from init to loadGFXMode.
...
* Fixes a bug that can occur on load.
2012-07-24 10:08:58 +01:00
D G Turner
77a630d3e1
DEVTOOLS: Modify create_teenagent to output message string table.
...
This temporary hack code is used to convert the current dseg table into
two smaller byte tables and a list of the message strings, which is
output to stdout. This will likely require some manual postediting, but
does most of the work programmatically.
2012-07-24 05:09:48 +01:00
Filippos Karapetis
3d395545cb
SCI: Remove unused variables
2012-07-24 04:07:08 +03:00
Matthew Hoops
a652f6669e
VIDEO: Rewrite SmackerDecoder to use the new API
2012-07-23 21:04:51 -04:00
Matthew Hoops
3a780a63db
VIDEO: Set _startTime when rewinding and seeking
2012-07-23 21:03:49 -04:00
Filippos Karapetis
bd281928cb
SCI: Initial implementation of kRemapColors(kRemapByPercent)
...
Fixes some graphics glitches in the QFG4 demo and the menus of QFG4, by
implementing one of the transparency effects used mainly in SCI32.
Many thanks to fuzzie for her debugging info on QFG4 demo and to wjp for
his great help on the dissassembly
2012-07-24 03:53:44 +03:00
Filippos Karapetis
61e8fdbf1d
SCI: Separate the early SCI11 version of kRemapColors from the SCI32 one
2012-07-24 00:18:31 +03:00
Matthew Hoops
d4231fda1c
SCI: Rewrite RobotDecoder to use the AdvancedVideoDecoder API
2012-07-22 23:17:36 -04:00
D G Turner
88a1989a79
TEENAGENT: Replace reject message table lookup with explicit values.
...
Also, this adds explicit offset indexes for indexed message tables
contents.
2012-07-23 04:04:42 +01:00
Einar Johan Trøan Sømåen
88fe4e3106
WINTERMUTE: Handle the "language/" subdirectory separately for choice of language.
...
Since we don't have the same launcher the games have, we'll have to avoid including ALL
the datafiles, as the localization-dcps are usually intended to work alone. For now, it's hardcoded
to only load english.
2012-07-23 04:40:31 +02:00
Einar Johan Trøan Sømåen
5bcc476464
WINTERMUTE: Initialize the BaseGame reference in BasePersistenceManager
2012-07-23 04:37:25 +02:00
Einar Johan Trøan Sømåen
c7eda9abc8
WINTERMUTE: Encapsulate and distance BasePersistenceManager from Base.
2012-07-23 03:42:27 +02:00
Einar Johan Trøan Sømåen
aedb0aea50
WINTERMUTE: Remove dcgf.h from almost all includes.
2012-07-23 03:22:49 +02:00
Einar Johan Trøan Sømåen
448911930d
WINTERMUTE: Remove unused code from platform_osystem.h
2012-07-23 03:10:41 +02:00
Einar Johan Trøan Sømåen
dd6d093cf3
WINTERMUTE: Remove 2 more unecessary includes.
2012-07-23 02:36:57 +02:00
Einar Johan Trøan Sømåen
7a818009b4
WINTERMUTE: Clean out unused utils.
2012-07-23 02:23:14 +02:00
Einar Johan Trøan Sømåen
927eb9a9e8
WINTERMUTE: Some more BaseFileManager-cleanup
2012-07-23 02:05:37 +02:00
Einar Johan Trøan Sømåen
aac94209b3
WINTERMUTE: Clean up a few includes.
2012-07-23 01:54:47 +02:00
D G Turner
af7fca1a7e
TEENAGENT: Split out functions to avoid need for processCallback().
2012-07-23 00:50:19 +01:00
Einar Johan Trøan Sømåen
4b0ede4685
Rename BaseGame::SaveGame -> saveGame
2012-07-23 01:40:49 +02:00
Einar Johan Trøan Sømåen
d1f7730ec2
WINTERMUTE: Encapsulate BaseRenderer::_rectList and replace it by Common::Array
2012-07-23 01:30:11 +02:00
Einar Johan Trøan Sømåen
93864d4e39
WINTERMUTE: Remove Base as superclass for BaseImage
2012-07-23 01:08:57 +02:00
Einar Johan Trøan Sømåen
61e011ada9
WINTERMUTE: Reenable direct package-loading for now
2012-07-23 00:40:38 +02:00
Einar Johan Trøan Sømåen
8b6e4fc752
WINTERMUTE: Privatize/remove unused/internal functions in BaseFileManager
2012-07-23 00:14:34 +02:00
Einar Johan Trøan Sømåen
4f1b03eac1
WINTERMUTE: Remove Base as superclass for base_file_entry
2012-07-22 23:36:13 +02:00
D G Turner
f9d3cb8e28
TEENAGENT: Fix another invalid string offset.
...
This typo caused an incorrect string output when Mark examines the
car trunk when it is empty.
2012-07-22 22:35:00 +01:00
Einar Johan Trøan Sømåen
a249b096c0
WINTERMUTE: Remove Base as superclass for base_package.
2012-07-22 23:26:18 +02:00
Einar Johan Trøan Sømåen
8c378f794e
WINTERMUTE: Wrap _name in base_named_object in getters/setters.
2012-07-22 23:17:32 +02:00
Einar Johan Trøan Sømåen
f6a5a2a0d5
WINTERMUTE: Wrap away base_script_holder's _filename field in getters/setters, avoiding direct writes.
2012-07-22 22:55:54 +02:00
Einar Johan Trøan Sømåen
30ada3c13f
WINTERMUTE: Check for failure when decoding images.
2012-07-22 22:31:02 +02:00
Einar Johan Trøan Sømåen
803c421553
WINTERMUTE: Fix a few issues in PathUtil, mainly getFileNameWithoutExtension was off by one
2012-07-22 22:30:24 +02:00
Einar Johan Trøan Sømåen
4c3421288d
WINTERMUTE: Add an audio-debug-channel and reduce the use of warning()
2012-07-22 22:29:07 +02:00
Einar Johan Trøan Sømåen
3bcbd1881c
WINTERMUTE: Avoid opening files when checking hasFile()
2012-07-22 22:27:07 +02:00
D G Turner
8ac70ac94a
TEENAGENT: Fix another invalid string offset.
...
This typo caused an incorrect string output when Mark examines the car
trunk when it is empty.
2012-07-22 21:15:49 +01:00
Einar Johan Trøan Sømåen
6fb641111f
WINTERMUTE: Use only alphanumerics in fallback-gameids.
2012-07-22 21:02:57 +02:00
Einar Johan Trøan Sømåen
a549977cff
WINTERMUTE: Use FSNodes to parse relative paths used by the games.
2012-07-22 21:02:25 +02:00
Matthew Hoops
0f0c6f9354
VIDEO: Rewrite the AVI code to use AdvancedVideoDecoder
...
In addition to using the new API, it should theoretically support multiple audio and video tracks now but that has not been tested.
2012-07-22 14:13:20 -04:00
Matthew Hoops
7654b20362
VIDEO: Merge the three Fixed* VideoTrack classes
...
Avoids diamond inheritance, which makes it impossible to downcast without rtti
2012-07-22 14:11:11 -04:00
Matthew Hoops
29541dc5f4
VIDEO: Hold tracks in an Array instead of a List
...
Decoders such as AVI will need to access them by index
2012-07-22 12:17:54 -04:00
Einar Johan Trøan Sømåen
c8b1c74724
WINTERMUTE: Add in a fallback-detector for unknown games. (flagged as "fangame" for now)
...
This does a minimal engine-startup to open any dcp's and get the proper "startup.settings"-file,
and then get the name/caption fields from that file. There are currently no handling of localized
strings used there (base_string_table would be the culprit). And, there is also no secondary
checks for language (but for that matter, there is no support for chosing language if multiple
exist at this point either).
2012-07-22 07:28:17 +02:00
Einar Johan Trøan Sømåen
742521c20d
WINTERMUTE: Redo base_file_manager, to use FSLists for registering/opening packages.
...
This is helpfull for consistency between registering and lookup, and allows for explicit removal/adding
of sub_paths for the engine. But most importantly it keeps the loading consistent and non-duplicated
for detection.
2012-07-22 07:24:48 +02:00
Matthew Hoops
9bf17934d3
VIDEO: Take audio start time into account when syncing to audio
2012-07-22 00:58:38 -04:00
Matthew Hoops
4c9c22b374
VIDEO: Make seek/rewind functions in AdvancedVideoDecoder virtual
...
This is to allow for seeking in videos where not everything is indexed
2012-07-22 00:39:10 -04:00
D G Turner
c373ed4ea4
TEENAGENT: Symbol migration associated with remaning display*Message().
...
Have also corrected typo in offset i.e. 0x39b7 was incorrect, it appears
that 0x3ab7 was intended.
2012-07-22 04:55:46 +01:00
D G Turner
31b00ac139
TEENAGENT: Fix for bug #3540542 ("string truncated after diving").
...
This was a typo in the string offset.
2012-07-22 04:14:58 +01:00
Matthew Hoops
067e02e90b
VIDEO: Add StreamFileAudioTrack wrapper
2012-07-21 17:52:16 -04:00