Commit Graph
80635 Commits
Author SHA1 Message Date
Thierry Crozat 78561ca94d GUI: Fix access to deleted widget after rebuilding a dialog
The issue was with the focus or mouse widget as it may not be a
direct child of the dialog (it may for example be a child of the tab
widget in the options dialog) and removing a widget was not
resetting the mouse of focus widget if that widget was not a
direct child.
2017-04-06 21:55:28 +01:00
Thierry Crozat 91125bcbcd GUI: Add method to know if a widget contains a given widget 2017-04-06 21:55:28 +01:00
Paul Gilbert 47d339509f TITANIC: Fix gcc warning 2017-04-06 07:40:21 -04:00
Paul Gilbert db7b757bac TITANIC: Add missing content for OSVideoSurface::clear 2017-04-06 07:20:10 -04:00
stevenhoefel 90e97f7069 DIRECTOR: Further work loading assets from D5 Movies. 2017-04-06 14:55:15 +10:00
Paul Gilbert 514871316f TITANIC: Further cleanup of pose usages 2017-04-05 21:42:01 -04:00
Paul Gilbert 25485af0a4 TITANIC: Fix some incorrect type casts 2017-04-05 21:33:13 -04:00
Paul Gilbert 8ffdd29b11 TITANIC: Renamed CStarControlSub6 to FPose 2017-04-05 21:29:32 -04:00
Paul Gilbert 93a4c29b11 TITANIC: Change many doubles to floats to match original's precision
Many of the Star Control classes in the original explicitly used floats
rather than doubles. I'm switching to using them where applicable for
now, since the resulting figures will more closely match the original,
and it will be easier to spot errors in the various formulas
2017-04-05 21:08:51 -04:00
Eugene Sandulenko 497cd98838 DIRECTOR: Fix warnings 2017-04-05 19:38:44 +02:00
Paul Gilbert 0a2786164e TITANIC: Fix setup of Y_AXIS rotation matrix 2017-04-04 22:32:01 -04:00
Paul Gilbert 4378dd37b7 TITANIC: Correct usage of x/y angle in setViewportPosition 2017-04-04 21:44:19 -04:00
Paul Gilbert 903cffca28 TITANIC: Change debug level constants to have a DEBUG_ prefix 2017-04-04 20:53:31 -04:00
stevenhoefel d52d58d3dd DIRECTOR: Initial work to load D5 assets. 2017-04-04 20:09:57 +10:00
Paul Gilbert 689d0538f2 TITANIC: Add missing break to switch statement 2017-04-03 20:41:39 -04:00
stevenhoefel ea989b681c DIRECTOR: Bring cast children back for D4 or higher. 2017-04-03 14:54:07 +10:00
George Kormendi dea10a23ee I18N: Update translation (Hungarian)
Currently translated at 99.8% (943 of 944 strings)
2017-04-03 06:38:54 +02:00
stevenhoefel a307a91916 DIRECTOR: Use button cast when rendering button text. 2017-04-03 14:38:36 +10:00
Thierry Crozat 2dac196370 I18N: Regenerate translations data file 2017-04-03 05:05:09 +02:00
mézes gergely e976450d22 I18N: Update translation (Hungarian)
Currently translated at 99.8% (943 of 944 strings)
2017-04-03 03:33:16 +02:00
stevenhoefel 7b9afc37ce DIRECTOR: Pre-load Button child text members. 2017-04-03 11:33:02 +10:00
Paul Gilbert 320cdbeac3 TITANIC: Add missing code from CBaseStar draw3 2017-04-02 17:04:51 -04:00
Paul Gilbert 9145900924 TITANIC: Add missing code in CBaseStar draw4 2017-04-02 16:49:03 -04:00
Eugene Sandulenko 680539df84 DIRECTOR: Shorted detection tables 2017-04-02 20:40:22 +02:00
Willem Jan Palenstijn 1f373283a8 TITANIC: Fix warnings 2017-04-02 19:26:34 +02:00
Peter Kohaut 027dc4c38c BLADERUNNER: fixed lighting cache
actors can be now partially illuminated (per slice), it iss visible in scene rc02 in the right part of the room
2017-04-02 18:19:26 +02:00
Paul Gilbert 06be112b22 TITANIC: Temporarily hard-code random vectors to ease debuggin 2017-04-02 12:01:12 -04:00
Paul Gilbert fb10aec9cd TITANIC: Further cleanup of star drawing methods 2017-04-02 10:12:52 -04:00
George Kormendi 6a5c4d382e I18N: Update translation (Hungarian)
Currently translated at 99.7% (942 of 944 strings)
2017-04-02 16:06:54 +02:00
Paul Gilbert 2889f6c463 TITANIC: Cleanup and minor fixes in star drawing code 2017-04-02 10:06:42 -04:00
mézes gergely 5929d647e4 I18N: Update translation (Hungarian)
Currently translated at 99.7% (942 of 944 strings)
2017-04-02 15:56:41 +02:00
Paul Gilbert f98abd462a TITANIC: Fix CStarControlSub13 _valArray setup 2017-04-01 18:45:22 -04:00
Paul Gilbert 51f80a529b TITANIC: Renamings for CStarControlSub13 class 2017-04-01 18:01:38 -04:00
Paul Gilbert 8f54c55e90 TITANIC: Fix CStarControlSub13 loading/saving width & height 2017-04-01 17:36:10 -04:00
Paul Gilbert 03ed82ccd4 TITANIC: Fix matrix comparison in CStarControlSub12 proc15 2017-04-01 17:00:45 -04:00
Paul Gilbert 9744ca78bb TITANIC: Fix vector equality operators 2017-04-01 16:55:08 -04:00
Paul Gilbert 0ae9230be2 TITANIC: Fix loading of star position data 2017-04-01 15:52:20 -04:00
Paul Gilbert 8bce94592e TITANIC: Fix incorrect function parameter 2017-04-01 15:49:26 -04:00
Eugene Sandulenko 6e2758be11 DIRECTOR: Fix Ernie detection 2017-04-01 16:28:48 +02:00
Peter Kohaut 1740c490d7 BLADERUNNER: improvements to the walking code
path finding is still missing
video player has audio preloading
small fixes
2017-04-01 08:57:57 +02:00
Paul Gilbert 25fcb52d70 TITANIC: Renaming of crosshairs related code 2017-03-31 22:51:06 -04:00
Paul Gilbert 9891373d20 TITANIC: Fix drawing bounds in CSurfaceArea fillRect 2017-03-31 20:45:41 -04:00
Paul Gilbert f436382fe4 TITANIC: Merge fader classes into one, video surface setup fix 2017-03-31 20:13:42 -04:00
Paul Gilbert 33bcc9d058 TITANIC: Merge CSurfaceFader and base into a single file 2017-03-31 18:55:09 -04:00
Eugene Sandulenko 2454290366 DIRECTOR: Score label names are case insensitive 2017-03-31 22:06:37 +02:00
Paul Gilbert 5d11c67d00 TITANIC: Fix initialization of CStarControl _petControl reference 2017-03-30 22:32:44 -04:00
Paul Gilbert 751a96730e TITANIC: Fix rect calculation in CSurfaceArea fillRect 2017-03-30 22:24:20 -04:00
Colin Snover ee644ec01b SCI32: Check for game aborts in all kList iteration methods
This fixes a use-after-free in GK2 when restoring a second save
game, when the List reg_t is still considered valid but the List
has moved due to a partial game restore.
2017-03-30 20:49:37 -05:00
Colin Snover 3678390f3e SCI: Add clarifying comment to op_rest 2017-03-30 20:49:37 -05:00
Colin Snover a1153661c4 SCI: Stop getCurrentCallOrigin from mutating stack frames
This fixes incorrect backtraces after a workaround failure or
other call to getCurrentCallOrigin when one or more stack frames
are calls to local procedures.
2017-03-30 20:49:36 -05:00