aboutsummaryrefslogtreecommitdiff
path: root/engines/made/scriptfuncs.cpp
AgeCommit message (Collapse)Author
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
2008-05-02Fix warningsMax Horn
svn-id: r31829
2008-04-30Implemented savegame loading/saving and sprite clippingBenjamin Haisch
Fixed bug in Screen::printTextEx Implemented opcodes: - o1_DRAWTEXT - o1_DRAWMENU - o1_MENUCOUNT - o1_SAVEGAME - o1_LOADGAME - o1_GAMENAME svn-id: r31794
2008-04-29Fixed bug in o1_READMENU where an incorrect string length was returned.Benjamin Haisch
Also fixed o1_EVENT to return the correct event number when a key was pressed and removed the debug code there. svn-id: r31781
2008-04-29Fix warningMax Horn
svn-id: r31778
2008-04-28Implemented text drawing and cleanup.Benjamin Haisch
svn-id: r31756
2008-04-24Implemented opcodes o1_DROPSHADOW, o1_TEXTCOLOR, o1_OUTLINE. Added some ↵Filippos Karapetis
initial code for opcode o1_TEXTRECT svn-id: r31711
2008-04-24Some initial code for font loadingFilippos Karapetis
Implemented opcode o1_LOADANIM svn-id: r31698
2008-04-24Unimplemented commands and opcodes throw a warning nowFilippos Karapetis
svn-id: r31693
2008-04-24Slight cleanup to o1_PLAYSNDFilippos Karapetis
svn-id: r31684
2008-04-23Added (early) midi player code.Benjamin Haisch
Added "screen flash" effect. Implemented opcodes: - o1_PLAYMUS - o1_STOPMUS - o1_ISMUS - o1_FLASH - o1_LOADSND - o1_LOADMUS svn-id: r31682
2008-04-23Fixed palette issues when showing the inventory and the menu.Benjamin Haisch
Moved drawing code from drawFlex/drawAnimFrame to drawSurface. Implemented opcodes: - o1_VISUALFX - o1_SCREENLOCK - o1_SETTIMER - o1_SETGROUND - o1_SETCLIP - o1_SETEXCLUDE svn-id: r31675
2008-04-23In-game sound effects and voices should be working correctly now.Filippos Karapetis
Implemented the following opcodes: - o1_PLAYSND - o1_ISSND - o1_STOPSND - o1_PLAYVOICE - o1_SOUNDRATE - o1_SETVOLUME svn-id: r31666
2008-04-22Implemented o1_EVENTKEY. Removed some debug delaysFilippos Karapetis
svn-id: r31655
2008-04-22Added palette locking and some wip sound playing code. Some cleanupFilippos Karapetis
svn-id: r31654
2008-04-21Some palette related fixesFilippos Karapetis
svn-id: r31650
2008-04-21Removed Functor2 class definition.Benjamin Haisch
svn-id: r31639
2008-04-20Catch EVENT_QUIT events, too. I realize that g_system->quit() isn't the nicestTorbjörn Andersson
way to quit a game, but it beats not being able to quit at all. svn-id: r31617
2008-04-20Changed spaces to tabs.Torbjörn Andersson
svn-id: r31610
2008-04-20Initial import of the work in progress MADE engineFilippos Karapetis
svn-id: r31599