Commit Graph

174 Commits

Author SHA1 Message Date
Max Horn
fb79b18571 Changed SaveFileManager methods to take Common::String params (instead of char pointers)
svn-id: r41000
2009-05-29 14:38:22 +00:00
Johannes Schickel
b3c6751b9b Strip trailing whitespaces in the whole code base.
svn-id: r40867
2009-05-24 15:17:42 +00:00
Jordi Vilalta Prat
f903e32c51 Groovie: Add non-uniform scaling to the ROQ player
svn-id: r39408
2009-03-15 04:34:00 +00:00
Jordi Vilalta Prat
efa319ff67 Groovie: Added basic alpha channel support to the ROQ player
svn-id: r39406
2009-03-15 03:51:03 +00:00
Eugene Sandulenko
f2a1e593c9 Give more meaningful names to detected entries.
svn-id: r39388
2009-03-14 11:26:46 +00:00
Eugene Sandulenko
57b983604b Avoid polluting of global gameid namespace and restore compatibility with
0.13.0

svn-id: r39387
2009-03-14 10:55:52 +00:00
Jordi Vilalta Prat
3a5a822456 Groovie: We need to save gameids to distinguish different entries detected from the same game files
svn-id: r39358
2009-03-12 14:40:27 +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
Scott Thomas
a4ad40235c Fix graphics corruption in 11H FMV streams
svn-id: r39291
2009-03-10 07:35:06 +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
047f116515 Renamed MetaEngine::getCopyright() to getOriginalCopyright() to better match the meaning of the returned string, as discussed some time ago in scummvm-devel
svn-id: r39132
2009-03-05 12:04:58 +00:00
Max Horn
59b374505f Fixed weirdness in groovie (as reported on scummvm-devel)
svn-id: r39109
2009-03-04 06:08:30 +00:00
Jordi Vilalta Prat
c9d440bf5b Remove extra whitespaces
svn-id: r39024
2009-03-01 09:17:05 +00:00
Jordi Vilalta Prat
e5e733781e Groovie: Merged init() and go() into run()
svn-id: r39023
2009-03-01 09:12:32 +00:00
Max Horn
3fcbda829a Merged Engine::go() and ::init() into a new run() method (currently implemented by calling the existing init&go methods; to be cleaned up by engine authors
svn-id: r39002
2009-03-01 04:30:55 +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
c137d75784 T7G: print out the current script pos in decimal too (to match ST's decomp's ;-)
svn-id: r38283
2009-02-15 19:45:36 +00:00
Paul Gilbert
4e66e6db70 Fixed compiler warning about loss of precision
svn-id: r38222
2009-02-15 10:32:06 +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
e21f5febdc Don't use g_engine to access the mixer
svn-id: r36147
2009-01-30 15:41: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
Max Horn
28cf213605 Moved AdvancedDetector from common/ to engines/
svn-id: r36132
2009-01-29 22:13:01 +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
Max Horn
ce39c26d14 -1 is not an uint8. Assuming ones-complement, though, I guess 255 was meant
svn-id: r35865
2009-01-14 18:52:25 +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
be346a6b5f - Initialize the current cursor to an invalid one (this removes a glitch when loading from the launcher)
- Removed the _syst attribute in Cursor_t7g

svn-id: r35856
2009-01-14 02:08:44 +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
Jordi Vilalta Prat
cd7ab24dd6 Added const qualifier to (char *) parameter
svn-id: r35854
2009-01-13 23:00:14 +00:00
Jordi Vilalta Prat
6801112956 Fix dithering of scaled videos
svn-id: r35844
2009-01-13 15:40:46 +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
Henry Bush
8eb7d55eca T7G: Reset midi volume to 100 on starting a track, cleanup
svn-id: r35792
2009-01-08 23:01:34 +00:00
Jordi Vilalta Prat
1f63a1dfcd Fix an invalid access when the quit opcode occupies the last byte of the script, due to the quit status being updated by the event loop
svn-id: r35779
2009-01-07 23:05:28 +00:00
Jordi Vilalta Prat
f07d962734 Complete the ROQ video decoding (there are still a few minor glitches)
svn-id: r35778
2009-01-07 22:35:35 +00:00
Jordi Vilalta Prat
7122248c72 Use the proper samples file name for 11h
svn-id: r35656
2009-01-01 22:49:44 +00:00
Max Horn
6561a7bf36 Set/unified svn:keywords for all *.h and *.cpp files
svn-id: r35651
2009-01-01 17:05:05 +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
Eugene Sandulenko
842af1ee4a Add detection for Russian The 7th Guest.
svn-id: r35614
2008-12-29 16:58:48 +00:00
Scott Thomas
d8abe49a78 T7G graphics enhancement: Add the unused skeleton graphics to the maze
svn-id: r35598
2008-12-29 06:23:52 +00:00
Jordi Vilalta Prat
6fed0af5d1 Allocate just the required memory for scripts (spotted by sev)
svn-id: r35525
2008-12-24 15:30:31 +00:00
Scott Thomas
37bb8daf3d T7G: Implement runtime script fix for cake puzzle bug.
svn-id: r35520
2008-12-24 05:41:27 +00:00
Matthew Hoops
a159fc8937 Update detection of the 11th hour demo. The disk.1 wasn't with the other files.
svn-id: r35509
2008-12-23 21:17:39 +00:00
Filippos Karapetis
672b82324a Silenced MSVC warnings
svn-id: r35507
2008-12-23 20:41:25 +00:00
Jordi Vilalta Prat
71d879296b Fix a valgrind error by using the appropiate delete operator
svn-id: r35498
2008-12-23 17:20:01 +00:00
Jordi Vilalta Prat
e04b49df62 T7G: Fix the stuck mouse cursor
svn-id: r35494
2008-12-23 09:55:07 +00:00
Jordi Vilalta Prat
1162e9a035 T7G: Don't wait for the CD track to end
svn-id: r35493
2008-12-23 08:24:06 +00:00
Jordi Vilalta Prat
95833732b3 Improve the palette fading (timing and factor calculation), which fixes the introduction synchronization as a result
svn-id: r35492
2008-12-23 08:15:10 +00:00
Matthew Hoops
be66a538b4 add detection for The 11th Hour demo
svn-id: r35469
2008-12-21 17:53:38 +00:00
Jordi Vilalta Prat
3f3b742cd6 T7G: Add support for custom AdLib instruments
svn-id: r35440
2008-12-19 16:55:54 +00:00
Johannes Schickel
28d33e01e9 Fixed cursor palette when returning from GMM/Debugger. (Thanks to jvprat for testing)
svn-id: r35428
2008-12-18 20:36:16 +00:00
Scott Thomas
f2497e5ef7 T7G: Fix for performance issue in save/load screen when hovering savegames
svn-id: r35256
2008-12-06 11:01:44 +00:00
Henry Bush
f10f151ff7 T7G: Reset origin at end of video: should fix seg fault after losing the microscope puzzle. Plus cleanup bitflag debugging.
svn-id: r35195
2008-11-30 21:17:58 +00:00
Henry Bush
ffaa47fb44 T7G: Stop errorString from printing script position
svn-id: r35194
2008-11-30 21:16:04 +00:00
Jordi Vilalta Prat
834d2c5f27 T7G: Enhanced the Audio CD playback. Now the credits music on CD2 should play by ripping it as track 2 (not tested).
svn-id: r35167
2008-11-25 00:41:51 +00:00
Jordi Vilalta Prat
4360757236 T7G: Implemented volume fading
svn-id: r35166
2008-11-24 21:53:23 +00:00
Henry Bush
184c15905d T7G: Add a debug level to play movies fast with no pcm sound (unstable)
svn-id: r35165
2008-11-24 21:48:40 +00:00
Henry Bush
ba3edfbd51 T7G: AI in microscope puzzle is "complete" (ie good enough for now)
svn-id: r35164
2008-11-24 21:22:24 +00:00
Henry Bush
d41ebfae81 T7G Microscope: Stauf now makes legal moves (though not good ones)
svn-id: r35154
2008-11-22 23:07:05 +00:00
Henry Bush
04b048a9c3 T7G: Add framework for microscope puzzle AI
svn-id: r35122
2008-11-19 00:37:20 +00:00
Torbjörn Andersson
48e1316da9 Added a mutex to the Groovie MIDI player. Maybe that will fix the rare and
unpredictable crashes I've been seeing.

svn-id: r35116
2008-11-18 19:29:51 +00:00
Johannes Schickel
2ef8a32a01 Fixed various g++ warnings ("format not a string literal and no format arguments").
svn-id: r35096
2008-11-16 20:20:31 +00:00
Henry Bush
e1fdb1f882 T7G: Two leftover commits from t7gre: fix broken palette on intro video, and add scriptvar debug flag
svn-id: r35095
2008-11-16 19:20:30 +00:00
Jordi Vilalta Prat
9671b3a514 Simplify error debugging by implementing GroovieEngine::errorString()
svn-id: r35087
2008-11-15 18:56:39 +00:00
Jordi Vilalta Prat
cd32c4d6bc Fix for bug "Save game's names don't show up" (issue 31 on google code)
svn-id: r35078
2008-11-15 11:23:02 +00:00
Jordi Vilalta Prat
402f8c388f Added GroovieMetaEngine::getMaximumSaveSlot()
svn-id: r35077
2008-11-15 10:50:57 +00:00
Eugene Sandulenko
194a10c77c Turn on single gameid in order to avoid polluting gameid namespace.
svn-id: r35076
2008-11-15 09:08:15 +00:00
Torbjörn Andersson
e5d0462af6 Initialise _current. Fixes a Valgrind warning.
svn-id: r35067
2008-11-14 23:37:30 +00:00
Johannes Schickel
5a0556f09c Committed my patch #2123680 "SDL: Backend transaction / rollback support".
svn-id: r35062
2008-11-14 22:08:10 +00:00
Max Horn
bb87d39424 Patch #2271425: Groovie engine
svn-id: r35060
2008-11-14 21:32:20 +00:00