aboutsummaryrefslogtreecommitdiff
path: root/engines/made/made.cpp
AgeCommit message (Collapse)Author
2019-07-16MADE: Remove unused variablejepael
2019-06-10MADE: Remove leftover code. This lets run gracefully with -p parameterEugene Sandulenko
2017-10-07ENGINES: Remove default1x scaler flagColin Snover
This flag is removed for a few reasons: * Engines universally set this flag to true for widths > 320, which made it redundant everywhere; * This flag functioned primarily as a "force 1x scaler" flag, since its behaviour was almost completely undocumented and users would need to figure out that they'd need an explicit non-default scaler set to get a scaler to operate at widths > 320; * (Most importantly) engines should not be in the business of deciding how the backend may choose to render its virtual screen. The choice of rendering behaviour belongs to the user, and the backend, in that order. A nearby future commit restores the default1x scaler behaviour in the SDL backend code for the moment, but in the future it is my hope that there will be a better configuration UI to allow users to specify how they want scaling to work for high resolutions.
2016-05-02MADE: Init class variablesEugene Sandulenko
2016-03-13BACKENDS: Only expose one set of functions for AudioCDManagerMatthew Hoops
Engines should only have to call one set of functions and not decide between the two. In fact, the 'emulation' API was documented to just call the 'real CD' API.
2016-03-13BACKENDS: Move to an openCD() without parameters as the public APIMatthew Hoops
2015-07-05MADE: Cleanup AdLib driver initialization...Torbjörn Andersson
... as per m_kiewitz's suggestions.
2015-07-05MADE: Allow loading of sample.ad from rtzcd.redTorbjörn Andersson
At the moment, AdLib music doesn't work yet though. At least not for this particular case.
2015-07-02MADE: Limit Miles audio to Return to Zork only, and enable Adlib support.Kirben
2014-02-18MADE: Make GPL headers consistent in themselves.Johannes Schickel
2013-11-03MADE: Create MusicPlayer in run() instead of MadeEngine's constructor.Johannes Schickel
This fixes MT-32 emulator initialization. When the constructor is run the paths like extrapath etc. are not yet set up. Thus, the MT-32 emulator would not be able to find the necessary roms in case they are in the extrapath.
2011-10-09MADE: Minimize #include usage.Johannes Schickel
2011-06-02MADE: Remove all instances of s(n)printfMax Horn
2011-05-17COMMON: Registers RandomSources in constructor with the event recorderMax Horn
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-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-03-23ENGINES: Further simplify pseudo MidiDrivers; fix some regressionsMax Horn
The regression affected AGOS and maybe some others; specifically, the real MidiDriver would have been deleted twice -- I previously missed that the Engine instances takes care of freeing the real MidiDriver, not the MidiPlayer wrapping it. This commit should clarify the ownership of the real MidiDriver for most pseudo MidiDrivers.
2011-03-19MADE: Cleanup syncSoundSettings()dhewg
And respect global mute settings
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2010-11-29MADE: Fixed bug #3090034 - "RTZ: Keyboard unresponsive", by properly ↵Filippos Karapetis
handling keyboard keys svn-id: r54568
2010-11-08COMMON: Push #include audiocd.h in system.h out to .cpp filesMax Horn
svn-id: r54148
2010-11-08BACKENDS: Partial merge of gsoc2010-opengl: Audio CD changes onlyMax Horn
This commit contains the AudioCDManager changes from the gsoc2010-opengl branch. The other changes in that branch are restricted to the backends directory only (plus configure). The Nintendo DS and Dreamcast ports still need to be ported over to the new Audio CD system, but that should be fairly easy to do. svn-id: r54147
2010-11-08MADE: Added basic debugging console to engineDavid Turner
MADE does not currently use Debug Channels, but this does provide a base for adding them along with any other debugging commands. svn-id: r54139
2010-10-13OPENGL: Merged from trunk, from rev 52105 to 53396.Johannes Schickel
This includes an rather hacky attempt to merge all the recent gp2x backend changes into the branch. I suppose the gp2x backend and probably all new backends, i.e. gph, dingux etc., might not compile anymore. Since I have no way of testing those it would be nice if porters could look into getting those up to speed in this branch. svn-id: r53399
2010-09-15MIDI: Send a reset MIDI device signal on startup.Johannes Schickel
This is currently done in the engine code. I adapted AGI, AGOS, DRACI, GROOVIE, LURE, MADE, QUEEN, SAGA, SKY, TINSEL and TOUCHE to send a reset device on startup. The sound output still works fine (started up a game from every engine), so this should hopefully not introduce any regressions. As far as I can tell it seems that SCUMM does send a proper device reset, so I did not touch it. KYRA only sends a proper reset for MT-32 currently. I am not sure about SCI though. This fixes bug #3066826 "SIMON: MIDI notes off when using RTL after SCI". svn-id: r52736
2010-07-13Merged from trunk, from Rev 49499 to HEADAlejandro Marzini
svn-id: r50840
2010-06-25AUDIO: get rid of MDT_PREFER_MIDI since it should be sufficient to either ↵Florian Kagerer
select MDT_PREFER_MT32 or MDT_PREFER_GM svn-id: r50288
2010-06-21Patch #1956501: "GUI/LAUNCHER: Midi device selection"Max Horn
svn-id: r50128
2010-06-15Renamed getAudioCD to getAudioCDManager.Alejandro Marzini
svn-id: r49678
2010-06-09- Revised abstract AudioCDManager.Alejandro Marzini
- Removed AudioCDManager Singleton, and changed code for using AudioCDManager in OSystem. - Added initialization code for new AudioCDManager in BaseBackend and OSystem_SDL. svn-id: r49548
2010-05-04Move initGraphics and initCommonGFX from to new header.Max Horn
These functions are only used internally be Engine subclasses, and by moving them to a separate header we can reduce indirect header dependencies. svn-id: r48934
2010-01-12Rename all "Adlib" uses to "AdLib" to match the real name of the sound card ↵Johannes Schickel
/ company. Check this for reference: http://en.wikipedia.org/wiki/Ad_Lib,_Inc. http://www.crossfire-designs.de/images/articles/soundcards/adlib.jpg (note the upper left of the card) This commit does not touch "adlib" and "ADLIB" uses! Also it does not update all the SCUMM detection entries, which still use "Adlib". svn-id: r47279
2009-12-09Changed MidiDriver::createMidi to take a MidiDriverType instead of an intMax Horn
svn-id: r46316
2009-08-18Made AGOS, DRASCULA, GOB, GROOVIE, MADE, SCUMM and TINSEL properly stop CD ↵Johannes Schickel
audio playback on engine quit. (This only problem affected playback from CD, not from ripped audio files) svn-id: r43512
2009-07-25Move the event recorder to its own class (EventRecoder inside ↵Johannes Schickel
common/EventRecorder.[h/cpp]). svn-id: r42751
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-03-01Engines: Fused several init&go methods into a single run methodMax Horn
svn-id: r39003
2009-02-04- Fixed/completed cd audio support (sfPlayCd and sfGetCdTime) for ↵Benjamin Haisch
Manhole:N&E and RtZ CD svn-id: r36217
2009-01-25Removed leftover debug codeFilippos Karapetis
svn-id: r36055
2009-01-25- Implemented sound decompression for Manhole EGABenjamin Haisch
svn-id: r36048
2009-01-24Removed leftover test code for MADE V1, used in Manhole EGA (though the ↵Filippos Karapetis
sound effects in Manhole EGA are still not working) svn-id: r36028
2009-01-16- Removed _gameVersion, engine versions are set in the game detection ↵Filippos Karapetis
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-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-12-15- Implemented cmd_restart (for the restart functionality in Return to Zork)Benjamin Haisch
svn-id: r35378
2008-12-04Removed obsolete refs to OSystem::kFeatureAutoComputeDirtyRectsMax Horn
svn-id: r35240
2008-11-14Committed my patch #2123680 "SDL: Backend transaction / rollback support".Johannes Schickel
svn-id: r35062
2008-11-10- Global options dialog supportBenjamin Haisch
svn-id: r34981
2008-11-07Implemented RTL supportBenjamin Haisch
svn-id: r34933
2008-11-06Switched various Engine APIs to use Common::ErrorMax Horn
svn-id: r34916
2008-06-18- Fixed sprite drawing in Rodney's FunscreenBenjamin Haisch
- 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