Commit Graph
137148 Commits
Author SHA1 Message Date
Willem Jan Palenstijn 60fae8847e IMAGE: Inline indeo getVLC2 2017-08-24 19:46:59 +02:00
Willem Jan Palenstijn dde259f068 COMMON: Remove BitStream base class to allow inlining calls
All users of BitStream were in fact using a specific, hardcoded variant,
so we can hardcode that variant, removing the need for virtual calls,
and enabling inlining.
2017-08-24 19:46:59 +02:00
David Fioramonti d01354ab0d TITANIC: Reduce header includes for star_control files
Minimized a lot of the unncessary files includes in the
implementation files as well.
2017-08-24 04:31:04 -07:00
David Fioramonti 9b10f5dc29 TITANIC: Fixed titanic.h float random function range
Fixed float random number function of titanic.h which could of given
65537 instead of a max of 65535.
2017-08-24 04:30:59 -07:00
David Fioramonti c96b01b82e TITANIC: Reduce header includes for titanic.h
I reduced the header includes a lot in Titanic.h and forward
declared when I could. Titanic.h was including a lot and
a lot of functions that were including it were not using its
API. This will help make it more clear which implementation
files are using which class since they will just need to include
which ones they need.

I also moved the debug related items in Titanic.h into the debugger
header.

I also reordered several of the the header includes to be local to
global.
2017-08-24 04:06:54 -07:00
Eugene Sandulenko 265fc48d15 WAGE: Do something when player is not defined instead of crashes 2017-08-24 09:25:25 +02:00
Eugene Sandulenko 7cf83cab6a WAGE: Update status of The Phoenix game 2017-08-24 09:06:24 +02:00
Eugene Sandulenko fd1ea78b35 WAGE: Read rectangles sanely 2017-08-24 08:53:08 +02:00
Eugene Sandulenko 59bc70299e WAGE: Fake input text when using shortcuts 2017-08-24 08:45:26 +02:00
Paul Gilbert 78ed19d429 TITANIC: Disable fix for dispensed chickens' initial temperature
The original had a bug that didn't dispense chickens as cold when
the yellow fuse was removed from the fusebox. Too many walkthroughs
suggest removing it though, so I'm disabling fix to avoid confusion.
2017-08-23 22:43:10 -04:00
Simei Yin a2a980aa89 SLUDGE: Convert CP1250 to UTF8 for some windows games 2017-08-24 04:02:42 +02:00
Paul Gilbert 0411e1cdc5 TITANIC: Fix incorrect cursor after getting nose 2017-08-23 21:56:33 -04:00
Paul Gilbert 4aabc56bb3 TITANIC: Don't allow GMM loading in the middle of receiving mail 2017-08-22 21:20:03 -04:00
Paul Gilbert 0e2be98857 TITANIC: Ensure PET _remoteTargetName is set when saving 2017-08-22 20:57:22 -04:00
Paul Gilbert aad739120b TITANIC: Fix using Fn keys when Conversations tab is active 2017-08-22 20:07:50 -04:00
Paul Gilbert ceb329ad0e TITANIC: Formatting fixes for star control classes 2017-08-22 19:53:47 -04:00
Paul Gilbert 68d43a431a Merge pull request #997 from dafioram/star_fix10148
TITANIC: Change ship view and position even if not moved
2017-08-22 19:20:25 -04:00
Thomas Fach-Pedersen 54accdffae BLADERUNNER: Call AI script when clue is received 2017-08-22 19:51:11 +02:00
Thomas Fach-Pedersen a4c7992388 BLADERUNNER: Add Dialogue Menu 2017-08-22 19:02:37 +02:00
Simei Yin 867b8dbb92 SLUDGE: Reset engine when launching a new game data file 2017-08-22 16:20:15 +02:00
Eugene Sandulenko 4783541529 GRAPHICS: MACGUI: Now MacWindowManager processes most of the events, remove filter 2017-08-22 10:26:53 +02:00
Eugene Sandulenko 8458630e50 GRAPHICS: MACGUI: Added support for scrolling with mouse wheel 2017-08-22 10:25:00 +02:00
Eugene Sandulenko a7dbacb5c3 GRAPHICS: MACGUI: Ignore keys with modifiers in MacTextWindow 2017-08-22 10:25:00 +02:00
Eugene Sandulenko 5e9b72fbd9 WAGE: Do not dump the interpreter code 2017-08-22 10:25:00 +02:00
Eugene Sandulenko e13d567eb9 GRAPHICS: MACGUI: Improved debug output in MacFontManager 2017-08-22 10:25:00 +02:00
Paul Gilbert 3e3e0e9c00 TITANIC: Renamings for MaitreDScript 2017-08-21 21:38:18 -04:00
Paul Gilbert 3596fa9a12 TITANIC: Renamings for CMaitreDProdReceptor 2017-08-21 21:09:53 -04:00
David Fioramonti c06055e1a4 TITANIC: Made variable for magic number used in auto camera mover
This variable controls the number of transitions the game goes
through when the mover is changing position. This reduces
several 31/32s from the code.
2017-08-21 16:55:25 -07:00
David Fioramonti 09a7a139f4 TITANIC: Camera Auto Mover class cleanup
Named some functions, made _speeds be an array instead of
a dynamic one.
2017-08-21 15:57:53 -07:00
David Fioramonti 04598dd5ad TITANIC: Named some functions in fvector 2017-08-21 15:42:50 -07:00
Eugene Sandulenko 05616ca2ee WAGE: Added detection from the alt version of Mormonoids 2017-08-22 00:05:46 +02:00
Filippos Karapetis 1fd3d105d3 SAGA: Fix bug #10009, when loading games
Abort any scene entry protagonist animations and auto-cue speeches when
loading saved games, as the protagonist can get stuck in scene entry
animations
2017-08-21 22:31:33 +03:00
Filippos Karapetis 98da344a67 SAGA: Remove obsolete disabled code 2017-08-21 22:31:33 +03:00
Eugene Sandulenko 97ed6a2af7 GRAPHICS: MACGUI: Pass command id when creating menu to avoid namespace clashes
This fixes Command menu in WAGE.
2017-08-21 19:40:05 +02:00
Ben Castricum 203b5138fa SCUMM: Update MD5 include file 2017-08-21 16:04:31 +02:00
Ben Castricum 4cba6004c7 SCUMM: Add detection for unrecognized demos from CD with EAN 8716051020134 2017-08-21 16:04:31 +02:00
Ben Castricum f26e36c2e4 SCUMM: Add detection for German version of Spy Fox 1, fixes bug #9732 2017-08-21 16:04:31 +02:00
root 65e7541426 SCUMM: Add detection for European Wii Spyfox Dry Cereal 2017-08-21 16:04:31 +02:00
Eugene Sandulenko 2689373049 JANITORIAL: Fix spelling error in comment 2017-08-21 10:47:10 +02:00
Simei Yin cae614a4dc SLUDGE: Use common hashmap instead of array table 2017-08-21 10:19:19 +02:00
Simei Yin 516c24e8c3 SLUDGE: Change game file to be loaded 2017-08-21 10:19:19 +02:00
Simei Yin a9ee51d6ce SLUDGE: Some code cleaning 2017-08-21 10:19:19 +02:00
Simei Yin d9a6791500 SLUDGE: Add support for some windows-only games 2017-08-21 10:19:19 +02:00
David Fioramonti 2a96a6fc72 TITANIC: Prevent 2 star locking for large distances
I have added a conditional to the code so that if the player
tries to lock onto the 2nd star and they are very far away, >1e8,
then the game will not allow the star to be locked.

This is a temporary workaround since if a distance of farther
then this is attempted then the view will be throw way off
and the stars will not be shown locking onto correctly.

I've also made the locking functions return booleans so I can
determine the success of the lockings.

This is a partial fix for #9961.
2017-08-20 20:25:31 -07:00
Paul Gilbert 2edd59d0b8 TITANIC: Fix Tab key toggle for Starfield/Photo being broken 2017-08-20 22:55:40 -04:00
Paul Gilbert ca05dffec5 TITANIC: Fix Coverity suggestion in CPetConversations 2017-08-20 22:37:35 -04:00
Paul Gilbert 445e12f7ca TITANIC: Add Tab key as a shortcut for switching to inventory 2017-08-20 17:23:55 -04:00
David Fioramonti ffbfdac87e TITANIC: Change ship view and position even if not moved
The code was preventing the position and view from changing
when the distance between the current and new position for
a marked auto mover was zero. This happens if you lock the
2nd or 3rd star and then unlock and relock again.

It was prevented this with asserts and if statement checks
and I removed them all.

This section of code isn't doing any inverses based on the
reciprocal of the distance so theres no issue with allowing
transition speeds/distances of zero.

Fixes #10148.
2017-08-20 13:24:37 -07:00
Paul Gilbert 05f668ab34 TITANIC: Properly reset Parrot flag if you look away while he's eating 2017-08-20 16:05:41 -04:00
Paul Gilbert cd9fe5c219 TITANIC: Further camera and crosshair classes cleanup 2017-08-20 14:43:00 -04:00