Commit Graph
82 Commits
Author SHA1 Message Date
Filippos Karapetis e46c1100a0 Removed leftover debug code
svn-id: r36055
2009-01-25 09:37:53 +00:00
Benjamin Haisch 6297561f7c - Implemented sound decompression for Manhole EGA
svn-id: r36048
2009-01-25 01:58:16 +00:00
Filippos Karapetis 17b82253e9 Removed leftover test code for MADE V1, used in Manhole EGA (though the sound effects in Manhole EGA are still not working)
svn-id: r36028
2009-01-24 01:03:06 +00:00
Filippos Karapetis 68a20e2aba - Removed _gameVersion, engine versions are set in the game detection entries now
- Renamed ProjectReader -> ResourceReader
- Added some WIP code for the EGA version of the Manhole (still not working/disabled)
- The resource reader now closes the files it has opened correctly when it's deleted

svn-id: r35877
2009-01-16 23:20:17 +00:00
Eugene Sandulenko 696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Benjamin Haisch 2ce4a32fb6 - Implemented cmd_restart (for the restart functionality in Return to Zork)
svn-id: r35378
2008-12-15 09:01:43 +00:00
Max Horn b085afc451 Removed obsolete refs to OSystem::kFeatureAutoComputeDirtyRects
svn-id: r35240
2008-12-04 19:09:10 +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
Benjamin Haisch 8709acb6de - Global options dialog support
svn-id: r34981
2008-11-10 00:19:43 +00:00
Benjamin Haisch 8ffcd984b0 Implemented RTL support
svn-id: r34933
2008-11-07 21:59:25 +00:00
Max Horn 40136f2590 Switched various Engine APIs to use Common::Error
svn-id: r34916
2008-11-06 17:05:54 +00:00
Benjamin Haisch 7bceafb3f2 - Fixed sprite drawing in Rodney's Funscreen
- Handle mouse button up events and event number fixes in MadeEngine::handleEvents()
- Use milliseconds -> game ticks calculation based on Windows version of the original engine
- "Rodney's Fun Screen" -> "Rodney's Funscreen"

svn-id: r32731
2008-06-18 11:01:51 +00:00
Benjamin Haisch fb31c62ad8 - Added support for Rodney's Fun Screen
- Added audio cd playback (still kinda broken though)
- Renamed getObjectPropertyPtr to findObjectProperty

svn-id: r32669
2008-06-12 11:09:04 +00:00
Benjamin Haisch 4afd19ad0f Fixed premature stopping of sounds/voices.
svn-id: r32354
2008-05-28 22:15:10 +00:00
Benjamin Haisch 885fa54f28 Split Object/GameDatabase into engine version specific classes
svn-id: r32349
2008-05-28 20:16:22 +00:00
Benjamin Haisch aa02a6758a - Hopefully fixed 'responsiveness' of the mouse cursor/event handling
- Disabled auto dirty rects which caused major gfx problems
- Added default mouse cursor for Manhole: N&E
- Fixed sound rate for Manhole: N&E
- Don't automatically show mouse cursor when a new cursor was loaded

svn-id: r32279
2008-05-26 07:27:46 +00:00
Benjamin Haisch 4074d49844 - Moved event polling from sfPollEvent to runScript
- LGOP2: Fixed problem where Barth's gun was drawn at the wrong position

svn-id: r32205
2008-05-21 10:07:33 +00:00
Benjamin Haisch 828a217a03 - Implemented "stand-alone" script dumper/disassembler; it can be enabled by defining DUMP_SCRIPTS in script.h and starting with at least debug level 1.
- Commented which script opcodes and extended functions are actually used or not.

svn-id: r32202
2008-05-20 20:00:10 +00:00
Benjamin Haisch c3b1b9bf82 Fixed timer resolution/conversion; now the vulture in the first scene of RtZ lands on the sign, and the thunder sound is in sync with the flash screen effect in the Infocom logo screen.
svn-id: r32063
2008-05-12 16:10:13 +00:00
Benjamin Haisch 9e39e7d7a2 - Fixed timers, LGOP2 intro should now play correctly
- Some cleanup in LGOP2 opcodes

svn-id: r32051
2008-05-12 09:49:10 +00:00
Benjamin Haisch 8f9cc2e164 Added patch #1956516: MADE: Fix Save File Names by clone2727 (with some modifications)
svn-id: r31919
2008-05-07 08:25:13 +00:00
Benjamin Haisch b6c7385eb4 - Renamed XmidiResource to GenericResource
- Added MIDI resource type
- Added ScriptFunctionsLgop2 and ScriptFunctionsMhne (for Leather Goddesses of Phobos 2 and The Manhole: New and Enhanced, resp.)
- Many changes for LGOP2 and The Manhole: N&E

Note about the new ScriptFunctions classes:
I copied the ScriptFunctionsRtz class and so duplicated a lot of code. Most of the opcode functions are the same in all games but there might be differences. Once all common opcode functions have been figured out, they'll be moved to a common place (like the ScriptFunctions class).

svn-id: r31871
2008-05-05 10:45:11 +00:00
Benjamin Haisch d1ef9aa213 - Added patch #1955698: MADE: Add "The Manhole" Detection
- Added detection for Leather Goddesses of Phobos 2
Note that these two games will definitely not work as expected and will probably crash!

svn-id: r31810
2008-05-02 12:08:06 +00:00
Torbjörn Andersson dd1ae2dd4f Fixed warning.
svn-id: r31697
2008-04-24 17:50:15 +00:00
Filippos Karapetis 068372ac94 Cleanup and simplification of the music playing code
svn-id: r31691
2008-04-24 14:12:08 +00:00
Benjamin Haisch efeb8a3193 Added (early) midi player code.
Added "screen flash" effect.
Implemented opcodes:
- o1_PLAYMUS
- o1_STOPMUS
- o1_ISMUS
- o1_FLASH
- o1_LOADSND
- o1_LOADMUS

svn-id: r31682
2008-04-23 23:22:02 +00:00
Filippos Karapetis 1a6bd23780 Removed file existence checks to determine game version and added game flags instead. Added the MD5 of the English floppy version of Return to Zork
svn-id: r31670
2008-04-23 18:22:06 +00:00
Benjamin Haisch 4f108832c3 Loading from rtzcd.red should now actually work.
svn-id: r31668
2008-04-23 17:41:28 +00:00
Filippos Karapetis 36bec1d5c8 Code merge
svn-id: r31648
2008-04-21 18:40:28 +00:00
Travis Howell d003b7e6a8 Add detection of the Return to Zork demo.
svn-id: r31640
2008-04-21 08:51:25 +00:00
Torbjörn Andersson 7e07dd5ec7 Changed spaces to tabs.
svn-id: r31610
2008-04-20 15:36:40 +00:00
Filippos Karapetis d0590a09ea Initial import of the work in progress MADE engine
svn-id: r31599
2008-04-20 14:43:56 +00:00