82 Commits

Author SHA1 Message Date
D G Turner
3544fe355a TUCKER: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-11-09 17:54:34 +00:00
Eugene Sandulenko
a9d12069d8 TUCKER: Added support for Russian fan translation 2018-12-30 19:52:27 +01:00
Adrian Frühwirth
dd431526be TUCKER: Use nullptr 2018-07-04 12:42:34 +02:00
Adrian Frühwirth
0749507a34 TUCKER: Add Location enum 2018-03-21 16:47:10 +01:00
Adrian Frühwirth
51027a02cf TUCKER: Get rid of strcpy() 2018-03-18 01:17:00 +01:00
Adrian Frühwirth
3de75901c3 TUCKER: Fix wrong sound effects being played
Fixes Trac#6376, Trac#6377 and probably many more unreported instances
of wrong audio samples being played.
2018-03-14 19:26:30 +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
7aee8f4e42 TUCKER: Add Part enum 2018-03-02 17:38:04 +01:00
Adrian Frühwirth
dce8a98a18 TUCKER: Add CursorStyle and CursorState enums 2018-03-02 17:26:12 +01:00
Adrian Frühwirth
0ec258f5ff TUCKER: Fix original game glitch in Bud animation sequence 8
Fixes Trac#10430.
2018-02-11 11:58:26 +01:00
Adrian Frühwirth
43053644a8 TUCKER: Remove superfluous arguments in loadBudSpr et al 2018-02-11 11:50:52 +01:00
Ori Avtalion
f35bdb680d TUCKER: Don't try parsing missing debug values in demo
Fixes the demo thinking it's in debug mode and allowing ESC to quit.
2016-03-12 21:29:10 +02:00
Strangerke
de4060d4a1 TUCKER: Skip the display of the intro and of the chapter number when a game is loaded from launcher 2014-05-25 14:05:14 +02:00
Strangerke
006690789a TUCKER: Add a check to error out when the index isn't found for a given location number 2014-05-24 13:53:42 +02:00
Strangerke
7363009cd5 TUCKER: Initialize some more pointers with nullptr instead of 0 2014-03-15 13:36:35 +01:00
Strangerke
f30246187e TUCKER: Use boolean instead of integer in several places 2014-03-15 12:34:08 +01:00
Strangerke
661f041472 TUCKER: Initialize some pointers with nullptr instead of 0 2014-03-15 12:02:44 +01:00
Strangerke
3c76acf445 TUCKER: Some renaming in Graphics 2014-03-09 15:13:56 +01:00
Strangerke
0c247b26b4 TUCKER: Some more renaming 2014-03-08 18:36:54 +01:00
Strangerke
88aa12387f TUCKER: Avoid a potential string overrun by using strlcpy instead of strcpy 2014-03-07 19:33:31 +01:00
Strangerke
9ce5f1c90c TUCKER: Use a boolean for drawFlag instead of an integer 2014-03-07 19:21:13 +01:00
Strangerke
d0b9a52f64 TUCKER: Some more renaming 2014-03-07 19:21:11 +01:00
Strangerke
854635c5c1 TUCKER: Start renaming struct members to follow coding/naming conventions 2014-03-07 17:34:48 +01:00
Matthew Hoops
740b6e8fbd IMAGE: Move all ImageDecoders to image/ 2014-02-28 00:27:28 -05:00
Johannes Schickel
9e90dcd346 TUCKER: Make GPL headers consistent in themselves. 2014-02-18 02:39:39 +01:00
Filippos Karapetis
617545cb5f TUCKER: Switch to the common PCX decoder 2012-09-13 01:50:45 +03:00
D G Turner
5015d12142 TUCKER: Replace snprintf() usage with Common::String::format()
Safer and less portability issues.
2011-06-02 18:02:12 +01: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
Gregory Montoir
855b676cd4 TUCKER: cleanup, removed unused variables 2011-02-19 15:52:03 +01:00
Gregory Montoir
34f428ea91 TUCKER: cleanup 2011-02-18 15:20:31 +01:00
Max Horn
42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +00:00
Max Horn
2180b2d6b5 COMMON: Split common/stream.h into several headers
svn-id: r54385
2010-11-19 17:03:07 +00:00
Max Horn
a1840bd573 AUDIO: Rename Mixer::playInputStream to playStream
svn-id: r48637
2010-04-12 09:14:17 +00:00
Johannes Schickel
fe35d372da - Rename FlacStream to FLACStream.
- Rename makeFlacStream to makeFLACStream.

svn-id: r47846
2010-02-03 09:42:11 +00:00
Max Horn
1565f14bc1 Moved audio stream implementations (for MP3, FLAC, etc.) to new dir sound/decoders/
svn-id: r47579
2010-01-26 22:48:45 +00:00
Max Horn
7ec2da968c Switch most AudioStream factories to use DisposeAfterUse::Flag
svn-id: r47334
2010-01-16 21:36:08 +00:00
Johannes Schickel
616e4626f5 Since AudioStream looping is no longer handled by the Mixer, drop Mixer::playAudioStreamLooping. (There's Audio::makeLoopingAudioStream).
svn-id: r47160
2010-01-08 16:27:29 +00:00
Johannes Schickel
b47725540f Cleanup.
svn-id: r47133
2010-01-07 17:04:32 +00:00
Johannes Schickel
4f52dcea66 Adapt TUCKER to use RewindableAudioStream and Mixer::playInputStreamLooping. (Needs testing, please :-)
svn-id: r47130
2010-01-07 16:44:17 +00:00
Johannes Schickel
d5fe29c3c9 Make makeWAVStream return a RewindableAudioStream.
svn-id: r47129
2010-01-07 16:34:56 +00:00
Johannes Schickel
b80779824f - Strip custom looping code out of FLAC, Vorbis and MP3 streams
- Adapt the legacy make*Stream factories to use the new AudioStream subclasses
- Change return value of make*Stream back to AudioStream *

svn-id: r47111
2010-01-07 14:22:24 +00:00
Johannes Schickel
f5c3bd887e - Add a new SeekableAudioStream interface. Soon to be used to replace audio stream specific looping code by generic code in Mixer...
- Adapted some existing AudioStreams to implement that interface (not tested!)

svn-id: r47013
2010-01-05 02:27:24 +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
Max Horn
d4d1346ceb TUCKER: Convert one more loadWAVFromStream instance to makeWAVStream
svn-id: r45101
2009-10-14 23:30:06 +00:00
Gregory Montoir
d971b0737a TUCKER: ignore selected verb when displaying options (tracker item #2872383 - Look at options)
svn-id: r44898
2009-10-11 09:25:31 +00:00
Gregory Montoir
1b1471e8da TUCKER: add missing compressed file close when version doesn't match
svn-id: r44392
2009-09-27 10:36:30 +00:00
Gregory Montoir
fde3814fbc TUCKER: skip sound file loading if not available in compressed bundle
svn-id: r43736
2009-08-25 21:42:12 +00:00
Gregory Montoir
e4d04fec8d TUCKER: add support for commpressed intro sound effects
svn-id: r43733
2009-08-25 21:28:29 +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