Commit Graph

64 Commits

Author SHA1 Message Date
Eugene Sandulenko
0dafa7f80f ALL: Reduce audio/ header dependency 2011-08-06 11:30:42 +01:00
Johannes Schickel
09501be85b ENGINES: Clean up SaveStateDescriptor.
Now SaveStateDescriptor no longer subclasses HashMap. Instead all possible
saved meta data is included directly into SaveStateDescriptor.

This is slightly less flexible, but we never needed that flexibility so far.
On the other hand it should reduce the memory usage. At least on my system
(Linux/amd64) the old SaveStateDescriptor had a size of 928 and the new
SaveStateDescriptor has a size of 200.
2011-07-02 21:07:55 +02:00
Thierry Crozat
06bbb57ad7 I18N: Make many more GUI MessageDialog strings translatable 2011-06-13 22:19:18 +01:00
Matthew Hoops
aa49b38c5a Merge remote branch 'upstream/master' into t7g-ios
Conflicts:
	engines/groovie/script.cpp
2011-05-31 14:16:29 -04:00
Max Horn
4cbe4ede66 COMMON: Registers RandomSources in constructor with the event recorder
This also removes the dependency of engines on the event recorder header
and API, and will make it easier to RandomSources that are not properly
registered.
2011-05-17 12:17:26 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Matthew Hoops
a1d41da096 Merge remote branch 'upstream/master' into t7g-ios
Conflicts:
	audio/decoders/qdm2.h
	common/util.cpp
	engines/groovie/music.cpp
	engines/groovie/resource.h
	video/qt_decoder.cpp
	video/qt_decoder.h
2011-05-11 00:30:28 -04: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
spookypeanut
db24f1e068 GROOVIE: fix for bug #3093310
Instead of crashing if the save game isn't writable, popup a
gui message and then skip
2011-04-25 08:51:21 +01:00
Scott Thomas
daede376e1 GROOVIE: Tweak supernatural teeth detection (for VDX playback speed) 2011-04-20 23:40:02 +09:30
Scott Thomas
8e9dbe5c3d GROOVIE: Use uint32 when searching for a video id by name
This brings ResMan::getRef into line with the rest of the engine.
2011-04-15 21:46:06 +09:30
Max Horn
2e095e25f2 ALL: centre -> center 2011-04-14 14:34:28 +02:00
Scott Thomas
7c39b844b8 GROOVIE: Add additional play-speed modes to T7G.
These two speed modes enable faster movement throughout the mansion.
iOS mode matches the behavior of the official iOS release while
tweaked mode additionally uses original framerate for 'teeth'
animations.
2011-04-07 23:38:35 +09:30
Max Horn
e27b05ef35 COMMON: Rename String::printf() to String::format()
This is a first step towards getting rid of all uses of regular printf,
fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase.

The name format() reflects the purpose of the function, and parallels
String.format() in Java, boost::format, and others.

svn-id: r54004
2010-11-01 16:02:28 +00:00
Florian Kagerer
c35e350531 AUDIO: get rid of MDT_PREFER_MIDI since it should be sufficient to either select MDT_PREFER_MT32 or MDT_PREFER_GM
svn-id: r50288
2010-06-25 20:51:57 +00:00
Max Horn
bbad3f333a Patch #1956501: "GUI/LAUNCHER: Midi device selection"
svn-id: r50128
2010-06-21 21:36:36 +00:00
Jordi Vilalta Prat
0e95d8a5fa Groovie:
- Rewritten T7G's font code to subclass Graphics::Font and make it cleaner.
- Use theme fonts for the Mac version of T7G (which used ugly system fonts
  originally). With this the Mac version should be completable.
- Cleanup include interdependencies.

svn-id: r49487
2010-06-07 17:14:42 +00:00
Matthew Hoops
1c0ffdc42d Add support for loading T7G Mac resources using the MacResManager.
svn-id: r49005
2010-05-11 15:41:31 +00:00
Max Horn
970745e60c Move DebugChannel related code to new header
svn-id: r48935
2010-05-04 11:59:22 +00:00
Max Horn
460d69e885 COMMON: Move DebugChannel stuff into a new DebugMan singleton
svn-id: r48821
2010-04-27 21:40:52 +00:00
Scott Thomas
a55e0531e8 11H: Add some more opcode stubs
svn-id: r46524
2009-12-24 08:35:11 +00:00
Jordi Vilalta Prat
c7476aa16f Groovie: Fix some styling issues pointed by cppcheck
svn-id: r45411
2009-10-26 19:06:36 +00:00
Scott Thomas
2fa7fbc1a5 T7G: Proper fix for #2847539 - remove ambiguity in multi-byte script reads.
svn-id: r44524
2009-10-01 15:58:15 +00:00
Scott Thomas
52cf649a65 T7G: Fix bug #2853185 where card puzzle doesn't clean up, resulting in a blank menu in special instances
svn-id: r44009
2009-09-08 06:23:50 +00:00
Jordi Vilalta Prat
18c43c1d90 Groovie: Replace sprintf() usage with String::printf()
svn-id: r43827
2009-08-30 16:54:35 +00:00
Scott Thomas
58f8ec5d57 Groovie: Sync changes from 16bpp branch. Hopefully no regressions sneak in here
svn-id: r43598
2009-08-21 13:57:03 +00:00
Johannes Schickel
c88cf041a4 Fix warning caused by -Wformat-security.
svn-id: r43446
2009-08-16 17:36:31 +00:00
Scott Thomas
8820b6166e T7G: Fix bug #2831041 by implementing opcode responsible for starting music partway through a video
svn-id: r43068
2009-08-05 13:57:40 +00:00
Scott Thomas
8edc0d0943 T7G: Fix bug #2831046 where save names not shown after loading a save from launcher
svn-id: r43020
2009-08-03 01:19:36 +00:00
Johannes Schickel
7e71865e91 Move the event recorder to its own class (EventRecoder inside common/EventRecorder.[h/cpp]).
svn-id: r42751
2009-07-25 12:59:46 +00:00
Eugene Sandulenko
3f6159a968 Proper implementation of microscope puzzle.
svn-id: r42634
2009-07-20 22:15:37 +00:00
Max Horn
cbea1a1193 Added more GCC_PRINTF attributes, and fixed resulting warnings in format strings
svn-id: r42054
2009-07-03 10:40:49 +00:00
Torbjörn Andersson
0999534749 The error() and warning() functions add ! and newline automatically. (I didn't
look at debug() and debugC(), since I'm really bored with this now. :-)

svn-id: r41061
2009-05-31 10:02:16 +00:00
Scott Thomas
2f61d7d77b - Convert some file references from uint16 to uint32 to suit 11H
- Add some 11H opcodes

svn-id: r39313
2009-03-10 21:54:45 +00:00
Jordi Vilalta Prat
940f19dc23 Groovie: Initial support for different opcode sets
svn-id: r39282
2009-03-10 00:19:44 +00:00
Jordi Vilalta Prat
c9d440bf5b Remove extra whitespaces
svn-id: r39024
2009-03-01 09:17:05 +00:00
Johannes Schickel
5417f6bacb - Replace OSystem::clearScreen with OSystem::fillScreen as discussed on -devel.
- Update BaseBackend and DC port to properly implement OSystem::fillScreen (now only PalmOS has to be updated).
- Update all client code which relied on OSystem::clearScreen so far.

svn-id: r38304
2009-02-15 21:20:21 +00:00
Henry Bush
d7dea4ff17 T7G: Fix for #2511456. Volume is now only reset to 100 on playing a new track, and the background track starts on beginning of input loop (not at end of main track).
svn-id: r38284
2009-02-15 19:52:44 +00:00
Henry Bush
6438c40958 T7G: Fix for 2474078 (hopefully). Check if volume has fallen to correct level at end of applyfading, in case it gets set to correct level during it.
svn-id: r36173
2009-02-01 11:56:12 +00:00
Henry Bush
b1c58328a5 T7G: revert r36125 until I figure out why it broke general midi music
svn-id: r36170
2009-02-01 09:05:23 +00:00
Max Horn
7cb437b56f Renamed SpecialDebugLevel to DebugChannel
svn-id: r36142
2009-01-30 05:10:24 +00:00
Max Horn
76deee02d6 Some more 'special debug levels' tweaks
svn-id: r36140
2009-01-30 04:52:53 +00:00
Max Horn
de7c89e381 Some work on the 'special debug levels' aka 'engine debug levels' code
svn-id: r36139
2009-01-30 04:42:30 +00:00
Henry Bush
a0a82d911c T7G: start background music at start of input loop (0x0B). Should fix 2474078, but might break other things so I'm not going to backport it.
svn-id: r36125
2009-01-28 23:29:19 +00:00
Jordi Vilalta Prat
4db2899253 Hide the mouse cursor when loading a saved game
svn-id: r35863
2009-01-14 16:05:26 +00:00
Jordi Vilalta Prat
59d41b30ff Show the cursor and update it properly when closing the GMM.
svn-id: r35858
2009-01-14 03:09:19 +00:00
Jordi Vilalta Prat
215af6f3b4 Reduced savegame code duplication and added savegame format versioning.
svn-id: r35855
2009-01-13 23:22:47 +00:00
Henry Bush
9446bfa503 T7G: Stage one of move to ScummVM's CursorMan: rename groovie one so it doesn't have same name
svn-id: r35793
2009-01-08 23:06:08 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Scott Thomas
bc378bdb8f Fix for dialogue from Stauf and Ego during puzzles.
svn-id: r35620
2008-12-30 10:19:16 +00:00