Commit Graph
86814 Commits
Author SHA1 Message Date
Nicola Mettifogo 03cd937b13 Fixed destruction of sprites in BRA.
svn-id: r32983
2008-07-10 02:00:54 +00:00
Stephen Kennedy 48ed272c8d - added system delay to event loop, to reduce CPU usage
svn-id: r32979
2008-07-09 23:05:47 +00:00
Neil Millstone 9f96471f47 DS: Backend changes for new mixer code
svn-id: r32978
2008-07-09 16:50:23 +00:00
Stephen Kennedy 1f0b3ceb36 Added pushEvent to EventManager (from cpage88's branch) and changed VirtualKeyboard so that it uses this method to feed key presses its resulting key press events.
svn-id: r32977
2008-07-09 13:33:36 +00:00
Nicola Mettifogo 12cefc4132 Fixed leaks in NS and BRA.
svn-id: r32976
2008-07-09 13:27:09 +00:00
Stephen Kennedy b035101732 - keyboard fully tested with multiple modes - key press events successfully passed back to engine, mode switching also works
- added support to re-parse keyboard pack if overlay size changes (to find more suitable layouts)

svn-id: r32975
2008-07-09 11:30:49 +00:00
Nicola Mettifogo 18b48c74a9 Fixed regression introduced with GfxObj: the character sprite was sometimes removed from the rendering list.
svn-id: r32974
2008-07-09 10:52:46 +00:00
Max Horn d24e770605 cleanup / code formatting
svn-id: r32973
2008-07-09 10:42:47 +00:00
Nicola Mettifogo a294d22213 Added a couple of NULLity checks.
svn-id: r32972
2008-07-09 02:49:20 +00:00
Christopher Page e808cdf7a0 Reimplemented pushEvent() and artificialEventQueue to work with Events instead of EventTypes. Reimplemented Queue as a List instead of Array. Updated AGOS, AGI, CINE, GOB, and KYRA to work with the current implementation of the GMM
svn-id: r32971
2008-07-09 02:27:05 +00:00
Bertrand Augereau d9f0753009 New configure flag --enable-profiling to compile and link with -pg (for
gprof)

svn-id: r32970
2008-07-09 02:19:57 +00:00
Joost Peters a833c9dd86 set DEPDIR
svn-id: r32969
2008-07-08 17:46:26 +00:00
Joost Peters 65ddc23a6b Enable static engines -- time to start thinking about prx/plugin support!
svn-id: r32968
2008-07-08 17:41:09 +00:00
Joost Peters 926df065f4 changes for new Mixer API
svn-id: r32967
2008-07-08 17:20:26 +00:00
Torbjörn Andersson c2c4963e96 On reading some more about XMIDI, I believe the NEXT and BREAK variants of the
controller are mutually exclusive cases, i.e. a BREAK simply means forget about
the innermost loop, and continue as if nothing had happened.

svn-id: r32966
2008-07-08 16:25:39 +00:00
Stephen Kennedy d1bc01b1a9 - Virtual keyboard now can now be dragged, when the user clicks on any part of it that is not a special area.
- Fixed non-virtual destructor warnings for Shape and Rect classes

svn-id: r32965
2008-07-08 15:03:39 +00:00
Eugene Sandulenko 8093dbaf49 One more MSVC warning
svn-id: r32964
2008-07-08 11:48:16 +00:00
Sven Hesse da0495cd78 Added a Gob1 version supplied by raina in the forums.
It does look like the Mac version with a DOS executable and stripped music to me, so let's hope the Mac level image workaround works there as well.

svn-id: r32963
2008-07-08 11:36:52 +00:00
Sven Hesse 4a1cc78016 Modified the EGA story image delay to work for the Mac versions as well
svn-id: r32962
2008-07-08 11:35:09 +00:00
Eugene Sandulenko 03b36a3a54 Shut couple of MSVC warnings
svn-id: r32961
2008-07-08 11:18:44 +00:00
Max Horn dadb771cdc Remove reference to kPlainSoundType
svn-id: r32960
2008-07-08 10:29:35 +00:00
Christopher Page b8fe71e7a1 Updated KYRA to work with the new GMM implementation
svn-id: r32959
2008-07-08 06:00:39 +00:00
Christopher Page 94beb3037e Improved GMM implementation by adding unified quit() and quitGame() methods for all engines. Also implemented a Queue class before and forgot to svn add, common/queue.h is added here.
svn-id: r32958
2008-07-08 05:21:05 +00:00
Christopher Page b97f39019c KYRA works with the new GMM implementation
svn-id: r32957
2008-07-08 05:02:45 +00:00
Christopher Page 3beccaf115 PreAGI works with the new GMM implementation
svn-id: r32956
2008-07-08 01:33:57 +00:00
Christopher Page a43f016b94 GOB works with the new GMM implementation
svn-id: r32955
2008-07-08 00:16:55 +00:00
Christopher Page 41938b7644 CINE works with the new GMM implementation
svn-id: r32954
2008-07-07 23:47:39 +00:00
Christopher Page 61d25a912e Agi works with the new GMM implementation
svn-id: r32953
2008-07-07 23:24:12 +00:00
Christopher Page a4f56de13a Implemented Common::EventManager::pushEvent() to insert fake events into the event queue. Quit and RTL events have been added, and are now tracked by the DefaultEventManager using shouldQuit() and shouldRTL(). AGOS is working with this new implementation, other engines to follow.
svn-id: r32952
2008-07-07 22:34:45 +00:00
Kari Salminen e74d01a59a Fix for bathroom door opening crash in Operation Stealth's start.
svn-id: r32951
2008-07-07 22:02:01 +00:00
Stephen Kennedy 641e3d752e MILESTONE: bitmap showing with key color transparency implemented!
- SurfaceKeyColored class handles blitting of keycolor transparency data
- ImageMap tested - Rect and Polygon areas seem to be working as expected

svn-id: r32950
2008-07-07 21:10:58 +00:00
Johannes Schickel aee23f36a2 Fix for bug #2012293 "KYRA: Bad Spanish String in menu".
svn-id: r32949
2008-07-07 20:40:35 +00:00
Filippos Karapetis 741214b656 Some fixes for warnings under GCC 2.95
svn-id: r32948
2008-07-07 19:40:43 +00:00
Sven Hesse 24a8fb1820 Fixing compilation
svn-id: r32947
2008-07-07 18:42:57 +00:00
Vicent Marti 92ef8dd750 Rendering pipeline. Bugfixes / debug widgets.
svn-id: r32946
2008-07-07 18:37:22 +00:00
Joost Peters 43c0fb8d89 hacky temp. workaround to fix linking with gnu ld, as there now is a circular dependency between backends and common
svn-id: r32945
2008-07-07 17:03:05 +00:00
Stephen Kennedy ee8d55375b - updates for GCC compilation - still having linker errors though :(
svn-id: r32944
2008-07-07 15:45:48 +00:00
Stephen Kennedy 275ffece2f - changed VirtualKeyboard classes to Common namespace
- updated XMLParser from Tanoku's branch

svn-id: r32943
2008-07-07 15:42:26 +00:00
Stephen Kennedy 5840c2480f - renaming of files
svn-id: r32942
2008-07-07 15:06:43 +00:00
Stephen Kennedy 7e3639e68b - moved VirtualKeyboard files into backends/common directory
svn-id: r32941
2008-07-07 14:52:30 +00:00
Nicola Mettifogo 0f8f3d51bb Fixed regression after label code refactoring.
svn-id: r32940
2008-07-07 14:51:27 +00:00
Stephen Kennedy 98f999f8e0 WIP: VirtualKeyboard updates:
- got keyboard bitmap displaying (no transparency as yet)
- simple event loop for VK to capture mouse clicks done (and untested code to process the clicks)
- pollEvent() method to deliver the virtual key press events to EventManager

svn-id: r32939
2008-07-07 14:30:11 +00:00
Sven Hesse 1f4ebd2f47 Don't let listSavefiles() search subdirectories. Files with the same name (in different directories) would cause duplicate entries for the same file.
svn-id: r32938
2008-07-07 13:01:54 +00:00
Christopher Page b50df858eb Changed the name of the Scumm menu dialog class MainMenuDialog to ScummMenuDialog, to avoid confusion and conflict with the Global Main Menu class
svn-id: r32937
2008-07-07 06:05:48 +00:00
Christopher Page 0bffc3cb7b Sound settings for AGI are now configurable through the GMM
svn-id: r32936
2008-07-07 05:51:39 +00:00
Christopher Page 8957971162 SCUMM: syncSoundSettings() now updates kPlainSoundType
svn-id: r32935
2008-07-07 05:27:35 +00:00
Christopher Page 113aa1e77f LURE: Made sure to lock _soundMutex in syncSounds()
svn-id: r32934
2008-07-07 03:30:34 +00:00
Christopher Page a42bb09c72 QUEEN: Made it possible to quit during the intro cutaways
svn-id: r32933
2008-07-06 23:42:29 +00:00
Vicent Marti 9b7faedb0d Bug fixes for "judgement day" (yay).
svn-id: r32932
2008-07-06 21:38:26 +00:00
Torbjörn Andersson ae026486ef Fixed silly error. The NEXT_BREAK event should, of course, jump to the event
*after* the FOR_LOOP event. Apart from simplifying things, this should allow
limited number of repeats to work.

svn-id: r32931
2008-07-06 19:25:32 +00:00