Commit Graph
54 Commits
Author SHA1 Message Date
Gregory Montoir f29cdfcf46 TUCKER: fix xPos comparison in location 65
The FIXME was based on the disassembly wrongly using yPos in the
first condition. Flag[189] should only be set when xPos is in
manhole object range.
2022-05-22 08:47:09 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
sluicebox 93eeffc84d JANITORIAL: Update old bug tracker numbers 2021-03-03 02:15:05 +02:00
Adrian Frühwirth 0749507a34 TUCKER: Add Location enum 2018-03-21 16:47:10 +01:00
Adrian Frühwirth 5a07bc82c3 TUCKER: Remove unhelpful comment
Code matches disassembly and works like in the original. I can't spot
anything out of the ordinary with regards to audio playback either.
2018-03-20 23:22:35 +01:00
Adrian Frühwirth ef593ed8e3 TUCKER: Work around original game bug when using the map in the mall in part three
If you don't have the appointment card yet and use the map to go to
Seedy Street Bud ends up being teleported back to the mall.
Because of the destination coordinates which warp Bud past x==583
Violet's logic, which makes him refuse Bud entrance to the dentist,
triggers. On top of that the graphics end up all garbled which
indicates that even worse things happen under the hood.
To work around this we only trigger Violet if Bud actually _walked_
past the trigger coordinates (as opposed to using the map).

This fixes Trac#10452.
2018-03-19 23:31:19 +01:00
Adrian Frühwirth 3de1ba11b3 TUCKER: Use Verb enum in more places 2018-03-02 22:52:41 +01:00
Adrian Frühwirth 5b89fd7dab Add PanelState, PanelStyle and PanelType enums
The new _panelState tells if the panel is currently in the process
of being toggled between icon-style and text-style verbs and thus
animated.

The new _panelStyle tells wich verb-style the panel currently uses.

The new _panelType tells which mode the panel currently is in:
  - verbs + inventory (normal)
  - empty (used for dialogs)
  - save, load, play, quit buttons
  - save/load savegame

Also, switchPanelType() has been renamed to togglePanelStyle() and
kInputKeyToggleInventory to kInputKeyTogglePanelStyle to better
match the above changes.
_switchPanelFlag has been dropped in favor of using the new _panelState.

TODO: Store _panelStyle in savegames.
2018-03-02 19:41:45 +01:00
Adrian Frühwirth dce8a98a18 TUCKER: Add CursorStyle and CursorState enums 2018-03-02 17:26:12 +01:00
Adrian Frühwirth 9c910b9000 TUCKER: Fix dentist music in mall being played incorrectly 2018-01-31 19:17:35 +01:00
Adrian Frühwirth 4daf3e4ea5 TUCKER: Fix bubbles in Plugs shop
Fixes Trac#6641.
2018-01-31 19:06:57 +01:00
Eugene Sandulenko cb5436dd16 TUCKER: Clarify comment in room palette handling code 2018-01-31 18:37:24 +01:00
Adrian Frühwirth 7485fc3f75 TUCKER: Fix color cycling in submarine room
Fixes Trac#6378.
2018-01-31 18:36:03 +01:00
Strangerke f30246187e TUCKER: Use boolean instead of integer in several places 2014-03-15 12:34:08 +01:00
Strangerke 113a4ac71a TUCKER: Fix some values assigned to _csDataLoaded 2014-03-09 00:15:27 +01:00
Strangerke 28ade2239a TUCKER: make _panelLockedFlag a boolean instead of an integer 2014-03-09 00:12:34 +01:00
Strangerke 0b9ba6ad29 TUCKER: Some more renaming 2014-03-09 00:00:27 +01:00
Strangerke 0c247b26b4 TUCKER: Some more renaming 2014-03-08 18:36:54 +01:00
Strangerke 81815f0b8a TUCKER: Change the type of some variables to boolean 2014-03-08 18:07:24 +01:00
Strangerke d0b9a52f64 TUCKER: Some more renaming 2014-03-07 19:21:11 +01:00
Strangerke fbc63ebd68 TUCKER: Use boolean in place of integer for some members of the Sprite structure 2014-03-07 17:50:36 +01:00
Strangerke 854635c5c1 TUCKER: Start renaming struct members to follow coding/naming conventions 2014-03-07 17:34:48 +01:00
Strangerke cf33c60282 TUCKER: Remove some useless modification of sprite state 2014-03-07 14:35:56 +01:00
Strangerke 705b48025b TUCKER: Reduce the scope of some variables 2014-03-07 14:33:43 +01:00
Johannes Schickel 9e90dcd346 TUCKER: Make GPL headers consistent in themselves. 2014-02-18 02:39:39 +01:00
Gregory Montoir 65608952c2 TUCKER: remove duplicated logic branches in locations 48 and 66 (checked against the original) 2011-12-02 21:13:16 +01:00
Filippos Karapetis 86387f1d70 TUCKER: Added FIXMEs for seemingly superfluous logic branches 2011-11-03 22:53:32 +02:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion 9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Johannes Schickel e21d6e0d11 Merge branch 'osystem-palette' of https://github.com/lordhoto/scummvm into master
Conflicts:
	backends/platform/android/android.cpp
	engines/sci/graphics/screen.cpp
	engines/sci/graphics/transitions.cpp
2011-02-19 21:46:45 +01:00
Gregory Montoir 0962f332cb TUCKER: fix #2872348 - walk bug by switching places in museum
Looks like an original game glitch, prevent hard-coded sequence
execution on location switch (after using map).
2011-02-19 12:29:03 +01:00
Gregory Montoir 0bffd77dfe TUCKER: fix #3106766 - Bubbles in Plugs Shop too heavy 2011-02-18 15:20:31 +01:00
Gregory Montoir 3557ff5747 TUCKER: fix #3106536 - Punk stuck (moving in background) 2011-02-18 15:18:44 +01:00
Gregory Montoir a0d74d0459 TUCKER: fix #3106520 - Prison water drop leaves a line 2011-02-18 15:18:44 +01:00
Johannes Schickel 362b0cd5e4 TUCKER: Adapt to setPalette RGBA->RGB change.
This change has not been tested, since I do not own copy of Tucker.
2011-02-14 17:08:33 +01:00
Max Horn ab039812e7 COMMON: OSystem now has a PaletteManager
svn-id: r55806
2011-02-07 17:52:38 +00:00
Gregory Montoir a85b22e092 TUCKER: fix several issues in ending sequences (tracker item #2872355 - Minor bugs outro)
svn-id: r45200
2009-10-17 20:06:46 +00:00
Gregory Montoir 0f564aad81 TUCKER: add clipping for text drawing
svn-id: r44393
2009-09-27 10:36:45 +00:00
Gregory Montoir c9ac83c2c0 fix bug #2597980 - TUCKER: Sprite glitch
svn-id: r42610
2009-07-19 11:07:17 +00:00
Gregory Montoir b98fdb997d tucker: fixed issues with dirty rects handling (tracker item #2597763)
svn-id: r42456
2009-07-13 22:11:54 +00:00
Gregory Montoir 5a03e5cca1 simplified .raw/.wav data files handling in introduction sequences
svn-id: r41520
2009-06-14 15:07:34 +00:00
Gregory Montoir 2fd66d8eae some cleanup :
- separated instruction table parsing from instruction execution
- added a few debug calls to monitor game flags changes
- some variables/functions renaming

svn-id: r40454
2009-05-11 14:04:44 +00:00
Gregory Montoir db7073b15a cleanup
svn-id: r38685
2009-02-21 11:29:56 +00:00
Gregory Montoir 36767120e1 correct sprite state for location 43 (fixes #2600759)
svn-id: r38188
2009-02-15 01:48:18 +00:00
Max Horn d53a340a4d Some cleanup (one could replace some of those switch/case by jump tables...)
svn-id: r35876
2009-01-16 23:18:18 +00:00
Max Horn 0a169612ee TUCKER: Got rid of _fileToLoad
svn-id: r35875
2009-01-16 21:19:30 +00:00
Max Horn 1082d82ba8 TUCKER: Simplify TuckerEngine::copyLocBitmap
svn-id: r35873
2009-01-16 20:53:43 +00:00
Max Horn df20d264fd Pushing down some header deps (on common/system.h, mostly)
svn-id: r35542
2008-12-25 20:40:00 +00:00
Gregory Montoir c3fa73a010 added dirty screen rects redraw
svn-id: r35274
2008-12-07 14:22:05 +00:00
Gregory Montoir db0c951a0d various fixes, Bud Tucker should now be completable (tested with french version)
svn-id: r35155
2008-11-23 03:42:01 +00:00