Commit Graph
86814 Commits
Author SHA1 Message Date
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
Matthew Hoops 144b9ce918 VIDEO: Don't try to sync video off of finished audio tracks 2012-07-21 17:38:24 -04:00
Matthew Hoops 24c97b8913 VIDEO: Move PSXStreamDecoder to the new VideoDecoder API 2012-07-21 17:31:00 -04:00
Matthew Hoops 5cdb0f71a4 VIDEO: Fix AudioTrack::endOfTrack() 2012-07-21 17:30:43 -04:00
Matthew Hoops fc1163ac28 VIDEO: Allow for disabling of automatic audio sync in AdvancedVideoDecoder 2012-07-21 17:30:06 -04:00
Matthew Hoops 1d565a2661 VIDEO: Fix volume/balance settings in AdvancedVideoDecoder 2012-07-21 17:11:09 -04:00
Einar Johan Trøan Sømåen f54f262bb5 WINTERMUTE: Fix a few signed/unsigned and float->int warnings. 2012-07-21 21:17:08 +02:00
Einar Johan Trøan Sømåen b5a07fef8e WINTERMUTE: Get rid of the C-prefix for class-definitions. 2012-07-21 21:01:47 +02:00
Matthew Hoops c3cc3620c0 VIDEO: When adding tracks, keep them in sync with the main video status 2012-07-21 14:50:10 -04:00
Matthew Hoops e74c306a7f SCI: Switch SEQDecoder to using the new FixedDurationVideoTrack subclass 2012-07-21 14:43:08 -04:00
Matthew Hoops 10341d2b57 VIDEO: Add getDuration() and getStartTime() functions to Track
The AdvancedVideoDecoder::getDuration() function now attempts to calculate duration based on the longest track.
2012-07-21 14:39:03 -04:00
Einar Johan Trøan Sømåen 2e82471240 WINTERMUTE: Get rid of #pragma once. 2012-07-21 19:50:08 +02:00
Einar Johan Trøan Sømåen 6e780b04dc WINTERMUTE: Fix a few Upper_case filenames that got missed in the last commit. 2012-07-21 19:37:05 +02:00
Einar Johan Trøan Sømåen 5683f07633 WINTERMUTE: Rename CamelCased filenames to prefixed_under_score-filenames
This is mostly a lead-up to namespacing the Ad/Base folders, and then
possibly removing the prefixes from the files, it also has the added
benefit of getting rid of the odd case-typos that makes for issues
on platforms that don't ignore case.
2012-07-21 19:15:33 +02:00
Matthew Hoops fb1edcd4fe VIDEO: Add getWidth()/getHeight()/getPixelFormat() functions to VideoTrack
The default implementations of those functions in AdvancedVideoDecoder now call into them.
2012-07-21 12:40:16 -04:00
Klaus Reimer e68d6c23fe WEBOS: Remove broken keymapper code which is not needed anymore anyway 2012-07-21 17:33:52 +02:00
dhewg 5636c1fee0 WII: Adapt to mouse cursor dontScale API change 2012-07-21 16:22:05 +02:00
Matthew Hoops a12b3ea2dd SCI: Move the SEQ code to the new VideoDecoder API 2012-07-20 20:52:58 -04:00
Matthew Hoops 818c16bdd0 VIDEO: Add first draft of the new VideoDecoder API
It is currently named "AdvancedVideoDecoder" until all current VideoDecoders are converted to the new API.
2012-07-20 20:51:42 -04:00
Tarek Soliman f0304ee0bb MAEMO: Package missing docs 2012-07-20 16:16:57 -05:00
Willem Jan Palenstijn b5feb0dcc7 CREDITS: Update dreamweb team 2012-07-20 21:56:54 +02:00
Tarek Soliman a523fc186a MAEMO: Fix date in debian/changelog
(cherry picked from commit 831cfc8934)
2012-07-20 14:51:45 -05:00
Eugene Sandulenko 6d18bddbb5 CREDITS: Credits for original sources 2012-07-20 14:52:39 -04:00
Einar Johan Trøan Sømåen 0622b2c5b8 WINTERMUTE: Readd the endian-independence for blitting. 2012-07-20 20:39:21 +02:00
Eugene Sandulenko b4d1063161 NEWS: Set 1.5.0 release date 2012-07-20 14:04:45 -04:00
Einar Johan Trøan Sømåen d31b4883a6 WINTERMUTE: Disable ansiToWide for now, as the current implementation was wrong.
An odd side-effect was that the script-function SetHoverCursor in AdItem would
rename it's filenames from "folder\subfolder\filename.ext" to "folder'subfolder'filename.ext"
2012-07-20 14:24:07 +02:00
Einar Johan Trøan Sømåen b618f7985f WINTERMUTE: Decrement tickets when reinserting a ticket that has swapped places. 2012-07-20 03:53:13 +02:00
Littleboy 6a8d037af1 LASTEXPRESS: Fix variable shadowing and update comments 2012-07-19 20:58:40 -04:00
Einar Johan Trøan Sømåen 958cb16f9e WINTERMUTE: Silence a few signed/unsigned warnings. 2012-07-20 02:44:15 +02:00