aboutsummaryrefslogtreecommitdiff
path: root/engines/made/scriptfuncs.cpp
AgeCommit message (Collapse)Author
2015-01-27MADE: Initialize some variables, remove a useless variableStrangerke
2014-02-18MADE: Make GPL headers consistent in themselves.Johannes Schickel
2013-08-03MADE: Take advantage of Surface::getPixels.Johannes Schickel
2013-08-03MADE: Prefer getBasePtr over direct Surface::pixels access.Johannes Schickel
2012-06-16MADE: Get rid of casts on CursorManager::replaceCursor calls.Johannes Schickel
2011-10-09MADE: Minimize #include usage.Johannes Schickel
2011-06-02MADE: Remove all instances of s(n)printfMax Horn
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-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2010-11-08COMMON: Push #include audiocd.h in system.h out to .cpp filesMax Horn
svn-id: r54148
2010-07-30Merged from trunk, from Rev 50841 to HEADAlejandro Marzini
svn-id: r51495
2010-07-20Implement PlayNote/StopNote and PlayTele/StopTele for The Manhole.Matthew Hoops
svn-id: r51066
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-04-12AUDIO: Rename Mixer::playInputStream to playStreamMax Horn
svn-id: r48637
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-11Improve support for negative Timestamps, and add + and - operatorsMax Horn
svn-id: r47244
2010-01-11MADE: Use Mixer::getElapsedTime and Audio::Timestamp instead of ↵Max Horn
Mixer::getSoundElapsedTime svn-id: r47243
2009-10-04Applied patch #2872409 "MADE engine fixes" by agent-q, with one small ↵Filippos Karapetis
modification (initialized _soundStarted in the ScriptFunctions constructor) svn-id: r44589
2009-05-31MADE: cleanupMax Horn
svn-id: r41070
2009-05-24Strip trailing whitespaces in the whole code base.Johannes Schickel
svn-id: r40867
2009-03-14Reduced CPU usage of the MADE engine by about 10% (by profiling the code)Filippos Karapetis
- Added delays in places where the screen gets updated - Moved event polling inside sfPollEvent() (cause that's where events are polled), instead of after each opcode svn-id: r39392
2009-03-07Whitespace cleanup: Convert space followed by tab to just tabMax Horn
svn-id: r39203
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-25Added some unused opcodes in RodneyFilippos Karapetis
svn-id: r36057
2009-01-25Added some information on sfPlayNote, sfStopNote, sfPlayTele, sfStopTeleFilippos Karapetis
svn-id: r36056
2009-01-23- Implemented sfGetMusicBeat (used in several games as some kind of timer)Benjamin Haisch
svn-id: r36023
2009-01-22- Added support for The Manhole EGA versionBenjamin Haisch
- Support for 'chunked' picture resources and EGA pictures - Improved the mouth sync in RtZ (still not perfect, though) - Removed obsolete TODOs - Fixed sfPlayMovie to return if the movie playback was aborted or not; this is used by RtZ to determine if it should display the credits screen after the intro movie svn-id: r35997
2009-01-13Some updates/observations on script functionsFilippos Karapetis
svn-id: r35850
2009-01-13Save game headers are now verifiedFilippos Karapetis
svn-id: r35848
2009-01-13Reworked the sound energy codeBenjamin Haisch
svn-id: r35845
2009-01-13- Music now works in LGoP2Filippos Karapetis
- Changed the default music volume to 127, down from 255 - Added an explanation/FIXME for the out of sync mouth animations in RTZ - Added some TODOs and removed some obsolete ones svn-id: r35843
2009-01-06The sound energy buffer is now cleared inside decompressSound()Filippos Karapetis
svn-id: r35753
2009-01-06Sound energy values are now stored in a list, to account for the fact that ↵Filippos Karapetis
the original decompressed sounds on the fly, but we're decompressing them when the sound is being loaded svn-id: r35752
2009-01-06Changed sfGetSoundEnergy to use the correct soundEnergy value from ↵Paul Gilbert
decompressing sounds for proper lip-sync svn-id: r35751
2009-01-01Whoa! Removing trailing spaces.Eugene Sandulenko
svn-id: r35648
2008-10-04- Declared all stack functions as inlineBenjamin Haisch
- Sleep some ms after 500 opcodes to reduce CPU load - Fixed odd bug in LGoP2 where text disappeared quickly without waiting for user input by returning 0x38 in sfShowPage svn-id: r34746
2008-09-28Return 32000 in sfGetCdTime instead of 0; this fixes the Manhole ↵Benjamin Haisch
intro/credits (until the function is actually implemented) svn-id: r34671
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
2008-06-12- Added support for Rodney's Fun ScreenBenjamin Haisch
- Added audio cd playback (still kinda broken though) - Renamed getObjectPropertyPtr to findObjectProperty svn-id: r32669
2008-05-29- Implemented opcodes: sfHomeText, sfDrawAnimPicBenjamin Haisch
- Comments on unneeded opcodes - Simplified getting/setting strings in Objects svn-id: r32361
2008-05-28Fixed premature stopping of sounds/voices.Benjamin Haisch
svn-id: r32354
2008-05-26- Hopefully fixed 'responsiveness' of the mouse cursor/event handlingBenjamin Haisch
- 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-21- Moved event polling from sfPollEvent to runScriptBenjamin Haisch
- LGOP2: Fixed problem where Barth's gun was drawn at the wrong position svn-id: r32205
2008-05-20- Implemented "stand-alone" script dumper/disassembler; it can be enabled by ↵Benjamin Haisch
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-19RtZ: Fixed a bug where sounds were cut off prematurely.Benjamin Haisch
svn-id: r32188
2008-05-14Some comments to opcodes sfGetMusicBeat and sfSetTextRectFilippos Karapetis
svn-id: r32123
2008-05-14Merged the three ScriptFunctionsXXX classes into ScriptFunctionsBenjamin Haisch
svn-id: r32105
2008-05-14Removed obsolete fileFilippos Karapetis
svn-id: r32101